Class PrimaryWithholdingAgent


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

      • SERIALIZED_NAME_PRIMARY_WITHHOLDING_AGENT_NAME

        public static final String SERIALIZED_NAME_PRIMARY_WITHHOLDING_AGENT_NAME
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_PRIMARY_WITHHOLDING_AGENT_EIN

        public static final String SERIALIZED_NAME_PRIMARY_WITHHOLDING_AGENT_EIN
        See Also:
        Constant Field Values
      • openapiRequiredFields

        public static HashSet<String> openapiRequiredFields
    • Constructor Detail

      • PrimaryWithholdingAgent

        public PrimaryWithholdingAgent()
    • Method Detail

      • getPrimaryWithholdingAgentName

        @Nullable
        public String getPrimaryWithholdingAgentName()
        Get primaryWithholdingAgentName
        Returns:
        primaryWithholdingAgentName
      • setPrimaryWithholdingAgentName

        public void setPrimaryWithholdingAgentName​(String primaryWithholdingAgentName)
      • getPrimaryWithholdingAgentEin

        @Nullable
        public String getPrimaryWithholdingAgentEin()
        Get primaryWithholdingAgentEin
        Returns:
        primaryWithholdingAgentEin
      • setPrimaryWithholdingAgentEin

        public void setPrimaryWithholdingAgentEin​(String primaryWithholdingAgentEin)
      • 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 PrimaryWithholdingAgent
      • fromJson

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

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