Package com.stripe.param
Class PaymentLinkCreateParams.CustomText.Builder
java.lang.Object
com.stripe.param.PaymentLinkCreateParams.CustomText.Builder
- Enclosing class:
- PaymentLinkCreateParams.CustomText
-
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.setAfterSubmit
(EmptyParam afterSubmit) Custom text that should be displayed after the payment confirmation button.Custom text that should be displayed after the payment confirmation button.setShippingAddress
(EmptyParam shippingAddress) Custom text that should be displayed alongside shipping address collection.setShippingAddress
(PaymentLinkCreateParams.CustomText.ShippingAddress shippingAddress) Custom text that should be displayed alongside shipping address collection.setSubmit
(EmptyParam submit) Custom text that should be displayed alongside the payment confirmation button.Custom text that should be displayed alongside the payment confirmation button.setTermsOfServiceAcceptance
(EmptyParam termsOfServiceAcceptance) Custom text that should be displayed in place of the default terms of service agreement text.setTermsOfServiceAcceptance
(PaymentLinkCreateParams.CustomText.TermsOfServiceAcceptance termsOfServiceAcceptance) Custom text that should be displayed in place of the default terms of service agreement text.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAfterSubmit
public PaymentLinkCreateParams.CustomText.Builder setAfterSubmit(PaymentLinkCreateParams.CustomText.AfterSubmit afterSubmit) Custom text that should be displayed after the payment confirmation button. -
setAfterSubmit
Custom text that should be displayed after the payment confirmation button. -
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. SeePaymentLinkCreateParams.CustomText.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. SeePaymentLinkCreateParams.CustomText.extraParams
for the field documentation. -
setShippingAddress
public PaymentLinkCreateParams.CustomText.Builder setShippingAddress(PaymentLinkCreateParams.CustomText.ShippingAddress shippingAddress) Custom text that should be displayed alongside shipping address collection. -
setShippingAddress
Custom text that should be displayed alongside shipping address collection. -
setSubmit
public PaymentLinkCreateParams.CustomText.Builder setSubmit(PaymentLinkCreateParams.CustomText.Submit submit) Custom text that should be displayed alongside the payment confirmation button. -
setSubmit
Custom text that should be displayed alongside the payment confirmation button. -
setTermsOfServiceAcceptance
public PaymentLinkCreateParams.CustomText.Builder setTermsOfServiceAcceptance(PaymentLinkCreateParams.CustomText.TermsOfServiceAcceptance termsOfServiceAcceptance) Custom text that should be displayed in place of the default terms of service agreement text. -
setTermsOfServiceAcceptance
public PaymentLinkCreateParams.CustomText.Builder setTermsOfServiceAcceptance(EmptyParam termsOfServiceAcceptance) Custom text that should be displayed in place of the default terms of service agreement text.
-