Package model
Class DisputeEvidence
- java.lang.Object
-
- model.DisputeEvidence
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class DisputeEvidence extends Object
DisputeEvidence
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDisputeEvidence.CustomTypeAdapterFactorystatic classDisputeEvidence.StateEnumResult of the evidence uploaded.
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_DISPUTEstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_LINKSstatic StringSERIALIZED_NAME_STATEstatic StringSERIALIZED_NAME_TAGSstatic StringSERIALIZED_NAME_UPDATED_AT
-
Constructor Summary
Constructors Constructor Description DisputeEvidence()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DisputeEvidencecreatedAt(OffsetDateTime createdAt)DisputeEvidencedispute(String dispute)booleanequals(Object o)static DisputeEvidencefromJson(String jsonString)Create an instance of DisputeEvidence given an JSON stringOffsetDateTimegetCreatedAt()Timestamp of when the object was created.StringgetDispute()The ID of the resource.StringgetId()The ID of the `Dispute` resource.DisputeEvidenceLinksgetLinks()Get linksDisputeEvidence.StateEnumgetState()Result of the evidence uploaded.Map<String,String>getTags()Key value pair for annotating custom meta data (e.g.OffsetDateTimegetUpdatedAt()Timestamp of when the object was last updated.inthashCode()DisputeEvidenceid(String id)DisputeEvidencelinks(DisputeEvidenceLinks links)DisputeEvidenceputTagsItem(String key, String tagsItem)voidsetCreatedAt(OffsetDateTime createdAt)voidsetDispute(String dispute)voidsetId(String id)voidsetLinks(DisputeEvidenceLinks links)voidsetState(DisputeEvidence.StateEnum state)voidsetTags(Map<String,String> tags)voidsetUpdatedAt(OffsetDateTime updatedAt)DisputeEvidencestate(DisputeEvidence.StateEnum state)DisputeEvidencetags(Map<String,String> tags)StringtoJson()Convert an instance of DisputeEvidence to an JSON stringStringtoString()DisputeEvidenceupdatedAt(OffsetDateTime updatedAt)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_CREATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UPDATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DISPUTE
public static final String SERIALIZED_NAME_DISPUTE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATE
public static final String SERIALIZED_NAME_STATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAGS
public static final String SERIALIZED_NAME_TAGS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LINKS
public static final String SERIALIZED_NAME_LINKS
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public DisputeEvidence id(String 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)
-
setDispute
public void setDispute(String dispute)
-
state
public DisputeEvidence state(DisputeEvidence.StateEnum state)
-
getState
@Nullable public DisputeEvidence.StateEnum 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)
-
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
-
links
public DisputeEvidence links(DisputeEvidenceLinks links)
-
getLinks
@Nullable public DisputeEvidenceLinks getLinks()
Get links- Returns:
- links
-
setLinks
public void setLinks(DisputeEvidenceLinks links)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates 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
-
-