Class: MetronomeSDK::Models::V2::ContractEditParams::AddCommit::PaymentGateConfig::PrecalculatedTaxConfig

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/metronome_sdk/models/v2/contract_edit_params.rb

Overview

Instance Attribute Summary collapse

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_amountFloat

Amount of tax to be applied. This should be in the same currency and denomination as the commit’s invoice schedule

Returns:

  • (Float)


889
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 889

required :tax_amount, Float

#tax_nameString?

Name of the tax to be applied. This may be used in an invoice line item description.

Returns:

  • (String, nil)


896
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 896

optional :tax_name, String