Class: Stripe::Terminal::LocationUpdateParams

Inherits:
RequestParams show all
Defined in:
lib/stripe/params/terminal/location_update_params.rb

Defined Under Namespace

Classes: Address, AddressKana, AddressKanji

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(address: nil, address_kana: nil, address_kanji: nil, configuration_overrides: nil, display_name: nil, display_name_kana: nil, display_name_kanji: nil, expand: nil, metadata: nil, phone: nil) ⇒ LocationUpdateParams

Returns a new instance of LocationUpdateParams.



128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
# File 'lib/stripe/params/terminal/location_update_params.rb', line 128

def initialize(
  address: nil,
  address_kana: nil,
  address_kanji: nil,
  configuration_overrides: nil,
  display_name: nil,
  display_name_kana: nil,
  display_name_kanji: nil,
  expand: nil,
  metadata: nil,
  phone: nil
)
  @address = address
  @address_kana = address_kana
  @address_kanji = address_kanji
  @configuration_overrides = configuration_overrides
  @display_name = display_name
  @display_name_kana = display_name_kana
  @display_name_kanji = display_name_kanji
  @expand = expand
   = 
  @phone = phone
end

Instance Attribute Details

#addressObject

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.



108
109
110
# File 'lib/stripe/params/terminal/location_update_params.rb', line 108

def address
  @address
end

#address_kanaObject

The Kana variation of the full address of the location (Japan only).



110
111
112
# File 'lib/stripe/params/terminal/location_update_params.rb', line 110

def address_kana
  @address_kana
end

#address_kanjiObject

The Kanji variation of the full address of the location (Japan only).



112
113
114
# File 'lib/stripe/params/terminal/location_update_params.rb', line 112

def address_kanji
  @address_kanji
end

#configuration_overridesObject

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



114
115
116
# File 'lib/stripe/params/terminal/location_update_params.rb', line 114

def configuration_overrides
  @configuration_overrides
end

#display_nameObject

A name for the location.



116
117
118
# File 'lib/stripe/params/terminal/location_update_params.rb', line 116

def display_name
  @display_name
end

#display_name_kanaObject

The Kana variation of the name for the location (Japan only).



118
119
120
# File 'lib/stripe/params/terminal/location_update_params.rb', line 118

def display_name_kana
  @display_name_kana
end

#display_name_kanjiObject

The Kanji variation of the name for the location (Japan only).



120
121
122
# File 'lib/stripe/params/terminal/location_update_params.rb', line 120

def display_name_kanji
  @display_name_kanji
end

#expandObject

Specifies which fields in the response should be expanded.



122
123
124
# File 'lib/stripe/params/terminal/location_update_params.rb', line 122

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



124
125
126
# File 'lib/stripe/params/terminal/location_update_params.rb', line 124

def 
  
end

#phoneObject

The phone number for the location.



126
127
128
# File 'lib/stripe/params/terminal/location_update_params.rb', line 126

def phone
  @phone
end