Class: Lithic::Models::PaymentCreateResponse

Inherits:
Payment
  • Object
show all
Defined in:
lib/lithic/models/payment_create_response.rb,
sig/lithic/models/payment_create_response.rbs

Overview

See Also:

  • Lithic::Resources::Payments#create

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(balance: nil) ⇒ PaymentCreateResponse

Payment transaction

Parameters:



# File 'lib/lithic/models/payment_create_response.rb', line 13

Instance Attribute Details

#balanceLithic::Models::Balance?

Balance

Parameters:

Returns:



11
# File 'lib/lithic/models/payment_create_response.rb', line 11

optional :balance, -> { Lithic::Balance }

Instance Method Details

#to_hash{ balance: Lithic::Balance }

Returns:



12
# File 'sig/lithic/models/payment_create_response.rbs', line 12

def to_hash: -> { balance: Lithic::Balance }