square.rb 10.0.0.202104217 → 13.1.0.20210818

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,8 +6,7 @@ module Square
6
6
  end
7
7
 
8
8
  # Creates a loyalty account. To create a loyalty account, you must provide
9
- # the `program_id` and either the `mapping` field (preferred) or the
10
- # `mappings` field.
9
+ # the `program_id` and a `mapping` with the `phone_number` of the buyer.
11
10
  # @param [CreateLoyaltyAccountRequest] body Required parameter: An object
12
11
  # containing the fields to POST for the request. See the corresponding
13
12
  # object definition for field details.
@@ -121,12 +120,16 @@ module Square
121
120
  # account.
122
121
  # - If you are not using the Orders API to manage orders,
123
122
  # you first perform a client-side computation to compute the points.
124
- # For spend-based and visit-based programs, you can call
123
+ # For spend-based and visit-based programs, you can first call
125
124
  # [CalculateLoyaltyPoints]($e/Loyalty/CalculateLoyaltyPoints) to compute the
126
- # points. For more information,
127
- # see [Loyalty Program
128
- # Overview](https://developer.squareup.com/docs/loyalty/overview).
129
- # You then provide the points in a request to this endpoint.
125
+ # points
126
+ # that you provide to this endpoint.
127
+ # __Note:__ The country of the seller's Square account determines whether
128
+ # tax is included in the purchase amount when accruing points for
129
+ # spend-based and visit-based programs.
130
+ # For more information, see [Availability of Square
131
+ # Loyalty](https://developer.squareup.com/docs/loyalty-api/overview#loyalty-
132
+ # market-availability).
130
133
  # @param [String] account_id Required parameter: The [loyalty
131
134
  # account]($m/LoyaltyAccount) ID to which to add the points.
132
135
  # @param [AccumulateLoyaltyPointsRequest] body Required parameter: An object
@@ -254,9 +257,16 @@ module Square
254
257
  end
255
258
 
256
259
  # Returns a list of loyalty programs in the seller's account.
257
- # Currently, a seller can only have one loyalty program.
260
+ # Loyalty programs define how buyers can earn points and redeem points for
261
+ # rewards. Square sellers can have only one loyalty program, which is
262
+ # created and managed from the Seller Dashboard. For more information, see
263
+ # [Loyalty Program
264
+ # Overview](https://developer.squareup.com/docs/loyalty/overview).
265
+ # Replaced with [RetrieveLoyaltyProgram]($e/Loyalty/RetrieveLoyaltyProgram)
266
+ # when used with the keyword `main`.
258
267
  # @return [ListLoyaltyProgramsResponse Hash] response from the API call
259
268
  def list_loyalty_programs
269
+ warn 'Endpoint list_loyalty_programs in LoyaltyApi is deprecated'
260
270
  # Prepare query url.
261
271
  _query_builder = config.get_base_uri
262
272
  _query_builder << '/v2/loyalty/programs'
@@ -335,6 +345,12 @@ module Square
335
345
  # An application might call this endpoint to show the points that a buyer
336
346
  # can earn with the
337
347
  # specific purchase.
348
+ # __Note:__ The country of the seller's Square account determines whether
349
+ # tax is included in the purchase amount when accruing points for
350
+ # spend-based and visit-based programs.
351
+ # For more information, see [Availability of Square
352
+ # Loyalty](https://developer.squareup.com/docs/loyalty-api/overview#loyalty-
353
+ # market-availability).
338
354
  # @param [String] program_id Required parameter: The [loyalty
339
355
  # program]($m/LoyaltyProgram) ID, which defines the rules for accruing
340
356
  # points.
@@ -7,9 +7,9 @@ module Square
7
7
 
8
8
  # `RenewToken` is deprecated. For information about refreshing OAuth access
9
9
  # tokens, see
10
- # [Renew OAuth
11
- # Token](https://developer.squareup.com/docs/oauth-api/cookbook/renew-oauth-
12
- # tokens).
10
+ # [Migrate from Renew to Refresh OAuth
11
+ # Tokens](https://developer.squareup.com/docs/oauth-api/migrate-to-refresh-t
12
+ # okens).
13
13
  # Renews an OAuth access token before it expires.
14
14
  # OAuth access tokens besides your application's personal access token
15
15
  # expire after __30 days__.
