@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 CustomerPayment
public Long getId()
getId
in interface CustomerPayment
public Customer getCustomer()
getCustomer
in interface CustomerPayment
public void setCustomer(Customer customer)
setCustomer
in interface CustomerPayment
public Address getBillingAddress()
getBillingAddress
in interface CustomerPayment
public void setBillingAddress(Address billingAddress)
setBillingAddress
in interface CustomerPayment
public String getPaymentToken()
getPaymentToken
in interface CustomerPayment
public void setPaymentToken(String paymentToken)
setPaymentToken
in interface CustomerPayment
public boolean isDefault()
isDefault
in interface CustomerPayment
public void setDefault(boolean aDefault)
setDefault
in interface CustomerPayment
public Map<String,String> getAdditionalFields()
getAdditionalFields
in interface CustomerPayment
public void setAdditionalFields(Map<String,String> additionalFields)
setAdditionalFields
in interface CustomerPayment
Copyright © 2014. All rights reserved.