Class PaymentCreateIntentParams.Body
-
- All Implemented Interfaces:
public final class PaymentCreateIntentParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPaymentCreateIntentParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Longamount()The amount in cents for the payment. final StringexternalUserId()Your organization's representation of the customer ID. final AddressfulfillmentAddress()The fulfillment address final FulfillmentTypefulfillmentType()The fulfillment type. final StringpaymentMethodId()The payment method ID. final TenderTypetenderType()The tender type of SNAP or EBT Cash. final Optional<String>orderId()Your organization's representation of the order ID ID. final JsonField<Long>_amount()Returns the raw JSON value of amount. final JsonField<String>_externalUserId()Returns the raw JSON value of externalUserId. 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>_paymentMethodId()Returns the raw JSON value of paymentMethodId. final JsonField<TenderType>_tenderType()Returns the raw JSON value of tenderType. final JsonField<String>_orderId()Returns the raw JSON value of orderId. final Map<String, JsonValue>_additionalProperties()final PaymentCreateIntentParams.Body.BuildertoBuilder()final PaymentCreateIntentParams.Bodyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static PaymentCreateIntentParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
externalUserId
final String externalUserId()
Your organization's representation of the customer ID.
-
fulfillmentAddress
final Address fulfillmentAddress()
The fulfillment address
-
fulfillmentType
final FulfillmentType fulfillmentType()
The fulfillment type.
-
paymentMethodId
final String paymentMethodId()
The payment method ID.
-
tenderType
final TenderType tenderType()
The tender type of SNAP or EBT Cash.
-
_amount
final JsonField<Long> _amount()
Returns the raw JSON value of amount.
Unlike amount, this method doesn't throw if the JSON field has an unexpected type.
-
_externalUserId
final JsonField<String> _externalUserId()
Returns the raw JSON value of externalUserId.
Unlike externalUserId, this method doesn't throw if the JSON field has an unexpected type.
-
_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.
-
_paymentMethodId
final JsonField<String> _paymentMethodId()
Returns the raw JSON value of paymentMethodId.
Unlike paymentMethodId, this method doesn't throw if the JSON field has an unexpected type.
-
_tenderType
final JsonField<TenderType> _tenderType()
Returns the raw JSON value of tenderType.
Unlike tenderType, this method doesn't throw if the JSON field has an unexpected type.
-
_orderId
final JsonField<String> _orderId()
Returns the raw JSON value of orderId.
Unlike orderId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final PaymentCreateIntentParams.Body.Builder toBuilder()
-
validate
final PaymentCreateIntentParams.Body validate()
-
builder
final static PaymentCreateIntentParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.amount() .externalUserId() .fulfillmentAddress() .fulfillmentType() .paymentMethodId() .tenderType()
-
-
-
-