Package com.stripe.param
Class PaymentLinkUpdateParams
java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.PaymentLinkUpdateParams
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static enum
Add all map key/value pairs to `extraParams` map.static class
static enum
static class
Required. Type of the account referenced in the request.static class
static class
Required. Text may be up to 1200 characters in length.static class
Add all map key/value pairs to `extraParams` map.static class
The minimum quantity the customer can purchase.static enum
static enum
static class
A string that identifies the resulting payment as part of a group.static class
Required. The maximum number of checkout sessions that can be completed for thecompleted_sessions
restriction to be met.static class
static class
Required. Indicates how the subscription should change when the trial ends if the user did not provide a payment method.Nested classes/interfaces inherited from class com.stripe.net.ApiRequestParams
ApiRequestParams.EnumParam
-
Field Summary
Fields inherited from class com.stripe.net.ApiRequestParams
EXTRA_PARAMS_KEY
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Whether the payment link'surl
is active.Behavior after the purchase is complete.Enables user redeemable promotion codes.Configuration for automatic tax collection.Configuration for collecting the customer's billing address.Configures whether checkout sessions created by this payment link create a Customer.Collect additional information from your customer using custom fields.Display additional text for your customers using custom text.Specifies which fields in the response should be expanded.Map of extra parameters for custom features not available in this client library.The custom message to be displayed to a customer when a payment link is no longer active.Generate a post-purchase Invoice for one-time payments.The line items representing what is being sold.Set of key-value pairs that you can attach to an object.A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions inpayment
mode.Specify whether Checkout should collect a payment method.The list of payment method types that customers can use.Settings that restrict the usage of a payment link.Configuration for collecting the customer's shipping address.When creating a subscription, the specified configuration data will be used.Controls tax ID collection during checkout.Methods inherited from class com.stripe.net.ApiRequestParams
paramsToMap, toMap
-
Method Details
-
builder
-
getActive
Whether the payment link'surl
is active. Iffalse
, customers visiting the URL will be shown a page saying that the link has been deactivated. -
getAfterCompletion
Behavior after the purchase is complete. -
getAllowPromotionCodes
Enables user redeemable promotion codes. -
getAutomaticTax
Configuration for automatic tax collection. -
getBillingAddressCollection
Configuration for collecting the customer's billing address. Defaults toauto
. -
getCustomFields
Collect additional information from your customer using custom fields. Up to 3 fields are supported. -
getCustomText
Display additional text for your customers using custom text. -
getCustomerCreation
Configures whether checkout sessions created by this payment link create a Customer. -
getExpand
Specifies which fields in the response should be expanded. -
getExtraParams
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@SerializedName
value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance. -
getInactiveMessage
The custom message to be displayed to a customer when a payment link is no longer active. -
getInvoiceCreation
Generate a post-purchase Invoice for one-time payments. -
getLineItems
The line items representing what is being sold. Each line item represents an item being sold. Up to 20 line items are supported. -
getMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value tometadata
. Metadata associated with this Payment Link will automatically be copied to checkout sessions created by this payment link. -
getPaymentIntentData
A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions inpayment
mode. -
getPaymentMethodCollection
Specify whether Checkout should collect a payment method. When set toif_required
, Checkout will not collect a payment method when the total due for the session is 0.This may occur if the Checkout Session includes a free trial or a discount.Can only be set in
subscription
mode. Defaults toalways
.If you'd like information on how to collect a payment method outside of Checkout, read the guide on configuring subscriptions with a free trial.
-
getPaymentMethodTypes
The list of payment method types that customers can use. Pass an empty string to enable dynamic payment methods that use your payment method settings. -
getRestrictions
Settings that restrict the usage of a payment link. -
getShippingAddressCollection
Configuration for collecting the customer's shipping address. -
getSubscriptionData
When creating a subscription, the specified configuration data will be used. There must be at least one line item with a recurring price to usesubscription_data
. -
getTaxIdCollection
Controls tax ID collection during checkout.
-