Package com.stripe.param
Class PaymentIntentIncrementAuthorizationParams.PaymentDetails.Builder
java.lang.Object
com.stripe.param.PaymentIntentIncrementAuthorizationParams.PaymentDetails.Builder
- Enclosing class:
- PaymentIntentIncrementAuthorizationParams.PaymentDetails
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Finalize and obtain parameter instance from this builder.putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map.setCustomerReference(EmptyParam customerReference) A unique value to identify the customer.setCustomerReference(String customerReference) A unique value to identify the customer.setOrderReference(EmptyParam orderReference) setOrderReference(String orderReference) A unique value assigned by the business to identify the transaction.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCustomerReference
public PaymentIntentIncrementAuthorizationParams.PaymentDetails.Builder setCustomerReference(String customerReference) A unique value to identify the customer. This field is available only for card payments.This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
-
setCustomerReference
public PaymentIntentIncrementAuthorizationParams.PaymentDetails.Builder setCustomerReference(EmptyParam customerReference) A unique value to identify the customer. This field is available only for card payments.This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
-
putExtraParam
public PaymentIntentIncrementAuthorizationParams.PaymentDetails.Builder putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeePaymentIntentIncrementAuthorizationParams.PaymentDetails.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentIntentIncrementAuthorizationParams.PaymentDetails.Builder putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeePaymentIntentIncrementAuthorizationParams.PaymentDetails.extraParamsfor the field documentation. -
setOrderReference
public PaymentIntentIncrementAuthorizationParams.PaymentDetails.Builder setOrderReference(String orderReference) A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.Required when the Payment Method Types array contains
card, including when automatic_payment_methods.enabled is set totrue.For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
-
setOrderReference
public PaymentIntentIncrementAuthorizationParams.PaymentDetails.Builder setOrderReference(EmptyParam orderReference)
-