Class: Stripe::TestHelpers::Treasury::ReceivedCreditService::CreateParams::InitiatingPaymentMethodDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/test_helpers/treasury/received_credit_service.rb

Defined Under Namespace

Classes: UsBankAccount

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(type: nil, us_bank_account: nil) ⇒ InitiatingPaymentMethodDetails

Returns a new instance of InitiatingPaymentMethodDetails.



29
30
31
32
# File 'lib/stripe/services/test_helpers/treasury/received_credit_service.rb', line 29

def initialize(type: nil, us_bank_account: nil)
  @type = type
  @us_bank_account = 
end

Instance Attribute Details

#typeObject

The source type.



25
26
27
# File 'lib/stripe/services/test_helpers/treasury/received_credit_service.rb', line 25

def type
  @type
end

#us_bank_accountObject

Optional fields for ‘us_bank_account`.



27
28
29
# File 'lib/stripe/services/test_helpers/treasury/received_credit_service.rb', line 27

def 
  @us_bank_account
end