Class PaymentInfoForm
java.lang.Object
org.broadleafcommerce.core.web.checkout.model.PaymentInfoForm
- All Implemented Interfaces:
Serializable
- Author:
- Chris Kittrell (ckittrell), Jacob Mitash
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanbooleanNOTE: this looks for all ofAddress's database required fieldsvoidsetAddress(Address address) voidsetCustomerPaymentId(Long customerPaymentId) voidsetEmailAddress(String emailAddress) voidsetIsDefault(boolean isDefault) voidsetPaymentName(String paymentName) voidsetPaymentToken(String paymentToken) voidsetShouldSaveNewPayment(boolean shouldSaveNewPayment) voidsetShouldUseCustomerPayment(boolean shouldUseCustomerPayment) voidsetShouldUseShippingAddress(boolean shouldUseShippingAddress)
-
Field Details
-
address
-
shouldUseShippingAddress
protected boolean shouldUseShippingAddress -
customerPaymentId
-
shouldSaveNewPayment
protected boolean shouldSaveNewPayment -
shouldUseCustomerPayment
protected boolean shouldUseCustomerPayment -
emailAddress
-
paymentName
-
isDefault
protected boolean isDefault -
paymentToken
-
-
Constructor Details
-
PaymentInfoForm
public PaymentInfoForm()
-
-
Method Details
-
getAddress
-
setAddress
-
getShouldUseShippingAddress
public boolean getShouldUseShippingAddress() -
setShouldUseShippingAddress
public void setShouldUseShippingAddress(boolean shouldUseShippingAddress) -
getCustomerPaymentId
-
setCustomerPaymentId
-
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
-
setEmailAddress
-
getPaymentName
-
setPaymentName
-
getIsDefault
public boolean getIsDefault() -
setIsDefault
public void setIsDefault(boolean isDefault) -
getPaymentToken
-
setPaymentToken
-
hasValidAddress
public boolean hasValidAddress()NOTE: this looks for all ofAddress's database required fields
-