Class: Stripe::Checkout::Session::CustomText
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Checkout::Session::CustomText
- Defined in:
- lib/stripe/resources/checkout/session.rb
Defined Under Namespace
Classes: AfterSubmit, ShippingAddress, Submit, TermsOfServiceAcceptance
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#after_submit ⇒ Object
readonly
Custom text that should be displayed after the payment confirmation button.
-
#shipping_address ⇒ Object
readonly
Custom text that should be displayed alongside shipping address collection.
-
#submit ⇒ Object
readonly
Custom text that should be displayed alongside the payment confirmation button.
-
#terms_of_service_acceptance ⇒ Object
readonly
Custom text that should be displayed in place of the default terms of service agreement text.
Attributes inherited from StripeObject
Method Summary
Methods inherited from StripeObject
#==, #[], #[]=, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values
Constructor Details
This class inherits a constructor from Stripe::StripeObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject
Instance Attribute Details
#after_submit ⇒ Object (readonly)
Custom text that should be displayed after the payment confirmation button.
209 210 211 |
# File 'lib/stripe/resources/checkout/session.rb', line 209 def after_submit @after_submit end |
#shipping_address ⇒ Object (readonly)
Custom text that should be displayed alongside shipping address collection.
211 212 213 |
# File 'lib/stripe/resources/checkout/session.rb', line 211 def shipping_address @shipping_address end |
#submit ⇒ Object (readonly)
Custom text that should be displayed alongside the payment confirmation button.
213 214 215 |
# File 'lib/stripe/resources/checkout/session.rb', line 213 def submit @submit end |
#terms_of_service_acceptance ⇒ Object (readonly)
Custom text that should be displayed in place of the default terms of service agreement text.
215 216 217 |
# File 'lib/stripe/resources/checkout/session.rb', line 215 def terms_of_service_acceptance @terms_of_service_acceptance end |