Class NexusByAddressModel

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

public class NexusByAddressModel
extends java.lang.Object
Contains information about nexus jurisdictions that were declared as a result of a call to `DeclareNexusByAddress`. For each address, this object model contains a list of the nexus objects that were declared according to the geocoding that corresponds to this address.
  • Constructor Summary

    Constructors 
    Constructor Description
    NexusByAddressModel()  
  • Method Summary

    Modifier and Type Method Description
    DeclareNexusByAddressModel getAddress()
    Getter for address The address that was provided by the user in the call to `DeclareNexusByAddress`
    java.util.ArrayList<NexusModel> getDeclaredNexus()
    Getter for declaredNexus List of all nexus objects that were affected by declaring nexus at the address specified by `address`.
    void setAddress​(DeclareNexusByAddressModel value)
    Setter for address The address that was provided by the user in the call to `DeclareNexusByAddress`
    void setDeclaredNexus​(java.util.ArrayList<NexusModel> value)
    Setter for declaredNexus List of all nexus objects that were affected by declaring nexus at the address specified by `address`.
    java.lang.String toString()
    Returns a JSON string representation of NexusByAddressModel

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • getAddress

      public DeclareNexusByAddressModel getAddress()
      Getter for address The address that was provided by the user in the call to `DeclareNexusByAddress`
    • setAddress

      public void setAddress​(DeclareNexusByAddressModel value)
      Setter for address The address that was provided by the user in the call to `DeclareNexusByAddress`
    • getDeclaredNexus

      public java.util.ArrayList<NexusModel> getDeclaredNexus()
      Getter for declaredNexus List of all nexus objects that were affected by declaring nexus at the address specified by `address`.
    • setDeclaredNexus

      public void setDeclaredNexus​(java.util.ArrayList<NexusModel> value)
      Setter for declaredNexus List of all nexus objects that were affected by declaring nexus at the address specified by `address`.
    • toString

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