Sha256: b23792305c957632d4e3330079b696210ca24240e724ef0cf622dae6112e7d26

Contents?: true

Size: 739 Bytes

Versions: 2

Compression:

Stored size: 739 Bytes

Contents

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

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Shared
  

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

      # The amount of the earning
      field :amount, T.nilable(::Float), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('amount') } }
      # The type of the earning
      field :type, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('type') } }


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