Class: Stripe::ShippingRate::FixedAmount::CurrencyOptions
- Inherits:
-
Stripe::StripeObject
- Object
- Stripe::StripeObject
- Stripe::ShippingRate::FixedAmount::CurrencyOptions
- Defined in:
- lib/stripe/resources/shipping_rate.rb
Constant Summary
Constants inherited from Stripe::StripeObject
Stripe::StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#amount ⇒ Object
readonly
A non-negative integer in cents representing how much to charge.
-
#tax_behavior ⇒ Object
readonly
Specifies whether the rate is considered inclusive of taxes or exclusive of taxes.
Attributes inherited from Stripe::StripeObject
Method Summary
Methods inherited from Stripe::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
#amount ⇒ Object (readonly)
A non-negative integer in cents representing how much to charge.
40 41 42 |
# File 'lib/stripe/resources/shipping_rate.rb', line 40 def amount @amount end |
#tax_behavior ⇒ Object (readonly)
Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of ‘inclusive`, `exclusive`, or `unspecified`.
42 43 44 |
# File 'lib/stripe/resources/shipping_rate.rb', line 42 def tax_behavior @tax_behavior end |