Package com.stripe.param.checkout
Class SessionCreateParams.CustomText.Builder
java.lang.Object
com.stripe.param.checkout.SessionCreateParams.CustomText.Builder
- Enclosing class:
- SessionCreateParams.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
(SessionCreateParams.CustomText.AfterSubmit afterSubmit) Custom text that should be displayed after the payment confirmation button.setAfterSubmit
(EmptyParam afterSubmit) Custom text that should be displayed after the payment confirmation button.setShippingAddress
(SessionCreateParams.CustomText.ShippingAddress shippingAddress) Custom text that should be displayed alongside shipping address collection.setShippingAddress
(EmptyParam shippingAddress) Custom text that should be displayed alongside shipping address collection.Custom text that should be displayed alongside the payment confirmation button.setSubmit
(EmptyParam submit) Custom text that should be displayed alongside the payment confirmation button.setTermsOfServiceAcceptance
(SessionCreateParams.CustomText.TermsOfServiceAcceptance termsOfServiceAcceptance) Custom text that should be displayed in place of the default terms of service agreement text.setTermsOfServiceAcceptance
(EmptyParam 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 SessionCreateParams.CustomText.Builder setAfterSubmit(SessionCreateParams.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. SeeSessionCreateParams.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. SeeSessionCreateParams.CustomText.extraParams
for the field documentation. -
setShippingAddress
public SessionCreateParams.CustomText.Builder setShippingAddress(SessionCreateParams.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 SessionCreateParams.CustomText.Builder setSubmit(SessionCreateParams.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 SessionCreateParams.CustomText.Builder setTermsOfServiceAcceptance(SessionCreateParams.CustomText.TermsOfServiceAcceptance termsOfServiceAcceptance) Custom text that should be displayed in place of the default terms of service agreement text. -
setTermsOfServiceAcceptance
public SessionCreateParams.CustomText.Builder setTermsOfServiceAcceptance(EmptyParam termsOfServiceAcceptance) Custom text that should be displayed in place of the default terms of service agreement text.
-