You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`beginTime`|`String`| Query, Optional | Indicates the start of the time range to retrieve payments for, in RFC 3339 format. <br>The range is determined using the `created_at` field for each Payment.<br>Inclusive. Default: The current time minus one year. |
52
55
|`endTime`|`String`| Query, Optional | Indicates the end of the time range to retrieve payments for, in RFC 3339 format. The<br>range is determined using the `created_at` field for each Payment.<br><br>Default: The current time. |
53
-
|`sortOrder`|`String`| Query, Optional | The order in which results are listed by `Payment.created_at`:<br><br>- `ASC` - Oldest to newest.<br>- `DESC` - Newest to oldest (default). |
56
+
|`sortOrder`|`String`| Query, Optional | The order in which results are listed by `ListPaymentsRequest.sort_field`:<br><br>- `ASC` - Oldest to newest.<br>- `DESC` - Newest to oldest (default). |
54
57
|`cursor`|`String`| Query, Optional | A pagination cursor returned by a previous call to this endpoint.<br>Provide this cursor to retrieve the next set of results for the original query.<br><br>For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). |
55
58
|`locationId`|`String`| Query, Optional | Limit results to the location supplied. By default, results are returned<br>for the default (main) location associated with the seller. |
56
59
|`total`|`Long`| Query, Optional | The exact amount in the `total_money` for a payment. |
|`isOfflinePayment`|`Boolean`| Query, Optional | Whether the payment was taken offline or not.<br>**Default**: `false`|
61
64
|`offlineBeginTime`|`String`| Query, Optional | Indicates the start of the time range for which to retrieve offline payments, in RFC 3339<br>format for timestamps. The range is determined using the<br>`offline_payment_details.client_created_at` field for each Payment. If set, payments without a<br>value set in `offline_payment_details.client_created_at` will not be returned.<br><br>Default: The current time. |
62
65
|`offlineEndTime`|`String`| Query, Optional | Indicates the end of the time range for which to retrieve offline payments, in RFC 3339<br>format for timestamps. The range is determined using the<br>`offline_payment_details.client_created_at` field for each Payment. If set, payments without a<br>value set in `offline_payment_details.client_created_at` will not be returned.<br><br>Default: The current time. |
66
+
|`updatedAtBeginTime`|`String`| Query, Optional | Indicates the start of the time range to retrieve payments for, in RFC 3339 format. The<br>range is determined using the `updated_at` field for each Payment. |
67
+
|`updatedAtEndTime`|`String`| Query, Optional | Indicates the end of the time range to retrieve payments for, in RFC 3339 format. The<br>range is determined using the `updated_at` field for each Payment. |
68
+
|`sortField`|[`String`](../../doc/models/payment-sort-field.md)| Query, Optional | The field used to sort results by. The default is `CREATED_AT`. |
|`cursor`|`String`| Query, Optional | The pagination cursor returned by the previous call to this endpoint. Provide this<br>cursor to retrieve the next page of results for your original request. For more information,<br>see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). |
|`body`|[`CreateJobRequest`](../../doc/models/create-job-request.md)| Body, Required | An object containing the fields to POST for the request.<br><br>See the corresponding object definition for field details. |
|`jobId`|`String`| Template, Required | The ID of the job to update. |
382
+
|`body`|[`UpdateJobRequest`](../../doc/models/update-job-request.md)| Body, Required | An object containing the fields to POST for the request.<br><br>See the corresponding object definition for field details. |
Retrieves a `WageSetting` object for a team member specified
369
-
by `TeamMember.id`.
370
-
Learn about [Troubleshooting the Team API](https://developer.squareup.com/docs/team/troubleshooting#retrievewagesetting).
552
+
by `TeamMember.id`. For more information, see
553
+
[Troubleshooting the Team API](https://developer.squareup.com/docs/team/troubleshooting#retrievewagesetting).
554
+
555
+
Square recommends using [RetrieveTeamMember](../../doc/api/team.md#retrieve-team-member) or [SearchTeamMembers](../../doc/api/team.md#search-team-members)
556
+
to get this information directly from the `TeamMember.wage_setting` field.
Copy file name to clipboardExpand all lines: doc/client.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ The following parameters are configurable for the API Client:
5
5
6
6
| Parameter | Type | Description |
7
7
| --- | --- | --- |
8
-
|`squareVersion`|`String`| Square Connect API versions<br>*Default*: `"2024-11-20"`|
8
+
|`squareVersion`|`String`| Square Connect API versions<br>*Default*: `"2024-12-18"`|
9
9
|`customUrl`|`String`| Sets the base URL requests are made to. Defaults to `https://connect.squareup.com`<br>*Default*: `"https://connect.squareup.com"`|
10
10
|`environment`|`string`| The API environment. <br> **Default: `production`**|
11
11
|`httpClientConfig`|[`Consumer<HttpClientConfiguration.Builder>`](http-client-configuration-builder.md)| Set up Http Client Configuration instance. |
@@ -19,7 +19,7 @@ The API client can be initialized as follows:
Copy file name to clipboardExpand all lines: doc/models/bulk-create-team-members-request.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ Represents a bulk create request for `TeamMember` objects.
11
11
12
12
| Name | Type | Tags | Description | Getter |
13
13
| --- | --- | --- | --- | --- |
14
-
|`TeamMembers`|[`Map<String, CreateTeamMemberRequest>`](../../doc/models/create-team-member-request.md)| Required | The data used to create the `TeamMember` objects. Each key is the `idempotency_key` that maps to the `CreateTeamMemberRequest`.The maximum number of create objects is 25. | Map<String, CreateTeamMemberRequest> getTeamMembers() |
14
+
|`TeamMembers`|[`Map<String, CreateTeamMemberRequest>`](../../doc/models/create-team-member-request.md)| Required | The data used to create the `TeamMember` objects. Each key is the `idempotency_key` that maps to the `CreateTeamMemberRequest`.<br>The maximum number of create objects is 25.<br><br>If you include a team member's `wage_setting`, you must provide `job_id` for each job assignment. To get job IDs,<br>call [ListJobs](api-endpoint:Team-ListJobs). | Map<String, CreateTeamMemberRequest> getTeamMembers() |
0 commit comments