Interface CustomerPayment
- All Superinterfaces:
AdditionalFields,MultiTenantCloneable<CustomerPayment>,Serializable
- All Known Implementing Classes:
CustomerPaymentImpl
public interface CustomerPayment
extends AdditionalFields, Serializable, 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()booleanvoidsetAdditionalFields(Map<String, String> additionalFields) voidsetBillingAddress(Address billingAddress) voidsetCustomer(Customer customer) voidvoidsetIsDefault(boolean isDefault) voidsetPaymentGatewayType(PaymentGatewayType paymentGatewayType) voidsetPaymentToken(String paymentToken) voidsetPaymentType(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
PaymentType getPaymentType() -
setPaymentType
-
getPaymentGatewayType
PaymentGatewayType getPaymentGatewayType() -
setPaymentGatewayType
-
isDefault
boolean isDefault() -
setIsDefault
void setIsDefault(boolean isDefault) -
getAdditionalFields
- Specified by:
getAdditionalFieldsin interfaceAdditionalFields
-
setAdditionalFields
- Specified by:
setAdditionalFieldsin interfaceAdditionalFields
-