@@ -25,10 +25,10 @@ module Square
25
25
  # ```
26
26
  # Replace `APPLICATION_SECRET` with the application secret on the
27
27
  # Credentials
28
- # page in the [application dashboard](https://connect.squareup.com/apps).
28
+ # page in the [developer dashboard](https://developer.squareup.com/apps).
29
29
  # @param [String] client_id Required parameter: Your application ID,
30
- # available from the [application
31
- # dashboard](https://connect.squareup.com/apps).
30
+ # available from the [developer
31
+ # dashboard](https://developer.squareup.com/apps).
32
32
  # @param [RenewTokenRequest] body Required parameter: An object containing
33
33
  # the fields to POST for the request. See the corresponding object
34
34
  # definition for field details.
@@ -83,9 +83,8 @@ module Square
83
83
  # ```
84
84
  # Authorization: Client APPLICATION_SECRET
85
85
  # ```
86
- # Replace `APPLICATION_SECRET` with the application secret on the
87
- # Credentials
88
- # page in the [Developer Dashboard](https://developer.squareup.com/apps).
86
+ # Replace `APPLICATION_SECRET` with the application secret on the OAuth
87
+ # page in the [developer dashboard](https://developer.squareup.com/apps).
89
88
  # @param [RevokeTokenRequest] body Required parameter: An object containing
90
89
  # the fields to POST for the request. See the corresponding object
91
90
  # definition for field details.
@@ -5,13 +5,12 @@ module Square
5
5
  super(config, http_call_back: http_call_back)
6
6
  end
7
7
 
8
- # Creates a new [Order]($m/Order) which can include information on products
9
- # for
8
+ # Creates a new [order]($m/Order) that can include information about
9
+ # products for
10
10
  # purchase and settings to apply to the purchase.
11
- # To pay for a created order, please refer to the
11
+ # To pay for a created order, see
12
12
  # [Pay for
13
- # Orders](https://developer.squareup.com/docs/orders-api/pay-for-orders)
14
- # guide.
13
+ # Orders](https://developer.squareup.com/docs/orders-api/pay-for-orders).
15
14
  # You can modify open orders using the [UpdateOrder]($e/Orders/UpdateOrder)
16
15
  # endpoint.
17
16
  # @param [CreateOrderRequest] body Required parameter: An object containing
@@ -47,8 +46,8 @@ module Square
47
46
  )
48
47
  end
49
48
 
50
- # Retrieves a set of [Order]($m/Order)s by their IDs.
51
- # If a given Order ID does not exist, the ID is ignored instead of
49
+ # Retrieves a set of [orders]($m/Order) by their IDs.
50
+ # If a given order ID does not exist, the ID is ignored instead of
52
51
  # generating an error.
53
52
  # @param [BatchRetrieveOrdersRequest] body Required parameter: An object
54
53
  # containing the fields to POST for the request. See the corresponding
@@ -119,17 +118,18 @@ module Square
119
118
 
120
119
  # Search all orders for one or more locations. Orders include all sales,
121
120
  # returns, and exchanges regardless of how or when they entered the Square
122
- # Ecosystem (e.g. Point of Sale, Invoices, Connect APIs, etc).
123
- # SearchOrders requests need to specify which locations to search and define
124
- # a
125
- # [`SearchOrdersQuery`]($m/SearchOrdersQuery) object which controls
126
- # how to sort or filter the results. Your SearchOrdersQuery can:
121
+ # ecosystem (such as Point of Sale, Invoices, and Connect APIs).
122
+ # `SearchOrders` requests need to specify which locations to search and
123
+ # define a
124
+ # [SearchOrdersQuery]($m/SearchOrdersQuery) object that controls
125
+ # how to sort or filter the results. Your `SearchOrdersQuery` can:
127
126
  # Set filter criteria.
128
- # Set sort order.
129
- # Determine whether to return results as complete Order objects, or as
127
+ # Set the sort order.
128
+ # Determine whether to return results as complete `Order` objects or as
130
129
  # [OrderEntry]($m/OrderEntry) objects.
131
130
  # Note that details for orders processed with Square Point of Sale while in
132
- # offline mode may not be transmitted to Square for up to 72 hours. Offline
131
+ # offline mode might not be transmitted to Square for up to 72 hours.
132
+ # Offline
133
133
  # orders have a `created_at` value that reflects the time the order was
