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

attr_accessor, coerce_params, coerce_value, discriminator, discriminator_fields, field_encodings, new, #to_h

Constructor Details

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

Returns a new instance of UseCase.



67
68
69
70
71
# File 'lib/stripe/params/v2/core/account_link_create_params.rb', line 67

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

Instance Attribute Details

#account_onboarding ⇒ Object

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



61
62
63
# File 'lib/stripe/params/v2/core/account_link_create_params.rb', line 61

def 
  @account_onboarding
end

#account_update ⇒ Object

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



63
64
65
# File 'lib/stripe/params/v2/core/account_link_create_params.rb', line 63

def 
  @account_update
end

#type ⇒ Object

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



65
66
67
# File 'lib/stripe/params/v2/core/account_link_create_params.rb', line 65

def type
  @type
end