public class CustomerDataType extends Object
Java class for customerDataType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="customerDataType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="type" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerTypeEnum" minOccurs="0"/>
<element name="id" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<maxLength value="20"/>
</restriction>
</simpleType>
</element>
<element name="email" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<maxLength value="255"/>
</restriction>
</simpleType>
</element>
<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>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected DriversLicenseType |
driversLicense |
protected String |
email |
protected String |
id |
protected String |
taxId |
protected CustomerTypeEnum |
type |
| Constructor and Description |
|---|
CustomerDataType() |
| Modifier and Type | Method and Description |
|---|---|
DriversLicenseType |
getDriversLicense()
Gets the value of the driversLicense property.
|
String |
getEmail()
Gets the value of the email property.
|
String |
getId()
Gets the value of the id property.
|
String |
getTaxId()
Gets the value of the taxId property.
|
CustomerTypeEnum |
getType()
Gets the value of the type property.
|
void |
setDriversLicense(DriversLicenseType value)
Sets the value of the driversLicense property.
|
void |
setEmail(String value)
Sets the value of the email property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setTaxId(String value)
Sets the value of the taxId property.
|
void |
setType(CustomerTypeEnum value)
Sets the value of the type property.
|
protected CustomerTypeEnum type
protected String id
protected String email
protected DriversLicenseType driversLicense
protected String taxId
public CustomerTypeEnum getType()
CustomerTypeEnumpublic void setType(CustomerTypeEnum value)
value - allowed object is
CustomerTypeEnumpublic void setId(String value)
value - allowed object is
Stringpublic String getEmail()
Stringpublic void setEmail(String value)
value - allowed object is
Stringpublic DriversLicenseType getDriversLicense()
DriversLicenseTypepublic void setDriversLicense(DriversLicenseType value)
value - allowed object is
DriversLicenseTypepublic String getTaxId()
StringCopyright © 2020. All rights reserved.