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() |
String |
getPaymentToken() |
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 |
setPaymentToken(String paymentToken) |
createOrRetrieveCopyInstancevoid setId(Long id)
Long getId()
Customer getCustomer()
void setCustomer(Customer customer)
Address getBillingAddress()
void setBillingAddress(Address billingAddress)
String getPaymentToken()
void setPaymentToken(String paymentToken)
boolean isDefault()
void setIsDefault(boolean isDefault)
Map<String,String> getAdditionalFields()
getAdditionalFields in interface AdditionalFieldsvoid setAdditionalFields(Map<String,String> additionalFields)
setAdditionalFields in interface AdditionalFieldsCopyright © 2017. All rights reserved.