Interface CustomerPayment
- All Superinterfaces:
org.broadleafcommerce.common.domain.AdditionalFields,org.broadleafcommerce.common.copy.MultiTenantCloneable<CustomerPayment>,Serializable
- All Known Implementing Classes:
CustomerPaymentImpl
public interface CustomerPayment
extends org.broadleafcommerce.common.domain.AdditionalFields, Serializable, org.broadleafcommerce.common.copy.MultiTenantCloneable<CustomerPayment>
This entity is designed to deal with payments associated to an Customer and is used to refer to a saved
payment that is stored at the Payment Gateway level. This entity can be used to represent any type of payment,
such as credit cards, PayPal accounts, etc.
-
Method Summary
Modifier and TypeMethodDescriptiongetId()org.broadleafcommerce.common.payment.PaymentGatewayTypeorg.broadleafcommerce.common.payment.PaymentTypebooleanvoidsetAdditionalFields(Map<String, String> additionalFields) voidsetBillingAddress(Address billingAddress) voidsetCustomer(Customer customer) voidvoidsetIsDefault(boolean isDefault) voidsetPaymentGatewayType(org.broadleafcommerce.common.payment.PaymentGatewayType paymentGatewayType) voidsetPaymentToken(String paymentToken) voidsetPaymentType(org.broadleafcommerce.common.payment.PaymentType paymentType) Methods inherited from interface org.broadleafcommerce.common.copy.MultiTenantCloneable
createOrRetrieveCopyInstance
-
Method Details
-
getId
Long getId() -
setId
-
getCustomer
Customer getCustomer() -
setCustomer
-
getBillingAddress
Address getBillingAddress() -
setBillingAddress
-
getPaymentToken
String getPaymentToken() -
setPaymentToken
-
getPaymentType
org.broadleafcommerce.common.payment.PaymentType getPaymentType() -
setPaymentType
void setPaymentType(org.broadleafcommerce.common.payment.PaymentType paymentType) -
getPaymentGatewayType
org.broadleafcommerce.common.payment.PaymentGatewayType getPaymentGatewayType() -
setPaymentGatewayType
void setPaymentGatewayType(org.broadleafcommerce.common.payment.PaymentGatewayType paymentGatewayType) -
isDefault
boolean isDefault() -
setIsDefault
void setIsDefault(boolean isDefault) -
getAdditionalFields
- Specified by:
getAdditionalFieldsin interfaceorg.broadleafcommerce.common.domain.AdditionalFields
-
setAdditionalFields
- Specified by:
setAdditionalFieldsin interfaceorg.broadleafcommerce.common.domain.AdditionalFields
-