1.4 KiB
1.4 KiB
Update Location Settings Request
Structure
UpdateLocationSettingsRequest
Fields
Name | Type | Tags | Description | Getter | Setter |
---|---|---|---|---|---|
locationSettings |
CheckoutLocationSettings |
Required | - | getLocationSettings(): CheckoutLocationSettings | setLocationSettings(CheckoutLocationSettings locationSettings): void |
Example (as JSON)
{
"location_settings": {
"location_id": "location_id0",
"customer_notes_enabled": false,
"policies": [
{
"uid": "uid8",
"title": "title4",
"description": "description8"
},
{
"uid": "uid8",
"title": "title4",
"description": "description8"
},
{
"uid": "uid8",
"title": "title4",
"description": "description8"
}
],
"branding": {
"header_type": "FULL_WIDTH_LOGO",
"button_color": "button_color2",
"button_shape": "PILL"
},
"tipping": {
"percentages": [
246,
247
],
"smart_tipping_enabled": false,
"default_percent": 46,
"smart_tips": [
{
"amount": 152,
"currency": "USN"
},
{
"amount": 152,
"currency": "USN"
}
],
"default_smart_tip": {
"amount": 58,
"currency": "XTS"
}
}
}
}