Class: Lithic::Models::PaymentCreateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/lithic/models/payment_create_params.rb

Overview

Defined Under Namespace

Modules: Method, Type Classes: MethodAttributes

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Class Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

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

Methods included from Internal::Util::SorbetRuntimeSupport

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

Constructor Details

This class inherits a constructor from Lithic::Internal::Type::BaseModel

Instance Attribute Details

#amountInteger

Returns:

  • (Integer)


13
# File 'lib/lithic/models/payment_create_params.rb', line 13

required :amount, Integer

#external_bank_account_tokenString

Returns:

  • (String)


18
# File 'lib/lithic/models/payment_create_params.rb', line 18

required :external_bank_account_token, String

#financial_account_tokenString

Returns:

  • (String)


23
# File 'lib/lithic/models/payment_create_params.rb', line 23

required :financial_account_token, String

#memoString?

Returns:

  • (String, nil)


50
# File 'lib/lithic/models/payment_create_params.rb', line 50

optional :memo, String

#method_Symbol, Lithic::Models::PaymentCreateParams::Method



28
# File 'lib/lithic/models/payment_create_params.rb', line 28

required :method_, enum: -> { Lithic::PaymentCreateParams::Method }, api_name: :method

#method_attributesLithic::Models::PaymentCreateParams::MethodAttributes



33
# File 'lib/lithic/models/payment_create_params.rb', line 33

required :method_attributes, -> { Lithic::PaymentCreateParams::MethodAttributes }

#tokenString?

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

Returns:

  • (String, nil)


45
# File 'lib/lithic/models/payment_create_params.rb', line 45

optional :token, String

#typeSymbol, Lithic::Models::PaymentCreateParams::Type



38
# File 'lib/lithic/models/payment_create_params.rb', line 38

required :type, enum: -> { Lithic::PaymentCreateParams::Type }

#user_defined_idString?

Returns:

  • (String, nil)


55
# File 'lib/lithic/models/payment_create_params.rb', line 55

optional :user_defined_id, String

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/lithic/models/payment_create_params.rb', line 87