Class: Stripe::PaymentMethodService::CreateParams::StripeBalance

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/payment_method_service.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.



457
458
459
460
# File 'lib/stripe/services/payment_method_service.rb', line 457

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



453
454
455
# File 'lib/stripe/services/payment_method_service.rb', line 453

def 
  @account
end

#source_typeObject



455
456
457
# File 'lib/stripe/services/payment_method_service.rb', line 455

def source_type
  @source_type
end