Class AddressesModel

java.lang.Object
net.avalara.avatax.rest.client.models.AddressesModel

public class AddressesModel extends Object
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 Details

    • AddressesModel

      public AddressesModel()
  • Method Details

    • getSingleLocation

      public AddressLocationInfo getSingleLocation()
      Getter for singleLocation
    • setSingleLocation

      public void setSingleLocation(AddressLocationInfo value)
      Setter for singleLocation
    • getShipFrom

      public AddressLocationInfo getShipFrom()
      Getter for shipFrom
    • setShipFrom

      public void setShipFrom(AddressLocationInfo value)
      Setter for shipFrom
    • getShipTo

      public AddressLocationInfo getShipTo()
      Getter for shipTo
    • setShipTo

      public void setShipTo(AddressLocationInfo value)
      Setter for shipTo
    • getPointOfOrderOrigin

      public AddressLocationInfo getPointOfOrderOrigin()
      Getter for pointOfOrderOrigin
    • setPointOfOrderOrigin

      public void setPointOfOrderOrigin(AddressLocationInfo value)
      Setter for pointOfOrderOrigin
    • getPointOfOrderAcceptance

      public AddressLocationInfo getPointOfOrderAcceptance()
      Getter for pointOfOrderAcceptance
    • setPointOfOrderAcceptance

      public void setPointOfOrderAcceptance(AddressLocationInfo value)
      Setter for pointOfOrderAcceptance
    • getGoodsPlaceOrServiceRendered

      public AddressLocationInfo getGoodsPlaceOrServiceRendered()
      Getter for goodsPlaceOrServiceRendered
    • setGoodsPlaceOrServiceRendered

      public void setGoodsPlaceOrServiceRendered(AddressLocationInfo value)
      Setter for goodsPlaceOrServiceRendered
    • getImport

      public AddressLocationInfo getImport()
      Getter for import
    • setImport

      public void setImport(AddressLocationInfo value)
      Setter for import
    • getBillTo

      public AddressLocationInfo getBillTo()
      Getter for billTo
    • setBillTo

      public void setBillTo(AddressLocationInfo value)
      Setter for billTo
    • toString

      public String toString()
      Returns a JSON string representation of AddressesModel
      Overrides:
      toString in class Object