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.
276 277 278 279 |
# File 'lib/stripe/resources/treasury/received_credit.rb', line 276 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.
272 273 274 |
# File 'lib/stripe/resources/treasury/received_credit.rb', line 272 def type @type end |
#us_bank_account ⇒ Object
Optional fields for ‘us_bank_account`.
274 275 276 |
# File 'lib/stripe/resources/treasury/received_credit.rb', line 274 def us_bank_account @us_bank_account end |