Class: Stripe::Terminal::LocationService::UpdateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Terminal::LocationService::UpdateParams
- Defined in:
- lib/stripe/services/terminal/location_service.rb
Defined Under Namespace
Classes: Address
Instance Attribute Summary collapse
-
#address ⇒ Object
The full address of the location.
-
#configuration_overrides ⇒ Object
The ID of a configuration that will be used to customize all readers in this location.
-
#display_name ⇒ Object
A name for the location.
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
-
#metadata ⇒ Object
Set of [key-value pairs](stripe.com/docs/api/metadata) that you can attach to an object.
Instance Method Summary collapse
-
#initialize(address: nil, configuration_overrides: nil, display_name: nil, expand: nil, metadata: nil) ⇒ UpdateParams
constructor
A new instance of UpdateParams.
Methods inherited from RequestParams
Constructor Details
#initialize(address: nil, configuration_overrides: nil, display_name: nil, expand: nil, metadata: nil) ⇒ UpdateParams
Returns a new instance of UpdateParams.
61 62 63 64 65 66 67 68 69 70 71 72 73 |
# File 'lib/stripe/services/terminal/location_service.rb', line 61 def initialize( address: nil, configuration_overrides: nil, display_name: nil, expand: nil, metadata: nil ) @address = address @configuration_overrides = configuration_overrides @display_name = display_name @expand = @metadata = end |
Instance Attribute Details
#address ⇒ Object
The full address of the location. You can’t change the location’s ‘country`. If you need to modify the `country` field, create a new `Location` object and re-register any existing readers to that location.
51 52 53 |
# File 'lib/stripe/services/terminal/location_service.rb', line 51 def address @address end |
#configuration_overrides ⇒ Object
The ID of a configuration that will be used to customize all readers in this location.
53 54 55 |
# File 'lib/stripe/services/terminal/location_service.rb', line 53 def configuration_overrides @configuration_overrides end |
#display_name ⇒ Object
A name for the location.
55 56 57 |
# File 'lib/stripe/services/terminal/location_service.rb', line 55 def display_name @display_name end |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
57 58 59 |
# File 'lib/stripe/services/terminal/location_service.rb', line 57 def @expand end |
#metadata ⇒ Object
Set of [key-value pairs](stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to ‘metadata`.
59 60 61 |
# File 'lib/stripe/services/terminal/location_service.rb', line 59 def @metadata end |