Class: Stripe::PaymentLinkService::CreateParams::CustomField::Dropdown

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/payment_link_service.rb

Defined Under Namespace

Classes: Option

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(options: nil) ⇒ Dropdown

Returns a new instance of Dropdown.



135
136
137
# File 'lib/stripe/services/payment_link_service.rb', line 135

def initialize(options: nil)
  @options = options
end

Instance Attribute Details

#optionsObject

The options available for the customer to select. Up to 200 options allowed.



133
134
135
# File 'lib/stripe/services/payment_link_service.rb', line 133

def options
  @options
end