Class: Stripe::PaymentIntentService::CreateParams::PaymentMethodData::StripeBalance

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



1176
1177
1178
1179
# File 'lib/stripe/services/payment_intent_service.rb', line 1176

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



1172
1173
1174
# File 'lib/stripe/services/payment_intent_service.rb', line 1172

def 
  @account
end

#source_typeObject



1174
1175
1176
# File 'lib/stripe/services/payment_intent_service.rb', line 1174

def source_type
  @source_type
end