Class: Stripe::Terminal::OnboardingLinkCreateParams::LinkOptions::AppleTermsAndConditions

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(allow_relinking: nil, merchant_display_name: nil) ⇒ AppleTermsAndConditions

Returns a new instance of AppleTermsAndConditions.



14
15
16
17
# File 'lib/stripe/params/terminal/onboarding_link_create_params.rb', line 14

def initialize(allow_relinking: nil, merchant_display_name: nil)
  @allow_relinking = allow_relinking
  @merchant_display_name = merchant_display_name
end

Instance Attribute Details

#allow_relinkingObject

Whether the link should also support users relinking their Apple account.



10
11
12
# File 'lib/stripe/params/terminal/onboarding_link_create_params.rb', line 10

def allow_relinking
  @allow_relinking
end

#merchant_display_nameObject

The business name of the merchant accepting Apple’s Terms and Conditions.



12
13
14
# File 'lib/stripe/params/terminal/onboarding_link_create_params.rb', line 12

def merchant_display_name
  @merchant_display_name
end