# 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