Class ProofOfAddressProperties


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

      • ProofOfAddressProperties

        public ProofOfAddressProperties()
    • Method Detail

      • getAddress

        @Nullable
        public String getAddress()
        This property provides the address on the document.
        Returns:
        address
      • setAddress

        public void setAddress​(String address)
      • getFirstNames

        @Nullable
        public String getFirstNames()
        This property provides the first names on the document, including any initials and middle names.
        Returns:
        firstNames
      • setFirstNames

        public void setFirstNames​(String firstNames)
      • getLastNames

        @Nullable
        public String getLastNames()
        This property provided the last names on the document.
        Returns:
        lastNames
      • setLastNames

        public void setLastNames​(String lastNames)
      • getIssueDate

        @Nullable
        public LocalDate getIssueDate()
        This property provides the issue date of the document.
        Returns:
        issueDate
      • setIssueDate

        public void setIssueDate​(LocalDate issueDate)
      • getIssuer

        @Nullable
        public String getIssuer()
        This property provides the document issuer (e.g. HSBC, British Gas).
        Returns:
        issuer
      • setIssuer

        public void setIssuer​(String issuer)
      • getSummaryPeriodStart

        @Nullable
        public LocalDate getSummaryPeriodStart()
        This property provides the summary period start date.
        Returns:
        summaryPeriodStart
      • setSummaryPeriodStart

        public void setSummaryPeriodStart​(LocalDate summaryPeriodStart)
      • getSummaryPeriodEnd

        @Nullable
        public LocalDate getSummaryPeriodEnd()
        This property provides the summary period end date.
        Returns:
        summaryPeriodEnd
      • setSummaryPeriodEnd

        public void setSummaryPeriodEnd​(LocalDate summaryPeriodEnd)
      • putAdditionalProperty

        public ProofOfAddressProperties putAdditionalProperty​(String key,
                                                              Object value)
        Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
        Parameters:
        key - name of the property
        value - value of the property
        Returns:
        the ProofOfAddressProperties instance itself
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
        Return the additional (undeclared) property.
        Returns:
        a map of objects
      • getAdditionalProperty

        public Object getAdditionalProperty​(String key)
        Return the additional (undeclared) property with the specified name.
        Parameters:
        key - name of the property
        Returns:
        an object
      • 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 ProofOfAddressProperties
      • fromJson

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

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