Skip to content

Latest commit

 

History

History
86 lines (77 loc) · 2.4 KB

list-team-member-wages-response.md

File metadata and controls

86 lines (77 loc) · 2.4 KB

List Team Member Wages Response

The response to a request for a set of TeamMemberWage objects. The response contains a set of TeamMemberWage objects.

Structure

ListTeamMemberWagesResponse

Fields

Name Type Tags Description Getter Setter
teamMemberWages ?(TeamMemberWage[]) Optional A page of TeamMemberWage results. getTeamMemberWages(): ?array setTeamMemberWages(?array teamMemberWages): void
cursor ?string Optional The value supplied in the subsequent request to fetch the next page
of TeamMemberWage results.
getCursor(): ?string setCursor(?string cursor): void
errors ?(Error[]) Optional Any errors that occurred during the request. getErrors(): ?array setErrors(?array errors): void

Example (as JSON)

{
  "cursor": "2fofTniCgT0yIPAq26kmk0YyFQJZfbWkh73OOnlTHmTAx13NgED",
  "team_member_wages": [
    {
      "hourly_rate": {
        "amount": 3250,
        "currency": "USD"
      },
      "id": "pXS3qCv7BERPnEGedM4S8mhm",
      "job_id": "jxJNN6eCJsLrhg5UFJrDWDGE",
      "team_member_id": "33fJchumvVdJwxV0H6L9",
      "tip_eligible": false,
      "title": "Manager"
    },
    {
      "hourly_rate": {
        "amount": 2600,
        "currency": "USD"
      },
      "id": "rZduCkzYDUVL3ovh1sQgbue6",
      "job_id": "gcbz15vKGnMKmaWJJ152kjim",
      "team_member_id": "33fJchumvVdJwxV0H6L9",
      "tip_eligible": true,
      "title": "Cook"
    },
    {
      "hourly_rate": {
        "amount": 1600,
        "currency": "USD"
      },
      "id": "FxLbs5KpPUHa8wyt5ctjubDX",
      "job_id": "FzbJAtt9qEWncK1BWgVCxQ6M",
      "team_member_id": "33fJchumvVdJwxV0H6L9",
      "tip_eligible": true,
      "title": "Barista"
    },
    {
      "hourly_rate": {
        "amount": 1700,
        "currency": "USD"
      },
      "id": "vD1wCgijMDR3cX5TPnu7VXto",
      "job_id": "N4YKVLzFj3oGtNocqoYHYpW3",
      "team_member_id": "33fJchumvVdJwxV0H6L9",
      "tip_eligible": true,
      "title": "Cashier"
    }
  ],
  "errors": [
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "INVALID_EXPIRATION",
      "detail": "detail6",
      "field": "field4"
    },
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "INVALID_EXPIRATION",
      "detail": "detail6",
      "field": "field4"
    }
  ]
}