Class DisputeCreateParams
-
- All Implemented Interfaces:
-
com.lithic.api.core.Params
public final class DisputeCreateParams implements Params
Initiate a dispute.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classDisputeCreateParams.BuilderA builder for DisputeCreateParams.
public final classDisputeCreateParams.Bodypublic final classDisputeCreateParams.ReasonReason for dispute
-
Method Summary
Modifier and Type Method Description final Longamount()Amount to dispute final DisputeCreateParams.Reasonreason()Reason for dispute final StringtransactionToken()Transaction to dispute final Optional<OffsetDateTime>customerFiledDate()Date the customer filed the dispute final Optional<String>customerNote()Customer description of dispute final JsonField<Long>_amount()Returns the raw JSON value of amount. final JsonField<DisputeCreateParams.Reason>_reason()Returns the raw JSON value of reason. final JsonField<String>_transactionToken()Returns the raw JSON value of transactionToken. final JsonField<OffsetDateTime>_customerFiledDate()Returns the raw JSON value of customerFiledDate. final JsonField<String>_customerNote()Returns the raw JSON value of customerNote. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final DisputeCreateParams.BuildertoBuilder()final DisputeCreateParams.Body_body()Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static DisputeCreateParams.Builderbuilder()Returns a mutable builder for constructing an instance of DisputeCreateParams. -
-
Method Detail
-
reason
final DisputeCreateParams.Reason reason()
Reason for dispute
-
transactionToken
final String transactionToken()
Transaction to dispute
-
customerFiledDate
final Optional<OffsetDateTime> customerFiledDate()
Date the customer filed the dispute
-
customerNote
final Optional<String> customerNote()
Customer description of dispute
-
_amount
final JsonField<Long> _amount()
Returns the raw JSON value of amount.
Unlike amount, this method doesn't throw if the JSON field has an unexpected type.
-
_reason
final JsonField<DisputeCreateParams.Reason> _reason()
Returns the raw JSON value of reason.
Unlike reason, this method doesn't throw if the JSON field has an unexpected type.
-
_transactionToken
final JsonField<String> _transactionToken()
Returns the raw JSON value of transactionToken.
Unlike transactionToken, this method doesn't throw if the JSON field has an unexpected type.
-
_customerFiledDate
final JsonField<OffsetDateTime> _customerFiledDate()
Returns the raw JSON value of customerFiledDate.
Unlike customerFiledDate, this method doesn't throw if the JSON field has an unexpected type.
-
_customerNote
final JsonField<String> _customerNote()
Returns the raw JSON value of customerNote.
Unlike customerNote, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final DisputeCreateParams.Builder toBuilder()
-
_body
final DisputeCreateParams.Body _body()
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static DisputeCreateParams.Builder builder()
Returns a mutable builder for constructing an instance of DisputeCreateParams.
The following fields are required:
.amount() .reason() .transactionToken()
-
-
-
-