Class: FinchAPI::Models::Sandbox::PaymentCreateResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/finch_api/models/sandbox/payment_create_response.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, dump, fields, hash, #hash, inspect, #inspect, known_fields, optional, required, #to_h, #to_json, #to_s, #to_yaml, walk

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, type_info

Constructor Details

#initialize(pay_date: , payment_id: ) ⇒ Object

Parameters:

  • pay_date (String) (defaults to: )

    The date of the payment.

  • payment_id (String) (defaults to: )

    The ID of the payment.



# File 'lib/finch_api/models/sandbox/payment_create_response.rb', line 20

Instance Attribute Details

#pay_dateString

The date of the payment.

Returns:

  • (String)


12
# File 'lib/finch_api/models/sandbox/payment_create_response.rb', line 12

required :pay_date, String

#payment_idString

The ID of the payment.

Returns:

  • (String)


18
# File 'lib/finch_api/models/sandbox/payment_create_response.rb', line 18

required :payment_id, String