Class: Stripe::PaymentLink::CustomText
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::PaymentLink::CustomText
- Defined in:
- lib/stripe/resources/payment_link.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.
277 278 279 |
# File 'lib/stripe/resources/payment_link.rb', line 277 def after_submit @after_submit end |
#shipping_address ⇒ Object (readonly)
Custom text that should be displayed alongside shipping address collection.
279 280 281 |
# File 'lib/stripe/resources/payment_link.rb', line 279 def shipping_address @shipping_address end |
#submit ⇒ Object (readonly)
Custom text that should be displayed alongside the payment confirmation button.
281 282 283 |
# File 'lib/stripe/resources/payment_link.rb', line 281 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.
283 284 285 |
# File 'lib/stripe/resources/payment_link.rb', line 283 def terms_of_service_acceptance @terms_of_service_acceptance end |
Class Method Details
.field_remappings ⇒ Object
294 295 296 |
# File 'lib/stripe/resources/payment_link.rb', line 294 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
285 286 287 288 289 290 291 292 |
# File 'lib/stripe/resources/payment_link.rb', line 285 def self.inner_class_types @inner_class_types = { after_submit: AfterSubmit, shipping_address: ShippingAddress, submit: Submit, terms_of_service_acceptance: TermsOfServiceAcceptance, } end |