Class AddressesModel
java.lang.Object
net.avalara.avatax.rest.client.models.AddressesModel
Information about all the addresses involved in this transaction.
For a physical in-person transaction at a retail point-of-sale location, please specify only one address using
the `singleLocation` field.
For a transaction that was shipped, delivered, or provided from an origin location such as a warehouse to
a destination location such as a customer, please specify the `shipFrom` and `shipTo` addresses.
In the United States, some jurisdictions recognize the address types `pointOfOrderOrigin` and `pointOfOrderAcceptance`.
These address types affect the sourcing models of some transactions.
If latitude and longitude information is provided for any of these addresses along with line, city, region, country and postal code information,
we will be using only latitude and longitude and will discard line, city, region, country and postal code information for the transaction.
Please ensure that you have the correct latitude/longitude information for the addresses prior to using the API.
If you provide either latitude or longitude information but not both, we will be using the line, city, region, country and postal code information for the addresses.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for billToGetter for goodsPlaceOrServiceRenderedGetter for importGetter for pointOfOrderAcceptanceGetter for pointOfOrderOriginGetter for shipFromGetter for shipToGetter for singleLocationvoid
setBillTo
(AddressLocationInfo value) Setter for billTovoid
Setter for goodsPlaceOrServiceRenderedvoid
setImport
(AddressLocationInfo value) Setter for importvoid
Setter for pointOfOrderAcceptancevoid
Setter for pointOfOrderOriginvoid
setShipFrom
(AddressLocationInfo value) Setter for shipFromvoid
setShipTo
(AddressLocationInfo value) Setter for shipTovoid
Setter for singleLocationtoString()
Returns a JSON string representation of AddressesModel
-
Constructor Details
-
AddressesModel
public AddressesModel()
-
-
Method Details
-
getSingleLocation
Getter for singleLocation -
setSingleLocation
Setter for singleLocation -
getShipFrom
Getter for shipFrom -
setShipFrom
Setter for shipFrom -
getShipTo
Getter for shipTo -
setShipTo
Setter for shipTo -
getPointOfOrderOrigin
Getter for pointOfOrderOrigin -
setPointOfOrderOrigin
Setter for pointOfOrderOrigin -
getPointOfOrderAcceptance
Getter for pointOfOrderAcceptance -
setPointOfOrderAcceptance
Setter for pointOfOrderAcceptance -
getGoodsPlaceOrServiceRendered
Getter for goodsPlaceOrServiceRendered -
setGoodsPlaceOrServiceRendered
Setter for goodsPlaceOrServiceRendered -
getImport
Getter for import -
setImport
Setter for import -
getBillTo
Getter for billTo -
setBillTo
Setter for billTo -
toString
Returns a JSON string representation of AddressesModel
-