Class: Stripe::Terminal::OnboardingLinkCreateParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/terminal/onboarding_link_create_params.rb

Defined Under Namespace

Classes: LinkOptions

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(expand: nil, link_options: nil, link_type: nil, on_behalf_of: nil) ⇒ OnboardingLinkCreateParams

Returns a new instance of OnboardingLinkCreateParams.



35
36
37
38
39
40
# File 'lib/stripe/params/terminal/onboarding_link_create_params.rb', line 35

def initialize(expand: nil, link_options: nil, link_type: nil, on_behalf_of: nil)
  @expand = expand
  @link_options = link_options
  @link_type = link_type
  @on_behalf_of = on_behalf_of
end

Instance Attribute Details

#expandObject

Specifies which fields in the response should be expanded.



27
28
29
# File 'lib/stripe/params/terminal/onboarding_link_create_params.rb', line 27

def expand
  @expand
end

Specific fields needed to generate the desired link type.



29
30
31
# File 'lib/stripe/params/terminal/onboarding_link_create_params.rb', line 29

def link_options
  @link_options
end

The type of link being generated.



31
32
33
# File 'lib/stripe/params/terminal/onboarding_link_create_params.rb', line 31

def link_type
  @link_type
end

#on_behalf_ofObject

Stripe account ID to generate the link for.



33
34
35
# File 'lib/stripe/params/terminal/onboarding_link_create_params.rb', line 33

def on_behalf_of
  @on_behalf_of
end