Module: Lithic::Models::BookTransferCreateParams::Category

Extended by:
Internal::Type::Enum
Defined in:
lib/lithic/models/book_transfer_create_params.rb

Constant Summary collapse

ADJUSTMENT =
:ADJUSTMENT
BALANCE_OR_FUNDING =
:BALANCE_OR_FUNDING
DERECOGNITION =
:DERECOGNITION
DISPUTE =
:DISPUTE
FEE =
:FEE
INTERNAL =
:INTERNAL
REWARD =
:REWARD
PROGRAM_FUNDING =
:PROGRAM_FUNDING
TRANSFER =
:TRANSFER

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Instance Method Details

#initialize(amount:, category:, from_financial_account_token:, subtype:, to_financial_account_token:, type:, token: nil, external_id: nil, memo: nil, on_closed_account: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see Lithic::Models::BookTransferCreateParams for more details.

Parameters:

  • amount (Integer)

    Amount to be transferred in the currency’s smallest unit (e.g., cents for USD).

  • category (Symbol, Lithic::Models::BookTransferCreateParams::Category)
  • from_financial_account_token (String)

    Globally unique identifier for the financial account or card that will send the

  • subtype (String)

    The program specific subtype code for the specified category/type.

  • to_financial_account_token (String)

    Globally unique identifier for the financial account or card that will receive t

  • type (Symbol, Lithic::Models::BookTransferCreateParams::Type)

    Type of the book transfer

  • token (String) (defaults to: nil)

    Customer-provided token that will serve as an idempotency token. This token will

  • external_id (String) (defaults to: nil)

    External ID defined by the customer

  • memo (String) (defaults to: nil)

    Optional descriptor for the transfer.

  • on_closed_account (Symbol, Lithic::Models::BookTransferCreateParams::OnClosedAccount) (defaults to: nil)

    What to do if the financial account is closed when posting an operation

  • request_options (Lithic::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# File 'lib/lithic/models/book_transfer_create_params.rb', line 99

module Category
  extend Lithic::Internal::Type::Enum

  ADJUSTMENT = :ADJUSTMENT
  BALANCE_OR_FUNDING = :BALANCE_OR_FUNDING
  DERECOGNITION = :DERECOGNITION
  DISPUTE = :DISPUTE
  FEE = :FEE
  INTERNAL = :INTERNAL
  REWARD = :REWARD
  PROGRAM_FUNDING = :PROGRAM_FUNDING
  TRANSFER = :TRANSFER

  # @!method self.values
  #   @return [Array<Symbol>]
end