public class PaymentInfoForm extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected org.broadleafcommerce.profile.core.domain.Address |
address |
protected Long |
customerPaymentId |
protected String |
emailAddress |
protected boolean |
isDefault |
protected String |
paymentName |
protected String |
paymentToken |
protected boolean |
shouldSaveNewPayment |
protected boolean |
shouldUseCustomerPayment |
protected boolean |
shouldUseShippingAddress |
| Constructor and Description |
|---|
PaymentInfoForm() |
| Modifier and Type | Method and Description |
|---|---|
org.broadleafcommerce.profile.core.domain.Address |
getAddress() |
Long |
getCustomerPaymentId() |
String |
getEmailAddress() |
boolean |
getIsDefault() |
String |
getPaymentName() |
String |
getPaymentToken() |
boolean |
getShouldSaveNewPayment() |
boolean |
getShouldUseCustomerPayment() |
boolean |
getShouldUseShippingAddress() |
boolean |
hasCustomerPaymentId() |
boolean |
hasValidAddress()
NOTE: this looks for all of
Address's database required fields |
void |
setAddress(org.broadleafcommerce.profile.core.domain.Address address) |
void |
setCustomerPaymentId(Long customerPaymentId) |
void |
setEmailAddress(String emailAddress) |
void |
setIsDefault(boolean isDefault) |
void |
setPaymentName(String paymentName) |
void |
setPaymentToken(String paymentToken) |
void |
setShouldSaveNewPayment(boolean shouldSaveNewPayment) |
void |
setShouldUseCustomerPayment(boolean shouldUseCustomerPayment) |
void |
setShouldUseShippingAddress(boolean shouldUseShippingAddress) |
protected org.broadleafcommerce.profile.core.domain.Address address
protected boolean shouldUseShippingAddress
protected Long customerPaymentId
protected boolean shouldSaveNewPayment
protected boolean shouldUseCustomerPayment
protected String emailAddress
protected String paymentName
protected boolean isDefault
protected String paymentToken
public org.broadleafcommerce.profile.core.domain.Address getAddress()
public void setAddress(org.broadleafcommerce.profile.core.domain.Address address)
public boolean getShouldUseShippingAddress()
public void setShouldUseShippingAddress(boolean shouldUseShippingAddress)
public Long getCustomerPaymentId()
public void setCustomerPaymentId(Long customerPaymentId)
public boolean hasCustomerPaymentId()
public boolean getShouldSaveNewPayment()
public void setShouldSaveNewPayment(boolean shouldSaveNewPayment)
public boolean getShouldUseCustomerPayment()
public void setShouldUseCustomerPayment(boolean shouldUseCustomerPayment)
public String getEmailAddress()
public void setEmailAddress(String emailAddress)
public String getPaymentName()
public void setPaymentName(String paymentName)
public boolean getIsDefault()
public void setIsDefault(boolean isDefault)
public String getPaymentToken()
public void setPaymentToken(String paymentToken)
public boolean hasValidAddress()
Address's database required fieldsCopyright © 2021. All rights reserved.