Class: Stripe::Price::CurrencyOptions
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Price::CurrencyOptions
- Defined in:
- lib/stripe/resources/price.rb
Defined Under Namespace
Classes: CustomUnitAmount, Tier
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#custom_unit_amount ⇒ Object
readonly
Returns the value of attribute custom_unit_amount.
-
#tax_behavior ⇒ Object
readonly
Returns the value of attribute tax_behavior.
-
#tiers ⇒ Object
readonly
Returns the value of attribute tiers.
-
#unit_amount ⇒ Object
readonly
Returns the value of attribute unit_amount.
-
#unit_amount_decimal ⇒ Object
readonly
Returns the value of attribute unit_amount_decimal.
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
#custom_unit_amount ⇒ Object (readonly)
Returns the value of attribute custom_unit_amount.
30 31 32 |
# File 'lib/stripe/resources/price.rb', line 30 def custom_unit_amount @custom_unit_amount end |
#tax_behavior ⇒ Object (readonly)
Returns the value of attribute tax_behavior.
30 31 32 |
# File 'lib/stripe/resources/price.rb', line 30 def tax_behavior @tax_behavior end |
#tiers ⇒ Object (readonly)
Returns the value of attribute tiers.
30 31 32 |
# File 'lib/stripe/resources/price.rb', line 30 def tiers @tiers end |
#unit_amount ⇒ Object (readonly)
Returns the value of attribute unit_amount.
30 31 32 |
# File 'lib/stripe/resources/price.rb', line 30 def unit_amount @unit_amount end |
#unit_amount_decimal ⇒ Object (readonly)
Returns the value of attribute unit_amount_decimal.
30 31 32 |
# File 'lib/stripe/resources/price.rb', line 30 def unit_amount_decimal @unit_amount_decimal end |