public class PaymentMethod
extends java.lang.Object
implements android.os.Parcelable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<PaymentMethod> |
CREATOR |
Modifier | Constructor and Description |
---|---|
|
PaymentMethod() |
protected |
PaymentMethod(android.os.Parcel in) |
|
PaymentMethod(java.lang.String id)
Constructor to make exclusions
|
|
PaymentMethod(java.lang.String id,
java.lang.String name,
java.lang.String paymentTypeId)
Constructor for custom payment methods like plugin implementation
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
java.lang.Integer |
getAccreditationTime() |
java.util.List<java.lang.String> |
getAdditionalInfoNeeded() |
java.lang.String |
getDeferredCapture() |
java.util.List<FinancialInstitution> |
getFinancialInstitutions() |
java.lang.String |
getId() |
java.math.BigDecimal |
getMaxAllowedAmount() |
java.lang.String |
getMerchantAccountId() |
java.math.BigDecimal |
getMinAllowedAmount() |
java.lang.String |
getName() |
java.lang.String |
getPaymentTypeId() |
java.lang.String |
getSecureThumbnail() |
SecurityCode |
getSecurityCode() |
java.util.List<Setting> |
getSettings() |
java.lang.String |
getStatus() |
boolean |
isIdentificationNumberRequired() |
boolean |
isIdentificationTypeRequired() |
boolean |
isIssuerRequired() |
boolean |
isSecurityCodeRequired(java.lang.String bin) |
boolean |
isValidForBin(java.lang.String bin) |
void |
setAccreditationTime(java.lang.Integer accreditationTime) |
void |
setAdditionalInfoNeeded(java.util.List<java.lang.String> additionalInfoNeeded) |
void |
setDeferredCapture(java.lang.String deferredCapture) |
void |
setFinancialInstitutions(java.util.List<FinancialInstitution> financialInstitutions) |
void |
setId(java.lang.String id) |
void |
setMaxAllowedAmount(java.math.BigDecimal maxAllowedAmount) |
void |
setMerchantAccountId(java.lang.String merchantAccountId) |
void |
setMinAllowedAmount(java.math.BigDecimal minAllowedAmount) |
void |
setName(java.lang.String name) |
void |
setPaymentTypeId(java.lang.String paymentTypeId) |
void |
setSecureThumbnail(java.lang.String secureThumbnail) |
void |
setSettings(java.util.List<Setting> settings) |
void |
setStatus(java.lang.String status) |
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<PaymentMethod> CREATOR
public PaymentMethod(java.lang.String id, java.lang.String name, java.lang.String paymentTypeId)
id
- paymentIdname
- paymentNamepaymentTypeId
- paymentTypeIdpublic PaymentMethod(java.lang.String id)
id
- paymentIdpublic PaymentMethod()
protected PaymentMethod(android.os.Parcel in)
public boolean isIssuerRequired()
public boolean isSecurityCodeRequired(java.lang.String bin)
public boolean isIdentificationTypeRequired()
public boolean isIdentificationNumberRequired()
public java.util.List<java.lang.String> getAdditionalInfoNeeded()
public void setAdditionalInfoNeeded(java.util.List<java.lang.String> additionalInfoNeeded)
public java.util.List<FinancialInstitution> getFinancialInstitutions()
public void setFinancialInstitutions(java.util.List<FinancialInstitution> financialInstitutions)
public boolean isValidForBin(java.lang.String bin)
public java.lang.String getStatus()
public void setStatus(java.lang.String status)
public java.lang.String getSecureThumbnail()
public void setSecureThumbnail(java.lang.String secureThumbnail)
public java.lang.String getDeferredCapture()
public void setDeferredCapture(java.lang.String deferredCapture)
@Nullable public java.math.BigDecimal getMinAllowedAmount()
public void setMinAllowedAmount(@Nullable java.math.BigDecimal minAllowedAmount)
@Nullable public java.math.BigDecimal getMaxAllowedAmount()
public void setMaxAllowedAmount(@Nullable java.math.BigDecimal maxAllowedAmount)
public void setAccreditationTime(java.lang.Integer accreditationTime)
public java.lang.Integer getAccreditationTime()
public java.lang.String getMerchantAccountId()
public void setMerchantAccountId(java.lang.String merchantAccountId)
public java.lang.String getId()
public void setId(java.lang.String id)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getPaymentTypeId()
public void setPaymentTypeId(java.lang.String paymentTypeId)
public java.util.List<Setting> getSettings()
public void setSettings(java.util.List<Setting> settings)
public java.lang.String toString()
toString
in class java.lang.Object
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
@Nullable public SecurityCode getSecurityCode()