Skip to content

Latest commit

 

History

History
66 lines (57 loc) · 1.78 KB

retrieve-wage-setting-response.md

File metadata and controls

66 lines (57 loc) · 1.78 KB

Retrieve Wage Setting Response

Represents a response from a retrieve request containing the specified WageSetting object or error messages.

Structure

RetrieveWageSettingResponse

Fields

Name Type Tags Description Getter
WageSetting WageSetting Optional Represents information about the overtime exemption status, job assignments, and compensation
for a team member.
WageSetting getWageSetting()
Errors List<Error> Optional The errors that occurred during the request. List getErrors()

Example (as JSON)

{
  "wage_setting": {
    "created_at": "2020-06-11T23:01:21+00:00",
    "is_overtime_exempt": false,
    "job_assignments": [
      {
        "annual_rate": {
          "amount": 4500000,
          "currency": "USD"
        },
        "hourly_rate": {
          "amount": 2164,
          "currency": "USD"
        },
        "job_title": "Manager",
        "pay_type": "SALARY",
        "weekly_hours": 40,
        "job_id": "job_id2"
      }
    ],
    "team_member_id": "1yJlHapkseYnNPETIU1B",
    "updated_at": "2020-06-11T23:01:21+00:00",
    "version": 1
  },
  "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"
    }
  ]
}