public class CustomerType extends Object
Java class for customerType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="customerType">
<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="phoneNumber" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<maxLength value="25"/>
</restriction>
</simpleType>
</element>
<element name="faxNumber" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<maxLength value="25"/>
</restriction>
</simpleType>
</element>
<element name="driversLicense" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}driversLicenseType" minOccurs="0"/>
<element name="taxId" minOccurs="0">
<simpleType>
<restriction base="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}numericString">
<minLength value="9"/>
<maxLength value="9"/>
</restriction>
</simpleType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected DriversLicenseType |
driversLicense |
protected String |
email |
protected String |
faxNumber |
protected String |
id |
protected String |
phoneNumber |
protected String |
taxId |
protected CustomerTypeEnum |
type |
| Constructor and Description |
|---|
CustomerType() |
| 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 |
getFaxNumber()
Gets the value of the faxNumber property.
|
String |
getId()
Gets the value of the id property.
|
String |
getPhoneNumber()
Gets the value of the phoneNumber 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 |
setFaxNumber(String value)
Sets the value of the faxNumber property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setPhoneNumber(String value)
Sets the value of the phoneNumber 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 String phoneNumber
protected String faxNumber
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 String getPhoneNumber()
Stringpublic void setPhoneNumber(String value)
value - allowed object is
Stringpublic String getFaxNumber()
Stringpublic void setFaxNumber(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.