google-apis-merchantapi_accounts_v1beta 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +13 -0
- data/CHANGELOG.md +7 -0
- data/LICENSE.md +202 -0
- data/OVERVIEW.md +96 -0
- data/lib/google/apis/merchantapi_accounts_v1beta/classes.rb +3131 -0
- data/lib/google/apis/merchantapi_accounts_v1beta/gem_version.rb +28 -0
- data/lib/google/apis/merchantapi_accounts_v1beta/representations.rb +1355 -0
- data/lib/google/apis/merchantapi_accounts_v1beta/service.rb +1613 -0
- data/lib/google/apis/merchantapi_accounts_v1beta.rb +36 -0
- data/lib/google-apis-merchantapi_accounts_v1beta.rb +15 -0
- metadata +82 -0
@@ -0,0 +1,1355 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module MerchantapiAccountsV1beta
|
24
|
+
|
25
|
+
class AcceptTermsOfService
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class Accepted
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class Account
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class AccountIssue
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class AccountTax
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class AddAccountService
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class Address
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class BusinessDayConfig
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class BusinessIdentity
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class BusinessInfo
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class CarrierRate
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class ClaimHomepageRequest
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class CreateAndConfigureAccountRequest
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class CreateUserRequest
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class CustomerService
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class CutoffConfig
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class CutoffTime
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class Date
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class DeliveryTime
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class DisableProgramRequest
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class Distance
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class EmailPreferences
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class Empty
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class EnableProgramRequest
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class GeoTargetArea
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class Headers
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class Homepage
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class IdentityAttribute
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class Impact
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class ImpactedDestination
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class Interval
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class ListAccountIssuesResponse
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class ListAccountTaxResponse
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class ListAccountsResponse
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class ListOnlineReturnPoliciesResponse
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class ListProgramsResponse
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
241
|
+
class ListRegionsResponse
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class ListSubAccountsResponse
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
253
|
+
class ListUsersResponse
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
259
|
+
class LocalCutoffTime
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
265
|
+
class LocationIdSet
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
271
|
+
class LoyaltyProgram
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
277
|
+
class LoyaltyProgramTiers
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
283
|
+
class MinimumOrderValueTable
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
289
|
+
class OnlineReturnPolicy
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
295
|
+
class PhoneNumber
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
301
|
+
class Policy
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
307
|
+
class PostalAddress
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
313
|
+
class PostalCodeArea
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
319
|
+
class PostalCodeRange
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
|
+
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
323
|
+
end
|
324
|
+
|
325
|
+
class Price
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
331
|
+
class ProductChange
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
337
|
+
class ProductStatusChangeMessage
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
343
|
+
class Program
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
349
|
+
class RateGroup
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
355
|
+
class Region
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
361
|
+
class Required
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
367
|
+
class Requirement
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
373
|
+
class RestockingFee
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
|
+
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
377
|
+
end
|
378
|
+
|
379
|
+
class ReturnShippingFee
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
|
+
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
383
|
+
end
|
384
|
+
|
385
|
+
class Row
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
+
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
389
|
+
end
|
390
|
+
|
391
|
+
class Service
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
|
+
|
394
|
+
include Google::Apis::Core::JsonObjectSupport
|
395
|
+
end
|
396
|
+
|
397
|
+
class ShippingSettings
|
398
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
|
+
|
400
|
+
include Google::Apis::Core::JsonObjectSupport
|
401
|
+
end
|
402
|
+
|
403
|
+
class ShortCode
|
404
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
|
+
|
406
|
+
include Google::Apis::Core::JsonObjectSupport
|
407
|
+
end
|
408
|
+
|
409
|
+
class StoreCodeSetWithMov
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
|
+
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
413
|
+
end
|
414
|
+
|
415
|
+
class StoreConfig
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
|
+
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
419
|
+
end
|
420
|
+
|
421
|
+
class Table
|
422
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
|
+
|
424
|
+
include Google::Apis::Core::JsonObjectSupport
|
425
|
+
end
|
426
|
+
|
427
|
+
class TaxPostalCodeRange
|
428
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
|
+
|
430
|
+
include Google::Apis::Core::JsonObjectSupport
|
431
|
+
end
|
432
|
+
|
433
|
+
class TaxRule
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
|
+
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
437
|
+
end
|
438
|
+
|
439
|
+
class TermsOfService
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
|
+
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
443
|
+
end
|
444
|
+
|
445
|
+
class TermsOfServiceAgreementState
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
|
+
|
448
|
+
include Google::Apis::Core::JsonObjectSupport
|
449
|
+
end
|
450
|
+
|
451
|
+
class TimeZone
|
452
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
453
|
+
|
454
|
+
include Google::Apis::Core::JsonObjectSupport
|
455
|
+
end
|
456
|
+
|
457
|
+
class TransitTable
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
|
+
|
460
|
+
include Google::Apis::Core::JsonObjectSupport
|
461
|
+
end
|
462
|
+
|
463
|
+
class TransitTimeRow
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
|
+
|
466
|
+
include Google::Apis::Core::JsonObjectSupport
|
467
|
+
end
|
468
|
+
|
469
|
+
class TransitTimeValue
|
470
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
|
+
|
472
|
+
include Google::Apis::Core::JsonObjectSupport
|
473
|
+
end
|
474
|
+
|
475
|
+
class UnclaimHomepageRequest
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
|
+
|
478
|
+
include Google::Apis::Core::JsonObjectSupport
|
479
|
+
end
|
480
|
+
|
481
|
+
class User
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
|
+
|
484
|
+
include Google::Apis::Core::JsonObjectSupport
|
485
|
+
end
|
486
|
+
|
487
|
+
class Value
|
488
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
489
|
+
|
490
|
+
include Google::Apis::Core::JsonObjectSupport
|
491
|
+
end
|
492
|
+
|
493
|
+
class Warehouse
|
494
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
|
+
|
496
|
+
include Google::Apis::Core::JsonObjectSupport
|
497
|
+
end
|
498
|
+
|
499
|
+
class WarehouseBasedDeliveryTime
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
|
+
|
502
|
+
include Google::Apis::Core::JsonObjectSupport
|
503
|
+
end
|
504
|
+
|
505
|
+
class WarehouseCutoffTime
|
506
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
|
+
|
508
|
+
include Google::Apis::Core::JsonObjectSupport
|
509
|
+
end
|
510
|
+
|
511
|
+
class Weight
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
513
|
+
|
514
|
+
include Google::Apis::Core::JsonObjectSupport
|
515
|
+
end
|
516
|
+
|
517
|
+
class AcceptTermsOfService
|
518
|
+
# @private
|
519
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
520
|
+
property :name, as: 'name'
|
521
|
+
property :region_code, as: 'regionCode'
|
522
|
+
end
|
523
|
+
end
|
524
|
+
|
525
|
+
class Accepted
|
526
|
+
# @private
|
527
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
528
|
+
property :accepted_by, as: 'acceptedBy'
|
529
|
+
property :terms_of_service, as: 'termsOfService'
|
530
|
+
property :valid_until, as: 'validUntil', class: Google::Apis::MerchantapiAccountsV1beta::Date, decorator: Google::Apis::MerchantapiAccountsV1beta::Date::Representation
|
531
|
+
|
532
|
+
end
|
533
|
+
end
|
534
|
+
|
535
|
+
class Account
|
536
|
+
# @private
|
537
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
538
|
+
property :account_id, :numeric_string => true, as: 'accountId'
|
539
|
+
property :account_name, as: 'accountName'
|
540
|
+
property :adult_content, as: 'adultContent'
|
541
|
+
property :language_code, as: 'languageCode'
|
542
|
+
property :name, as: 'name'
|
543
|
+
property :test_account, as: 'testAccount'
|
544
|
+
property :time_zone, as: 'timeZone', class: Google::Apis::MerchantapiAccountsV1beta::TimeZone, decorator: Google::Apis::MerchantapiAccountsV1beta::TimeZone::Representation
|
545
|
+
|
546
|
+
end
|
547
|
+
end
|
548
|
+
|
549
|
+
class AccountIssue
|
550
|
+
# @private
|
551
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
552
|
+
property :detail, as: 'detail'
|
553
|
+
property :documentation_uri, as: 'documentationUri'
|
554
|
+
collection :impacted_destinations, as: 'impactedDestinations', class: Google::Apis::MerchantapiAccountsV1beta::ImpactedDestination, decorator: Google::Apis::MerchantapiAccountsV1beta::ImpactedDestination::Representation
|
555
|
+
|
556
|
+
property :name, as: 'name'
|
557
|
+
property :severity, as: 'severity'
|
558
|
+
property :title, as: 'title'
|
559
|
+
end
|
560
|
+
end
|
561
|
+
|
562
|
+
class AccountTax
|
563
|
+
# @private
|
564
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
565
|
+
property :account, :numeric_string => true, as: 'account'
|
566
|
+
property :name, as: 'name'
|
567
|
+
collection :tax_rules, as: 'taxRules', class: Google::Apis::MerchantapiAccountsV1beta::TaxRule, decorator: Google::Apis::MerchantapiAccountsV1beta::TaxRule::Representation
|
568
|
+
|
569
|
+
end
|
570
|
+
end
|
571
|
+
|
572
|
+
class AddAccountService
|
573
|
+
# @private
|
574
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
575
|
+
property :account_aggregation, as: 'accountAggregation', class: Google::Apis::MerchantapiAccountsV1beta::Empty, decorator: Google::Apis::MerchantapiAccountsV1beta::Empty::Representation
|
576
|
+
|
577
|
+
property :provider, as: 'provider'
|
578
|
+
end
|
579
|
+
end
|
580
|
+
|
581
|
+
class Address
|
582
|
+
# @private
|
583
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
584
|
+
property :administrative_area, as: 'administrativeArea'
|
585
|
+
property :city, as: 'city'
|
586
|
+
property :postal_code, as: 'postalCode'
|
587
|
+
property :region_code, as: 'regionCode'
|
588
|
+
property :street_address, as: 'streetAddress'
|
589
|
+
end
|
590
|
+
end
|
591
|
+
|
592
|
+
class BusinessDayConfig
|
593
|
+
# @private
|
594
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
595
|
+
collection :business_days, as: 'businessDays'
|
596
|
+
end
|
597
|
+
end
|
598
|
+
|
599
|
+
class BusinessIdentity
|
600
|
+
# @private
|
601
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
602
|
+
property :black_owned, as: 'blackOwned', class: Google::Apis::MerchantapiAccountsV1beta::IdentityAttribute, decorator: Google::Apis::MerchantapiAccountsV1beta::IdentityAttribute::Representation
|
603
|
+
|
604
|
+
property :latino_owned, as: 'latinoOwned', class: Google::Apis::MerchantapiAccountsV1beta::IdentityAttribute, decorator: Google::Apis::MerchantapiAccountsV1beta::IdentityAttribute::Representation
|
605
|
+
|
606
|
+
property :name, as: 'name'
|
607
|
+
property :promotions_consent, as: 'promotionsConsent'
|
608
|
+
property :small_business, as: 'smallBusiness', class: Google::Apis::MerchantapiAccountsV1beta::IdentityAttribute, decorator: Google::Apis::MerchantapiAccountsV1beta::IdentityAttribute::Representation
|
609
|
+
|
610
|
+
property :veteran_owned, as: 'veteranOwned', class: Google::Apis::MerchantapiAccountsV1beta::IdentityAttribute, decorator: Google::Apis::MerchantapiAccountsV1beta::IdentityAttribute::Representation
|
611
|
+
|
612
|
+
property :women_owned, as: 'womenOwned', class: Google::Apis::MerchantapiAccountsV1beta::IdentityAttribute, decorator: Google::Apis::MerchantapiAccountsV1beta::IdentityAttribute::Representation
|
613
|
+
|
614
|
+
end
|
615
|
+
end
|
616
|
+
|
617
|
+
class BusinessInfo
|
618
|
+
# @private
|
619
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
620
|
+
property :address, as: 'address', class: Google::Apis::MerchantapiAccountsV1beta::PostalAddress, decorator: Google::Apis::MerchantapiAccountsV1beta::PostalAddress::Representation
|
621
|
+
|
622
|
+
property :customer_service, as: 'customerService', class: Google::Apis::MerchantapiAccountsV1beta::CustomerService, decorator: Google::Apis::MerchantapiAccountsV1beta::CustomerService::Representation
|
623
|
+
|
624
|
+
property :name, as: 'name'
|
625
|
+
property :phone, as: 'phone', class: Google::Apis::MerchantapiAccountsV1beta::PhoneNumber, decorator: Google::Apis::MerchantapiAccountsV1beta::PhoneNumber::Representation
|
626
|
+
|
627
|
+
property :phone_verification_state, as: 'phoneVerificationState'
|
628
|
+
end
|
629
|
+
end
|
630
|
+
|
631
|
+
class CarrierRate
|
632
|
+
# @private
|
633
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
634
|
+
property :carrier, as: 'carrier'
|
635
|
+
property :carrier_service, as: 'carrierService'
|
636
|
+
property :flat_adjustment, as: 'flatAdjustment', class: Google::Apis::MerchantapiAccountsV1beta::Price, decorator: Google::Apis::MerchantapiAccountsV1beta::Price::Representation
|
637
|
+
|
638
|
+
property :name, as: 'name'
|
639
|
+
property :origin_postal_code, as: 'originPostalCode'
|
640
|
+
property :percentage_adjustment, as: 'percentageAdjustment'
|
641
|
+
end
|
642
|
+
end
|
643
|
+
|
644
|
+
class ClaimHomepageRequest
|
645
|
+
# @private
|
646
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
647
|
+
end
|
648
|
+
end
|
649
|
+
|
650
|
+
class CreateAndConfigureAccountRequest
|
651
|
+
# @private
|
652
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
653
|
+
property :accept_terms_of_service, as: 'acceptTermsOfService', class: Google::Apis::MerchantapiAccountsV1beta::AcceptTermsOfService, decorator: Google::Apis::MerchantapiAccountsV1beta::AcceptTermsOfService::Representation
|
654
|
+
|
655
|
+
property :account, as: 'account', class: Google::Apis::MerchantapiAccountsV1beta::Account, decorator: Google::Apis::MerchantapiAccountsV1beta::Account::Representation
|
656
|
+
|
657
|
+
collection :service, as: 'service', class: Google::Apis::MerchantapiAccountsV1beta::AddAccountService, decorator: Google::Apis::MerchantapiAccountsV1beta::AddAccountService::Representation
|
658
|
+
|
659
|
+
collection :users, as: 'users', class: Google::Apis::MerchantapiAccountsV1beta::CreateUserRequest, decorator: Google::Apis::MerchantapiAccountsV1beta::CreateUserRequest::Representation
|
660
|
+
|
661
|
+
end
|
662
|
+
end
|
663
|
+
|
664
|
+
class CreateUserRequest
|
665
|
+
# @private
|
666
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
667
|
+
property :parent, as: 'parent'
|
668
|
+
property :user, as: 'user', class: Google::Apis::MerchantapiAccountsV1beta::User, decorator: Google::Apis::MerchantapiAccountsV1beta::User::Representation
|
669
|
+
|
670
|
+
property :user_id, as: 'userId'
|
671
|
+
end
|
672
|
+
end
|
673
|
+
|
674
|
+
class CustomerService
|
675
|
+
# @private
|
676
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
677
|
+
property :email, as: 'email'
|
678
|
+
property :phone, as: 'phone', class: Google::Apis::MerchantapiAccountsV1beta::PhoneNumber, decorator: Google::Apis::MerchantapiAccountsV1beta::PhoneNumber::Representation
|
679
|
+
|
680
|
+
property :uri, as: 'uri'
|
681
|
+
end
|
682
|
+
end
|
683
|
+
|
684
|
+
class CutoffConfig
|
685
|
+
# @private
|
686
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
687
|
+
property :local_cutoff_time, as: 'localCutoffTime', class: Google::Apis::MerchantapiAccountsV1beta::LocalCutoffTime, decorator: Google::Apis::MerchantapiAccountsV1beta::LocalCutoffTime::Representation
|
688
|
+
|
689
|
+
property :no_delivery_post_cutoff, as: 'noDeliveryPostCutoff'
|
690
|
+
property :store_close_offset_hours, :numeric_string => true, as: 'storeCloseOffsetHours'
|
691
|
+
end
|
692
|
+
end
|
693
|
+
|
694
|
+
class CutoffTime
|
695
|
+
# @private
|
696
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
697
|
+
property :hour, as: 'hour'
|
698
|
+
property :minute, as: 'minute'
|
699
|
+
property :time_zone, as: 'timeZone'
|
700
|
+
end
|
701
|
+
end
|
702
|
+
|
703
|
+
class Date
|
704
|
+
# @private
|
705
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
706
|
+
property :day, as: 'day'
|
707
|
+
property :month, as: 'month'
|
708
|
+
property :year, as: 'year'
|
709
|
+
end
|
710
|
+
end
|
711
|
+
|
712
|
+
class DeliveryTime
|
713
|
+
# @private
|
714
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
715
|
+
property :cutoff_time, as: 'cutoffTime', class: Google::Apis::MerchantapiAccountsV1beta::CutoffTime, decorator: Google::Apis::MerchantapiAccountsV1beta::CutoffTime::Representation
|
716
|
+
|
717
|
+
property :handling_business_day_config, as: 'handlingBusinessDayConfig', class: Google::Apis::MerchantapiAccountsV1beta::BusinessDayConfig, decorator: Google::Apis::MerchantapiAccountsV1beta::BusinessDayConfig::Representation
|
718
|
+
|
719
|
+
property :max_handling_days, as: 'maxHandlingDays'
|
720
|
+
property :max_transit_days, as: 'maxTransitDays'
|
721
|
+
property :min_handling_days, as: 'minHandlingDays'
|
722
|
+
property :min_transit_days, as: 'minTransitDays'
|
723
|
+
property :transit_business_day_config, as: 'transitBusinessDayConfig', class: Google::Apis::MerchantapiAccountsV1beta::BusinessDayConfig, decorator: Google::Apis::MerchantapiAccountsV1beta::BusinessDayConfig::Representation
|
724
|
+
|
725
|
+
property :transit_time_table, as: 'transitTimeTable', class: Google::Apis::MerchantapiAccountsV1beta::TransitTable, decorator: Google::Apis::MerchantapiAccountsV1beta::TransitTable::Representation
|
726
|
+
|
727
|
+
collection :warehouse_based_delivery_times, as: 'warehouseBasedDeliveryTimes', class: Google::Apis::MerchantapiAccountsV1beta::WarehouseBasedDeliveryTime, decorator: Google::Apis::MerchantapiAccountsV1beta::WarehouseBasedDeliveryTime::Representation
|
728
|
+
|
729
|
+
end
|
730
|
+
end
|
731
|
+
|
732
|
+
class DisableProgramRequest
|
733
|
+
# @private
|
734
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
735
|
+
end
|
736
|
+
end
|
737
|
+
|
738
|
+
class Distance
|
739
|
+
# @private
|
740
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
741
|
+
property :unit, as: 'unit'
|
742
|
+
property :value, :numeric_string => true, as: 'value'
|
743
|
+
end
|
744
|
+
end
|
745
|
+
|
746
|
+
class EmailPreferences
|
747
|
+
# @private
|
748
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
749
|
+
property :name, as: 'name'
|
750
|
+
property :news_and_tips, as: 'newsAndTips'
|
751
|
+
end
|
752
|
+
end
|
753
|
+
|
754
|
+
class Empty
|
755
|
+
# @private
|
756
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
757
|
+
end
|
758
|
+
end
|
759
|
+
|
760
|
+
class EnableProgramRequest
|
761
|
+
# @private
|
762
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
763
|
+
end
|
764
|
+
end
|
765
|
+
|
766
|
+
class GeoTargetArea
|
767
|
+
# @private
|
768
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
769
|
+
collection :geotarget_criteria_ids, as: 'geotargetCriteriaIds'
|
770
|
+
end
|
771
|
+
end
|
772
|
+
|
773
|
+
class Headers
|
774
|
+
# @private
|
775
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
776
|
+
collection :locations, as: 'locations', class: Google::Apis::MerchantapiAccountsV1beta::LocationIdSet, decorator: Google::Apis::MerchantapiAccountsV1beta::LocationIdSet::Representation
|
777
|
+
|
778
|
+
collection :number_of_items, as: 'numberOfItems'
|
779
|
+
collection :postal_code_group_names, as: 'postalCodeGroupNames'
|
780
|
+
collection :prices, as: 'prices', class: Google::Apis::MerchantapiAccountsV1beta::Price, decorator: Google::Apis::MerchantapiAccountsV1beta::Price::Representation
|
781
|
+
|
782
|
+
collection :weights, as: 'weights', class: Google::Apis::MerchantapiAccountsV1beta::Weight, decorator: Google::Apis::MerchantapiAccountsV1beta::Weight::Representation
|
783
|
+
|
784
|
+
end
|
785
|
+
end
|
786
|
+
|
787
|
+
class Homepage
|
788
|
+
# @private
|
789
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
790
|
+
property :claimed, as: 'claimed'
|
791
|
+
property :name, as: 'name'
|
792
|
+
property :uri, as: 'uri'
|
793
|
+
end
|
794
|
+
end
|
795
|
+
|
796
|
+
class IdentityAttribute
|
797
|
+
# @private
|
798
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
799
|
+
property :identity_declaration, as: 'identityDeclaration'
|
800
|
+
end
|
801
|
+
end
|
802
|
+
|
803
|
+
class Impact
|
804
|
+
# @private
|
805
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
806
|
+
property :region_code, as: 'regionCode'
|
807
|
+
property :severity, as: 'severity'
|
808
|
+
end
|
809
|
+
end
|
810
|
+
|
811
|
+
class ImpactedDestination
|
812
|
+
# @private
|
813
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
814
|
+
collection :impacts, as: 'impacts', class: Google::Apis::MerchantapiAccountsV1beta::Impact, decorator: Google::Apis::MerchantapiAccountsV1beta::Impact::Representation
|
815
|
+
|
816
|
+
property :reporting_context, as: 'reportingContext'
|
817
|
+
end
|
818
|
+
end
|
819
|
+
|
820
|
+
class Interval
|
821
|
+
# @private
|
822
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
823
|
+
property :end_time, as: 'endTime'
|
824
|
+
property :start_time, as: 'startTime'
|
825
|
+
end
|
826
|
+
end
|
827
|
+
|
828
|
+
class ListAccountIssuesResponse
|
829
|
+
# @private
|
830
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
831
|
+
collection :account_issues, as: 'accountIssues', class: Google::Apis::MerchantapiAccountsV1beta::AccountIssue, decorator: Google::Apis::MerchantapiAccountsV1beta::AccountIssue::Representation
|
832
|
+
|
833
|
+
property :next_page_token, as: 'nextPageToken'
|
834
|
+
end
|
835
|
+
end
|
836
|
+
|
837
|
+
class ListAccountTaxResponse
|
838
|
+
# @private
|
839
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
840
|
+
collection :account_taxes, as: 'accountTaxes', class: Google::Apis::MerchantapiAccountsV1beta::AccountTax, decorator: Google::Apis::MerchantapiAccountsV1beta::AccountTax::Representation
|
841
|
+
|
842
|
+
property :next_page_token, as: 'nextPageToken'
|
843
|
+
end
|
844
|
+
end
|
845
|
+
|
846
|
+
class ListAccountsResponse
|
847
|
+
# @private
|
848
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
849
|
+
collection :accounts, as: 'accounts', class: Google::Apis::MerchantapiAccountsV1beta::Account, decorator: Google::Apis::MerchantapiAccountsV1beta::Account::Representation
|
850
|
+
|
851
|
+
property :next_page_token, as: 'nextPageToken'
|
852
|
+
end
|
853
|
+
end
|
854
|
+
|
855
|
+
class ListOnlineReturnPoliciesResponse
|
856
|
+
# @private
|
857
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
858
|
+
property :next_page_token, as: 'nextPageToken'
|
859
|
+
collection :online_return_policies, as: 'onlineReturnPolicies', class: Google::Apis::MerchantapiAccountsV1beta::OnlineReturnPolicy, decorator: Google::Apis::MerchantapiAccountsV1beta::OnlineReturnPolicy::Representation
|
860
|
+
|
861
|
+
end
|
862
|
+
end
|
863
|
+
|
864
|
+
class ListProgramsResponse
|
865
|
+
# @private
|
866
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
867
|
+
property :next_page_token, as: 'nextPageToken'
|
868
|
+
collection :programs, as: 'programs', class: Google::Apis::MerchantapiAccountsV1beta::Program, decorator: Google::Apis::MerchantapiAccountsV1beta::Program::Representation
|
869
|
+
|
870
|
+
end
|
871
|
+
end
|
872
|
+
|
873
|
+
class ListRegionsResponse
|
874
|
+
# @private
|
875
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
876
|
+
property :next_page_token, as: 'nextPageToken'
|
877
|
+
collection :regions, as: 'regions', class: Google::Apis::MerchantapiAccountsV1beta::Region, decorator: Google::Apis::MerchantapiAccountsV1beta::Region::Representation
|
878
|
+
|
879
|
+
end
|
880
|
+
end
|
881
|
+
|
882
|
+
class ListSubAccountsResponse
|
883
|
+
# @private
|
884
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
885
|
+
collection :accounts, as: 'accounts', class: Google::Apis::MerchantapiAccountsV1beta::Account, decorator: Google::Apis::MerchantapiAccountsV1beta::Account::Representation
|
886
|
+
|
887
|
+
property :next_page_token, as: 'nextPageToken'
|
888
|
+
end
|
889
|
+
end
|
890
|
+
|
891
|
+
class ListUsersResponse
|
892
|
+
# @private
|
893
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
894
|
+
property :next_page_token, as: 'nextPageToken'
|
895
|
+
collection :users, as: 'users', class: Google::Apis::MerchantapiAccountsV1beta::User, decorator: Google::Apis::MerchantapiAccountsV1beta::User::Representation
|
896
|
+
|
897
|
+
end
|
898
|
+
end
|
899
|
+
|
900
|
+
class LocalCutoffTime
|
901
|
+
# @private
|
902
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
903
|
+
property :hour, :numeric_string => true, as: 'hour'
|
904
|
+
property :minute, :numeric_string => true, as: 'minute'
|
905
|
+
end
|
906
|
+
end
|
907
|
+
|
908
|
+
class LocationIdSet
|
909
|
+
# @private
|
910
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
911
|
+
collection :location_ids, as: 'locationIds'
|
912
|
+
end
|
913
|
+
end
|
914
|
+
|
915
|
+
class LoyaltyProgram
|
916
|
+
# @private
|
917
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
918
|
+
collection :loyalty_program_tiers, as: 'loyaltyProgramTiers', class: Google::Apis::MerchantapiAccountsV1beta::LoyaltyProgramTiers, decorator: Google::Apis::MerchantapiAccountsV1beta::LoyaltyProgramTiers::Representation
|
919
|
+
|
920
|
+
property :program_label, as: 'programLabel'
|
921
|
+
end
|
922
|
+
end
|
923
|
+
|
924
|
+
class LoyaltyProgramTiers
|
925
|
+
# @private
|
926
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
927
|
+
property :tier_label, as: 'tierLabel'
|
928
|
+
end
|
929
|
+
end
|
930
|
+
|
931
|
+
class MinimumOrderValueTable
|
932
|
+
# @private
|
933
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
934
|
+
collection :store_code_set_with_movs, as: 'storeCodeSetWithMovs', class: Google::Apis::MerchantapiAccountsV1beta::StoreCodeSetWithMov, decorator: Google::Apis::MerchantapiAccountsV1beta::StoreCodeSetWithMov::Representation
|
935
|
+
|
936
|
+
end
|
937
|
+
end
|
938
|
+
|
939
|
+
class OnlineReturnPolicy
|
940
|
+
# @private
|
941
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
942
|
+
property :accept_defective_only, as: 'acceptDefectiveOnly'
|
943
|
+
property :accept_exchange, as: 'acceptExchange'
|
944
|
+
collection :countries, as: 'countries'
|
945
|
+
collection :item_conditions, as: 'itemConditions'
|
946
|
+
property :label, as: 'label'
|
947
|
+
property :name, as: 'name'
|
948
|
+
property :policy, as: 'policy', class: Google::Apis::MerchantapiAccountsV1beta::Policy, decorator: Google::Apis::MerchantapiAccountsV1beta::Policy::Representation
|
949
|
+
|
950
|
+
property :process_refund_days, as: 'processRefundDays'
|
951
|
+
property :restocking_fee, as: 'restockingFee', class: Google::Apis::MerchantapiAccountsV1beta::RestockingFee, decorator: Google::Apis::MerchantapiAccountsV1beta::RestockingFee::Representation
|
952
|
+
|
953
|
+
collection :return_methods, as: 'returnMethods'
|
954
|
+
property :return_policy_id, as: 'returnPolicyId'
|
955
|
+
property :return_policy_uri, as: 'returnPolicyUri'
|
956
|
+
property :return_shipping_fee, as: 'returnShippingFee', class: Google::Apis::MerchantapiAccountsV1beta::ReturnShippingFee, decorator: Google::Apis::MerchantapiAccountsV1beta::ReturnShippingFee::Representation
|
957
|
+
|
958
|
+
end
|
959
|
+
end
|
960
|
+
|
961
|
+
class PhoneNumber
|
962
|
+
# @private
|
963
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
964
|
+
property :e164_number, as: 'e164Number'
|
965
|
+
property :extension, as: 'extension'
|
966
|
+
property :short_code, as: 'shortCode', class: Google::Apis::MerchantapiAccountsV1beta::ShortCode, decorator: Google::Apis::MerchantapiAccountsV1beta::ShortCode::Representation
|
967
|
+
|
968
|
+
end
|
969
|
+
end
|
970
|
+
|
971
|
+
class Policy
|
972
|
+
# @private
|
973
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
974
|
+
property :days, :numeric_string => true, as: 'days'
|
975
|
+
property :type, as: 'type'
|
976
|
+
end
|
977
|
+
end
|
978
|
+
|
979
|
+
class PostalAddress
|
980
|
+
# @private
|
981
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
982
|
+
collection :address_lines, as: 'addressLines'
|
983
|
+
property :administrative_area, as: 'administrativeArea'
|
984
|
+
property :language_code, as: 'languageCode'
|
985
|
+
property :locality, as: 'locality'
|
986
|
+
property :organization, as: 'organization'
|
987
|
+
property :postal_code, as: 'postalCode'
|
988
|
+
collection :recipients, as: 'recipients'
|
989
|
+
property :region_code, as: 'regionCode'
|
990
|
+
property :revision, as: 'revision'
|
991
|
+
property :sorting_code, as: 'sortingCode'
|
992
|
+
property :sublocality, as: 'sublocality'
|
993
|
+
end
|
994
|
+
end
|
995
|
+
|
996
|
+
class PostalCodeArea
|
997
|
+
# @private
|
998
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
999
|
+
collection :postal_codes, as: 'postalCodes', class: Google::Apis::MerchantapiAccountsV1beta::PostalCodeRange, decorator: Google::Apis::MerchantapiAccountsV1beta::PostalCodeRange::Representation
|
1000
|
+
|
1001
|
+
property :region_code, as: 'regionCode'
|
1002
|
+
end
|
1003
|
+
end
|
1004
|
+
|
1005
|
+
class PostalCodeRange
|
1006
|
+
# @private
|
1007
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1008
|
+
property :begin, as: 'begin'
|
1009
|
+
property :end, as: 'end'
|
1010
|
+
end
|
1011
|
+
end
|
1012
|
+
|
1013
|
+
class Price
|
1014
|
+
# @private
|
1015
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1016
|
+
property :amount_micros, :numeric_string => true, as: 'amountMicros'
|
1017
|
+
property :currency_code, as: 'currencyCode'
|
1018
|
+
end
|
1019
|
+
end
|
1020
|
+
|
1021
|
+
class ProductChange
|
1022
|
+
# @private
|
1023
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1024
|
+
property :new_value, as: 'newValue'
|
1025
|
+
property :old_value, as: 'oldValue'
|
1026
|
+
property :region_code, as: 'regionCode'
|
1027
|
+
property :reporting_context, as: 'reportingContext'
|
1028
|
+
end
|
1029
|
+
end
|
1030
|
+
|
1031
|
+
class ProductStatusChangeMessage
|
1032
|
+
# @private
|
1033
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1034
|
+
property :account, as: 'account'
|
1035
|
+
property :attribute, as: 'attribute'
|
1036
|
+
collection :changes, as: 'changes', class: Google::Apis::MerchantapiAccountsV1beta::ProductChange, decorator: Google::Apis::MerchantapiAccountsV1beta::ProductChange::Representation
|
1037
|
+
|
1038
|
+
property :managing_account, as: 'managingAccount'
|
1039
|
+
property :resource, as: 'resource'
|
1040
|
+
property :resource_id, as: 'resourceId'
|
1041
|
+
property :resource_type, as: 'resourceType'
|
1042
|
+
end
|
1043
|
+
end
|
1044
|
+
|
1045
|
+
class Program
|
1046
|
+
# @private
|
1047
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1048
|
+
collection :active_region_codes, as: 'activeRegionCodes'
|
1049
|
+
property :documentation_uri, as: 'documentationUri'
|
1050
|
+
property :name, as: 'name'
|
1051
|
+
property :state, as: 'state'
|
1052
|
+
collection :unmet_requirements, as: 'unmetRequirements', class: Google::Apis::MerchantapiAccountsV1beta::Requirement, decorator: Google::Apis::MerchantapiAccountsV1beta::Requirement::Representation
|
1053
|
+
|
1054
|
+
end
|
1055
|
+
end
|
1056
|
+
|
1057
|
+
class RateGroup
|
1058
|
+
# @private
|
1059
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1060
|
+
collection :applicable_shipping_labels, as: 'applicableShippingLabels'
|
1061
|
+
collection :carrier_rates, as: 'carrierRates', class: Google::Apis::MerchantapiAccountsV1beta::CarrierRate, decorator: Google::Apis::MerchantapiAccountsV1beta::CarrierRate::Representation
|
1062
|
+
|
1063
|
+
property :main_table, as: 'mainTable', class: Google::Apis::MerchantapiAccountsV1beta::Table, decorator: Google::Apis::MerchantapiAccountsV1beta::Table::Representation
|
1064
|
+
|
1065
|
+
property :name, as: 'name'
|
1066
|
+
property :single_value, as: 'singleValue', class: Google::Apis::MerchantapiAccountsV1beta::Value, decorator: Google::Apis::MerchantapiAccountsV1beta::Value::Representation
|
1067
|
+
|
1068
|
+
collection :subtables, as: 'subtables', class: Google::Apis::MerchantapiAccountsV1beta::Table, decorator: Google::Apis::MerchantapiAccountsV1beta::Table::Representation
|
1069
|
+
|
1070
|
+
end
|
1071
|
+
end
|
1072
|
+
|
1073
|
+
class Region
|
1074
|
+
# @private
|
1075
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1076
|
+
property :display_name, as: 'displayName'
|
1077
|
+
property :geotarget_area, as: 'geotargetArea', class: Google::Apis::MerchantapiAccountsV1beta::GeoTargetArea, decorator: Google::Apis::MerchantapiAccountsV1beta::GeoTargetArea::Representation
|
1078
|
+
|
1079
|
+
property :name, as: 'name'
|
1080
|
+
property :postal_code_area, as: 'postalCodeArea', class: Google::Apis::MerchantapiAccountsV1beta::PostalCodeArea, decorator: Google::Apis::MerchantapiAccountsV1beta::PostalCodeArea::Representation
|
1081
|
+
|
1082
|
+
property :regional_inventory_eligible, as: 'regionalInventoryEligible'
|
1083
|
+
property :shipping_eligible, as: 'shippingEligible'
|
1084
|
+
end
|
1085
|
+
end
|
1086
|
+
|
1087
|
+
class Required
|
1088
|
+
# @private
|
1089
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1090
|
+
property :terms_of_service, as: 'termsOfService'
|
1091
|
+
property :tos_file_uri, as: 'tosFileUri'
|
1092
|
+
end
|
1093
|
+
end
|
1094
|
+
|
1095
|
+
class Requirement
|
1096
|
+
# @private
|
1097
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1098
|
+
collection :affected_region_codes, as: 'affectedRegionCodes'
|
1099
|
+
property :documentation_uri, as: 'documentationUri'
|
1100
|
+
property :title, as: 'title'
|
1101
|
+
end
|
1102
|
+
end
|
1103
|
+
|
1104
|
+
class RestockingFee
|
1105
|
+
# @private
|
1106
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1107
|
+
property :fixed_fee, as: 'fixedFee', class: Google::Apis::MerchantapiAccountsV1beta::Price, decorator: Google::Apis::MerchantapiAccountsV1beta::Price::Representation
|
1108
|
+
|
1109
|
+
property :micro_percent, as: 'microPercent'
|
1110
|
+
end
|
1111
|
+
end
|
1112
|
+
|
1113
|
+
class ReturnShippingFee
|
1114
|
+
# @private
|
1115
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1116
|
+
property :fixed_fee, as: 'fixedFee', class: Google::Apis::MerchantapiAccountsV1beta::Price, decorator: Google::Apis::MerchantapiAccountsV1beta::Price::Representation
|
1117
|
+
|
1118
|
+
property :type, as: 'type'
|
1119
|
+
end
|
1120
|
+
end
|
1121
|
+
|
1122
|
+
class Row
|
1123
|
+
# @private
|
1124
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1125
|
+
collection :cells, as: 'cells', class: Google::Apis::MerchantapiAccountsV1beta::Value, decorator: Google::Apis::MerchantapiAccountsV1beta::Value::Representation
|
1126
|
+
|
1127
|
+
end
|
1128
|
+
end
|
1129
|
+
|
1130
|
+
class Service
|
1131
|
+
# @private
|
1132
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1133
|
+
property :active, as: 'active'
|
1134
|
+
property :currency_code, as: 'currencyCode'
|
1135
|
+
collection :delivery_countries, as: 'deliveryCountries'
|
1136
|
+
property :delivery_time, as: 'deliveryTime', class: Google::Apis::MerchantapiAccountsV1beta::DeliveryTime, decorator: Google::Apis::MerchantapiAccountsV1beta::DeliveryTime::Representation
|
1137
|
+
|
1138
|
+
collection :loyalty_programs, as: 'loyaltyPrograms', class: Google::Apis::MerchantapiAccountsV1beta::LoyaltyProgram, decorator: Google::Apis::MerchantapiAccountsV1beta::LoyaltyProgram::Representation
|
1139
|
+
|
1140
|
+
property :minimum_order_value, as: 'minimumOrderValue', class: Google::Apis::MerchantapiAccountsV1beta::Price, decorator: Google::Apis::MerchantapiAccountsV1beta::Price::Representation
|
1141
|
+
|
1142
|
+
property :minimum_order_value_table, as: 'minimumOrderValueTable', class: Google::Apis::MerchantapiAccountsV1beta::MinimumOrderValueTable, decorator: Google::Apis::MerchantapiAccountsV1beta::MinimumOrderValueTable::Representation
|
1143
|
+
|
1144
|
+
collection :rate_groups, as: 'rateGroups', class: Google::Apis::MerchantapiAccountsV1beta::RateGroup, decorator: Google::Apis::MerchantapiAccountsV1beta::RateGroup::Representation
|
1145
|
+
|
1146
|
+
property :service_name, as: 'serviceName'
|
1147
|
+
property :shipment_type, as: 'shipmentType'
|
1148
|
+
property :store_config, as: 'storeConfig', class: Google::Apis::MerchantapiAccountsV1beta::StoreConfig, decorator: Google::Apis::MerchantapiAccountsV1beta::StoreConfig::Representation
|
1149
|
+
|
1150
|
+
end
|
1151
|
+
end
|
1152
|
+
|
1153
|
+
class ShippingSettings
|
1154
|
+
# @private
|
1155
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1156
|
+
property :etag, as: 'etag'
|
1157
|
+
property :name, as: 'name'
|
1158
|
+
collection :services, as: 'services', class: Google::Apis::MerchantapiAccountsV1beta::Service, decorator: Google::Apis::MerchantapiAccountsV1beta::Service::Representation
|
1159
|
+
|
1160
|
+
collection :warehouses, as: 'warehouses', class: Google::Apis::MerchantapiAccountsV1beta::Warehouse, decorator: Google::Apis::MerchantapiAccountsV1beta::Warehouse::Representation
|
1161
|
+
|
1162
|
+
end
|
1163
|
+
end
|
1164
|
+
|
1165
|
+
class ShortCode
|
1166
|
+
# @private
|
1167
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1168
|
+
property :number, as: 'number'
|
1169
|
+
property :region_code, as: 'regionCode'
|
1170
|
+
end
|
1171
|
+
end
|
1172
|
+
|
1173
|
+
class StoreCodeSetWithMov
|
1174
|
+
# @private
|
1175
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1176
|
+
collection :store_codes, as: 'storeCodes'
|
1177
|
+
property :value, as: 'value', class: Google::Apis::MerchantapiAccountsV1beta::Price, decorator: Google::Apis::MerchantapiAccountsV1beta::Price::Representation
|
1178
|
+
|
1179
|
+
end
|
1180
|
+
end
|
1181
|
+
|
1182
|
+
class StoreConfig
|
1183
|
+
# @private
|
1184
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1185
|
+
property :cutoff_config, as: 'cutoffConfig', class: Google::Apis::MerchantapiAccountsV1beta::CutoffConfig, decorator: Google::Apis::MerchantapiAccountsV1beta::CutoffConfig::Representation
|
1186
|
+
|
1187
|
+
property :service_radius, as: 'serviceRadius', class: Google::Apis::MerchantapiAccountsV1beta::Distance, decorator: Google::Apis::MerchantapiAccountsV1beta::Distance::Representation
|
1188
|
+
|
1189
|
+
collection :store_codes, as: 'storeCodes'
|
1190
|
+
property :store_service_type, as: 'storeServiceType'
|
1191
|
+
end
|
1192
|
+
end
|
1193
|
+
|
1194
|
+
class Table
|
1195
|
+
# @private
|
1196
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1197
|
+
property :column_headers, as: 'columnHeaders', class: Google::Apis::MerchantapiAccountsV1beta::Headers, decorator: Google::Apis::MerchantapiAccountsV1beta::Headers::Representation
|
1198
|
+
|
1199
|
+
property :name, as: 'name'
|
1200
|
+
property :row_headers, as: 'rowHeaders', class: Google::Apis::MerchantapiAccountsV1beta::Headers, decorator: Google::Apis::MerchantapiAccountsV1beta::Headers::Representation
|
1201
|
+
|
1202
|
+
collection :rows, as: 'rows', class: Google::Apis::MerchantapiAccountsV1beta::Row, decorator: Google::Apis::MerchantapiAccountsV1beta::Row::Representation
|
1203
|
+
|
1204
|
+
end
|
1205
|
+
end
|
1206
|
+
|
1207
|
+
class TaxPostalCodeRange
|
1208
|
+
# @private
|
1209
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1210
|
+
property :end, as: 'end'
|
1211
|
+
property :start, as: 'start'
|
1212
|
+
end
|
1213
|
+
end
|
1214
|
+
|
1215
|
+
class TaxRule
|
1216
|
+
# @private
|
1217
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1218
|
+
property :effective_time_period, as: 'effectiveTimePeriod', class: Google::Apis::MerchantapiAccountsV1beta::Interval, decorator: Google::Apis::MerchantapiAccountsV1beta::Interval::Representation
|
1219
|
+
|
1220
|
+
property :location_id, :numeric_string => true, as: 'locationId'
|
1221
|
+
property :post_code_range, as: 'postCodeRange', class: Google::Apis::MerchantapiAccountsV1beta::TaxPostalCodeRange, decorator: Google::Apis::MerchantapiAccountsV1beta::TaxPostalCodeRange::Representation
|
1222
|
+
|
1223
|
+
property :region_code, as: 'regionCode'
|
1224
|
+
property :self_specified_rate_micros, :numeric_string => true, as: 'selfSpecifiedRateMicros'
|
1225
|
+
property :shipping_taxed, as: 'shippingTaxed'
|
1226
|
+
property :use_google_rate, as: 'useGoogleRate'
|
1227
|
+
end
|
1228
|
+
end
|
1229
|
+
|
1230
|
+
class TermsOfService
|
1231
|
+
# @private
|
1232
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1233
|
+
property :external, as: 'external'
|
1234
|
+
property :file_uri, as: 'fileUri'
|
1235
|
+
property :kind, as: 'kind'
|
1236
|
+
property :name, as: 'name'
|
1237
|
+
property :region_code, as: 'regionCode'
|
1238
|
+
end
|
1239
|
+
end
|
1240
|
+
|
1241
|
+
class TermsOfServiceAgreementState
|
1242
|
+
# @private
|
1243
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1244
|
+
property :accepted, as: 'accepted', class: Google::Apis::MerchantapiAccountsV1beta::Accepted, decorator: Google::Apis::MerchantapiAccountsV1beta::Accepted::Representation
|
1245
|
+
|
1246
|
+
property :name, as: 'name'
|
1247
|
+
property :region_code, as: 'regionCode'
|
1248
|
+
property :required, as: 'required', class: Google::Apis::MerchantapiAccountsV1beta::Required, decorator: Google::Apis::MerchantapiAccountsV1beta::Required::Representation
|
1249
|
+
|
1250
|
+
property :terms_of_service_kind, as: 'termsOfServiceKind'
|
1251
|
+
end
|
1252
|
+
end
|
1253
|
+
|
1254
|
+
class TimeZone
|
1255
|
+
# @private
|
1256
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1257
|
+
property :id, as: 'id'
|
1258
|
+
property :version, as: 'version'
|
1259
|
+
end
|
1260
|
+
end
|
1261
|
+
|
1262
|
+
class TransitTable
|
1263
|
+
# @private
|
1264
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1265
|
+
collection :postal_code_group_names, as: 'postalCodeGroupNames'
|
1266
|
+
collection :rows, as: 'rows', class: Google::Apis::MerchantapiAccountsV1beta::TransitTimeRow, decorator: Google::Apis::MerchantapiAccountsV1beta::TransitTimeRow::Representation
|
1267
|
+
|
1268
|
+
collection :transit_time_labels, as: 'transitTimeLabels'
|
1269
|
+
end
|
1270
|
+
end
|
1271
|
+
|
1272
|
+
class TransitTimeRow
|
1273
|
+
# @private
|
1274
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1275
|
+
collection :values, as: 'values', class: Google::Apis::MerchantapiAccountsV1beta::TransitTimeValue, decorator: Google::Apis::MerchantapiAccountsV1beta::TransitTimeValue::Representation
|
1276
|
+
|
1277
|
+
end
|
1278
|
+
end
|
1279
|
+
|
1280
|
+
class TransitTimeValue
|
1281
|
+
# @private
|
1282
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1283
|
+
property :max_transit_days, as: 'maxTransitDays'
|
1284
|
+
property :min_transit_days, as: 'minTransitDays'
|
1285
|
+
end
|
1286
|
+
end
|
1287
|
+
|
1288
|
+
class UnclaimHomepageRequest
|
1289
|
+
# @private
|
1290
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1291
|
+
end
|
1292
|
+
end
|
1293
|
+
|
1294
|
+
class User
|
1295
|
+
# @private
|
1296
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1297
|
+
collection :access_rights, as: 'accessRights'
|
1298
|
+
property :name, as: 'name'
|
1299
|
+
property :state, as: 'state'
|
1300
|
+
end
|
1301
|
+
end
|
1302
|
+
|
1303
|
+
class Value
|
1304
|
+
# @private
|
1305
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1306
|
+
property :carrier_rate, as: 'carrierRate'
|
1307
|
+
property :flat_rate, as: 'flatRate', class: Google::Apis::MerchantapiAccountsV1beta::Price, decorator: Google::Apis::MerchantapiAccountsV1beta::Price::Representation
|
1308
|
+
|
1309
|
+
property :no_shipping, as: 'noShipping'
|
1310
|
+
property :price_percentage, as: 'pricePercentage'
|
1311
|
+
property :subtable, as: 'subtable'
|
1312
|
+
end
|
1313
|
+
end
|
1314
|
+
|
1315
|
+
class Warehouse
|
1316
|
+
# @private
|
1317
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1318
|
+
property :business_day_config, as: 'businessDayConfig', class: Google::Apis::MerchantapiAccountsV1beta::BusinessDayConfig, decorator: Google::Apis::MerchantapiAccountsV1beta::BusinessDayConfig::Representation
|
1319
|
+
|
1320
|
+
property :cutoff_time, as: 'cutoffTime', class: Google::Apis::MerchantapiAccountsV1beta::WarehouseCutoffTime, decorator: Google::Apis::MerchantapiAccountsV1beta::WarehouseCutoffTime::Representation
|
1321
|
+
|
1322
|
+
property :handling_days, :numeric_string => true, as: 'handlingDays'
|
1323
|
+
property :name, as: 'name'
|
1324
|
+
property :shipping_address, as: 'shippingAddress', class: Google::Apis::MerchantapiAccountsV1beta::Address, decorator: Google::Apis::MerchantapiAccountsV1beta::Address::Representation
|
1325
|
+
|
1326
|
+
end
|
1327
|
+
end
|
1328
|
+
|
1329
|
+
class WarehouseBasedDeliveryTime
|
1330
|
+
# @private
|
1331
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1332
|
+
property :carrier, as: 'carrier'
|
1333
|
+
property :carrier_service, as: 'carrierService'
|
1334
|
+
property :warehouse, as: 'warehouse'
|
1335
|
+
end
|
1336
|
+
end
|
1337
|
+
|
1338
|
+
class WarehouseCutoffTime
|
1339
|
+
# @private
|
1340
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1341
|
+
property :hour, as: 'hour'
|
1342
|
+
property :minute, as: 'minute'
|
1343
|
+
end
|
1344
|
+
end
|
1345
|
+
|
1346
|
+
class Weight
|
1347
|
+
# @private
|
1348
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1349
|
+
property :amount_micros, :numeric_string => true, as: 'amountMicros'
|
1350
|
+
property :unit, as: 'unit'
|
1351
|
+
end
|
1352
|
+
end
|
1353
|
+
end
|
1354
|
+
end
|
1355
|
+
end
|