Class: MetronomeSDK::Models::PaymentGateConfig::PrecalculatedTaxConfig
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::PaymentGateConfig::PrecalculatedTaxConfig
- Defined in:
- lib/metronome_sdk/models/payment_gate_config.rb
Overview
Instance Attribute Summary collapse
-
#tax_amount ⇒ Float
Amount of tax to be applied.
-
#tax_name ⇒ String?
Name of the tax to be applied.
Method Summary
Methods inherited from Internal::Type::BaseModel
#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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
This class inherits a constructor from MetronomeSDK::Internal::Type::BaseModel
Instance Attribute Details
#tax_amount ⇒ Float
Amount of tax to be applied. This should be in the same currency and denomination as the commit’s invoice schedule
71 |
# File 'lib/metronome_sdk/models/payment_gate_config.rb', line 71 required :tax_amount, Float |
#tax_name ⇒ String?
Name of the tax to be applied. This may be used in an invoice line item description.
78 |
# File 'lib/metronome_sdk/models/payment_gate_config.rb', line 78 optional :tax_name, String |