Class: Stripe::PaymentMethod::CreateParams::StripeBalance

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/payment_method.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(account: nil, source_type: nil) ⇒ StripeBalance

Returns a new instance of StripeBalance.



1152
1153
1154
1155
# File 'lib/stripe/resources/payment_method.rb', line 1152

def initialize(account: nil, source_type: nil)
  @account = 
  @source_type = source_type
end

Instance Attribute Details

#accountObject

The connected account ID whose Stripe balance to use as the source of payment



1148
1149
1150
# File 'lib/stripe/resources/payment_method.rb', line 1148

def 
  @account
end

#source_typeObject



1150
1151
1152
# File 'lib/stripe/resources/payment_method.rb', line 1150

def source_type
  @source_type
end