Class DisputeCreateParams.Body.Builder
-
- All Implemented Interfaces:
public final class DisputeCreateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
amount
final DisputeCreateParams.Body.Builder amount(Long amount)
Amount to dispute
-
amount
final DisputeCreateParams.Body.Builder amount(JsonField<Long> amount)
Sets Builder.amount to an arbitrary JSON value.
You should usually call Builder.amount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
reason
final DisputeCreateParams.Body.Builder reason(DisputeCreateParams.Reason reason)
Reason for dispute
-
reason
final DisputeCreateParams.Body.Builder reason(JsonField<DisputeCreateParams.Reason> reason)
Sets Builder.reason to an arbitrary JSON value.
You should usually call Builder.reason with a well-typed Reason value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
transactionToken
final DisputeCreateParams.Body.Builder transactionToken(String transactionToken)
Transaction to dispute
-
transactionToken
final DisputeCreateParams.Body.Builder transactionToken(JsonField<String> transactionToken)
Sets Builder.transactionToken to an arbitrary JSON value.
You should usually call Builder.transactionToken with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
customerFiledDate
final DisputeCreateParams.Body.Builder customerFiledDate(OffsetDateTime customerFiledDate)
Date the customer filed the dispute
-
customerFiledDate
final DisputeCreateParams.Body.Builder customerFiledDate(JsonField<OffsetDateTime> customerFiledDate)
Sets Builder.customerFiledDate to an arbitrary JSON value.
You should usually call Builder.customerFiledDate with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
customerNote
final DisputeCreateParams.Body.Builder customerNote(String customerNote)
Customer description of dispute
-
customerNote
final DisputeCreateParams.Body.Builder customerNote(JsonField<String> customerNote)
Sets Builder.customerNote to an arbitrary JSON value.
You should usually call Builder.customerNote with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final DisputeCreateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final DisputeCreateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final DisputeCreateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final DisputeCreateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final DisputeCreateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final DisputeCreateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.amount() .reason() .transactionToken()
-
-
-
-