134
134
  # created,
135
135
  # not the time it was subsequently transmitted to Square.
@@ -201,24 +201,24 @@ module Square
201
201
  )
202
202
  end
203
203
 
204
- # Updates an open [Order]($m/Order) by adding, replacing, or deleting
204
+ # Updates an open [order]($m/Order) by adding, replacing, or deleting
205
205
  # fields. Orders with a `COMPLETED` or `CANCELED` state cannot be updated.
206
- # An UpdateOrder request requires the following:
206
+ # An `UpdateOrder` request requires the following:
207
207
  # - The `order_id` in the endpoint path, identifying the order to update.
208
208
  # - The latest `version` of the order to update.
209
209
  # - The [sparse
210
210
  # order](https://developer.squareup.com/docs/orders-api/manage-orders#sparse
211
211
  # -order-objects)
212
- # containing only the fields to update and the version the update is
213
- # being applied to.
212
+ # containing only the fields to update and the version to which the update
213
+ # is
214
+ # being applied.
214
215
  # - If deleting fields, the [dot notation
215
216
  # paths](https://developer.squareup.com/docs/orders-api/manage-orders#on-dot
216
217
  # -notation)
217
- # identifying fields to clear.
218
- # To pay for an order, please refer to the
218
+ # identifying the fields to clear.
219
+ # To pay for an order, see
219
220
  # [Pay for
220
- # Orders](https://developer.squareup.com/docs/orders-api/pay-for-orders)
221
- # guide.
221
+ # Orders](https://developer.squareup.com/docs/orders-api/pay-for-orders).
222
222
  # @param [String] order_id Required parameter: The ID of the order to
223
223
  # update.
224
224
  # @param [UpdateOrderRequest] body Required parameter: An object containing
@@ -260,23 +260,23 @@ module Square
260
260
  end
261
261
 
262
262
  # Pay for an [order]($m/Order) using one or more approved
263
- # [payments]($m/Payment),
263
+ # [payments]($m/Payment)
264
264
  # or settle an order with a total of `0`.
265
265
  # The total of the `payment_ids` listed in the request must be equal to the
266
266
  # order
267
267
  # total. Orders with a total amount of `0` can be marked as paid by
268
268
  # specifying an empty
269
269
  # array of `payment_ids` in the request.
270
- # To be used with PayOrder, a payment must:
270
+ # To be used with `PayOrder`, a payment must:
271
271
  # - Reference the order by specifying the `order_id` when [creating the
272
272
  # payment]($e/Payments/CreatePayment).
273
273
  # Any approved payments that reference the same `order_id` not specified in
274
274
  # the
275
- # `payment_ids` will be canceled.
275
+ # `payment_ids` is canceled.
276
276
  # - Be approved with [delayed
277
277
  # capture](https://developer.squareup.com/docs/payments-api/take-payments#de
278
278
  # layed-capture).
279
- # Using a delayed capture payment with PayOrder will complete the approved
279
+ # Using a delayed capture payment with `PayOrder` completes the approved
280
280
  # payment.
281
281
  # @param [String] order_id Required parameter: The ID of the order being
282
282
  # paid.
