OLD | NEW |
1 library googleapis.androidpublisher.v2; | 1 library googleapis.androidpublisher.v2; |
2 | 2 |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
5 import "dart:async" as async; | 5 import "dart:async" as async; |
6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
7 | 7 |
8 import "package:crypto/crypto.dart" as crypto; | 8 import "package:crypto/crypto.dart" as crypto; |
9 import 'package:http/http.dart' as http; | 9 import 'package:http/http.dart' as http; |
10 import '../src/common_internal.dart' as common_internal; | 10 import '../src/common_internal.dart' as common_internal; |
(...skipping 3423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3434 /** Not documented yet. */ | 3434 /** Not documented yet. */ |
3435 core.String status; | 3435 core.String status; |
3436 | 3436 |
3437 /** | 3437 /** |
3438 * The period of the subscription (if any), i.e. period at which payments must | 3438 * The period of the subscription (if any), i.e. period at which payments must |
3439 * happen. Defined as ISO 8601 duration, i.e. "P1M" for 1 month period. | 3439 * happen. Defined as ISO 8601 duration, i.e. "P1M" for 1 month period. |
3440 */ | 3440 */ |
3441 core.String subscriptionPeriod; | 3441 core.String subscriptionPeriod; |
3442 | 3442 |
3443 /** | 3443 /** |
3444 * Trial duration (if any) of the subscription, defined as ISO 8601. i.e. | 3444 * Trial period, specified in ISO 8601 format. Acceptable values are anything |
3445 * "P10D" means an initial period of 10 days during which ownership is granted | 3445 * between "P7D" (seven days) and "P999D" (999 days). Seasonal subscriptions |
3446 * prior to any payment. Acceptable values are between "P7D" and "P999D". | 3446 * cannot have a trial period. |
3447 * Seasonal subscriptions cannot have a trial period. | |
3448 */ | 3447 */ |
3449 core.String trialPeriod; | 3448 core.String trialPeriod; |
3450 | 3449 |
3451 | 3450 |
3452 InAppProduct(); | 3451 InAppProduct(); |
3453 | 3452 |
3454 InAppProduct.fromJson(core.Map _json) { | 3453 InAppProduct.fromJson(core.Map _json) { |
3455 if (_json.containsKey("defaultLanguage")) { | 3454 if (_json.containsKey("defaultLanguage")) { |
3456 defaultLanguage = _json["defaultLanguage"]; | 3455 defaultLanguage = _json["defaultLanguage"]; |
3457 } | 3456 } |
(...skipping 1029 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4487 _json["kind"] = kind; | 4486 _json["kind"] = kind; |
4488 } | 4487 } |
4489 if (tracks != null) { | 4488 if (tracks != null) { |
4490 _json["tracks"] = tracks.map((value) => (value).toJson()).toList(); | 4489 _json["tracks"] = tracks.map((value) => (value).toJson()).toList(); |
4491 } | 4490 } |
4492 return _json; | 4491 return _json; |
4493 } | 4492 } |
4494 } | 4493 } |
4495 | 4494 |
4496 | 4495 |
OLD | NEW |