Package com.stripe.param
Class PaymentLinkCreateParams
java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.PaymentLinkCreateParams
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static enum
Add all map key/value pairs to `extraParams` map.static class
static class
Required. Type of the account referenced in the request.static enum
static class
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
static class
Add all map key/value pairs to `extraParams` map.static class
Required. The maximum number of checkout sessions that can be completed for thecompleted_sessions
restriction to be met.static class
static enum
static class
The ID of the Shipping Rate to use for this shipping option.static class
Required. Indicates how the subscription should change when the trial ends if the user did not provide a payment method.static class
Add all map key/value pairs to `extraParams` map.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()
Behavior after the purchase is complete.Enables user redeemable promotion codes.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.A non-negative decimal between 0 and 100, with at most two decimal places.Configuration for automatic tax collection.Configuration for collecting the customer's billing address.Configure fields to gather active consent from customers.Three-letter ISO currency code, in lowercase.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.Required. The line items representing what is being sold.Set of key-value pairs that you can attach to an object.The account on behalf of which to charge.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.Controls phone number collection settings during checkout.Settings that restrict the usage of a payment link.Configuration for collecting the customer's shipping address.The shipping rate options to apply to checkout sessions created by this payment link.Describes the type of transaction being performed in order to customize relevant text on the page, such as the submit button.When creating a subscription, the specified configuration data will be used.Controls tax ID collection during checkout.The account (if any) the payments will be attributed to for tax reporting, and where funds from each payment will be transferred to.Methods inherited from class com.stripe.net.ApiRequestParams
paramsToMap, toMap
-
Method Details
-
builder
-
getAfterCompletion
Behavior after the purchase is complete. -
getAllowPromotionCodes
Enables user redeemable promotion codes. -
getApplicationFeeAmount
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. Can only be applied when there are no line items with recurring prices. -
getApplicationFeePercent
A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. There must be at least 1 line item with a recurring price to use this field. -
getAutomaticTax
Configuration for automatic tax collection. -
getBillingAddressCollection
Configuration for collecting the customer's billing address. Defaults toauto
. -
getConsentCollection
Configure fields to gather active consent from customers. -
getCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency and supported by each line item's price. -
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
Required. 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. -
getOnBehalfOf
The account on behalf of which to charge. -
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. If no value is passed, Stripe will dynamically show relevant payment methods from your payment method settings (20+ payment methods supported). -
getPhoneNumberCollection
Controls phone number collection settings during checkout.We recommend that you review your privacy policy and check with your legal contacts.
-
getRestrictions
Settings that restrict the usage of a payment link. -
getShippingAddressCollection
Configuration for collecting the customer's shipping address. -
getShippingOptions
The shipping rate options to apply to checkout sessions created by this payment link. -
getSubmitType
Describes the type of transaction being performed in order to customize relevant text on the page, such as the submit button. Changing this value will also affect the hostname in the url property (example:donate.stripe.com
). -
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. -
getTransferData
The account (if any) the payments will be attributed to for tax reporting, and where funds from each payment will be transferred to.
-