Package com.xero.models.accounting
Class InvoiceAddress
java.lang.Object
com.xero.models.accounting.InvoiceAddress
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumIndicates whether the address is defined as origin (FROM) or destination (TO) -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddressLine1(String addressLine1) First line of a physical addressaddressLine2(String addressLine2) Second line of a physical addressaddressLine3(String addressLine3) Third line of a physical addressaddressLine4(String addressLine4) Fourth line of a physical addressCity of a physical addressCountry of a physical addressbooleanFirst line of a physical addressSecond line of a physical addressThird line of a physical addressFourth line of a physical addressgetCity()City of a physical addressCountry of a physical addressIndicates whether the address is defined as origin (FROM) or destination (TO)Postal code of a physical addressRegion or state of a physical addressinthashCode()invoiceAddressType(InvoiceAddress.InvoiceAddressTypeEnum invoiceAddressType) Indicates whether the address is defined as origin (FROM) or destination (TO)postalCode(String postalCode) Postal code of a physical addressRegion or state of a physical addressvoidsetAddressLine1(String addressLine1) First line of a physical addressvoidsetAddressLine2(String addressLine2) Second line of a physical addressvoidsetAddressLine3(String addressLine3) Third line of a physical addressvoidsetAddressLine4(String addressLine4) Fourth line of a physical addressvoidCity of a physical addressvoidsetCountry(String country) Country of a physical addressvoidsetInvoiceAddressType(InvoiceAddress.InvoiceAddressTypeEnum invoiceAddressType) Indicates whether the address is defined as origin (FROM) or destination (TO)voidsetPostalCode(String postalCode) Postal code of a physical addressvoidRegion or state of a physical addresstoString()
-
Constructor Details
-
InvoiceAddress
public InvoiceAddress()
-
-
Method Details
-
invoiceAddressType
Indicates whether the address is defined as origin (FROM) or destination (TO)- Parameters:
invoiceAddressType- InvoiceAddressTypeEnum- Returns:
- InvoiceAddress
-
getInvoiceAddressType
Indicates whether the address is defined as origin (FROM) or destination (TO)- Returns:
- invoiceAddressType
-
setInvoiceAddressType
Indicates whether the address is defined as origin (FROM) or destination (TO)- Parameters:
invoiceAddressType- InvoiceAddressTypeEnum
-
addressLine1
First line of a physical address- Parameters:
addressLine1- String- Returns:
- InvoiceAddress
-
getAddressLine1
-
setAddressLine1
First line of a physical address- Parameters:
addressLine1- String
-
addressLine2
Second line of a physical address- Parameters:
addressLine2- String- Returns:
- InvoiceAddress
-
getAddressLine2
-
setAddressLine2
Second line of a physical address- Parameters:
addressLine2- String
-
addressLine3
Third line of a physical address- Parameters:
addressLine3- String- Returns:
- InvoiceAddress
-
getAddressLine3
-
setAddressLine3
Third line of a physical address- Parameters:
addressLine3- String
-
addressLine4
Fourth line of a physical address- Parameters:
addressLine4- String- Returns:
- InvoiceAddress
-
getAddressLine4
-
setAddressLine4
Fourth line of a physical address- Parameters:
addressLine4- String
-
city
City of a physical address- Parameters:
city- String- Returns:
- InvoiceAddress
-
getCity
-
setCity
-
region
Region or state of a physical address- Parameters:
region- String- Returns:
- InvoiceAddress
-
getRegion
-
setRegion
Region or state of a physical address- Parameters:
region- String
-
postalCode
Postal code of a physical address- Parameters:
postalCode- String- Returns:
- InvoiceAddress
-
getPostalCode
-
setPostalCode
Postal code of a physical address- Parameters:
postalCode- String
-
country
Country of a physical address- Parameters:
country- String- Returns:
- InvoiceAddress
-
getCountry
-
setCountry
-
equals
-
hashCode
-
toString
-