Class: Stripe::Terminal::LocationUpdateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Terminal::LocationUpdateParams
- Defined in:
- lib/stripe/params/terminal/location_update_params.rb
Defined Under Namespace
Classes: Address, AddressKana, AddressKanji
Instance Attribute Summary collapse
-
#address ⇒ Object
The full address of the location.
-
#address_kana ⇒ Object
The Kana variation of the full address of the location (Japan only).
-
#address_kanji ⇒ Object
The Kanji variation of the full address of the location (Japan only).
-
#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.
-
#display_name_kana ⇒ Object
The Kana variation of the name for the location (Japan only).
-
#display_name_kanji ⇒ Object
The Kanji variation of the name for the location (Japan only).
-
#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.
-
#phone ⇒ Object
The phone number for the location.
Instance Method Summary collapse
-
#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
constructor
A new instance of LocationUpdateParams.
Methods inherited from RequestParams
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 = = @phone = phone 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.
108 109 110 |
# File 'lib/stripe/params/terminal/location_update_params.rb', line 108 def address @address end |
#address_kana ⇒ Object
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_kanji ⇒ Object
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_overrides ⇒ Object
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_name ⇒ Object
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_kana ⇒ Object
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_kanji ⇒ Object
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 |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
122 123 124 |
# File 'lib/stripe/params/terminal/location_update_params.rb', line 122 def 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`.
124 125 126 |
# File 'lib/stripe/params/terminal/location_update_params.rb', line 124 def end |
#phone ⇒ Object
The phone number for the location.
126 127 128 |
# File 'lib/stripe/params/terminal/location_update_params.rb', line 126 def phone @phone end |