Package com.stripe.param
Class PaymentLinkCreateParams.ConsentCollection.PaymentMethodReuseAgreement.Builder
java.lang.Object
com.stripe.param.PaymentLinkCreateParams.ConsentCollection.PaymentMethodReuseAgreement.Builder
public static class PaymentLinkCreateParams.ConsentCollection.PaymentMethodReuseAgreement.Builder
extends Object
-
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.setPosition(PaymentLinkCreateParams.ConsentCollection.PaymentMethodReuseAgreement.Position position) Required. Determines the position and visibility of the payment method reuse agreement in the UI.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public PaymentLinkCreateParams.ConsentCollection.PaymentMethodReuseAgreement.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. SeePaymentLinkCreateParams.ConsentCollection.PaymentMethodReuseAgreement.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentLinkCreateParams.ConsentCollection.PaymentMethodReuseAgreement.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. SeePaymentLinkCreateParams.ConsentCollection.PaymentMethodReuseAgreement.extraParamsfor the field documentation. -
setPosition
public PaymentLinkCreateParams.ConsentCollection.PaymentMethodReuseAgreement.Builder setPosition(PaymentLinkCreateParams.ConsentCollection.PaymentMethodReuseAgreement.Position position) Required. Determines the position and visibility of the payment method reuse agreement in the UI. When set toauto, Stripe's defaults will be used. When set tohidden, the payment method reuse agreement text will always be hidden in the UI.
-