Represents an UpdateJob response. Either job
or errors
is present in the response.
UpdateJobResponse
Name | Type | Tags | Description | Getter |
---|---|---|---|---|
Job |
Job |
Optional | Represents a job that can be assigned to team members. This object defines the job's title and tip eligibility. Compensation is defined in a job assignment in a team member's wage setting. |
Job getJob() |
Errors |
List<Error> |
Optional | The errors that occurred during the request. | List getErrors() |
{
"job": {
"created_at": "2021-06-11T22:55:45Z",
"id": "1yJlHapkseYnNPETIU1B",
"is_tip_eligible": true,
"title": "Cashier 1",
"updated_at": "2021-06-13T12:55:45Z",
"version": 2
},
"errors": [
{
"category": "MERCHANT_SUBSCRIPTION_ERROR",
"code": "INVALID_EXPIRATION",
"detail": "detail6",
"field": "field4"
},
{
"category": "MERCHANT_SUBSCRIPTION_ERROR",
"code": "INVALID_EXPIRATION",
"detail": "detail6",
"field": "field4"
},
{
"category": "MERCHANT_SUBSCRIPTION_ERROR",
"code": "INVALID_EXPIRATION",
"detail": "detail6",
"field": "field4"
}
]
}