Package model
Class Dispute
java.lang.Object
model.Dispute
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class Dispute
extends Object
A `Dispute` objected created for a chargeback or customer disputes.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe system-defined reason for the `Dispute`.static enumThe current state of the `Dispute`. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplication(String application) createdAt(OffsetDateTime createdAt) disputeDetails(Map<String, Object> disputeDetails) booleanstatic DisputeCreate an instance of Dispute given an JSON stringThe next `action` required to move forward with the `Dispute`.The total amount of the `Dispute` (in cents).The ID of the `Application` resource the `Dispute` was created under.Timestamp of when the object was created.Get currencyDetails about the `Dispute` recieved by the `Processor`.getId()The ID of the `Dispute` resource.The ID of the resource.getLinks()Get linksMessage field that provides additional details.Point in time when dispute occurred.The system-defined reason for the `Dispute`.Point in time when dispute has to be resolved and the `Merchant` needs to respond by.getState()The current state of the `Dispute`.getTags()Key value pair for annotating custom meta data (e.g.ID of the `Transfer` resource.Timestamp of when the object was last updated.inthashCode()links(DisputeLinks links) occurredAt(OffsetDateTime occurredAt) putDisputeDetailsItem(String key, Object disputeDetailsItem) putTagsItem(String key, String tagsItem) reason(Dispute.ReasonEnum reason) respondBy(OffsetDateTime respondBy) voidvoidvoidsetApplication(String application) voidsetCreatedAt(OffsetDateTime createdAt) voidsetCurrency(Currency currency) voidsetDisputeDetails(Map<String, Object> disputeDetails) voidvoidsetIdentity(String identity) voidsetLinks(DisputeLinks links) voidsetMessage(String message) voidsetOccurredAt(OffsetDateTime occurredAt) voidsetReason(Dispute.ReasonEnum reason) voidsetRespondBy(OffsetDateTime respondBy) voidsetState(Dispute.StateEnum state) voidvoidsetTransfer(String transfer) voidsetUpdatedAt(OffsetDateTime updatedAt) state(Dispute.StateEnum state) toJson()Convert an instance of Dispute 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_ACTION
- See Also:
-
SERIALIZED_NAME_AMOUNT
- See Also:
-
SERIALIZED_NAME_APPLICATION
- See Also:
-
SERIALIZED_NAME_CURRENCY
- See Also:
-
SERIALIZED_NAME_DISPUTE_DETAILS
- See Also:
-
SERIALIZED_NAME_IDENTITY
- See Also:
-
SERIALIZED_NAME_MESSAGE
- See Also:
-
SERIALIZED_NAME_OCCURRED_AT
- See Also:
-
SERIALIZED_NAME_REASON
- See Also:
-
SERIALIZED_NAME_RESPOND_BY
- See Also:
-
SERIALIZED_NAME_STATE
- See Also:
-
SERIALIZED_NAME_TRANSFER
- See Also:
-
SERIALIZED_NAME_LINKS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Dispute
public Dispute()
-
-
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
-
action
-
getAction
The next `action` required to move forward with the `Dispute`.- Returns:
- action
-
setAction
-
amount
-
getAmount
The total amount of the `Dispute` (in cents).- Returns:
- amount
-
setAmount
-
application
-
getApplication
The ID of the `Application` resource the `Dispute` was created under.- Returns:
- application
-
setApplication
-
currency
-
getCurrency
Get currency- Returns:
- currency
-
setCurrency
-
disputeDetails
-
putDisputeDetailsItem
-
getDisputeDetails
Details about the `Dispute` recieved by the `Processor`.- Returns:
- disputeDetails
-
setDisputeDetails
-
identity
-
getIdentity
The ID of the resource.- Returns:
- identity
-
setIdentity
-
message
-
getMessage
Message field that provides additional details. This field is typically null.- Returns:
- message
-
setMessage
-
occurredAt
-
getOccurredAt
Point in time when dispute occurred.- Returns:
- occurredAt
-
setOccurredAt
-
reason
-
getReason
The system-defined reason for the `Dispute`. Available values include:<ul><li>**INQUIRY**<li>**QUALITY**<li>**CLERICAL**<li>**FRAUD**<li>**TECHNICAL**</ul>- Returns:
- reason
-
setReason
-
respondBy
-
getRespondBy
Point in time when dispute has to be resolved and the `Merchant` needs to respond by.- Returns:
- respondBy
-
setRespondBy
-
state
-
getState
The current state of the `Dispute`.- Returns:
- state
-
setState
-
transfer
-
getTransfer
ID of the `Transfer` resource.- Returns:
- transfer
-
setTransfer
-
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 Dispute
-
fromJson
Create an instance of Dispute given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Dispute
- Throws:
IOException- if the JSON string is invalid with respect to Dispute
-
toJson
Convert an instance of Dispute to an JSON string- Returns:
- JSON string
-