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.



1877
1878
1879
1880
# File 'lib/stripe/resources/payment_method.rb', line 1877

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



1873
1874
1875
# File 'lib/stripe/resources/payment_method.rb', line 1873

def 
  @account
end

#source_typeObject



1875
1876
1877
# File 'lib/stripe/resources/payment_method.rb', line 1875

def source_type
  @source_type
end