Class: Stripe::V2::Core::AccountLinkCreateParams::UseCase
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Core::AccountLinkCreateParams::UseCase
- Defined in:
- lib/stripe/params/v2/core/account_link_create_params.rb
Defined Under Namespace
Classes: AccountOnboarding, AccountUpdate
Instance Attribute Summary collapse
-
#account_onboarding ⇒ Object
Indicates that the AccountLink provided should onboard an account.
-
#account_update ⇒ Object
Indicates that the AccountLink provided should update a previously onboarded account.
-
#type ⇒ Object
Open Enum.
Instance Method Summary collapse
-
#initialize(type: nil, account_onboarding: nil, account_update: nil) ⇒ UseCase
constructor
A new instance of UseCase.
Methods inherited from RequestParams
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_onboarding @account_update = account_update end |
Instance Attribute Details
#account_onboarding ⇒ Object
Indicates that the AccountLink provided should onboard an account.
79 80 81 |
# File 'lib/stripe/params/v2/core/account_link_create_params.rb', line 79 def account_onboarding @account_onboarding end |
#account_update ⇒ Object
Indicates that the AccountLink provided should update a previously onboarded account.
81 82 83 |
# File 'lib/stripe/params/v2/core/account_link_create_params.rb', line 81 def account_update @account_update end |
#type ⇒ Object
Open Enum. The type of AccountLink the user is requesting.
77 78 79 |
# File 'lib/stripe/params/v2/core/account_link_create_params.rb', line 77 def type @type end |