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

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

Issue 2226653002: Api-roll 40: 2016-08-08 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Addressed review comments Created 4 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.androidpublisher.v2; 3 library googleapis.androidpublisher.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 4815 matching lines...) Expand 10 before | Expand all | Expand 10 after
4826 return _json; 4826 return _json;
4827 } 4827 }
4828 } 4828 }
4829 4829
4830 /** 4830 /**
4831 * A SubscriptionDeferralInfo contains the data needed to defer a subscription 4831 * A SubscriptionDeferralInfo contains the data needed to defer a subscription
4832 * purchase to a future expiry time. 4832 * purchase to a future expiry time.
4833 */ 4833 */
4834 class SubscriptionDeferralInfo { 4834 class SubscriptionDeferralInfo {
4835 /** 4835 /**
4836 * The desired next expiry time for the subscription in milliseconds since 4836 * The desired next expiry time to assign to the subscription, in milliseconds
4837 * Epoch. The given time must be after the current expiry time for the 4837 * since the Epoch. The given time must be later/greater than the current
4838 * subscription. 4838 * expiry time for the subscription.
4839 */ 4839 */
4840 core.String desiredExpiryTimeMillis; 4840 core.String desiredExpiryTimeMillis;
4841 /** 4841 /**
4842 * The expected expiry time for the subscription. If the current expiry time 4842 * The expected expiry time for the subscription. If the current expiry time
4843 * for the subscription is not the value specified here, the deferral will not 4843 * for the subscription is not the value specified here, the deferral will not
4844 * occur. 4844 * occur.
4845 */ 4845 */
4846 core.String expectedExpiryTimeMillis; 4846 core.String expectedExpiryTimeMillis;
4847 4847
4848 SubscriptionDeferralInfo(); 4848 SubscriptionDeferralInfo();
(...skipping 23 matching lines...) Expand all
4872 * A SubscriptionPurchase resource indicates the status of a user's subscription 4872 * A SubscriptionPurchase resource indicates the status of a user's subscription
4873 * purchase. 4873 * purchase.
4874 */ 4874 */
4875 class SubscriptionPurchase { 4875 class SubscriptionPurchase {
4876 /** 4876 /**
4877 * Whether the subscription will automatically be renewed when it reaches its 4877 * Whether the subscription will automatically be renewed when it reaches its
4878 * current expiry time. 4878 * current expiry time.
4879 */ 4879 */
4880 core.bool autoRenewing; 4880 core.bool autoRenewing;
4881 /** 4881 /**
4882 * The cancel reason of the subscription, if the subscription is not auto 4882 * The reason why a subscription was cancelled or is not auto-renewing.
4883 * renewing. Possible values are: 4883 * Possible values are:
4884 * - User cancelled the subscription 4884 * - User cancelled the subscription
4885 * - Subscription was cancelled by the system, for example because of a 4885 * - Subscription was cancelled by the system, for example because of a
4886 * billing problem 4886 * billing problem
4887 */ 4887 */
4888 core.int cancelReason; 4888 core.int cancelReason;
4889 /** 4889 /**
4890 * ISO 3166-1 alpha-2 billing country/region code of the user at the time the 4890 * ISO 3166-1 alpha-2 billing country/region code of the user at the time the
4891 * subscription was granted. 4891 * subscription was granted.
4892 */ 4892 */
4893 core.String countryCode; 4893 core.String countryCode;
4894 /** 4894 /**
4895 * A developer-specified string that contains supplemental information about 4895 * A developer-specified string that contains supplemental information about
4896 * an order. 4896 * an order.
4897 */ 4897 */
4898 core.String developerPayload; 4898 core.String developerPayload;
4899 /** 4899 /**
4900 * Time at which the subscription will expire, in milliseconds since Epoch. 4900 * Time at which the subscription will expire, in milliseconds since the
4901 * Epoch.
4901 */ 4902 */
4902 core.String expiryTimeMillis; 4903 core.String expiryTimeMillis;
4903 /** 4904 /**
4904 * This kind represents a subscriptionPurchase object in the androidpublisher 4905 * This kind represents a subscriptionPurchase object in the androidpublisher
4905 * service. 4906 * service.
4906 */ 4907 */
4907 core.String kind; 4908 core.String kind;
4908 /** 4909 /**
4909 * The payment state of the subscription. Possible values are: 4910 * The payment state of the subscription. Possible values are:
4910 * - Payment pending 4911 * - Payment pending
4911 * - Payment received 4912 * - Payment received
4912 */ 4913 */
4913 core.int paymentState; 4914 core.int paymentState;
4914 /** 4915 /**
4915 * Price of the subscription, not including tax. Price is expressed in 4916 * Price of the subscription, not including tax. Price is expressed in
4916 * micro-units, where 1,000,000 micro-units equal one unit of the currency. 4917 * micro-units, where 1,000,000 micro-units represents one unit of the
4917 * For example, if the subscription price is €1.99, price_amount_micros is 4918 * currency. For example, if the subscription price is €1.99,
4918 * 1990000. 4919 * price_amount_micros is 1990000.
4919 */ 4920 */
4920 core.String priceAmountMicros; 4921 core.String priceAmountMicros;
4921 /** 4922 /**
4922 * ISO 4217 currency code for the subscription price. For example, if the 4923 * ISO 4217 currency code for the subscription price. For example, if the
4923 * price is specified in British pounds sterling, price_currency_code is 4924 * price is specified in British pounds sterling, price_currency_code is
4924 * "GBP". 4925 * "GBP".
4925 */ 4926 */
4926 core.String priceCurrencyCode; 4927 core.String priceCurrencyCode;
4927 /** 4928 /**
4928 * Time at which the subscription was granted, in milliseconds since Epoch. 4929 * Time at which the subscription was granted, in milliseconds since the
4930 * Epoch.
4929 */ 4931 */
4930 core.String startTimeMillis; 4932 core.String startTimeMillis;
4931 4933
4932 SubscriptionPurchase(); 4934 SubscriptionPurchase();
4933 4935
4934 SubscriptionPurchase.fromJson(core.Map _json) { 4936 SubscriptionPurchase.fromJson(core.Map _json) {
4935 if (_json.containsKey("autoRenewing")) { 4937 if (_json.containsKey("autoRenewing")) {
4936 autoRenewing = _json["autoRenewing"]; 4938 autoRenewing = _json["autoRenewing"];
4937 } 4939 }
4938 if (_json.containsKey("cancelReason")) { 4940 if (_json.containsKey("cancelReason")) {
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
5280 } 5282 }
5281 if (starRating != null) { 5283 if (starRating != null) {
5282 _json["starRating"] = starRating; 5284 _json["starRating"] = starRating;
5283 } 5285 }
5284 if (text != null) { 5286 if (text != null) {
5285 _json["text"] = text; 5287 _json["text"] = text;
5286 } 5288 }
5287 return _json; 5289 return _json;
5288 } 5290 }
5289 } 5291 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/androidenterprise/v1.dart ('k') | generated/googleapis/lib/appengine/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698