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
Class Method Summary collapse
Methods inherited from StripeObject
#==, #[], #[]=, #_get_inner_class_type, 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.
449 450 451 |
# File 'lib/stripe/resources/checkout/session.rb', line 449 def after_submit @after_submit end |
#shipping_address ⇒ Object (readonly)
Custom text that should be displayed alongside shipping address collection.
451 452 453 |
# File 'lib/stripe/resources/checkout/session.rb', line 451 def shipping_address @shipping_address end |
#submit ⇒ Object (readonly)
Custom text that should be displayed alongside the payment confirmation button.
453 454 455 |
# File 'lib/stripe/resources/checkout/session.rb', line 453 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.
455 456 457 |
# File 'lib/stripe/resources/checkout/session.rb', line 455 def terms_of_service_acceptance @terms_of_service_acceptance end |
Class Method Details
.field_remappings ⇒ Object
466 467 468 |
# File 'lib/stripe/resources/checkout/session.rb', line 466 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
457 458 459 460 461 462 463 464 |
# File 'lib/stripe/resources/checkout/session.rb', line 457 def self.inner_class_types @inner_class_types = { after_submit: AfterSubmit, shipping_address: ShippingAddress, submit: Submit, terms_of_service_acceptance: TermsOfServiceAcceptance, } end |