Represents a response from an update request containing the updated WageSetting
object
or error messages.
UpdateWageSettingResponse
Name | Type | Tags | Description |
---|---|---|---|
wageSetting |
WageSetting | undefined |
Optional | An object representing a team member's wage information. |
errors |
Error[] | undefined |
Optional | The errors that occurred during the request. |
{
"wage_setting": {
"created_at": "2019-07-10T17:26:48+00:00",
"is_overtime_exempt": true,
"job_assignments": [
{
"annual_rate": {
"amount": 3000000,
"currency": "USD"
},
"hourly_rate": {
"amount": 1443,
"currency": "USD"
},
"job_title": "Manager",
"pay_type": "SALARY",
"weekly_hours": 40
},
{
"hourly_rate": {
"amount": 1200,
"currency": "USD"
},
"job_title": "Cashier",
"pay_type": "HOURLY",
"annual_rate": {
"amount": 232,
"currency": "SBD"
},
"weekly_hours": 98
}
],
"team_member_id": "-3oZQKPKVk6gUXU_V5Qa",
"updated_at": "2020-06-11T23:12:04+00:00",
"version": 1
},
"errors": [
{
"category": "MERCHANT_SUBSCRIPTION_ERROR",
"code": "MAP_KEY_LENGTH_TOO_LONG",
"detail": "detail6",
"field": "field4"
},
{
"category": "MERCHANT_SUBSCRIPTION_ERROR",
"code": "MAP_KEY_LENGTH_TOO_LONG",
"detail": "detail6",
"field": "field4"
}
]
}