Package com.stripe.model.checkout
Class Session.CustomText
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.checkout.Session.CustomText
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Session
The value entered by the customer.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Custom text that should be displayed alongside shipping address collection.Custom text that should be displayed alongside the payment confirmation button.Custom text that should be displayed in place of the default terms of service agreement text.int
hashCode()
void
setShippingAddress
(Session.CustomText.ShippingAddress shippingAddress) Custom text that should be displayed alongside shipping address collection.void
setSubmit
(Session.CustomText.Submit submit) Custom text that should be displayed alongside the payment confirmation button.void
setTermsOfServiceAcceptance
(Session.CustomText.TermsOfServiceAcceptance termsOfServiceAcceptance) Custom text that should be displayed in place of the default terms of service agreement text.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
CustomText
public CustomText()
-
-
Method Details
-
getShippingAddress
Custom text that should be displayed alongside shipping address collection. -
getSubmit
Custom text that should be displayed alongside the payment confirmation button. -
getTermsOfServiceAcceptance
Custom text that should be displayed in place of the default terms of service agreement text. -
setShippingAddress
Custom text that should be displayed alongside shipping address collection. -
setSubmit
Custom text that should be displayed alongside the payment confirmation button. -
setTermsOfServiceAcceptance
public void setTermsOfServiceAcceptance(Session.CustomText.TermsOfServiceAcceptance termsOfServiceAcceptance) Custom text that should be displayed in place of the default terms of service agreement text. -
equals
-
canEqual
-
hashCode
public int hashCode()
-