Class: Stripe::Treasury::ReceivedCredit::CreateParams::InitiatingPaymentMethodDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Treasury::ReceivedCredit::CreateParams::InitiatingPaymentMethodDetails
- Defined in:
- lib/stripe/resources/treasury/received_credit.rb
Defined Under Namespace
Classes: UsBankAccount
Instance Attribute Summary collapse
-
#type ⇒ Object
The source type.
-
#us_bank_account ⇒ Object
Optional fields for ‘us_bank_account`.
Instance Method Summary collapse
-
#initialize(type: nil, us_bank_account: nil) ⇒ InitiatingPaymentMethodDetails
constructor
A new instance of InitiatingPaymentMethodDetails.
Methods inherited from RequestParams
Constructor Details
#initialize(type: nil, us_bank_account: nil) ⇒ InitiatingPaymentMethodDetails
Returns a new instance of InitiatingPaymentMethodDetails.
181 182 183 184 |
# File 'lib/stripe/resources/treasury/received_credit.rb', line 181 def initialize(type: nil, us_bank_account: nil) @type = type @us_bank_account = us_bank_account end |
Instance Attribute Details
#type ⇒ Object
The source type.
177 178 179 |
# File 'lib/stripe/resources/treasury/received_credit.rb', line 177 def type @type end |
#us_bank_account ⇒ Object
Optional fields for ‘us_bank_account`.
179 180 181 |
# File 'lib/stripe/resources/treasury/received_credit.rb', line 179 def us_bank_account @us_bank_account end |