Class: Stripe::PaymentMethodCreateParams::StripeBalance

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



373
374
375
376
# File 'lib/stripe/params/payment_method_create_params.rb', line 373

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



369
370
371
# File 'lib/stripe/params/payment_method_create_params.rb', line 369

def 
  @account
end

#source_typeObject



371
372
373
# File 'lib/stripe/params/payment_method_create_params.rb', line 371

def source_type
  @source_type
end