Package com.bennyapi.models.payment
Class PaymentRefundResponse.Builder
-
- All Implemented Interfaces:
public final class PaymentRefundResponse.BuilderA builder for PaymentRefundResponse.
-
-
Method Summary
Modifier and Type Method Description final PaymentRefundResponse.BuilderrefundIntentId(String refundIntentId)The refund intent ID. final PaymentRefundResponse.BuilderrefundIntentId(JsonField<String> refundIntentId)Sets Builder.refundIntentId to an arbitrary JSON value. final PaymentRefundResponse.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final PaymentRefundResponse.BuilderputAdditionalProperty(String key, JsonValue value)final PaymentRefundResponse.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final PaymentRefundResponse.BuilderremoveAdditionalProperty(String key)final PaymentRefundResponse.BuilderremoveAllAdditionalProperties(Set<String> keys)final PaymentRefundResponsebuild()Returns an immutable instance of PaymentRefundResponse. -
-
Method Detail
-
refundIntentId
final PaymentRefundResponse.Builder refundIntentId(String refundIntentId)
The refund intent ID.
-
refundIntentId
final PaymentRefundResponse.Builder refundIntentId(JsonField<String> refundIntentId)
Sets Builder.refundIntentId to an arbitrary JSON value.
You should usually call Builder.refundIntentId 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 PaymentRefundResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final PaymentRefundResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final PaymentRefundResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final PaymentRefundResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final PaymentRefundResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final PaymentRefundResponse build()
Returns an immutable instance of PaymentRefundResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.refundIntentId()
-
-
-
-