@LevelUpApi(contract=PUBLIC) public abstract class AbstractPaymentMethod extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
AbstractPaymentMethod(Parcel source)
Parcelable constructor. |
AbstractPaymentMethod(String description,
Integer monthlyBillingDay,
MonetaryValue monthlyTransactionLimitAmount,
String type) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
int |
describeContents() |
boolean |
equals(Object o) |
String |
getDescription()
A human-readable description of this payment method.
|
Integer |
getMonthlyBillingDay()
The day of the month in which the user will be billed using this payment method.
|
MonetaryValue |
getMonthlyTransactionLimitAmount()
The user's transaction limit.
|
String |
getType()
The payment method type such as 'carrier' or 'credit_card'.
|
int |
hashCode() |
String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public AbstractPaymentMethod(Parcel source)
Parcelable constructor.source - The Parcel to construct from.public AbstractPaymentMethod(String description, Integer monthlyBillingDay, MonetaryValue monthlyTransactionLimitAmount, String type)
public int describeContents()
describeContents in interface Parcelablepublic void writeToParcel(Parcel dest, int flags)
writeToParcel in interface Parcelableprotected boolean canEqual(Object other)
public String getDescription()
public Integer getMonthlyBillingDay()
null if the user is not billed monthly.public MonetaryValue getMonthlyTransactionLimitAmount()
null if the user is not
billed monthly.public String getType()