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

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

Defined Under Namespace

Classes: UseCase

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(account: nil, use_case: nil) ⇒ CreateParams

Returns a new instance of CreateParams.



57
58
59
60
# File 'lib/stripe/services/v2/core/account_link_service.rb', line 57

def initialize(account: nil, use_case: nil)
  @account = 
  @use_case = use_case
end

Instance Attribute Details

#accountObject

The ID of the Account to create link for.



53
54
55
# File 'lib/stripe/services/v2/core/account_link_service.rb', line 53

def 
  @account
end

#use_caseObject

The use case of the AccountLink.



55
56
57
# File 'lib/stripe/services/v2/core/account_link_service.rb', line 55

def use_case
  @use_case
end