Sha256: f80d2678284954a4c022724870b0fb08f2ea7ddedf8d6760823d87ccc4c3ab22

Contents?: true

Size: 1.09 KB

Versions: 2

Compression:

Stored size: 1.09 KB

Contents

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

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Shared
  

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

      # The amount of company deduction
      field :company_deduction, T.nilable(::Float), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('company_deduction') } }
      # The amount of employee deduction
      field :employee_deduction, T.nilable(::Float), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('employee_deduction') } }
      # The name of the deduction
      field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('name') } }


      sig { params(company_deduction: T.nilable(::Float), employee_deduction: T.nilable(::Float), name: T.nilable(::String)).void }
      def initialize(company_deduction: nil, employee_deduction: nil, name: nil)
        @company_deduction = company_deduction
        @employee_deduction = employee_deduction
        @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/deductionitem.rb
panora-0.2.4 lib/open_api_sdk/models/shared/deductionitem.rb