Class: Orb::Models::TaxAmount
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Orb::Models::TaxAmount
- Defined in:
- lib/orb/models/tax_amount.rb
Instance Attribute Summary collapse
-
#amount ⇒ String
The amount of additional tax incurred by this tax rate.
-
#tax_rate_description ⇒ String
The human-readable description of the applied tax rate.
-
#tax_rate_percentage ⇒ String?
The tax rate percentage, out of 100.
Instance Method Summary collapse
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(amount: , tax_rate_description: , tax_rate_percentage: ) ⇒ Object
|
|
# File 'lib/orb/models/tax_amount.rb', line 24
|
Instance Attribute Details
#amount ⇒ String
The amount of additional tax incurred by this tax rate.
10 |
# File 'lib/orb/models/tax_amount.rb', line 10 required :amount, String |
#tax_rate_description ⇒ String
The human-readable description of the applied tax rate.
16 |
# File 'lib/orb/models/tax_amount.rb', line 16 required :tax_rate_description, String |
#tax_rate_percentage ⇒ String?
The tax rate percentage, out of 100.
22 |
# File 'lib/orb/models/tax_amount.rb', line 22 required :tax_rate_percentage, String, nil?: true |