Class: Stripe::V2::Core::AccountLinkService::CreateParams::UseCase

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/v2/core/account_link_service.rb

Defined Under Namespace

Classes: AccountOnboarding, AccountUpdate

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(type: nil, account_onboarding: nil, account_update: nil) ⇒ UseCase

Returns a new instance of UseCase.



46
47
48
49
50
# File 'lib/stripe/services/v2/core/account_link_service.rb', line 46

def initialize(type: nil, account_onboarding: nil, account_update: nil)
  @type = type
  @account_onboarding = 
  @account_update = 
end

Instance Attribute Details

#account_onboardingObject

Indicates that the AccountLink provided should onboard an account.



42
43
44
# File 'lib/stripe/services/v2/core/account_link_service.rb', line 42

def 
  @account_onboarding
end

#account_updateObject

Indicates that the AccountLink provided should update a previously onboarded account.



44
45
46
# File 'lib/stripe/services/v2/core/account_link_service.rb', line 44

def 
  @account_update
end

#typeObject

Open Enum. The type of AccountLink the user is requesting.



40
41
42
# File 'lib/stripe/services/v2/core/account_link_service.rb', line 40

def type
  @type
end