public class RecurringPaymentMethod extends RecurringEntity<RecurringPaymentMethod> implements IPaymentMethod, IChargable, IAuthable, IVerifiable, IRefundable, ISecure3d
id, key, responseCode, responseMessage| Constructor and Description |
|---|
RecurringPaymentMethod() |
RecurringPaymentMethod(IPaymentMethod paymentMethod) |
RecurringPaymentMethod(String customerKey,
String paymentId) |
checkSupportsRetrieval, getKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, setId, setKeypublic RecurringPaymentMethod()
public RecurringPaymentMethod(IPaymentMethod paymentMethod)
public Address getAddress()
public void setAddress(Address address)
public String getCommercialIndicator()
public void setCommercialIndicator(String commercialIndicator)
public String getCustomerKey()
public void setCustomerKey(String customerKey)
public String getExpirationDate()
public void setExpirationDate(String expirationDate)
public String getNameOnAccount()
public void setNameOnAccount(String nameOnAccount)
public IPaymentMethod getPaymentMethod()
public void setPaymentMethod(IPaymentMethod paymentMethod) throws ApiException
ApiExceptionpublic PaymentMethodType getPaymentMethodType()
getPaymentMethodType in interface IPaymentMethodpublic String getPaymentType()
public void setPaymentType(String paymentType)
public boolean isPreferredPayment()
public void setPreferredPayment(boolean preferredPayment)
public String getStatus()
public void setStatus(String status)
public String getTaxType()
public void setTaxType(String taxType)
public ThreeDSecure getThreeDSecure()
getThreeDSecure in interface ISecure3dpublic void setThreeDSecure(ThreeDSecure threeDSecure)
setThreeDSecure in interface ISecure3dpublic String getAccountNumberLast4()
public void setAccountNumberLast4(String accountNumberLast4)
public AuthorizationBuilder authorize()
public AuthorizationBuilder authorize(BigDecimal amount)
public AuthorizationBuilder authorize(BigDecimal amount, boolean isEstimated)
public AuthorizationBuilder charge()
charge in interface IChargablepublic AuthorizationBuilder charge(BigDecimal amount)
charge in interface IChargablepublic AuthorizationBuilder charge(BigDecimal amount, boolean isEstimated)
public AuthorizationBuilder getDccRate(DccRateType dccRateType, DccProcessor dccProcessor)
public AuthorizationBuilder refund()
refund in interface IRefundablepublic AuthorizationBuilder refund(BigDecimal amount)
refund in interface IRefundablepublic AuthorizationBuilder verify()
verify in interface IVerifiablepublic RecurringPaymentMethod create() throws ApiException
create in class RecurringEntity<RecurringPaymentMethod>ApiExceptionpublic RecurringPaymentMethod create(String configName) throws ApiException
create in interface IRecurringEntity<RecurringPaymentMethod>create in class RecurringEntity<RecurringPaymentMethod>ApiExceptionpublic void delete()
throws ApiException
delete in interface IRecurringEntity<RecurringPaymentMethod>ApiExceptionpublic void delete(boolean force)
throws ApiException
delete in interface IRecurringEntity<RecurringPaymentMethod>ApiExceptionpublic void delete(boolean force,
String configName)
throws ApiException
ApiExceptionpublic static RecurringPaymentMethod find(String id) throws ApiException
ApiExceptionpublic static RecurringPaymentMethod find(String id, String configName) throws ApiException
ApiExceptionpublic static List<RecurringPaymentMethod> findAll() throws ApiException
ApiExceptionpublic static List<RecurringPaymentMethod> findAll(String configName) throws ApiException
ApiExceptionpublic static RecurringPaymentMethod get(String key) throws ApiException
ApiExceptionpublic static RecurringPaymentMethod get(String key, String configName) throws ApiException
ApiExceptionpublic RecurringPaymentMethod saveChanges() throws ApiException
saveChanges in interface IRecurringEntity<RecurringPaymentMethod>ApiExceptionpublic RecurringPaymentMethod saveChanges(String configName) throws ApiException
ApiExceptionCopyright © 2024. All rights reserved.