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 Details

    • getId

      Long getId()
    • setId

      void setId(Long id)
    • getCustomer

      Customer getCustomer()
    • setCustomer

      void setCustomer(Customer customer)
    • getBillingAddress

      Address getBillingAddress()
    • setBillingAddress

      void setBillingAddress(Address billingAddress)
    • getPaymentToken

      String getPaymentToken()
    • setPaymentToken

      void setPaymentToken(String paymentToken)
    • 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

      Map<String,String> getAdditionalFields()
      Specified by:
      getAdditionalFields in interface org.broadleafcommerce.common.domain.AdditionalFields
    • setAdditionalFields

      void setAdditionalFields(Map<String,String> additionalFields)
      Specified by:
      setAdditionalFields in interface org.broadleafcommerce.common.domain.AdditionalFields