@@ -0,0 +1,42 @@
1
+ module Square
2
+ # SitesApi
3
+ class SitesApi < BaseApi
4
+ def initialize(config, http_call_back: nil)
5
+ super(config, http_call_back: http_call_back)
6
+ end
7
+
8
+ # Lists the Square Online sites that belong to a seller.
9
+ # __Note:__ Square Online APIs are publicly available as part of an early
10
+ # access program. For more information, see [Early access program for Square
11
+ # Online
12
+ # APIs](https://developer.squareup.com/docs/online-api#early-access-program-
13
+ # for-square-online-apis).
14
+ # @return [ListSitesResponse Hash] response from the API call
15
+ def list_sites
16
+ # Prepare query url.
17
+ _query_builder = config.get_base_uri
18
+ _query_builder << '/v2/sites'
19
+ _query_url = APIHelper.clean_url _query_builder
20
+
21
+ # Prepare headers.
22
+ _headers = {
23
+ 'accept' => 'application/json'
24
+ }
25
+
26
+ # Prepare and execute HttpRequest.
27
+ _request = config.http_client.get(
28
+ _query_url,
29
+ headers: _headers
30
+ )
31
+ OAuth2.apply(config, _request)
32
+ _response = execute_request(_request)
33
+
34
+ # Return appropriate response type.
35
+ decoded = APIHelper.json_deserialize(_response.raw_body)
36
+ _errors = APIHelper.map_response(decoded, ['errors'])
37
+ ApiResponse.new(
38
+ _response, data: decoded, errors: _errors
39
+ )
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,146 @@
1
+ module Square
2
+ # SnippetsApi
3
+ class SnippetsApi < BaseApi
4
+ def initialize(config, http_call_back: nil)
5
+ super(config, http_call_back: http_call_back)
6
+ end
7
+
8
+ # Removes your snippet from a Square Online site.
9
+ # You can call [ListSites]($e/Sites/ListSites) to get the IDs of the sites
10
+ # that belong to a seller.
11
+ # __Note:__ Square Online APIs are publicly available as part of an early
12
+ # access program. For more information, see [Early access program for Square
13
+ # Online
14
+ # APIs](https://developer.squareup.com/docs/online-api#early-access-program-
15
+ # for-square-online-apis).
16
+ # @param [String] site_id Required parameter: The ID of the site that
17
+ # contains the snippet.
18
+ # @return [DeleteSnippetResponse Hash] response from the API call
19
+ def delete_snippet(site_id:)
20
+ # Prepare query url.
21
+ _query_builder = config.get_base_uri
22
+ _query_builder << '/v2/sites/{site_id}/snippet'
23
+ _query_builder = APIHelper.append_url_with_template_parameters(
24
+ _query_builder,
25
+ 'site_id' => { 'value' => site_id, 'encode' => true }
26
+ )
27
+ _query_url = APIHelper.clean_url _query_builder
28
+
29
+ # Prepare headers.
30
+ _headers = {
31
+ 'accept' => 'application/json'
32
+ }
33
+
34
+ # Prepare and execute HttpRequest.
35
+ _request = config.http_client.delete(
36
+ _query_url,
37
+ headers: _headers
38
+ )
39
+ OAuth2.apply(config, _request)
40
+ _response = execute_request(_request)
41
+
42
+ # Return appropriate response type.
43
+ decoded = APIHelper.json_deserialize(_response.raw_body)
44
+ _errors = APIHelper.map_response(decoded, ['errors'])
45
+ ApiResponse.new(
46
+ _response, data: decoded, errors: _errors
47
+ )
48
+ end
49
+
50
+ # Retrieves your snippet from a Square Online site. A site can contain
51
+ # snippets from multiple snippet applications, but you can retrieve only the
52
+ # snippet that was added by your application.
53
+ # You can call [ListSites]($e/Sites/ListSites) to get the IDs of the sites
54
+ # that belong to a seller.
55
+ # __Note:__ Square Online APIs are publicly available as part of an early
56
+ # access program. For more information, see [Early access program for Square
57
+ # Online
58
+ # APIs](https://developer.squareup.com/docs/online-api#early-access-program-
59
+ # for-square-online-apis).
60
+ # @param [String] site_id Required parameter: The ID of the site that
61
+ # contains the snippet.
62
+ # @return [RetrieveSnippetResponse Hash] response from the API call
63
+ def retrieve_snippet(site_id:)
64
+ # Prepare query url.
65
+ _query_builder = config.get_base_uri
66
+ _query_builder << '/v2/sites/{site_id}/snippet'
67
+ _query_builder = APIHelper.append_url_with_template_parameters(
68
+ _query_builder,
69
+ 'site_id' => { 'value' => site_id, 'encode' => true }
70
+ )
71
+ _query_url = APIHelper.clean_url _query_builder
72
+
73
+ # Prepare headers.
74
+ _headers = {
75
+ 'accept' => 'application/json'
76
+ }
77
+
78
+ # Prepare and execute HttpRequest.
79
+ _request = config.http_client.get(
80
+ _query_url,
81
+ headers: _headers
82
+ )
83
+ OAuth2.apply(config, _request)
84
+ _response = execute_request(_request)
85
+
86
+ # Return appropriate response type.
87
+ decoded = APIHelper.json_deserialize(_response.raw_body)
88
+ _errors = APIHelper.map_response(decoded, ['errors'])
89
+ ApiResponse.new(
90
+ _response, data: decoded, errors: _errors
91
+ )
92
+ end
93
+
94
+ # Adds a snippet to a Square Online site or updates the existing snippet on
95
+ # the site.
96
+ # The snippet code is appended to the end of the `head` element on every
97
+ # page of the site, except checkout pages. A snippet application can add one
98
+ # snippet to a given site.
99
+ # You can call [ListSites]($e/Sites/ListSites) to get the IDs of the sites
100
+ # that belong to a seller.
101
+ # __Note:__ Square Online APIs are publicly available as part of an early
102
+ # access program. For more information, see [Early access program for Square
103
+ # Online
104
+ # APIs](https://developer.squareup.com/docs/online-api#early-access-program-
105
+ # for-square-online-apis).
106
+ # @param [String] site_id Required parameter: The ID of the site where you
107
+ # want to add or update the snippet.
108
+ # @param [UpsertSnippetRequest] body Required parameter: An object
109
+ # containing the fields to POST for the request. See the corresponding
110
+ # object definition for field details.
111
+ # @return [UpsertSnippetResponse Hash] response from the API call
112
+ def upsert_snippet(site_id:,
113
+ body:)
114
+ # Prepare query url.
115
+ _query_builder = config.get_base_uri
116
+ _query_builder << '/v2/sites/{site_id}/snippet'
117
+ _query_builder = APIHelper.append_url_with_template_parameters(
118
+ _query_builder,
119
+ 'site_id' => { 'value' => site_id, 'encode' => true }
120
+ )
121
+ _query_url = APIHelper.clean_url _query_builder
122
+
123
+ # Prepare headers.
124
+ _headers = {
125
+ 'accept' => 'application/json',
126
+ 'content-type' => 'application/json; charset=utf-8'
127
+ }
128
+
129
+ # Prepare and execute HttpRequest.
130
+ _request = config.http_client.post(
131
+ _query_url,
132
+ headers: _headers,
133
+ parameters: body.to_json
134
+ )
135
+ OAuth2.apply(config, _request)
136
+ _response = execute_request(_request)
137
+
138
+ # Return appropriate response type.
139
+ decoded = APIHelper.json_deserialize(_response.raw_body)
140
+ _errors = APIHelper.map_response(decoded, ['errors'])
141
+ ApiResponse.new(
142
+ _response, data: decoded, errors: _errors
143
+ )
144
+ end
145
+ end
146
+ end
@@ -5,12 +5,12 @@ module Square
5
5
  super(config, http_call_back: http_call_back)
