Package com.stripe.param
Class OrderUpdateParams.Payment.Settings.Builder
java.lang.Object
com.stripe.param.OrderUpdateParams.Payment.Settings.Builder
- Enclosing class:
- OrderUpdateParams.Payment.Settings
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdd all elements to `paymentMethodTypes` list.Add an element to `paymentMethodTypes` list.build()
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.setApplicationFeeAmount
(EmptyParam applicationFeeAmount) The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account.setApplicationFeeAmount
(Long applicationFeeAmount) The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account.setPaymentMethodOptions
(OrderUpdateParams.Payment.Settings.PaymentMethodOptions paymentMethodOptions) PaymentMethod-specific configuration to provide to the order's PaymentIntent.setReturnUrl
(EmptyParam returnUrl) The URL to redirect the customer to after they authenticate their payment.setReturnUrl
(String returnUrl) The URL to redirect the customer to after they authenticate their payment.setStatementDescriptor
(EmptyParam statementDescriptor) For non-card charges, you can use this value as the complete description that appears on your customers' statements.setStatementDescriptor
(String statementDescriptor) For non-card charges, you can use this value as the complete description that appears on your customers' statements.setStatementDescriptorSuffix
(EmptyParam statementDescriptorSuffix) Provides information about a card payment that customers see on their statements.setStatementDescriptorSuffix
(String statementDescriptorSuffix) Provides information about a card payment that customers see on their statements.setTransferData
(EmptyParam transferData) Provides configuration for completing a transfer for the order after it is paid.Provides configuration for completing a transfer for the order after it is paid.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setApplicationFeeAmount
public OrderUpdateParams.Payment.Settings.Builder setApplicationFeeAmount(Long applicationFeeAmount) The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. -
setApplicationFeeAmount
public OrderUpdateParams.Payment.Settings.Builder setApplicationFeeAmount(EmptyParam applicationFeeAmount) The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. -
putExtraParam
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. SeeOrderUpdateParams.Payment.Settings.extraParams
for the field documentation. -
putAllExtraParam
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. SeeOrderUpdateParams.Payment.Settings.extraParams
for the field documentation. -
setPaymentMethodOptions
public OrderUpdateParams.Payment.Settings.Builder setPaymentMethodOptions(OrderUpdateParams.Payment.Settings.PaymentMethodOptions paymentMethodOptions) PaymentMethod-specific configuration to provide to the order's PaymentIntent. -
addPaymentMethodType
public OrderUpdateParams.Payment.Settings.Builder addPaymentMethodType(OrderUpdateParams.Payment.Settings.PaymentMethodType element) Add an element to `paymentMethodTypes` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeOrderUpdateParams.Payment.Settings.paymentMethodTypes
for the field documentation. -
addAllPaymentMethodType
public OrderUpdateParams.Payment.Settings.Builder addAllPaymentMethodType(List<OrderUpdateParams.Payment.Settings.PaymentMethodType> elements) Add all elements to `paymentMethodTypes` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeOrderUpdateParams.Payment.Settings.paymentMethodTypes
for the field documentation. -
setReturnUrl
The URL to redirect the customer to after they authenticate their payment. -
setReturnUrl
The URL to redirect the customer to after they authenticate their payment. -
setStatementDescriptor
public OrderUpdateParams.Payment.Settings.Builder setStatementDescriptor(String statementDescriptor) For non-card charges, you can use this value as the complete description that appears on your customers' statements. Must contain at least one letter, maximum 22 characters. -
setStatementDescriptor
public OrderUpdateParams.Payment.Settings.Builder setStatementDescriptor(EmptyParam statementDescriptor) For non-card charges, you can use this value as the complete description that appears on your customers' statements. Must contain at least one letter, maximum 22 characters. -
setStatementDescriptorSuffix
public OrderUpdateParams.Payment.Settings.Builder setStatementDescriptorSuffix(String statementDescriptorSuffix) Provides information about a card payment that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor. -
setStatementDescriptorSuffix
public OrderUpdateParams.Payment.Settings.Builder setStatementDescriptorSuffix(EmptyParam statementDescriptorSuffix) Provides information about a card payment that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor. -
setTransferData
public OrderUpdateParams.Payment.Settings.Builder setTransferData(OrderUpdateParams.Payment.Settings.TransferData transferData) Provides configuration for completing a transfer for the order after it is paid. -
setTransferData
Provides configuration for completing a transfer for the order after it is paid.
-