Class: Stripe::V2::Tax::ManualRule::ScheduledTaxRate
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::V2::Tax::ManualRule::ScheduledTaxRate
- Defined in:
- lib/stripe/resources/v2/tax/manual_rule.rb
Defined Under Namespace
Classes: Rate
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#rates ⇒ Object
readonly
The tax rates to be applied.
-
#starts_at ⇒ Object
readonly
The start time for the tax rate.
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
#rates ⇒ Object (readonly)
The tax rates to be applied.
76 77 78 |
# File 'lib/stripe/resources/v2/tax/manual_rule.rb', line 76 def rates @rates end |
#starts_at ⇒ Object (readonly)
The start time for the tax rate.
78 79 80 |
# File 'lib/stripe/resources/v2/tax/manual_rule.rb', line 78 def starts_at @starts_at end |
Class Method Details
.field_encodings ⇒ Object
88 89 90 91 92 93 94 95 |
# File 'lib/stripe/resources/v2/tax/manual_rule.rb', line 88 def self.field_encodings @field_encodings = { rates: { kind: :array, element: { kind: :object, fields: { percentage: :decimal_string } }, }, } end |
.field_remappings ⇒ Object
84 85 86 |
# File 'lib/stripe/resources/v2/tax/manual_rule.rb', line 84 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
80 81 82 |
# File 'lib/stripe/resources/v2/tax/manual_rule.rb', line 80 def self.inner_class_types @inner_class_types = { rates: Rate } end |