6
6
  end
7
7
 
8
- # Creates a single `TeamMember` object. The `TeamMember` will be returned on
9
- # successful creates.
8
+ # Creates a single `TeamMember` object. The `TeamMember` object is returned
9
+ # on successful creates.
10
10
  # You must provide the following values in your request to this endpoint:
11
11
  # - `given_name`
12
12
  # - `family_name`
13
- # Learn about [Troubleshooting the Teams
13
+ # Learn about [Troubleshooting the Team
14
14
  # API](https://developer.squareup.com/docs/team/troubleshooting#createteamme
15
15
  # mber).
16
16
  # @param [CreateTeamMemberRequest] body Required parameter: An object
@@ -47,13 +47,13 @@ module Square
47
47
  end
48
48
 
49
49
  # Creates multiple `TeamMember` objects. The created `TeamMember` objects
50
- # will be returned on successful creates.
51
- # This process is non-transactional and will process as much of the request
52
- # as is possible. If one of the creates in
53
- # the request cannot be successfully processed, the request will NOT be
54
- # marked as failed, but the body of the response
55
- # will contain explicit error information for this particular create.
56
- # Learn about [Troubleshooting the Teams
50
+ # are returned on successful creates.
51
+ # This process is non-transactional and processes as much of the request as
52
+ # possible. If one of the creates in
53
+ # the request cannot be successfully processed, the request is not marked as
54
+ # failed, but the body of the response
55
+ # contains explicit error information for the failed create.
56
+ # Learn about [Troubleshooting the Team
57
57
  # API](https://developer.squareup.com/docs/team/troubleshooting#bulk-create-
58
58
  # team-members).
59
59
  # @param [BulkCreateTeamMembersRequest] body Required parameter: An object
@@ -90,13 +90,13 @@ module Square
90
90
  end
91
91
 
92
92
  # Updates multiple `TeamMember` objects. The updated `TeamMember` objects
