Class: Stripe::Terminal::LocationService::CreateParams

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

Defined Under Namespace

Classes: Address

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(address: nil, configuration_overrides: nil, display_name: nil, expand: nil, metadata: nil) ⇒ CreateParams

Returns a new instance of CreateParams.



136
137
138
139
140
141
142
143
144
145
146
147
148
# File 'lib/stripe/services/terminal/location_service.rb', line 136

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 = expand
  @metadata = 
end

Instance Attribute Details

#addressObject

The full address of the location.



126
127
128
# File 'lib/stripe/services/terminal/location_service.rb', line 126

def address
  @address
end

#configuration_overridesObject

The ID of a configuration that will be used to customize all readers in this location.



128
129
130
# File 'lib/stripe/services/terminal/location_service.rb', line 128

def configuration_overrides
  @configuration_overrides
end

#display_nameObject

A name for the location. Maximum length is 1000 characters.



130
131
132
# File 'lib/stripe/services/terminal/location_service.rb', line 130

def display_name
  @display_name
end

#expandObject

Specifies which fields in the response should be expanded.



132
133
134
# File 'lib/stripe/services/terminal/location_service.rb', line 132

def expand
  @expand
end

#metadataObject

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`.



134
135
136
# File 'lib/stripe/services/terminal/location_service.rb', line 134

def 
  @metadata
end