@Entity public class CustomerPaymentImpl extends Object implements CustomerPayment, CustomerPaymentAdminPresentation
CustomerPaymentAdminPresentation.FieldOrder, CustomerPaymentAdminPresentation.GroupName, CustomerPaymentAdminPresentation.GroupOrder, CustomerPaymentAdminPresentation.TabName, CustomerPaymentAdminPresentation.TabOrder| Modifier and Type | Field and Description |
|---|---|
protected Map<String,String> |
additionalFields |
protected OrderAddress |
billingAddress |
protected OrderCustomer |
customer |
protected Long |
id |
protected boolean |
isDefault |
protected String |
paymentGatewayType |
protected String |
paymentToken |
protected String |
paymentType |
| Constructor and Description |
|---|
CustomerPaymentImpl() |
| Modifier and Type | Method and Description |
|---|---|
<G extends CustomerPayment> |
createOrRetrieveCopyInstance(MultiTenantCopyContext context) |
Map<String,String> |
getAdditionalFields() |
OrderAddress |
getBillingAddress() |
Long |
getId() |
OrderCustomer |
getOrderCustomer() |
PaymentGatewayType |
getPaymentGatewayType() |
String |
getPaymentToken() |
PaymentType |
getPaymentType() |
boolean |
isDefault() |
void |
setAdditionalFields(Map<String,String> additionalFields) |
void |
setBillingAddress(OrderAddress billingAddress) |
void |
setId(Long id) |
void |
setIsDefault(boolean aDefault) |
void |
setOrderCustomer(OrderCustomer customer) |
void |
setPaymentGatewayType(PaymentGatewayType paymentGatewayType) |
void |
setPaymentToken(String paymentToken) |
void |
setPaymentType(PaymentType paymentType) |
protected Long id
protected OrderCustomer customer
protected OrderAddress billingAddress
protected String paymentToken
protected String paymentType
protected String paymentGatewayType
protected boolean isDefault
public void setId(Long id)
setId in interface CustomerPaymentpublic Long getId()
getId in interface CustomerPaymentpublic OrderCustomer getOrderCustomer()
getOrderCustomer in interface CustomerPaymentpublic void setOrderCustomer(OrderCustomer customer)
setOrderCustomer in interface CustomerPaymentpublic OrderAddress getBillingAddress()
getBillingAddress in interface CustomerPaymentpublic void setBillingAddress(OrderAddress billingAddress)
setBillingAddress in interface CustomerPaymentpublic String getPaymentToken()
getPaymentToken in interface CustomerPaymentpublic void setPaymentToken(String paymentToken)
setPaymentToken in interface CustomerPaymentpublic PaymentType getPaymentType()
getPaymentType in interface CustomerPaymentpublic void setPaymentType(PaymentType paymentType)
setPaymentType in interface CustomerPaymentpublic PaymentGatewayType getPaymentGatewayType()
getPaymentGatewayType in interface CustomerPaymentpublic void setPaymentGatewayType(PaymentGatewayType paymentGatewayType)
setPaymentGatewayType in interface CustomerPaymentpublic boolean isDefault()
isDefault in interface CustomerPaymentpublic void setIsDefault(boolean aDefault)
setIsDefault in interface CustomerPaymentpublic Map<String,String> getAdditionalFields()
getAdditionalFields in interface CustomerPaymentgetAdditionalFields in interface AdditionalFieldspublic void setAdditionalFields(Map<String,String> additionalFields)
setAdditionalFields in interface CustomerPaymentsetAdditionalFields in interface AdditionalFieldspublic <G extends CustomerPayment> CreateResponse<G> createOrRetrieveCopyInstance(MultiTenantCopyContext context) throws CloneNotSupportedException
createOrRetrieveCopyInstance in interface MultiTenantCloneable<CustomerPayment>CloneNotSupportedExceptionCopyright © 2017. All rights reserved.