93
- # will be returned on successful updates.
94
- # This process is non-transactional and will process as much of the request
95
- # as is possible. If one of the updates in
96
- # the request cannot be successfully processed, the request will NOT be
97
- # marked as failed, but the body of the response
98
- # will contain explicit error information for this particular update.
99
- # Learn about [Troubleshooting the Teams
93
+ # are returned on successful updates.
94
+ # This process is non-transactional and processes as much of the request as
95
+ # possible. If one of the updates in
96
+ # the request cannot be successfully processed, the request is not marked as
97
+ # failed, but the body of the response
98
+ # contains explicit error information for the failed update.
99
+ # Learn about [Troubleshooting the Team
100
100
  # API](https://developer.squareup.com/docs/team/troubleshooting#bulk-update-
101
101
  # team-members).
102
102
  # @param [BulkUpdateTeamMembersRequest] body Required parameter: An object
@@ -133,8 +133,8 @@ module Square
133
133
  end
134
134
 
135
135
  # Returns a paginated list of `TeamMember` objects for a business.
136
- # The list to be returned can be filtered by:
137
- # - location IDs **and**
136
+ # The list can be filtered by the following:
137
+ # - location IDs
138
138
  # - `status`
139
139
  # @param [SearchTeamMembersRequest] body Required parameter: An object
140
140
  # containing the fields to POST for the request. See the corresponding
@@ -169,8 +169,8 @@ module Square
169
169
  )
170
170
  end
171
171
 
172
- # Retrieve a `TeamMember` object for the given `TeamMember.id`.
173
- # Learn about [Troubleshooting the Teams
172
+ # Retrieves a `TeamMember` object for the given `TeamMember.id`.
173
+ # Learn about [Troubleshooting the Team
174
174
  # API](https://developer.squareup.com/docs/team/troubleshooting#retrieve-a-t
175
175
  # eam-member).
176
176
  # @param [String] team_member_id Required parameter: The ID of the team
@@ -207,9 +207,9 @@ module Square
207
207
  )
208
208
  end
209
209
 
210
- # Updates a single `TeamMember` object. The `TeamMember` will be returned on
211
- # successful updates.
212
- # Learn about [Troubleshooting the Teams
210
+ # Updates a single `TeamMember` object. The `TeamMember` object is returned
211
+ # on successful updates.
212
+ # Learn about [Troubleshooting the Team
213
213
  # API](https://developer.squareup.com/docs/team/troubleshooting#update-a-tea
214
214
  # m-member).
215
215
  # @param [String] team_member_id Required parameter: The ID of the team
@@ -252,13 +252,13 @@ module Square
252
252
  )
253
253
  end
254
254
 
255
- # Retrieve a `WageSetting` object for a team member specified
255
+ # Retrieves a `WageSetting` object for a team member specified
256
256
  # by `TeamMember.id`.
257
- # Learn about [Troubleshooting the Teams
257
+ # Learn about [Troubleshooting the Team
258
258
  # API](https://developer.squareup.com/docs/team/troubleshooting#retrievewage
259
259
  # setting).
260
260
  # @param [String] team_member_id Required parameter: The ID of the team
261
- # member to retrieve wage setting for
261
+ # member for which to retrieve the wage setting.
262
262
  # @return [RetrieveWageSettingResponse Hash] response from the API call
263
263
  def retrieve_wage_setting(team_member_id:)
264
264
  # Prepare query url.
@@ -295,12 +295,12 @@ module Square
295
295
  # `WageSetting` with the specified `team_member_id` does not exist.
296
296
  # Otherwise,
297
297
  # it fully replaces the `WageSetting` object for the team member.
298
- # The `WageSetting` will be returned upon successful update.
299
- # Learn about [Troubleshooting the Teams
298
+ # The `WageSetting` is returned on a successful update.
299
+ # Learn about [Troubleshooting the Team
300
300
  # API](https://developer.squareup.com/docs/team/troubleshooting#create-or-up
301
301
  # date-a-wage-setting).
302
302
  # @param [String] team_member_id Required parameter: The ID of the team
303
- # member to update the `WageSetting` object for.
303
+ # member for which to update the `WageSetting` object.
304
304
  # @param [UpdateWageSettingRequest] body Required parameter: An object
305
305
  # containing the fields to POST for the request. See the corresponding
306
306
  # object definition for field details.