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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumResult of the evidence uploaded. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) booleanstatic DisputeEvidenceCreate an instance of DisputeEvidence given an JSON stringTimestamp of when the object was created.The ID of the resource.getId()The ID of the `Dispute` resource.getLinks()Get linksgetState()Result of the evidence uploaded.getTags()Key value pair for annotating custom meta data (e.g.Timestamp of when the object was last updated.inthashCode()links(DisputeEvidenceLinks links) putTagsItem(String key, String tagsItem) voidsetCreatedAt(OffsetDateTime createdAt) voidsetDispute(String dispute) voidvoidsetLinks(DisputeEvidenceLinks links) voidvoidvoidsetUpdatedAt(OffsetDateTime updatedAt) state(DisputeEvidence.StateEnum state) toJson()Convert an instance of DisputeEvidence to an JSON stringtoString()updatedAt(OffsetDateTime updatedAt) static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_TAGS
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_DISPUTE
- See Also:
-
SERIALIZED_NAME_STATE
- See Also:
-
SERIALIZED_NAME_LINKS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
DisputeEvidence
public DisputeEvidence()
-
-
Method Details
-
tags
-
putTagsItem
-
getTags
Key value pair for annotating custom meta data (e.g. order numbers).- Returns:
- tags
-
setTags
-
id
-
getId
The ID of the `Dispute` resource.- Returns:
- id
-
setId
-
createdAt
-
getCreatedAt
Timestamp of when the object was created.- Returns:
- createdAt
-
setCreatedAt
-
updatedAt
-
getUpdatedAt
Timestamp of when the object was last updated.- Returns:
- updatedAt
-
setUpdatedAt
-
dispute
-
getDispute
The ID of the resource.- Returns:
- dispute
-
setDispute
-
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
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
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
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
Convert an instance of DisputeEvidence to an JSON string- Returns:
- JSON string
-