Class: Lithic::Models::HoldCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::HoldCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/lithic/models/hold_create_params.rb
Overview
Instance Attribute Summary collapse
-
#amount ⇒ Integer
Amount to hold in cents.
-
#expiration_datetime ⇒ Time?
When the hold should auto-expire.
- #financial_account_token ⇒ String
-
#memo ⇒ String?
Reason for the hold.
-
#token ⇒ String?
Customer-provided token for idempotency.
-
#user_defined_id ⇒ String?
User-provided identifier for the hold.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
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(financial_account_token:, amount:, token: nil, expiration_datetime: nil, memo: nil, user_defined_id: nil, request_options: {}) ⇒ Object
|
|
# File 'lib/lithic/models/hold_create_params.rb', line 45
|
Instance Attribute Details
#amount ⇒ Integer
Amount to hold in cents
19 |
# File 'lib/lithic/models/hold_create_params.rb', line 19 required :amount, Integer |
#expiration_datetime ⇒ Time?
When the hold should auto-expire
31 |
# File 'lib/lithic/models/hold_create_params.rb', line 31 optional :expiration_datetime, Time |
#financial_account_token ⇒ String
13 |
# File 'lib/lithic/models/hold_create_params.rb', line 13 required :financial_account_token, String |
#memo ⇒ String?
Reason for the hold
37 |
# File 'lib/lithic/models/hold_create_params.rb', line 37 optional :memo, String, nil?: true |
#token ⇒ String?
Customer-provided token for idempotency. Becomes the hold token.
25 |
# File 'lib/lithic/models/hold_create_params.rb', line 25 optional :token, String |
#user_defined_id ⇒ String?
User-provided identifier for the hold
43 |
# File 'lib/lithic/models/hold_create_params.rb', line 43 optional :user_defined_id, String |