Class PaymentRefundParams.Body.Builder
-
- All Implemented Interfaces:
public final class PaymentRefundParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
amount
final PaymentRefundParams.Body.Builder amount(Long amount)
-
amount
final PaymentRefundParams.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.
-
paymentMethodId
final PaymentRefundParams.Body.Builder paymentMethodId(String paymentMethodId)
-
paymentMethodId
final PaymentRefundParams.Body.Builder paymentMethodId(JsonField<String> paymentMethodId)
Sets Builder.paymentMethodId to an arbitrary JSON value.
You should usually call Builder.paymentMethodId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
paymentType
final PaymentRefundParams.Body.Builder paymentType(PaymentRefundParams.PaymentType paymentType)
-
paymentType
final PaymentRefundParams.Body.Builder paymentType(JsonField<PaymentRefundParams.PaymentType> paymentType)
Sets Builder.paymentType to an arbitrary JSON value.
You should usually call Builder.paymentType with a well-typed PaymentType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
orderId
final PaymentRefundParams.Body.Builder orderId(String orderId)
-
orderId
final PaymentRefundParams.Body.Builder orderId(JsonField<String> orderId)
Sets Builder.orderId to an arbitrary JSON value.
You should usually call Builder.orderId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
paymentIntentId
final PaymentRefundParams.Body.Builder paymentIntentId(String paymentIntentId)
-
paymentIntentId
final PaymentRefundParams.Body.Builder paymentIntentId(JsonField<String> paymentIntentId)
Sets Builder.paymentIntentId to an arbitrary JSON value.
You should usually call Builder.paymentIntentId 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 PaymentRefundParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final PaymentRefundParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final PaymentRefundParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final PaymentRefundParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final PaymentRefundParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final PaymentRefundParams.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() .paymentMethodId() .paymentType()
-
-
-
-