Class: Stripe::Terminal::ConnectionTokenCreateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Terminal::ConnectionTokenCreateParams
- Defined in:
- lib/stripe/params/terminal/connection_token_create_params.rb
Instance Attribute Summary collapse
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
-
#location ⇒ Object
The id of the location that this connection token is scoped to.
Instance Method Summary collapse
-
#initialize(expand: nil, location: nil) ⇒ ConnectionTokenCreateParams
constructor
A new instance of ConnectionTokenCreateParams.
Methods inherited from RequestParams
Constructor Details
#initialize(expand: nil, location: nil) ⇒ ConnectionTokenCreateParams
Returns a new instance of ConnectionTokenCreateParams.
12 13 14 15 |
# File 'lib/stripe/params/terminal/connection_token_create_params.rb', line 12 def initialize(expand: nil, location: nil) = @location = location end |
Instance Attribute Details
#expand ⇒ Object
Specifies which fields in the response should be expanded.
8 9 10 |
# File 'lib/stripe/params/terminal/connection_token_create_params.rb', line 8 def end |
#location ⇒ Object
The id of the location that this connection token is scoped to. If specified the connection token will only be usable with readers assigned to that location, otherwise the connection token will be usable with all readers. Note that location scoping only applies to internet-connected readers. For more details, see [the docs on scoping connection tokens](docs.stripe.com/terminal/fleet/locations-and-zones?dashboard-or-api=api#connection-tokens).
10 11 12 |
# File 'lib/stripe/params/terminal/connection_token_create_params.rb', line 10 def location @location end |