Class: Vatsense::Models::Rate::Other
- Inherits:
-
TaxRate
- Object
- Internal::Type::BaseModel
- TaxRate
- Vatsense::Models::Rate::Other
- Defined in:
- lib/vatsense/models/rate.rb,
sig/vatsense/models/rate.rbs
Instance Attribute Summary collapse
-
#province ⇒ String?
The province this rate applies to, if applicable.
Attributes inherited from TaxRate
#class_, #description, #object, #rate, #types
Instance Method Summary collapse
-
#initialize(province: nil) ⇒ Other
constructor
A new instance of Other.
- #to_hash ⇒ { province: String? }
Methods inherited from TaxRate
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(province: nil) ⇒ Other
Returns a new instance of Other.
|
|
# File 'lib/vatsense/models/rate.rb', line 69
|
Instance Attribute Details
#province ⇒ String?
The province this rate applies to, if applicable.
67 |
# File 'lib/vatsense/models/rate.rb', line 67 optional :province, String, nil?: true |
Instance Method Details
#to_hash ⇒ { province: String? }
75 |
# File 'sig/vatsense/models/rate.rbs', line 75
def to_hash: -> { province: String? }
|