public interface CustomerPayment extends AdditionalFields, Serializable, MultiTenantCloneable<CustomerPayment>
This entity is designed to deal with payments associated to an Customer and is used to refer to a saved
payment that is stored at the Payment Gateway level. This entity can be used to represent any type of payment,
such as credit cards, PayPal accounts, etc.
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getAdditionalFields() |
Address |
getBillingAddress() |
Customer |
getCustomer() |
Long |
getId() |
PaymentGatewayType |
getPaymentGatewayType() |
String |
getPaymentToken() |
PaymentType |
getPaymentType() |
boolean |
isDefault() |
void |
setAdditionalFields(Map<String,String> additionalFields) |
void |
setBillingAddress(Address billingAddress) |
void |
setCustomer(Customer customer) |
void |
setId(Long id) |
void |
setIsDefault(boolean isDefault) |
void |
setPaymentGatewayType(PaymentGatewayType paymentGatewayType) |
void |
setPaymentToken(String paymentToken) |
void |
setPaymentType(PaymentType paymentType) |
createOrRetrieveCopyInstancevoid setId(Long id)
Long getId()
Customer getCustomer()
void setCustomer(Customer customer)
Address getBillingAddress()
void setBillingAddress(Address billingAddress)
String getPaymentToken()
void setPaymentToken(String paymentToken)
PaymentType getPaymentType()
void setPaymentType(PaymentType paymentType)
PaymentGatewayType getPaymentGatewayType()
void setPaymentGatewayType(PaymentGatewayType paymentGatewayType)
boolean isDefault()
void setIsDefault(boolean isDefault)
Map<String,String> getAdditionalFields()
getAdditionalFields in interface AdditionalFieldsvoid setAdditionalFields(Map<String,String> additionalFields)
setAdditionalFields in interface AdditionalFieldsCopyright © 2018. All rights reserved.