Class PaymentUpdateIntentParams
-
- All Implemented Interfaces:
-
com.bennyapi.core.Params
public final class PaymentUpdateIntentParams implements Params
Enables updating a payment intent that is not in a terminal state.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPaymentUpdateIntentParams.BuilderA builder for PaymentUpdateIntentParams.
public final classPaymentUpdateIntentParams.Body
-
Method Summary
Modifier and Type Method Description final AddressfulfillmentAddress()The fulfillment address. final FulfillmentTypefulfillmentType()The fulfillment type. final StringpaymentIntentId()The payment intent ID requiring update. final JsonField<Address>_fulfillmentAddress()Returns the raw JSON value of fulfillmentAddress. final JsonField<FulfillmentType>_fulfillmentType()Returns the raw JSON value of fulfillmentType. final JsonField<String>_paymentIntentId()Returns the raw JSON value of paymentIntentId. 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 PaymentUpdateIntentParams.BuildertoBuilder()final PaymentUpdateIntentParams.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 PaymentUpdateIntentParams.Builderbuilder()Returns a mutable builder for constructing an instance of PaymentUpdateIntentParams. -
-
Method Detail
-
fulfillmentAddress
final Address fulfillmentAddress()
The fulfillment address.
-
fulfillmentType
final FulfillmentType fulfillmentType()
The fulfillment type.
-
paymentIntentId
final String paymentIntentId()
The payment intent ID requiring update.
-
_fulfillmentAddress
final JsonField<Address> _fulfillmentAddress()
Returns the raw JSON value of fulfillmentAddress.
Unlike fulfillmentAddress, this method doesn't throw if the JSON field has an unexpected type.
-
_fulfillmentType
final JsonField<FulfillmentType> _fulfillmentType()
Returns the raw JSON value of fulfillmentType.
Unlike fulfillmentType, this method doesn't throw if the JSON field has an unexpected type.
-
_paymentIntentId
final JsonField<String> _paymentIntentId()
Returns the raw JSON value of paymentIntentId.
Unlike paymentIntentId, 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 PaymentUpdateIntentParams.Builder toBuilder()
-
_body
final PaymentUpdateIntentParams.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 PaymentUpdateIntentParams.Builder builder()
Returns a mutable builder for constructing an instance of PaymentUpdateIntentParams.
The following fields are required:
.fulfillmentAddress() .fulfillmentType() .paymentIntentId()
-
-
-
-