Class CustomerPaymentImpl
java.lang.Object
org.broadleafcommerce.profile.core.domain.CustomerPaymentImpl
- All Implemented Interfaces:
Serializable,MultiTenantCloneable<CustomerPayment>,AdditionalFields,CustomerPayment,CustomerPaymentAdminPresentation
@Entity
public class CustomerPaymentImpl
extends Object
implements CustomerPayment, CustomerPaymentAdminPresentation
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.broadleafcommerce.profile.core.domain.CustomerPaymentAdminPresentation
CustomerPaymentAdminPresentation.FieldOrder, CustomerPaymentAdminPresentation.GroupName, CustomerPaymentAdminPresentation.GroupOrder, CustomerPaymentAdminPresentation.TabName, CustomerPaymentAdminPresentation.TabOrder -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<G extends CustomerPayment>
CreateResponse<G>getId()booleanvoidsetAdditionalFields(Map<String, String> additionalFields) voidsetBillingAddress(Address billingAddress) voidsetCustomer(Customer customer) voidvoidsetIsDefault(boolean aDefault) voidsetPaymentGatewayType(PaymentGatewayType paymentGatewayType) voidsetPaymentToken(String paymentToken) voidsetPaymentType(PaymentType paymentType)
-
Field Details
-
id
-
customer
-
billingAddress
-
paymentToken
-
paymentType
-
paymentGatewayType
-
isDefault
protected boolean isDefault -
additionalFields
-
-
Constructor Details
-
CustomerPaymentImpl
public CustomerPaymentImpl()
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceCustomerPayment
-
setId
- Specified by:
setIdin interfaceCustomerPayment
-
getCustomer
- Specified by:
getCustomerin interfaceCustomerPayment
-
setCustomer
- Specified by:
setCustomerin interfaceCustomerPayment
-
getBillingAddress
- Specified by:
getBillingAddressin interfaceCustomerPayment
-
setBillingAddress
- Specified by:
setBillingAddressin interfaceCustomerPayment
-
getPaymentToken
- Specified by:
getPaymentTokenin interfaceCustomerPayment
-
setPaymentToken
- Specified by:
setPaymentTokenin interfaceCustomerPayment
-
getPaymentType
- Specified by:
getPaymentTypein interfaceCustomerPayment
-
setPaymentType
- Specified by:
setPaymentTypein interfaceCustomerPayment
-
getPaymentGatewayType
- Specified by:
getPaymentGatewayTypein interfaceCustomerPayment
-
setPaymentGatewayType
- Specified by:
setPaymentGatewayTypein interfaceCustomerPayment
-
isDefault
public boolean isDefault()- Specified by:
isDefaultin interfaceCustomerPayment
-
setIsDefault
public void setIsDefault(boolean aDefault) - Specified by:
setIsDefaultin interfaceCustomerPayment
-
getAdditionalFields
- Specified by:
getAdditionalFieldsin interfaceAdditionalFields- Specified by:
getAdditionalFieldsin interfaceCustomerPayment
-
setAdditionalFields
- Specified by:
setAdditionalFieldsin interfaceAdditionalFields- Specified by:
setAdditionalFieldsin interfaceCustomerPayment
-
createOrRetrieveCopyInstance
public <G extends CustomerPayment> CreateResponse<G> createOrRetrieveCopyInstance(MultiTenantCopyContext context) throws CloneNotSupportedException - Specified by:
createOrRetrieveCopyInstancein interfaceMultiTenantCloneable<CustomerPayment>- Throws:
CloneNotSupportedException
-