Class SubstantialUsOwnerRequest


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.7.0")
    public class SubstantialUsOwnerRequest
    extends Object
    SubstantialUsOwnerRequest
    • Constructor Detail

      • SubstantialUsOwnerRequest

        public SubstantialUsOwnerRequest()
    • Method Detail

      • getName

        @Nullable
        public String getName()
        The name of the substantial U.S. owner of the NFFE.
        Returns:
        name
      • setName

        public void setName​(String name)
      • getAddress

        @Nullable
        public String getAddress()
        The address of the substantial U.S. owner of the NFFE.
        Returns:
        address
      • setAddress

        public void setAddress​(String address)
      • getTin

        @Nullable
        public String getTin()
        The taxpayer identification number (TIN) of the substantial U.S. owner of the NFFE.
        Returns:
        tin
      • setTin

        public void setTin​(String tin)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates the JSON Element and throws an exception if issues found
        Parameters:
        jsonElement - JSON Element
        Throws:
        IOException - if the JSON Element is invalid with respect to SubstantialUsOwnerRequest
      • fromJson

        public static SubstantialUsOwnerRequest fromJson​(String jsonString)
                                                  throws IOException
        Create an instance of SubstantialUsOwnerRequest given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of SubstantialUsOwnerRequest
        Throws:
        IOException - if the JSON string is invalid with respect to SubstantialUsOwnerRequest
      • toJson

        public String toJson()
        Convert an instance of SubstantialUsOwnerRequest to an JSON string
        Returns:
        JSON string