Sha256: c2e910d8c28eb41c313e723960efcb41af42073f7774b4752a3ae1af5927e60c
Contents?: true
Size: 1.26 KB
Versions: 46
Compression:
Stored size: 1.26 KB
Contents
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true module OpenApiSDK module Operations class Sale < ::OpenApiSDK::Utils::FieldAugmented extend T::Sig field :amount, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('amount') } } field :currency, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('currency') } } field :invoice_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('invoiceId') } } field :metadata, T::Hash[Symbol, ::Object], { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('metadata') } } field :payment_processor, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('paymentProcessor') } } sig { params(amount: ::Float, currency: ::String, invoice_id: ::String, metadata: T::Hash[Symbol, ::Object], payment_processor: ::String).void } def initialize(amount: nil, currency: nil, invoice_id: nil, metadata: nil, payment_processor: nil) @amount = amount @currency = currency @invoice_id = invoice_id @metadata = metadata @payment_processor = payment_processor end end end end
Version data entries
46 entries across 46 versions & 1 rubygems