Class PaymentUpdateIntentParams.Body.Builder
-
- All Implemented Interfaces:
public final class PaymentUpdateIntentParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
fulfillmentAddress
final PaymentUpdateIntentParams.Body.Builder fulfillmentAddress(Address fulfillmentAddress)
The fulfillment address.
-
fulfillmentAddress
final PaymentUpdateIntentParams.Body.Builder fulfillmentAddress(JsonField<Address> fulfillmentAddress)
Sets Builder.fulfillmentAddress to an arbitrary JSON value.
You should usually call Builder.fulfillmentAddress with a well-typed Address value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
fulfillmentType
final PaymentUpdateIntentParams.Body.Builder fulfillmentType(FulfillmentType fulfillmentType)
The fulfillment type.
-
fulfillmentType
final PaymentUpdateIntentParams.Body.Builder fulfillmentType(JsonField<FulfillmentType> fulfillmentType)
Sets Builder.fulfillmentType to an arbitrary JSON value.
You should usually call Builder.fulfillmentType with a well-typed FulfillmentType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
paymentIntentId
final PaymentUpdateIntentParams.Body.Builder paymentIntentId(String paymentIntentId)
The payment intent ID requiring update.
-
paymentIntentId
final PaymentUpdateIntentParams.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 PaymentUpdateIntentParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final PaymentUpdateIntentParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final PaymentUpdateIntentParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final PaymentUpdateIntentParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final PaymentUpdateIntentParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final PaymentUpdateIntentParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.fulfillmentAddress() .fulfillmentType() .paymentIntentId()
-
-
-
-