Class: MethodRuby::Models::Simulate::Accounts::TransactionCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MethodRuby::Models::Simulate::Accounts::TransactionCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/method_ruby/models/simulate/accounts/transaction_create_params.rb
Overview
Defined Under Namespace
Modules: MethodVersion
Instance Attribute Summary collapse
- #account_id ⇒ String
-
#amount ⇒ Integer
Transaction amount in cents.
-
#merchant_name ⇒ String?
Merchant name for the simulated transaction.
- #method_version ⇒ Symbol, MethodRuby::Models::Simulate::Accounts::TransactionCreateParams::MethodVersion
-
#type ⇒ String?
The type of transaction to simulate.
Attributes included from Internal::Type::RequestParameters
Method Summary
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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 MethodRuby::Internal::Type::BaseModel
Instance Attribute Details
#account_id ⇒ String
15 |
# File 'lib/method_ruby/models/simulate/accounts/transaction_create_params.rb', line 15 required :account_id, String |
#amount ⇒ Integer
Transaction amount in cents.
21 |
# File 'lib/method_ruby/models/simulate/accounts/transaction_create_params.rb', line 21 required :amount, Integer |
#merchant_name ⇒ String?
Merchant name for the simulated transaction.
33 |
# File 'lib/method_ruby/models/simulate/accounts/transaction_create_params.rb', line 33 optional :merchant_name, String |
#method_version ⇒ Symbol, MethodRuby::Models::Simulate::Accounts::TransactionCreateParams::MethodVersion
26 27 |
# File 'lib/method_ruby/models/simulate/accounts/transaction_create_params.rb', line 26 required :method_version, enum: -> { MethodRuby::Simulate::Accounts::TransactionCreateParams::MethodVersion } |
#type ⇒ String?
The type of transaction to simulate.
39 |
# File 'lib/method_ruby/models/simulate/accounts/transaction_create_params.rb', line 39 optional :type, String |