Class: Stripe::V2::Core::AccountLinkService::CreateParams::UseCase
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Core::AccountLinkService::CreateParams::UseCase
- Defined in:
- lib/stripe/services/v2/core/account_link_service.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.
84 85 86 87 88 |
# File 'lib/stripe/services/v2/core/account_link_service.rb', line 84 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.
80 81 82 |
# File 'lib/stripe/services/v2/core/account_link_service.rb', line 80 def account_onboarding @account_onboarding end |
#account_update ⇒ Object
Indicates that the AccountLink provided should update a previously onboarded account.
82 83 84 |
# File 'lib/stripe/services/v2/core/account_link_service.rb', line 82 def account_update @account_update end |
#type ⇒ Object
Open Enum. The type of AccountLink the user is requesting.
78 79 80 |
# File 'lib/stripe/services/v2/core/account_link_service.rb', line 78 def type @type end |