Class: ModernTreasury::Models::Transactions::LineItemCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ModernTreasury::Models::Transactions::LineItemCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/modern_treasury/models/transactions/line_item_create_params.rb
Overview
Instance Attribute Summary collapse
-
#amount ⇒ Integer
If a matching object exists in Modern Treasury, ‘amount` will be populated.
-
#expected_payment_id ⇒ String
The ID of the reconciled Expected Payment, otherwise ‘null`.
-
#transaction_id ⇒ String
The ID of the parent transaction.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(amount: , expected_payment_id: , transaction_id: , request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see LineItemCreateParams for more details.
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, 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
#initialize(amount: , expected_payment_id: , transaction_id: , request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see ModernTreasury::Models::Transactions::LineItemCreateParams for more details.
|
|
# File 'lib/modern_treasury/models/transactions/line_item_create_params.rb', line 30
|
Instance Attribute Details
#amount ⇒ Integer
If a matching object exists in Modern Treasury, ‘amount` will be populated. Value in specified currency’s smallest unit (taken from parent Transaction).
16 |
# File 'lib/modern_treasury/models/transactions/line_item_create_params.rb', line 16 required :amount, Integer |
#expected_payment_id ⇒ String
The ID of the reconciled Expected Payment, otherwise ‘null`.
22 |
# File 'lib/modern_treasury/models/transactions/line_item_create_params.rb', line 22 required :expected_payment_id, String |
#transaction_id ⇒ String
The ID of the parent transaction.
28 |
# File 'lib/modern_treasury/models/transactions/line_item_create_params.rb', line 28 required :transaction_id, String |