Class PaymentInfoForm

java.lang.Object
org.broadleafcommerce.core.web.checkout.model.PaymentInfoForm
All Implemented Interfaces:
Serializable

public class PaymentInfoForm extends Object implements Serializable
Author:
Chris Kittrell (ckittrell), Jacob Mitash
See Also:
  • Field Details

    • address

      protected org.broadleafcommerce.profile.core.domain.Address address
    • shouldUseShippingAddress

      protected boolean shouldUseShippingAddress
    • customerPaymentId

      protected Long customerPaymentId
    • shouldSaveNewPayment

      protected boolean shouldSaveNewPayment
    • shouldUseCustomerPayment

      protected boolean shouldUseCustomerPayment
    • emailAddress

      protected String emailAddress
    • paymentName

      protected String paymentName
    • isDefault

      protected boolean isDefault
    • paymentToken

      protected String paymentToken
  • Constructor Details

    • PaymentInfoForm

      public PaymentInfoForm()
  • Method Details

    • getAddress

      public org.broadleafcommerce.profile.core.domain.Address getAddress()
    • setAddress

      public void setAddress(org.broadleafcommerce.profile.core.domain.Address address)
    • getShouldUseShippingAddress

      public boolean getShouldUseShippingAddress()
    • setShouldUseShippingAddress

      public void setShouldUseShippingAddress(boolean shouldUseShippingAddress)
    • getCustomerPaymentId

      public Long getCustomerPaymentId()
    • setCustomerPaymentId

      public void setCustomerPaymentId(Long customerPaymentId)
    • hasCustomerPaymentId

      public boolean hasCustomerPaymentId()
    • getShouldSaveNewPayment

      public boolean getShouldSaveNewPayment()
    • setShouldSaveNewPayment

      public void setShouldSaveNewPayment(boolean shouldSaveNewPayment)
    • getShouldUseCustomerPayment

      public boolean getShouldUseCustomerPayment()
    • setShouldUseCustomerPayment

      public void setShouldUseCustomerPayment(boolean shouldUseCustomerPayment)
    • getEmailAddress

      public String getEmailAddress()
    • setEmailAddress

      public void setEmailAddress(String emailAddress)
    • getPaymentName

      public String getPaymentName()
    • setPaymentName

      public void setPaymentName(String paymentName)
    • getIsDefault

      public boolean getIsDefault()
    • setIsDefault

      public void setIsDefault(boolean isDefault)
    • getPaymentToken

      public String getPaymentToken()
    • setPaymentToken

      public void setPaymentToken(String paymentToken)
    • hasValidAddress

      public boolean hasValidAddress()
      NOTE: this looks for all of Address's database required fields