Package com.stripe.param
Class PaymentLinkCreateParams.ConsentCollection
java.lang.Object
com.stripe.param.PaymentLinkCreateParams.ConsentCollection
- Enclosing class:
- PaymentLinkCreateParams
Required. Type of the account referenced in the request.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static enum
static enum
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Map of extra parameters for custom features not available in this client library.Determines the display of payment method reuse agreement text in the UI.If set toauto
, enables the collection of customer consent for promotional communications.If set torequired
, it requires customers to check a terms of service checkbox before being able to pay.
-
Method Details
-
builder
-
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. -
getPaymentMethodReuseAgreement
public PaymentLinkCreateParams.ConsentCollection.PaymentMethodReuseAgreement getPaymentMethodReuseAgreement()Determines the display of payment method reuse agreement text in the UI. If set tohidden
, it will hide legal text related to the reuse of a payment method. -
getPromotions
If set toauto
, enables the collection of customer consent for promotional communications. The Checkout Session will determine whether to display an option to opt into promotional communication from the merchant depending on the customer's locale. Only available to US merchants. -
getTermsOfService
If set torequired
, it requires customers to check a terms of service checkbox before being able to pay. There must be a valid terms of service URL set in your Dashboard settings.
-