Package com.stripe.param
Class PaymentLinkUpdateParams.CustomText.Builder
java.lang.Object
com.stripe.param.PaymentLinkUpdateParams.CustomText.Builder
- Enclosing class:
- PaymentLinkUpdateParams.CustomText
-
Constructor Summary
-
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
(PaymentLinkUpdateParams.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
(PaymentLinkUpdateParams.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 PaymentLinkUpdateParams.CustomText.Builder setAfterSubmit(PaymentLinkUpdateParams.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. SeePaymentLinkUpdateParams.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. SeePaymentLinkUpdateParams.CustomText.extraParams
for the field documentation. -
setShippingAddress
public PaymentLinkUpdateParams.CustomText.Builder setShippingAddress(PaymentLinkUpdateParams.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 PaymentLinkUpdateParams.CustomText.Builder setSubmit(PaymentLinkUpdateParams.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 PaymentLinkUpdateParams.CustomText.Builder setTermsOfServiceAcceptance(PaymentLinkUpdateParams.CustomText.TermsOfServiceAcceptance termsOfServiceAcceptance) Custom text that should be displayed in place of the default terms of service agreement text. -
setTermsOfServiceAcceptance
public PaymentLinkUpdateParams.CustomText.Builder setTermsOfServiceAcceptance(EmptyParam termsOfServiceAcceptance) Custom text that should be displayed in place of the default terms of service agreement text.
-