Class: Stripe::AccountCreateParams::Controller

Inherits:
RequestParams show all
Defined in:
lib/stripe/params/account_create_params.rb

Defined Under Namespace

Classes: Fees, Losses, StripeDashboard

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(fees: nil, losses: nil, requirement_collection: nil, stripe_dashboard: nil) ⇒ Controller

Returns a new instance of Controller.



1336
1337
1338
1339
1340
1341
# File 'lib/stripe/params/account_create_params.rb', line 1336

def initialize(fees: nil, losses: nil, requirement_collection: nil, stripe_dashboard: nil)
  @fees = fees
  @losses = losses
  @requirement_collection = requirement_collection
  @stripe_dashboard = stripe_dashboard
end

Instance Attribute Details

#feesObject

A hash of configuration for who pays Stripe fees for product usage on this account.



1328
1329
1330
# File 'lib/stripe/params/account_create_params.rb', line 1328

def fees
  @fees
end

#lossesObject

A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.



1330
1331
1332
# File 'lib/stripe/params/account_create_params.rb', line 1330

def losses
  @losses
end

#requirement_collectionObject

A value indicating responsibility for collecting updated information when requirements on the account are due or change. Defaults to ‘stripe`.



1332
1333
1334
# File 'lib/stripe/params/account_create_params.rb', line 1332

def requirement_collection
  @requirement_collection
end

#stripe_dashboardObject

A hash of configuration for Stripe-hosted dashboards.



1334
1335
1336
# File 'lib/stripe/params/account_create_params.rb', line 1334

def stripe_dashboard
  @stripe_dashboard
end