Class: Vatsense::Models::Rate::Other

Inherits:
TaxRate show all
Defined in:
lib/vatsense/models/rate.rb

Instance Attribute Summary collapse

Attributes inherited from TaxRate

#class_, #description, #object, #rate, #types

Instance Method Summary collapse

Methods inherited from TaxRate

values

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) ⇒ Object

Parameters:

  • province (String, nil) (defaults to: nil)

    The province this rate applies to, if applicable.



# File 'lib/vatsense/models/rate.rb', line 69

Instance Attribute Details

#provinceString?

The province this rate applies to, if applicable.

Returns:

  • (String, nil)


67
# File 'lib/vatsense/models/rate.rb', line 67

optional :province, String, nil?: true