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

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/finch-api/models/sandbox/payment_create_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pay_date:, payment_id:) ⇒ PaymentCreateResponse

Returns a new instance of PaymentCreateResponse.

Parameters:

  • pay_date (String)
  • payment_id (String)


4
# File 'lib/finch-api/models/sandbox/payment_create_response.rb', line 4

def initialize(pay_date:, payment_id:, **) = super

Instance Attribute Details

#pay_dateString

The date of the payment.

Returns:

  • (String)


11
# File 'lib/finch-api/models/sandbox/payment_create_response.rb', line 11

required :pay_date, String

#payment_idString

The ID of the payment.

Returns:

  • (String)


17
# File 'lib/finch-api/models/sandbox/payment_create_response.rb', line 17

required :payment_id, String