Class: Stripe::V2::Core::AccountLinkCreateParams::UseCase

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



83
84
85
86
87
# File 'lib/stripe/params/v2/core/account_link_create_params.rb', line 83

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

Instance Attribute Details

#account_onboardingObject

Hash containing configuration options for an Account Link object that onboards a new account.



79
80
81
# File 'lib/stripe/params/v2/core/account_link_create_params.rb', line 79

def 
  @account_onboarding
end

#account_updateObject

Hash containing configuration options for an Account Link that updates an existing account.



81
82
83
# File 'lib/stripe/params/v2/core/account_link_create_params.rb', line 81

def 
  @account_update
end

#typeObject

Open Enum. The type of Account Link the user is requesting.



77
78
79
# File 'lib/stripe/params/v2/core/account_link_create_params.rb', line 77

def type
  @type
end