@Entity public class CustomerPaymentImpl extends Object implements CustomerPayment
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,String> |
additionalFields |
protected Address |
billingAddress |
protected Customer |
customer |
protected Long |
id |
protected boolean |
isDefault |
protected String |
paymentToken |
| Constructor and Description |
|---|
CustomerPaymentImpl() |
| 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 |
setDefault(boolean aDefault) |
void |
setId(Long id) |
void |
setPaymentToken(String paymentToken) |
protected Long id
protected Customer customer
protected Address billingAddress
protected String paymentToken
protected boolean isDefault
public void setId(Long id)
setId in interface CustomerPaymentpublic Long getId()
getId in interface CustomerPaymentpublic Customer getCustomer()
getCustomer in interface CustomerPaymentpublic void setCustomer(Customer customer)
setCustomer in interface CustomerPaymentpublic Address getBillingAddress()
getBillingAddress in interface CustomerPaymentpublic void setBillingAddress(Address billingAddress)
setBillingAddress in interface CustomerPaymentpublic String getPaymentToken()
getPaymentToken in interface CustomerPaymentpublic void setPaymentToken(String paymentToken)
setPaymentToken in interface CustomerPaymentpublic boolean isDefault()
isDefault in interface CustomerPaymentpublic void setDefault(boolean aDefault)
setDefault in interface CustomerPaymentpublic Map<String,String> getAdditionalFields()
getAdditionalFields in interface CustomerPaymentpublic void setAdditionalFields(Map<String,String> additionalFields)
setAdditionalFields in interface CustomerPaymentCopyright © 2014. All rights reserved.