Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(441)

Side by Side Diff: generated/googleapis/lib/content/v2.dart

Issue 2987103002: Api-Roll 52: 2017-07-31 (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // This is a generated file (see the discoveryapis_generator project). 1 // This is a generated file (see the discoveryapis_generator project).
2 2
3 library googleapis.content.v2; 3 library googleapis.content.v2;
4 4
5 import 'dart:core' as core; 5 import 'dart:core' as core;
6 import 'dart:async' as async; 6 import 'dart:async' as async;
7 import 'dart:convert' as convert; 7 import 'dart:convert' as convert;
8 8
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons;
10 import 'package:http/http.dart' as http; 10 import 'package:http/http.dart' as http;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 queryParams: _queryParams, 77 queryParams: _queryParams,
78 uploadOptions: _uploadOptions, 78 uploadOptions: _uploadOptions,
79 uploadMedia: _uploadMedia, 79 uploadMedia: _uploadMedia,
80 downloadOptions: _downloadOptions); 80 downloadOptions: _downloadOptions);
81 return _response.then((data) => new AccountsAuthInfoResponse.fromJson(data)) ; 81 return _response.then((data) => new AccountsAuthInfoResponse.fromJson(data)) ;
82 } 82 }
83 83
84 /** 84 /**
85 * Claims the website of a Merchant Center sub-account. This method can only 85 * Claims the website of a Merchant Center sub-account. This method can only
86 * be called for accounts to which the managing account has access: either the 86 * be called for accounts to which the managing account has access: either the
87 * managing account itself or sub-accounts if the managing account is a 87 * managing account itself for any Merchant Center account, or any sub-account
88 * multi-client account. 88 * when the managing account is a multi-client account.
89 * 89 *
90 * Request parameters: 90 * Request parameters:
91 * 91 *
92 * [merchantId] - The ID of the managing account. 92 * [merchantId] - The ID of the managing account.
93 * 93 *
94 * [accountId] - The ID of the account whose website is claimed. 94 * [accountId] - The ID of the account whose website is claimed.
95 * 95 *
96 * [overwrite] - Flag to remove any existing claim on the requested website by 96 * [overwrite] - Flag to remove any existing claim on the requested website by
97 * another account and replace it with a claim from this account. 97 * another account and replace it with a claim from this account.
98 * 98 *
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 queryParams: _queryParams, 225 queryParams: _queryParams,
226 uploadOptions: _uploadOptions, 226 uploadOptions: _uploadOptions,
227 uploadMedia: _uploadMedia, 227 uploadMedia: _uploadMedia,
228 downloadOptions: _downloadOptions); 228 downloadOptions: _downloadOptions);
229 return _response.then((data) => null); 229 return _response.then((data) => null);
230 } 230 }
231 231
232 /** 232 /**
233 * Retrieves a Merchant Center account. This method can only be called for 233 * Retrieves a Merchant Center account. This method can only be called for
234 * accounts to which the managing account has access: either the managing 234 * accounts to which the managing account has access: either the managing
235 * account itself or sub-accounts if the managing account is a multi-client 235 * account itself for any Merchant Center account, or any sub-account when the
236 * account. 236 * managing account is a multi-client account.
237 * 237 *
238 * Request parameters: 238 * Request parameters:
239 * 239 *
240 * [merchantId] - The ID of the managing account. 240 * [merchantId] - The ID of the managing account.
241 * 241 *
242 * [accountId] - The ID of the account. 242 * [accountId] - The ID of the account.
243 * 243 *
244 * Completes with a [Account]. 244 * Completes with a [Account].
245 * 245 *
246 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 246 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 queryParams: _queryParams, 373 queryParams: _queryParams,
374 uploadOptions: _uploadOptions, 374 uploadOptions: _uploadOptions,
375 uploadMedia: _uploadMedia, 375 uploadMedia: _uploadMedia,
376 downloadOptions: _downloadOptions); 376 downloadOptions: _downloadOptions);
377 return _response.then((data) => new AccountsListResponse.fromJson(data)); 377 return _response.then((data) => new AccountsListResponse.fromJson(data));
378 } 378 }
379 379
380 /** 380 /**
381 * Updates a Merchant Center account. This method can only be called for 381 * Updates a Merchant Center account. This method can only be called for
382 * accounts to which the managing account has access: either the managing 382 * accounts to which the managing account has access: either the managing
383 * account itself or sub-accounts if the managing account is a multi-client 383 * account itself for any Merchant Center account, or any sub-account when the
384 * account. This method supports patch semantics. 384 * managing account is a multi-client account. This method supports patch
385 * semantics.
385 * 386 *
386 * [request] - The metadata request object. 387 * [request] - The metadata request object.
387 * 388 *
388 * Request parameters: 389 * Request parameters:
389 * 390 *
390 * [merchantId] - The ID of the managing account. 391 * [merchantId] - The ID of the managing account.
391 * 392 *
392 * [accountId] - The ID of the account. 393 * [accountId] - The ID of the account.
393 * 394 *
394 * [dryRun] - Flag to run the request in dry-run mode. 395 * [dryRun] - Flag to run the request in dry-run mode.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 queryParams: _queryParams, 431 queryParams: _queryParams,
431 uploadOptions: _uploadOptions, 432 uploadOptions: _uploadOptions,
432 uploadMedia: _uploadMedia, 433 uploadMedia: _uploadMedia,
433 downloadOptions: _downloadOptions); 434 downloadOptions: _downloadOptions);
434 return _response.then((data) => new Account.fromJson(data)); 435 return _response.then((data) => new Account.fromJson(data));
435 } 436 }
436 437
437 /** 438 /**
438 * Updates a Merchant Center account. This method can only be called for 439 * Updates a Merchant Center account. This method can only be called for
439 * accounts to which the managing account has access: either the managing 440 * accounts to which the managing account has access: either the managing
440 * account itself or sub-accounts if the managing account is a multi-client 441 * account itself for any Merchant Center account, or any sub-account when the
441 * account. 442 * managing account is a multi-client account.
442 * 443 *
443 * [request] - The metadata request object. 444 * [request] - The metadata request object.
444 * 445 *
445 * Request parameters: 446 * Request parameters:
446 * 447 *
447 * [merchantId] - The ID of the managing account. 448 * [merchantId] - The ID of the managing account.
448 * 449 *
449 * [accountId] - The ID of the account. 450 * [accountId] - The ID of the account.
450 * 451 *
451 * [dryRun] - Flag to run the request in dry-run mode. 452 * [dryRun] - Flag to run the request in dry-run mode.
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 queryParams: _queryParams, 534 queryParams: _queryParams,
534 uploadOptions: _uploadOptions, 535 uploadOptions: _uploadOptions,
535 uploadMedia: _uploadMedia, 536 uploadMedia: _uploadMedia,
536 downloadOptions: _downloadOptions); 537 downloadOptions: _downloadOptions);
537 return _response.then((data) => new AccountstatusesCustomBatchResponse.fromJ son(data)); 538 return _response.then((data) => new AccountstatusesCustomBatchResponse.fromJ son(data));
538 } 539 }
539 540
540 /** 541 /**
541 * Retrieves the status of a Merchant Center account. This method can only be 542 * Retrieves the status of a Merchant Center account. This method can only be
542 * called for accounts to which the managing account has access: either the 543 * called for accounts to which the managing account has access: either the
543 * managing account itself or sub-accounts if the managing account is a 544 * managing account itself for any Merchant Center account, or any sub-account
544 * multi-client account. 545 * when the managing account is a multi-client account.
545 * 546 *
546 * Request parameters: 547 * Request parameters:
547 * 548 *
548 * [merchantId] - The ID of the managing account. 549 * [merchantId] - The ID of the managing account.
549 * 550 *
550 * [accountId] - The ID of the account. 551 * [accountId] - The ID of the account.
551 * 552 *
552 * Completes with a [AccountStatus]. 553 * Completes with a [AccountStatus].
553 * 554 *
554 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 555 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 queryParams: _queryParams, 686 queryParams: _queryParams,
686 uploadOptions: _uploadOptions, 687 uploadOptions: _uploadOptions,
687 uploadMedia: _uploadMedia, 688 uploadMedia: _uploadMedia,
688 downloadOptions: _downloadOptions); 689 downloadOptions: _downloadOptions);
689 return _response.then((data) => new AccounttaxCustomBatchResponse.fromJson(d ata)); 690 return _response.then((data) => new AccounttaxCustomBatchResponse.fromJson(d ata));
690 } 691 }
691 692
692 /** 693 /**
693 * Retrieves the tax settings of the account. This method can only be called 694 * Retrieves the tax settings of the account. This method can only be called
694 * for accounts to which the managing account has access: either the managing 695 * for accounts to which the managing account has access: either the managing
695 * account itself or sub-accounts if the managing account is a multi-client 696 * account itself for any Merchant Center account, or any sub-account when the
696 * account. 697 * managing account is a multi-client account.
697 * 698 *
698 * Request parameters: 699 * Request parameters:
699 * 700 *
700 * [merchantId] - The ID of the managing account. 701 * [merchantId] - The ID of the managing account.
701 * 702 *
702 * [accountId] - The ID of the account for which to get/update account tax 703 * [accountId] - The ID of the account for which to get/update account tax
703 * settings. 704 * settings.
704 * 705 *
705 * Completes with a [AccountTax]. 706 * Completes with a [AccountTax].
706 * 707 *
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 queryParams: _queryParams, 785 queryParams: _queryParams,
785 uploadOptions: _uploadOptions, 786 uploadOptions: _uploadOptions,
786 uploadMedia: _uploadMedia, 787 uploadMedia: _uploadMedia,
787 downloadOptions: _downloadOptions); 788 downloadOptions: _downloadOptions);
788 return _response.then((data) => new AccounttaxListResponse.fromJson(data)); 789 return _response.then((data) => new AccounttaxListResponse.fromJson(data));
789 } 790 }
790 791
791 /** 792 /**
792 * Updates the tax settings of the account. This method can only be called for 793 * Updates the tax settings of the account. This method can only be called for
793 * accounts to which the managing account has access: either the managing 794 * accounts to which the managing account has access: either the managing
794 * account itself or sub-accounts if the managing account is a multi-client 795 * account itself for any Merchant Center account, or any sub-account when the
795 * account. This method supports patch semantics. 796 * managing account is a multi-client account. This method supports patch
797 * semantics.
796 * 798 *
797 * [request] - The metadata request object. 799 * [request] - The metadata request object.
798 * 800 *
799 * Request parameters: 801 * Request parameters:
800 * 802 *
801 * [merchantId] - The ID of the managing account. 803 * [merchantId] - The ID of the managing account.
802 * 804 *
803 * [accountId] - The ID of the account for which to get/update account tax 805 * [accountId] - The ID of the account for which to get/update account tax
804 * settings. 806 * settings.
805 * 807 *
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 queryParams: _queryParams, 844 queryParams: _queryParams,
843 uploadOptions: _uploadOptions, 845 uploadOptions: _uploadOptions,
844 uploadMedia: _uploadMedia, 846 uploadMedia: _uploadMedia,
845 downloadOptions: _downloadOptions); 847 downloadOptions: _downloadOptions);
846 return _response.then((data) => new AccountTax.fromJson(data)); 848 return _response.then((data) => new AccountTax.fromJson(data));
847 } 849 }
848 850
849 /** 851 /**
850 * Updates the tax settings of the account. This method can only be called for 852 * Updates the tax settings of the account. This method can only be called for
851 * accounts to which the managing account has access: either the managing 853 * accounts to which the managing account has access: either the managing
852 * account itself or sub-accounts if the managing account is a multi-client 854 * account itself for any Merchant Center account, or any sub-account when the
853 * account. 855 * managing account is a multi-client account.
854 * 856 *
855 * [request] - The metadata request object. 857 * [request] - The metadata request object.
856 * 858 *
857 * Request parameters: 859 * Request parameters:
858 * 860 *
859 * [merchantId] - The ID of the managing account. 861 * [merchantId] - The ID of the managing account.
860 * 862 *
861 * [accountId] - The ID of the account for which to get/update account tax 863 * [accountId] - The ID of the account for which to get/update account tax
862 * settings. 864 * settings.
863 * 865 *
(...skipping 1916 matching lines...) Expand 10 before | Expand all | Expand 10 after
2780 queryParams: _queryParams, 2782 queryParams: _queryParams,
2781 uploadOptions: _uploadOptions, 2783 uploadOptions: _uploadOptions,
2782 uploadMedia: _uploadMedia, 2784 uploadMedia: _uploadMedia,
2783 downloadOptions: _downloadOptions); 2785 downloadOptions: _downloadOptions);
2784 return _response.then((data) => new ShippingsettingsCustomBatchResponse.from Json(data)); 2786 return _response.then((data) => new ShippingsettingsCustomBatchResponse.from Json(data));
2785 } 2787 }
2786 2788
2787 /** 2789 /**
2788 * Retrieves the shipping settings of the account. This method can only be 2790 * Retrieves the shipping settings of the account. This method can only be
2789 * called for accounts to which the managing account has access: either the 2791 * called for accounts to which the managing account has access: either the
2790 * managing account itself or sub-accounts if the managing account is a 2792 * managing account itself for any Merchant Center account, or any sub-account
2791 * multi-client account. 2793 * when the managing account is a multi-client account.
2792 * 2794 *
2793 * Request parameters: 2795 * Request parameters:
2794 * 2796 *
2795 * [merchantId] - The ID of the managing account. 2797 * [merchantId] - The ID of the managing account.
2796 * 2798 *
2797 * [accountId] - The ID of the account for which to get/update shipping 2799 * [accountId] - The ID of the account for which to get/update shipping
2798 * settings. 2800 * settings.
2799 * 2801 *
2800 * Completes with a [ShippingSettings]. 2802 * Completes with a [ShippingSettings].
2801 * 2803 *
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
2919 queryParams: _queryParams, 2921 queryParams: _queryParams,
2920 uploadOptions: _uploadOptions, 2922 uploadOptions: _uploadOptions,
2921 uploadMedia: _uploadMedia, 2923 uploadMedia: _uploadMedia,
2922 downloadOptions: _downloadOptions); 2924 downloadOptions: _downloadOptions);
2923 return _response.then((data) => new ShippingsettingsListResponse.fromJson(da ta)); 2925 return _response.then((data) => new ShippingsettingsListResponse.fromJson(da ta));
2924 } 2926 }
2925 2927
2926 /** 2928 /**
2927 * Updates the shipping settings of the account. This method can only be 2929 * Updates the shipping settings of the account. This method can only be
2928 * called for accounts to which the managing account has access: either the 2930 * called for accounts to which the managing account has access: either the
2929 * managing account itself or sub-accounts if the managing account is a 2931 * managing account itself for any Merchant Center account, or any sub-account
2930 * multi-client account. This method supports patch semantics. 2932 * when the managing account is a multi-client account. This method supports
2933 * patch semantics.
2931 * 2934 *
2932 * [request] - The metadata request object. 2935 * [request] - The metadata request object.
2933 * 2936 *
2934 * Request parameters: 2937 * Request parameters:
2935 * 2938 *
2936 * [merchantId] - The ID of the managing account. 2939 * [merchantId] - The ID of the managing account.
2937 * 2940 *
2938 * [accountId] - The ID of the account for which to get/update shipping 2941 * [accountId] - The ID of the account for which to get/update shipping
2939 * settings. 2942 * settings.
2940 * 2943 *
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
2977 queryParams: _queryParams, 2980 queryParams: _queryParams,
2978 uploadOptions: _uploadOptions, 2981 uploadOptions: _uploadOptions,
2979 uploadMedia: _uploadMedia, 2982 uploadMedia: _uploadMedia,
2980 downloadOptions: _downloadOptions); 2983 downloadOptions: _downloadOptions);
2981 return _response.then((data) => new ShippingSettings.fromJson(data)); 2984 return _response.then((data) => new ShippingSettings.fromJson(data));
2982 } 2985 }
2983 2986
2984 /** 2987 /**
2985 * Updates the shipping settings of the account. This method can only be 2988 * Updates the shipping settings of the account. This method can only be
2986 * called for accounts to which the managing account has access: either the 2989 * called for accounts to which the managing account has access: either the
2987 * managing account itself or sub-accounts if the managing account is a 2990 * managing account itself for any Merchant Center account, or any sub-account
2988 * multi-client account. 2991 * when the managing account is a multi-client account.
2989 * 2992 *
2990 * [request] - The metadata request object. 2993 * [request] - The metadata request object.
2991 * 2994 *
2992 * Request parameters: 2995 * Request parameters:
2993 * 2996 *
2994 * [merchantId] - The ID of the managing account. 2997 * [merchantId] - The ID of the managing account.
2995 * 2998 *
2996 * [accountId] - The ID of the account for which to get/update shipping 2999 * [accountId] - The ID of the account for which to get/update shipping
2997 * settings. 3000 * settings.
2998 * 3001 *
(...skipping 1457 matching lines...) Expand 10 before | Expand all | Expand 10 after
4456 */ 4459 */
4457 core.String fetchUrl; 4460 core.String fetchUrl;
4458 /** The hour of the day the feed file should be fetched (0-23). */ 4461 /** The hour of the day the feed file should be fetched (0-23). */
4459 core.int hour; 4462 core.int hour;
4460 /** 4463 /**
4461 * The minute of the hour the feed file should be fetched (0-59). Read-only. 4464 * The minute of the hour the feed file should be fetched (0-59). Read-only.
4462 */ 4465 */
4463 core.int minuteOfHour; 4466 core.int minuteOfHour;
4464 /** An optional password for fetch_url. */ 4467 /** An optional password for fetch_url. */
4465 core.String password; 4468 core.String password;
4469 /** Whether the scheduled fetch is paused or not. */
4470 core.bool paused;
4466 /** 4471 /**
4467 * Time zone used for schedule. UTC by default. E.g., "America/Los_Angeles". 4472 * Time zone used for schedule. UTC by default. E.g., "America/Los_Angeles".
4468 */ 4473 */
4469 core.String timeZone; 4474 core.String timeZone;
4470 /** An optional user name for fetch_url. */ 4475 /** An optional user name for fetch_url. */
4471 core.String username; 4476 core.String username;
4472 /** The day of the week the feed file should be fetched. */ 4477 /** The day of the week the feed file should be fetched. */
4473 core.String weekday; 4478 core.String weekday;
4474 4479
4475 DatafeedFetchSchedule(); 4480 DatafeedFetchSchedule();
4476 4481
4477 DatafeedFetchSchedule.fromJson(core.Map _json) { 4482 DatafeedFetchSchedule.fromJson(core.Map _json) {
4478 if (_json.containsKey("dayOfMonth")) { 4483 if (_json.containsKey("dayOfMonth")) {
4479 dayOfMonth = _json["dayOfMonth"]; 4484 dayOfMonth = _json["dayOfMonth"];
4480 } 4485 }
4481 if (_json.containsKey("fetchUrl")) { 4486 if (_json.containsKey("fetchUrl")) {
4482 fetchUrl = _json["fetchUrl"]; 4487 fetchUrl = _json["fetchUrl"];
4483 } 4488 }
4484 if (_json.containsKey("hour")) { 4489 if (_json.containsKey("hour")) {
4485 hour = _json["hour"]; 4490 hour = _json["hour"];
4486 } 4491 }
4487 if (_json.containsKey("minuteOfHour")) { 4492 if (_json.containsKey("minuteOfHour")) {
4488 minuteOfHour = _json["minuteOfHour"]; 4493 minuteOfHour = _json["minuteOfHour"];
4489 } 4494 }
4490 if (_json.containsKey("password")) { 4495 if (_json.containsKey("password")) {
4491 password = _json["password"]; 4496 password = _json["password"];
4492 } 4497 }
4498 if (_json.containsKey("paused")) {
4499 paused = _json["paused"];
4500 }
4493 if (_json.containsKey("timeZone")) { 4501 if (_json.containsKey("timeZone")) {
4494 timeZone = _json["timeZone"]; 4502 timeZone = _json["timeZone"];
4495 } 4503 }
4496 if (_json.containsKey("username")) { 4504 if (_json.containsKey("username")) {
4497 username = _json["username"]; 4505 username = _json["username"];
4498 } 4506 }
4499 if (_json.containsKey("weekday")) { 4507 if (_json.containsKey("weekday")) {
4500 weekday = _json["weekday"]; 4508 weekday = _json["weekday"];
4501 } 4509 }
4502 } 4510 }
4503 4511
4504 core.Map<core.String, core.Object> toJson() { 4512 core.Map<core.String, core.Object> toJson() {
4505 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>(); 4513 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4506 if (dayOfMonth != null) { 4514 if (dayOfMonth != null) {
4507 _json["dayOfMonth"] = dayOfMonth; 4515 _json["dayOfMonth"] = dayOfMonth;
4508 } 4516 }
4509 if (fetchUrl != null) { 4517 if (fetchUrl != null) {
4510 _json["fetchUrl"] = fetchUrl; 4518 _json["fetchUrl"] = fetchUrl;
4511 } 4519 }
4512 if (hour != null) { 4520 if (hour != null) {
4513 _json["hour"] = hour; 4521 _json["hour"] = hour;
4514 } 4522 }
4515 if (minuteOfHour != null) { 4523 if (minuteOfHour != null) {
4516 _json["minuteOfHour"] = minuteOfHour; 4524 _json["minuteOfHour"] = minuteOfHour;
4517 } 4525 }
4518 if (password != null) { 4526 if (password != null) {
4519 _json["password"] = password; 4527 _json["password"] = password;
4520 } 4528 }
4529 if (paused != null) {
4530 _json["paused"] = paused;
4531 }
4521 if (timeZone != null) { 4532 if (timeZone != null) {
4522 _json["timeZone"] = timeZone; 4533 _json["timeZone"] = timeZone;
4523 } 4534 }
4524 if (username != null) { 4535 if (username != null) {
4525 _json["username"] = username; 4536 _json["username"] = username;
4526 } 4537 }
4527 if (weekday != null) { 4538 if (weekday != null) {
4528 _json["weekday"] = weekday; 4539 _json["weekday"] = weekday;
4529 } 4540 }
4530 return _json; 4541 return _json;
(...skipping 1328 matching lines...) Expand 10 before | Expand all | Expand 10 after
5859 */ 5870 */
5860 Price netAmount; 5871 Price netAmount;
5861 /** The details of the payment method. */ 5872 /** The details of the payment method. */
5862 OrderPaymentMethod paymentMethod; 5873 OrderPaymentMethod paymentMethod;
5863 /** The status of the payment. */ 5874 /** The status of the payment. */
5864 core.String paymentStatus; 5875 core.String paymentStatus;
5865 /** The date when the order was placed, in ISO 8601 format. */ 5876 /** The date when the order was placed, in ISO 8601 format. */
5866 core.String placedDate; 5877 core.String placedDate;
5867 /** 5878 /**
5868 * The details of the merchant provided promotions applied to the order. More 5879 * The details of the merchant provided promotions applied to the order. More
5869 * details about the program are here. 5880 * details about the program are here.
5870 */ 5881 */
5871 core.List<OrderPromotion> promotions; 5882 core.List<OrderPromotion> promotions;
5872 /** Refunds for the order. */ 5883 /** Refunds for the order. */
5873 core.List<OrderRefund> refunds; 5884 core.List<OrderRefund> refunds;
5874 /** Shipments of the order. */ 5885 /** Shipments of the order. */
5875 core.List<OrderShipment> shipments; 5886 core.List<OrderShipment> shipments;
5876 /** The total cost of shipping for all items. */ 5887 /** The total cost of shipping for all items. */
5877 Price shippingCost; 5888 Price shippingCost;
5878 /** The tax for the total shipping cost. */ 5889 /** The tax for the total shipping cost. */
5879 Price shippingCostTax; 5890 Price shippingCostTax;
(...skipping 3418 matching lines...) Expand 10 before | Expand all | Expand 10 after
9298 */ 9309 */
9299 core.String locationId; 9310 core.String locationId;
9300 /** 9311 /**
9301 * The postal code range that the shipping rate applies to, represented by a 9312 * The postal code range that the shipping rate applies to, represented by a
9302 * postal code, a postal code prefix followed by a * wildcard, a range between 9313 * postal code, a postal code prefix followed by a * wildcard, a range between
9303 * two postal codes or two postal code prefixes of equal length. 9314 * two postal codes or two postal code prefixes of equal length.
9304 */ 9315 */
9305 core.String postalCode; 9316 core.String postalCode;
9306 /** Fixed shipping price, represented as a number. */ 9317 /** Fixed shipping price, represented as a number. */
9307 Price price; 9318 Price price;
9308 /** 9319 /** The geographic region to which a shipping rate applies. */
9309 * The geographic region to which a shipping rate applies (e.g. zip code).
9310 */
9311 core.String region; 9320 core.String region;
9312 /** A free-form description of the service class or delivery speed. */ 9321 /** A free-form description of the service class or delivery speed. */
9313 core.String service; 9322 core.String service;
9314 9323
9315 ProductShipping(); 9324 ProductShipping();
9316 9325
9317 ProductShipping.fromJson(core.Map _json) { 9326 ProductShipping.fromJson(core.Map _json) {
9318 if (_json.containsKey("country")) { 9327 if (_json.containsKey("country")) {
9319 country = _json["country"]; 9328 country = _json["country"];
9320 } 9329 }
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
9449 core.String googleExpirationDate; 9458 core.String googleExpirationDate;
9450 /** 9459 /**
9451 * Identifies what kind of resource this is. Value: the fixed string 9460 * Identifies what kind of resource this is. Value: the fixed string
9452 * "content#productStatus". 9461 * "content#productStatus".
9453 */ 9462 */
9454 core.String kind; 9463 core.String kind;
9455 /** Date on which the item has been last updated, in ISO 8601 format. */ 9464 /** Date on which the item has been last updated, in ISO 8601 format. */
9456 core.String lastUpdateDate; 9465 core.String lastUpdateDate;
9457 /** The link to the product. */ 9466 /** The link to the product. */
9458 core.String link; 9467 core.String link;
9468 /** Product data after applying all the join inputs. */
9469 Product product;
9459 /** The id of the product for which status is reported. */ 9470 /** The id of the product for which status is reported. */
9460 core.String productId; 9471 core.String productId;
9461 /** The title of the product. */ 9472 /** The title of the product. */
9462 core.String title; 9473 core.String title;
9463 9474
9464 ProductStatus(); 9475 ProductStatus();
9465 9476
9466 ProductStatus.fromJson(core.Map _json) { 9477 ProductStatus.fromJson(core.Map _json) {
9467 if (_json.containsKey("creationDate")) { 9478 if (_json.containsKey("creationDate")) {
9468 creationDate = _json["creationDate"]; 9479 creationDate = _json["creationDate"];
9469 } 9480 }
9470 if (_json.containsKey("dataQualityIssues")) { 9481 if (_json.containsKey("dataQualityIssues")) {
9471 dataQualityIssues = _json["dataQualityIssues"].map((value) => new ProductS tatusDataQualityIssue.fromJson(value)).toList(); 9482 dataQualityIssues = _json["dataQualityIssues"].map((value) => new ProductS tatusDataQualityIssue.fromJson(value)).toList();
9472 } 9483 }
9473 if (_json.containsKey("destinationStatuses")) { 9484 if (_json.containsKey("destinationStatuses")) {
9474 destinationStatuses = _json["destinationStatuses"].map((value) => new Prod uctStatusDestinationStatus.fromJson(value)).toList(); 9485 destinationStatuses = _json["destinationStatuses"].map((value) => new Prod uctStatusDestinationStatus.fromJson(value)).toList();
9475 } 9486 }
9476 if (_json.containsKey("googleExpirationDate")) { 9487 if (_json.containsKey("googleExpirationDate")) {
9477 googleExpirationDate = _json["googleExpirationDate"]; 9488 googleExpirationDate = _json["googleExpirationDate"];
9478 } 9489 }
9479 if (_json.containsKey("kind")) { 9490 if (_json.containsKey("kind")) {
9480 kind = _json["kind"]; 9491 kind = _json["kind"];
9481 } 9492 }
9482 if (_json.containsKey("lastUpdateDate")) { 9493 if (_json.containsKey("lastUpdateDate")) {
9483 lastUpdateDate = _json["lastUpdateDate"]; 9494 lastUpdateDate = _json["lastUpdateDate"];
9484 } 9495 }
9485 if (_json.containsKey("link")) { 9496 if (_json.containsKey("link")) {
9486 link = _json["link"]; 9497 link = _json["link"];
9487 } 9498 }
9499 if (_json.containsKey("product")) {
9500 product = new Product.fromJson(_json["product"]);
9501 }
9488 if (_json.containsKey("productId")) { 9502 if (_json.containsKey("productId")) {
9489 productId = _json["productId"]; 9503 productId = _json["productId"];
9490 } 9504 }
9491 if (_json.containsKey("title")) { 9505 if (_json.containsKey("title")) {
9492 title = _json["title"]; 9506 title = _json["title"];
9493 } 9507 }
9494 } 9508 }
9495 9509
9496 core.Map<core.String, core.Object> toJson() { 9510 core.Map<core.String, core.Object> toJson() {
9497 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>(); 9511 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
(...skipping 11 matching lines...) Expand all
9509 } 9523 }
9510 if (kind != null) { 9524 if (kind != null) {
9511 _json["kind"] = kind; 9525 _json["kind"] = kind;
9512 } 9526 }
9513 if (lastUpdateDate != null) { 9527 if (lastUpdateDate != null) {
9514 _json["lastUpdateDate"] = lastUpdateDate; 9528 _json["lastUpdateDate"] = lastUpdateDate;
9515 } 9529 }
9516 if (link != null) { 9530 if (link != null) {
9517 _json["link"] = link; 9531 _json["link"] = link;
9518 } 9532 }
9533 if (product != null) {
9534 _json["product"] = (product).toJson();
9535 }
9519 if (productId != null) { 9536 if (productId != null) {
9520 _json["productId"] = productId; 9537 _json["productId"] = productId;
9521 } 9538 }
9522 if (title != null) { 9539 if (title != null) {
9523 _json["title"] = title; 9540 _json["title"] = title;
9524 } 9541 }
9525 return _json; 9542 return _json;
9526 } 9543 }
9527 } 9544 }
9528 9545
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
9991 _json["entries"] = entries.map((value) => (value).toJson()).toList(); 10008 _json["entries"] = entries.map((value) => (value).toJson()).toList();
9992 } 10009 }
9993 return _json; 10010 return _json;
9994 } 10011 }
9995 } 10012 }
9996 10013
9997 /** A batch entry encoding a single non-batch productstatuses request. */ 10014 /** A batch entry encoding a single non-batch productstatuses request. */
9998 class ProductstatusesCustomBatchRequestEntry { 10015 class ProductstatusesCustomBatchRequestEntry {
9999 /** An entry ID, unique within the batch request. */ 10016 /** An entry ID, unique within the batch request. */
10000 core.int batchId; 10017 core.int batchId;
10018 core.bool includeAttributes;
10001 /** The ID of the managing account. */ 10019 /** The ID of the managing account. */
10002 core.String merchantId; 10020 core.String merchantId;
10003 core.String method; 10021 core.String method;
10004 /** The ID of the product whose status to get. */ 10022 /** The ID of the product whose status to get. */
10005 core.String productId; 10023 core.String productId;
10006 10024
10007 ProductstatusesCustomBatchRequestEntry(); 10025 ProductstatusesCustomBatchRequestEntry();
10008 10026
10009 ProductstatusesCustomBatchRequestEntry.fromJson(core.Map _json) { 10027 ProductstatusesCustomBatchRequestEntry.fromJson(core.Map _json) {
10010 if (_json.containsKey("batchId")) { 10028 if (_json.containsKey("batchId")) {
10011 batchId = _json["batchId"]; 10029 batchId = _json["batchId"];
10012 } 10030 }
10031 if (_json.containsKey("includeAttributes")) {
10032 includeAttributes = _json["includeAttributes"];
10033 }
10013 if (_json.containsKey("merchantId")) { 10034 if (_json.containsKey("merchantId")) {
10014 merchantId = _json["merchantId"]; 10035 merchantId = _json["merchantId"];
10015 } 10036 }
10016 if (_json.containsKey("method")) { 10037 if (_json.containsKey("method")) {
10017 method = _json["method"]; 10038 method = _json["method"];
10018 } 10039 }
10019 if (_json.containsKey("productId")) { 10040 if (_json.containsKey("productId")) {
10020 productId = _json["productId"]; 10041 productId = _json["productId"];
10021 } 10042 }
10022 } 10043 }
10023 10044
10024 core.Map<core.String, core.Object> toJson() { 10045 core.Map<core.String, core.Object> toJson() {
10025 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>(); 10046 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
10026 if (batchId != null) { 10047 if (batchId != null) {
10027 _json["batchId"] = batchId; 10048 _json["batchId"] = batchId;
10028 } 10049 }
10050 if (includeAttributes != null) {
10051 _json["includeAttributes"] = includeAttributes;
10052 }
10029 if (merchantId != null) { 10053 if (merchantId != null) {
10030 _json["merchantId"] = merchantId; 10054 _json["merchantId"] = merchantId;
10031 } 10055 }
10032 if (method != null) { 10056 if (method != null) {
10033 _json["method"] = method; 10057 _json["method"] = method;
10034 } 10058 }
10035 if (productId != null) { 10059 if (productId != null) {
10036 _json["productId"] = productId; 10060 _json["productId"] = productId;
10037 } 10061 }
10038 return _json; 10062 return _json;
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
10671 /** Line items that are ordered. At least one line item must be provided. */ 10695 /** Line items that are ordered. At least one line item must be provided. */
10672 core.List<TestOrderLineItem> lineItems; 10696 core.List<TestOrderLineItem> lineItems;
10673 /** The details of the payment method. */ 10697 /** The details of the payment method. */
10674 TestOrderPaymentMethod paymentMethod; 10698 TestOrderPaymentMethod paymentMethod;
10675 /** 10699 /**
10676 * Identifier of one of the predefined delivery addresses for the delivery. 10700 * Identifier of one of the predefined delivery addresses for the delivery.
10677 */ 10701 */
10678 core.String predefinedDeliveryAddress; 10702 core.String predefinedDeliveryAddress;
10679 /** 10703 /**
10680 * The details of the merchant provided promotions applied to the order. More 10704 * The details of the merchant provided promotions applied to the order. More
10681 * details about the program are here. 10705 * details about the program are here.
10682 */ 10706 */
10683 core.List<OrderPromotion> promotions; 10707 core.List<OrderPromotion> promotions;
10684 /** The total cost of shipping for all items. */ 10708 /** The total cost of shipping for all items. */
10685 Price shippingCost; 10709 Price shippingCost;
10686 /** The tax for the total shipping cost. */ 10710 /** The tax for the total shipping cost. */
10687 Price shippingCostTax; 10711 Price shippingCostTax;
10688 /** The requested shipping option. */ 10712 /** The requested shipping option. */
10689 core.String shippingOption; 10713 core.String shippingOption;
10690 10714
10691 TestOrder(); 10715 TestOrder();
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
11113 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>(); 11137 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
11114 if (unit != null) { 11138 if (unit != null) {
11115 _json["unit"] = unit; 11139 _json["unit"] = unit;
11116 } 11140 }
11117 if (value != null) { 11141 if (value != null) {
11118 _json["value"] = value; 11142 _json["value"] = value;
11119 } 11143 }
11120 return _json; 11144 return _json;
11121 } 11145 }
11122 } 11146 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/container/v1.dart ('k') | generated/googleapis/lib/content/v2sandbox.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698