Class AddressesModel


  • public class AddressesModel
    extends java.lang.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. VAT transactions support a `goodsPlaceOrServiceRendered` address, which indicates where goods are located or where services are rendered. VAT transactions also support an `import` address, which specifies the address of the buyer importing a good from another country. India GST transactions support a `billTo` address, which specifies where invoices and other billing-related information are sent to the buyer. 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 Detail

      • AddressesModel

        public AddressesModel()
    • Method Detail

      • setSingleLocation

        public void setSingleLocation​(AddressLocationInfo value)
        Setter for singleLocation
      • 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
      • toString

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