Class: Stripe::PromotionCode::Restrictions
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::PromotionCode::Restrictions
- Defined in:
- lib/stripe/resources/promotion_code.rb
Defined Under Namespace
Classes: CurrencyOptions
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#currency_options ⇒ Object
readonly
Returns the value of attribute currency_options.
-
#first_time_transaction ⇒ Object
readonly
Returns the value of attribute first_time_transaction.
-
#minimum_amount ⇒ Object
readonly
Returns the value of attribute minimum_amount.
-
#minimum_amount_currency ⇒ Object
readonly
Returns the value of attribute minimum_amount_currency.
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
#currency_options ⇒ Object (readonly)
Returns the value of attribute currency_options.
21 22 23 |
# File 'lib/stripe/resources/promotion_code.rb', line 21 def @currency_options end |
#first_time_transaction ⇒ Object (readonly)
Returns the value of attribute first_time_transaction.
21 22 23 |
# File 'lib/stripe/resources/promotion_code.rb', line 21 def first_time_transaction @first_time_transaction end |
#minimum_amount ⇒ Object (readonly)
Returns the value of attribute minimum_amount.
21 22 23 |
# File 'lib/stripe/resources/promotion_code.rb', line 21 def minimum_amount @minimum_amount end |
#minimum_amount_currency ⇒ Object (readonly)
Returns the value of attribute minimum_amount_currency.
21 22 23 |
# File 'lib/stripe/resources/promotion_code.rb', line 21 def minimum_amount_currency @minimum_amount_currency end |