Sha256: 2a2efe1319a0ca1132dd710fbfe0c52d75fe66a66ee3c88721fc5e259064a667

Contents?: true

Size: 1000 Bytes

Versions: 2

Compression:

Stored size: 1000 Bytes

Contents

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Shared
  

    class TaxItem < ::OpenApiSDK::Utils::FieldAugmented
      extend T::Sig

      # The amount of the tax
      field :amount, T.nilable(::Float), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('amount') } }
      # Indicates if this is an employer tax
      field :employer_tax, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('employer_tax') } }
      # The name of the tax
      field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('name') } }


      sig { params(amount: T.nilable(::Float), employer_tax: T.nilable(T::Boolean), name: T.nilable(::String)).void }
      def initialize(amount: nil, employer_tax: nil, name: nil)
        @amount = amount
        @employer_tax = employer_tax
        @name = name
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
panora-0.2.5 lib/open_api_sdk/models/shared/taxitem.rb
panora-0.2.4 lib/open_api_sdk/models/shared/taxitem.rb