@Immutable @LevelUpApi(contract=PUBLIC) public final class CarrierAccountPaymentMethod extends AbstractPaymentMethod
Modifier and Type | Class and Description |
---|---|
static class |
CarrierAccountPaymentMethod.Metadata
Metadata for
CarrierAccountPaymentMethod . |
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<CarrierAccountPaymentMethod> |
CREATOR
Implements the
Parcelable interface. |
static String |
TYPE_LABEL
The payment method type label.
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
CarrierAccountPaymentMethod(String description,
Integer monthlyBillingDay,
MonetaryValue monthlyTransactionLimitAmount,
CarrierAccountPaymentMethod.Metadata metadata) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
CarrierAccountPaymentMethod.Metadata |
getMetadata()
Metadata for
CarrierAccountPaymentMethod . |
int |
hashCode() |
String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
describeContents, getDescription, getMonthlyBillingDay, getMonthlyTransactionLimitAmount, getType
public static final Parcelable.Creator<CarrierAccountPaymentMethod> CREATOR
Parcelable
interface.public static final String TYPE_LABEL
public CarrierAccountPaymentMethod(String description, Integer monthlyBillingDay, MonetaryValue monthlyTransactionLimitAmount, CarrierAccountPaymentMethod.Metadata metadata)
description
- AbstractPaymentMethod.getDescription()
monthlyBillingDay
- AbstractPaymentMethod.getMonthlyBillingDay()
monthlyTransactionLimitAmount
- AbstractPaymentMethod.getMonthlyTransactionLimitAmount()
metadata
- getMetadata()
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable
writeToParcel
in class AbstractPaymentMethod
public CarrierAccountPaymentMethod.Metadata getMetadata()
CarrierAccountPaymentMethod
.public boolean equals(Object o)
equals
in class AbstractPaymentMethod
protected boolean canEqual(Object other)
canEqual
in class AbstractPaymentMethod
public int hashCode()
hashCode
in class AbstractPaymentMethod
public String toString()
toString
in class AbstractPaymentMethod