Class: FinchAPI::Models::Sandbox::PaymentCreateResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- FinchAPI::Models::Sandbox::PaymentCreateResponse
- Defined in:
- lib/finch_api/models/sandbox/payment_create_response.rb,
sig/finch_api/models/sandbox/payment_create_response.rbs
Overview
Instance Attribute Summary collapse
-
#pay_date ⇒ String
The date of the payment.
-
#payment_id ⇒ String
The ID of the payment.
Instance Method Summary collapse
-
#initialize(pay_date:, payment_id:) ⇒ PaymentCreateResponse
constructor
A new instance of PaymentCreateResponse.
- #to_hash ⇒ { pay_date: String, payment_id: String }
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(pay_date:, payment_id:) ⇒ PaymentCreateResponse
Returns a new instance of PaymentCreateResponse.
|
|
# File 'lib/finch_api/models/sandbox/payment_create_response.rb', line 20
|
Instance Attribute Details
#pay_date ⇒ String
The date of the payment.
12 |
# File 'lib/finch_api/models/sandbox/payment_create_response.rb', line 12 required :pay_date, String |
#payment_id ⇒ String
The ID of the payment.
18 |
# File 'lib/finch_api/models/sandbox/payment_create_response.rb', line 18 required :payment_id, String |
Instance Method Details
#to_hash ⇒ { pay_date: String, payment_id: String }
13 |
# File 'sig/finch_api/models/sandbox/payment_create_response.rbs', line 13
def to_hash: -> { pay_date: String, payment_id: String }
|