Class: Stripe::Checkout::Session::CustomField::Dropdown
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Checkout::Session::CustomField::Dropdown
- Defined in:
- lib/stripe/resources/checkout/session.rb
Defined Under Namespace
Classes: Option
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#default_value ⇒ Object
readonly
The value that will pre-fill on the payment page.
-
#options ⇒ Object
readonly
The options available for the customer to select.
-
#value ⇒ Object
readonly
The option selected by the customer.
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
#default_value ⇒ Object (readonly)
The value that will pre-fill on the payment page.
137 138 139 |
# File 'lib/stripe/resources/checkout/session.rb', line 137 def default_value @default_value end |
#options ⇒ Object (readonly)
The options available for the customer to select. Up to 200 options allowed.
139 140 141 |
# File 'lib/stripe/resources/checkout/session.rb', line 139 def end |
#value ⇒ Object (readonly)
The option selected by the customer. This will be the ‘value` for the option.
141 142 143 |
# File 'lib/stripe/resources/checkout/session.rb', line 141 def value @value end |