Class: Stripe::PaymentLink::NameCollection::Business
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::PaymentLink::NameCollection::Business
- Defined in:
- lib/stripe/resources/payment_link.rb
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#enabled ⇒ Object
readonly
Indicates whether business name collection is enabled for the payment link.
-
#optional ⇒ Object
readonly
Whether the customer is required to complete the field before checking out.
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
#enabled ⇒ Object (readonly)
Indicates whether business name collection is enabled for the payment link.
389 390 391 |
# File 'lib/stripe/resources/payment_link.rb', line 389 def enabled @enabled end |
#optional ⇒ Object (readonly)
Whether the customer is required to complete the field before checking out. Defaults to ‘false`.
391 392 393 |
# File 'lib/stripe/resources/payment_link.rb', line 391 def optional @optional end |
Class Method Details
.field_remappings ⇒ Object
397 398 399 |
# File 'lib/stripe/resources/payment_link.rb', line 397 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
393 394 395 |
# File 'lib/stripe/resources/payment_link.rb', line 393 def self.inner_class_types @inner_class_types = {} end |