Package model

Class DisputeEvidence

java.lang.Object
model.DisputeEvidence

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]") public class DisputeEvidence extends Object
DisputeEvidence
  • Field Details

  • Constructor Details

    • DisputeEvidence

      public DisputeEvidence()
  • Method Details

    • tags

      public DisputeEvidence tags(Map<String,String> tags)
    • putTagsItem

      public DisputeEvidence putTagsItem(String key, String tagsItem)
    • getTags

      @Nullable public Map<String,String> getTags()
      Key value pair for annotating custom meta data (e.g. order numbers).
      Returns:
      tags
    • setTags

      public void setTags(Map<String,String> tags)
    • id

      public DisputeEvidence id(String id)
    • getId

      @Nullable public String getId()
      The ID of the `Dispute` resource.
      Returns:
      id
    • setId

      public void setId(String id)
    • createdAt

      public DisputeEvidence createdAt(OffsetDateTime createdAt)
    • getCreatedAt

      @Nullable public OffsetDateTime getCreatedAt()
      Timestamp of when the object was created.
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(OffsetDateTime createdAt)
    • updatedAt

      public DisputeEvidence updatedAt(OffsetDateTime updatedAt)
    • getUpdatedAt

      @Nullable public OffsetDateTime getUpdatedAt()
      Timestamp of when the object was last updated.
      Returns:
      updatedAt
    • setUpdatedAt

      public void setUpdatedAt(OffsetDateTime updatedAt)
    • dispute

      public DisputeEvidence dispute(String dispute)
    • getDispute

      @Nullable public String getDispute()
      The ID of the resource.
      Returns:
      dispute
    • setDispute

      public void setDispute(String dispute)
    • state

    • getState

      Result of the evidence uploaded. - PENDING: The evidence file has not yet been submitted to the Processor. No user action is required. - SUCCEEDED: The evidence file has been successfully sent to the Processor. No further user action is required. - CANCELED: The evidence file upload was not completed due to user action. - FAILED: An issue occurred. User action is required. Any of the following issues could have occurred: - There was an error in the system and the user should retry uploading their evidence file. - There is an issue with the file and the user should retry uploading a different file. - There is an issue and the user should contact Support.
      Returns:
      state
    • setState

      public void setState(DisputeEvidence.StateEnum state)
    • links

      public DisputeEvidence links(DisputeEvidenceLinks links)
    • getLinks

      @Nullable public DisputeEvidenceLinks getLinks()
      Get links
      Returns:
      links
    • setLinks

      public void setLinks(DisputeEvidenceLinks links)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonObject

      public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
      Validates the JSON Object and throws an exception if issues found
      Parameters:
      jsonObj - JSON Object
      Throws:
      IOException - if the JSON Object is invalid with respect to DisputeEvidence
    • fromJson

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

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