public class CustomerPaymentProfileType extends CustomerPaymentProfileBaseType
Java class for customerPaymentProfileType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="customerPaymentProfileType">
<complexContent>
<extension base="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerPaymentProfileBaseType">
<sequence>
<element name="payment" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentType" minOccurs="0"/>
<element name="driversLicense" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}driversLicenseType" minOccurs="0"/>
<element name="taxId" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<minLength value="8"/>
<maxLength value="9"/>
</restriction>
</simpleType>
</element>
<element name="defaultPaymentProfile" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
defaultPaymentProfile |
protected DriversLicenseType |
driversLicense |
protected PaymentType |
payment |
protected String |
taxId |
billTo, customerType| Constructor and Description |
|---|
CustomerPaymentProfileType() |
| Modifier and Type | Method and Description |
|---|---|
DriversLicenseType |
getDriversLicense()
Gets the value of the driversLicense property.
|
PaymentType |
getPayment()
Gets the value of the payment property.
|
String |
getTaxId()
Gets the value of the taxId property.
|
Boolean |
isDefaultPaymentProfile()
Gets the value of the defaultPaymentProfile property.
|
void |
setDefaultPaymentProfile(Boolean value)
Sets the value of the defaultPaymentProfile property.
|
void |
setDriversLicense(DriversLicenseType value)
Sets the value of the driversLicense property.
|
void |
setPayment(PaymentType value)
Sets the value of the payment property.
|
void |
setTaxId(String value)
Sets the value of the taxId property.
|
getBillTo, getCustomerType, setBillTo, setCustomerTypeprotected PaymentType payment
protected DriversLicenseType driversLicense
protected String taxId
protected Boolean defaultPaymentProfile
public PaymentType getPayment()
PaymentTypepublic void setPayment(PaymentType value)
value - allowed object is
PaymentTypepublic DriversLicenseType getDriversLicense()
DriversLicenseTypepublic void setDriversLicense(DriversLicenseType value)
value - allowed object is
DriversLicenseTypepublic String getTaxId()
Stringpublic void setTaxId(String value)
value - allowed object is
Stringpublic Boolean isDefaultPaymentProfile()
BooleanCopyright © 2020. All rights reserved.