@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 Address |
billingAddress |
protected Customer |
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() |
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 aDefault) |
void |
setPaymentGatewayType(PaymentGatewayType paymentGatewayType) |
void |
setPaymentToken(String paymentToken) |
void |
setPaymentType(PaymentType paymentType) |
protected Long id
protected Customer customer
protected Address 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 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 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 AdditionalFieldsgetAdditionalFields in interface CustomerPaymentpublic void setAdditionalFields(Map<String,String> additionalFields)
setAdditionalFields in interface AdditionalFieldssetAdditionalFields in interface CustomerPaymentpublic <G extends CustomerPayment> CreateResponse<G> createOrRetrieveCopyInstance(MultiTenantCopyContext context) throws CloneNotSupportedException
createOrRetrieveCopyInstance in interface MultiTenantCloneable<CustomerPayment>CloneNotSupportedExceptionCopyright © 2022. All rights reserved.