| OLD | NEW |
| 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.v2sandbox; | 3 library googleapis.content.v2sandbox; |
| 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; |
| 11 | 11 |
| 12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show | 12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show |
| 13 ApiRequestError, DetailedApiRequestError; | 13 ApiRequestError, DetailedApiRequestError; |
| 14 | 14 |
| 15 const core.String USER_AGENT = 'dart-api-client content/v2sandbox'; | 15 const core.String USER_AGENT = 'dart-api-client content/v2sandbox'; |
| 16 | 16 |
| 17 /** | 17 /** |
| 18 * Manage product items, inventory, and Merchant Center accounts for Google | 18 * Manages product items, inventory, and Merchant Center accounts for Google |
| 19 * Shopping. | 19 * Shopping. |
| 20 */ | 20 */ |
| 21 class ContentApi { | 21 class ContentApi { |
| 22 /** Manage your product listings and accounts for Google Shopping */ | 22 /** Manage your product listings and accounts for Google Shopping */ |
| 23 static const ContentScope = "https://www.googleapis.com/auth/content"; | 23 static const ContentScope = "https://www.googleapis.com/auth/content"; |
| 24 | 24 |
| 25 | 25 |
| 26 final commons.ApiRequester _requester; | 26 final commons.ApiRequester _requester; |
| 27 | 27 |
| 28 OrdersResourceApi get orders => new OrdersResourceApi(_requester); | 28 OrdersResourceApi get orders => new OrdersResourceApi(_requester); |
| (...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 405 * Sandbox only. Retrieves an order template that can be used to quickly | 405 * Sandbox only. Retrieves an order template that can be used to quickly |
| 406 * create a new order in sandbox. | 406 * create a new order in sandbox. |
| 407 * | 407 * |
| 408 * Request parameters: | 408 * Request parameters: |
| 409 * | 409 * |
| 410 * [merchantId] - The ID of the managing account. | 410 * [merchantId] - The ID of the managing account. |
| 411 * | 411 * |
| 412 * [templateName] - The name of the template to retrieve. | 412 * [templateName] - The name of the template to retrieve. |
| 413 * Possible string values are: | 413 * Possible string values are: |
| 414 * - "template1" | 414 * - "template1" |
| 415 * - "template1a" |
| 416 * - "template1b" |
| 415 * - "template2" | 417 * - "template2" |
| 416 * | 418 * |
| 417 * Completes with a [OrdersGetTestOrderTemplateResponse]. | 419 * Completes with a [OrdersGetTestOrderTemplateResponse]. |
| 418 * | 420 * |
| 419 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 421 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
| 420 * error. | 422 * error. |
| 421 * | 423 * |
| 422 * If the used [http.Client] completes with an error when making a REST call, | 424 * If the used [http.Client] completes with an error when making a REST call, |
| 423 * this method will complete with the same error. | 425 * this method will complete with the same error. |
| 424 */ | 426 */ |
| (...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 894 * grand total of $100 and a refund was issued for $20, the net amount will be | 896 * grand total of $100 and a refund was issued for $20, the net amount will be |
| 895 * $80. | 897 * $80. |
| 896 */ | 898 */ |
| 897 Price netAmount; | 899 Price netAmount; |
| 898 /** The details of the payment method. */ | 900 /** The details of the payment method. */ |
| 899 OrderPaymentMethod paymentMethod; | 901 OrderPaymentMethod paymentMethod; |
| 900 /** The status of the payment. */ | 902 /** The status of the payment. */ |
| 901 core.String paymentStatus; | 903 core.String paymentStatus; |
| 902 /** The date when the order was placed, in ISO 8601 format. */ | 904 /** The date when the order was placed, in ISO 8601 format. */ |
| 903 core.String placedDate; | 905 core.String placedDate; |
| 906 /** |
| 907 * The details of the merchant provided promotions applied to the order. More |
| 908 * details about the program are here. |
| 909 */ |
| 910 core.List<OrderPromotion> promotions; |
| 904 /** Refunds for the order. */ | 911 /** Refunds for the order. */ |
| 905 core.List<OrderRefund> refunds; | 912 core.List<OrderRefund> refunds; |
| 906 /** Shipments of the order. */ | 913 /** Shipments of the order. */ |
| 907 core.List<OrderShipment> shipments; | 914 core.List<OrderShipment> shipments; |
| 908 /** The total cost of shipping for all items. */ | 915 /** The total cost of shipping for all items. */ |
| 909 Price shippingCost; | 916 Price shippingCost; |
| 910 /** The tax for the total shipping cost. */ | 917 /** The tax for the total shipping cost. */ |
| 911 Price shippingCostTax; | 918 Price shippingCostTax; |
| 912 /** The requested shipping option. */ | 919 /** The requested shipping option. */ |
| 913 core.String shippingOption; | 920 core.String shippingOption; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 946 } | 953 } |
| 947 if (_json.containsKey("paymentMethod")) { | 954 if (_json.containsKey("paymentMethod")) { |
| 948 paymentMethod = new OrderPaymentMethod.fromJson(_json["paymentMethod"]); | 955 paymentMethod = new OrderPaymentMethod.fromJson(_json["paymentMethod"]); |
| 949 } | 956 } |
| 950 if (_json.containsKey("paymentStatus")) { | 957 if (_json.containsKey("paymentStatus")) { |
| 951 paymentStatus = _json["paymentStatus"]; | 958 paymentStatus = _json["paymentStatus"]; |
| 952 } | 959 } |
| 953 if (_json.containsKey("placedDate")) { | 960 if (_json.containsKey("placedDate")) { |
| 954 placedDate = _json["placedDate"]; | 961 placedDate = _json["placedDate"]; |
| 955 } | 962 } |
| 963 if (_json.containsKey("promotions")) { |
| 964 promotions = _json["promotions"].map((value) => new OrderPromotion.fromJso
n(value)).toList(); |
| 965 } |
| 956 if (_json.containsKey("refunds")) { | 966 if (_json.containsKey("refunds")) { |
| 957 refunds = _json["refunds"].map((value) => new OrderRefund.fromJson(value))
.toList(); | 967 refunds = _json["refunds"].map((value) => new OrderRefund.fromJson(value))
.toList(); |
| 958 } | 968 } |
| 959 if (_json.containsKey("shipments")) { | 969 if (_json.containsKey("shipments")) { |
| 960 shipments = _json["shipments"].map((value) => new OrderShipment.fromJson(v
alue)).toList(); | 970 shipments = _json["shipments"].map((value) => new OrderShipment.fromJson(v
alue)).toList(); |
| 961 } | 971 } |
| 962 if (_json.containsKey("shippingCost")) { | 972 if (_json.containsKey("shippingCost")) { |
| 963 shippingCost = new Price.fromJson(_json["shippingCost"]); | 973 shippingCost = new Price.fromJson(_json["shippingCost"]); |
| 964 } | 974 } |
| 965 if (_json.containsKey("shippingCostTax")) { | 975 if (_json.containsKey("shippingCostTax")) { |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1004 } | 1014 } |
| 1005 if (paymentMethod != null) { | 1015 if (paymentMethod != null) { |
| 1006 _json["paymentMethod"] = (paymentMethod).toJson(); | 1016 _json["paymentMethod"] = (paymentMethod).toJson(); |
| 1007 } | 1017 } |
| 1008 if (paymentStatus != null) { | 1018 if (paymentStatus != null) { |
| 1009 _json["paymentStatus"] = paymentStatus; | 1019 _json["paymentStatus"] = paymentStatus; |
| 1010 } | 1020 } |
| 1011 if (placedDate != null) { | 1021 if (placedDate != null) { |
| 1012 _json["placedDate"] = placedDate; | 1022 _json["placedDate"] = placedDate; |
| 1013 } | 1023 } |
| 1024 if (promotions != null) { |
| 1025 _json["promotions"] = promotions.map((value) => (value).toJson()).toList()
; |
| 1026 } |
| 1014 if (refunds != null) { | 1027 if (refunds != null) { |
| 1015 _json["refunds"] = refunds.map((value) => (value).toJson()).toList(); | 1028 _json["refunds"] = refunds.map((value) => (value).toJson()).toList(); |
| 1016 } | 1029 } |
| 1017 if (shipments != null) { | 1030 if (shipments != null) { |
| 1018 _json["shipments"] = shipments.map((value) => (value).toJson()).toList(); | 1031 _json["shipments"] = shipments.map((value) => (value).toJson()).toList(); |
| 1019 } | 1032 } |
| 1020 if (shippingCost != null) { | 1033 if (shippingCost != null) { |
| 1021 _json["shippingCost"] = (shippingCost).toJson(); | 1034 _json["shippingCost"] = (shippingCost).toJson(); |
| 1022 } | 1035 } |
| 1023 if (shippingCostTax != null) { | 1036 if (shippingCostTax != null) { |
| (...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1715 if (phoneNumber != null) { | 1728 if (phoneNumber != null) { |
| 1716 _json["phoneNumber"] = phoneNumber; | 1729 _json["phoneNumber"] = phoneNumber; |
| 1717 } | 1730 } |
| 1718 if (type != null) { | 1731 if (type != null) { |
| 1719 _json["type"] = type; | 1732 _json["type"] = type; |
| 1720 } | 1733 } |
| 1721 return _json; | 1734 return _json; |
| 1722 } | 1735 } |
| 1723 } | 1736 } |
| 1724 | 1737 |
| 1738 class OrderPromotion { |
| 1739 core.List<OrderPromotionBenefit> benefits; |
| 1740 /** |
| 1741 * The date and time frame when the promotion is active and ready for |
| 1742 * validation review. Note that the promotion live time may be delayed for a |
| 1743 * few hours due to the validation review. |
| 1744 * Start date and end date are separated by a forward slash (/). The start |
| 1745 * date is specified by the format (YYYY-MM-DD), followed by the letter ?T?, |
| 1746 * the time of the day when the sale starts (in Greenwich Mean Time, GMT), |
| 1747 * followed by an expression of the time zone for the sale. The end date is in |
| 1748 * the same format. |
| 1749 */ |
| 1750 core.String effectiveDates; |
| 1751 /** |
| 1752 * Optional. The text code that corresponds to the promotion when applied on |
| 1753 * the retailer?s website. |
| 1754 */ |
| 1755 core.String genericRedemptionCode; |
| 1756 /** The unique ID of the promotion. */ |
| 1757 core.String id; |
| 1758 /** The full title of the promotion. */ |
| 1759 core.String longTitle; |
| 1760 /** |
| 1761 * Whether the promotion is applicable to all products or only specific |
| 1762 * products. |
| 1763 */ |
| 1764 core.String productApplicability; |
| 1765 /** Indicates that the promotion is valid online. */ |
| 1766 core.String redemptionChannel; |
| 1767 |
| 1768 OrderPromotion(); |
| 1769 |
| 1770 OrderPromotion.fromJson(core.Map _json) { |
| 1771 if (_json.containsKey("benefits")) { |
| 1772 benefits = _json["benefits"].map((value) => new OrderPromotionBenefit.from
Json(value)).toList(); |
| 1773 } |
| 1774 if (_json.containsKey("effectiveDates")) { |
| 1775 effectiveDates = _json["effectiveDates"]; |
| 1776 } |
| 1777 if (_json.containsKey("genericRedemptionCode")) { |
| 1778 genericRedemptionCode = _json["genericRedemptionCode"]; |
| 1779 } |
| 1780 if (_json.containsKey("id")) { |
| 1781 id = _json["id"]; |
| 1782 } |
| 1783 if (_json.containsKey("longTitle")) { |
| 1784 longTitle = _json["longTitle"]; |
| 1785 } |
| 1786 if (_json.containsKey("productApplicability")) { |
| 1787 productApplicability = _json["productApplicability"]; |
| 1788 } |
| 1789 if (_json.containsKey("redemptionChannel")) { |
| 1790 redemptionChannel = _json["redemptionChannel"]; |
| 1791 } |
| 1792 } |
| 1793 |
| 1794 core.Map toJson() { |
| 1795 var _json = new core.Map(); |
| 1796 if (benefits != null) { |
| 1797 _json["benefits"] = benefits.map((value) => (value).toJson()).toList(); |
| 1798 } |
| 1799 if (effectiveDates != null) { |
| 1800 _json["effectiveDates"] = effectiveDates; |
| 1801 } |
| 1802 if (genericRedemptionCode != null) { |
| 1803 _json["genericRedemptionCode"] = genericRedemptionCode; |
| 1804 } |
| 1805 if (id != null) { |
| 1806 _json["id"] = id; |
| 1807 } |
| 1808 if (longTitle != null) { |
| 1809 _json["longTitle"] = longTitle; |
| 1810 } |
| 1811 if (productApplicability != null) { |
| 1812 _json["productApplicability"] = productApplicability; |
| 1813 } |
| 1814 if (redemptionChannel != null) { |
| 1815 _json["redemptionChannel"] = redemptionChannel; |
| 1816 } |
| 1817 return _json; |
| 1818 } |
| 1819 } |
| 1820 |
| 1821 class OrderPromotionBenefit { |
| 1822 /** The discount in the order price when the promotion is applied. */ |
| 1823 Price discount; |
| 1824 /** |
| 1825 * The OfferId(s) that were purchased in this order and map to this specific |
| 1826 * benefit of the promotion. |
| 1827 */ |
| 1828 core.List<core.String> offerIds; |
| 1829 /** |
| 1830 * Further describes the benefit of the promotion. Note that we will expand on |
| 1831 * this enumeration as we support new promotion sub-types. |
| 1832 */ |
| 1833 core.String subType; |
| 1834 /** The impact on tax when the promotion is applied. */ |
| 1835 Price taxImpact; |
| 1836 /** |
| 1837 * Describes whether the promotion applies to products (e.g. 20% off) or to |
| 1838 * shipping (e.g. Free Shipping). |
| 1839 */ |
| 1840 core.String type; |
| 1841 |
| 1842 OrderPromotionBenefit(); |
| 1843 |
| 1844 OrderPromotionBenefit.fromJson(core.Map _json) { |
| 1845 if (_json.containsKey("discount")) { |
| 1846 discount = new Price.fromJson(_json["discount"]); |
| 1847 } |
| 1848 if (_json.containsKey("offerIds")) { |
| 1849 offerIds = _json["offerIds"]; |
| 1850 } |
| 1851 if (_json.containsKey("subType")) { |
| 1852 subType = _json["subType"]; |
| 1853 } |
| 1854 if (_json.containsKey("taxImpact")) { |
| 1855 taxImpact = new Price.fromJson(_json["taxImpact"]); |
| 1856 } |
| 1857 if (_json.containsKey("type")) { |
| 1858 type = _json["type"]; |
| 1859 } |
| 1860 } |
| 1861 |
| 1862 core.Map toJson() { |
| 1863 var _json = new core.Map(); |
| 1864 if (discount != null) { |
| 1865 _json["discount"] = (discount).toJson(); |
| 1866 } |
| 1867 if (offerIds != null) { |
| 1868 _json["offerIds"] = offerIds; |
| 1869 } |
| 1870 if (subType != null) { |
| 1871 _json["subType"] = subType; |
| 1872 } |
| 1873 if (taxImpact != null) { |
| 1874 _json["taxImpact"] = (taxImpact).toJson(); |
| 1875 } |
| 1876 if (type != null) { |
| 1877 _json["type"] = type; |
| 1878 } |
| 1879 return _json; |
| 1880 } |
| 1881 } |
| 1882 |
| 1725 class OrderRefund { | 1883 class OrderRefund { |
| 1726 /** The actor that created the refund. */ | 1884 /** The actor that created the refund. */ |
| 1727 core.String actor; | 1885 core.String actor; |
| 1728 /** The amount that is refunded. */ | 1886 /** The amount that is refunded. */ |
| 1729 Price amount; | 1887 Price amount; |
| 1730 /** Date on which the item has been created, in ISO 8601 format. */ | 1888 /** Date on which the item has been created, in ISO 8601 format. */ |
| 1731 core.String creationDate; | 1889 core.String creationDate; |
| 1732 /** The reason for the refund. */ | 1890 /** The reason for the refund. */ |
| 1733 core.String reason; | 1891 core.String reason; |
| 1734 /** The explanation of the reason. */ | 1892 /** The explanation of the reason. */ |
| (...skipping 1545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3280 */ | 3438 */ |
| 3281 core.String kind; | 3439 core.String kind; |
| 3282 /** Line items that are ordered. At least one line item must be provided. */ | 3440 /** Line items that are ordered. At least one line item must be provided. */ |
| 3283 core.List<TestOrderLineItem> lineItems; | 3441 core.List<TestOrderLineItem> lineItems; |
| 3284 /** The details of the payment method. */ | 3442 /** The details of the payment method. */ |
| 3285 TestOrderPaymentMethod paymentMethod; | 3443 TestOrderPaymentMethod paymentMethod; |
| 3286 /** | 3444 /** |
| 3287 * Identifier of one of the predefined delivery addresses for the delivery. | 3445 * Identifier of one of the predefined delivery addresses for the delivery. |
| 3288 */ | 3446 */ |
| 3289 core.String predefinedDeliveryAddress; | 3447 core.String predefinedDeliveryAddress; |
| 3448 /** |
| 3449 * The details of the merchant provided promotions applied to the order. More |
| 3450 * details about the program are here. |
| 3451 */ |
| 3452 core.List<OrderPromotion> promotions; |
| 3290 /** The total cost of shipping for all items. */ | 3453 /** The total cost of shipping for all items. */ |
| 3291 Price shippingCost; | 3454 Price shippingCost; |
| 3292 /** The tax for the total shipping cost. */ | 3455 /** The tax for the total shipping cost. */ |
| 3293 Price shippingCostTax; | 3456 Price shippingCostTax; |
| 3294 /** The requested shipping option. */ | 3457 /** The requested shipping option. */ |
| 3295 core.String shippingOption; | 3458 core.String shippingOption; |
| 3296 | 3459 |
| 3297 TestOrder(); | 3460 TestOrder(); |
| 3298 | 3461 |
| 3299 TestOrder.fromJson(core.Map _json) { | 3462 TestOrder.fromJson(core.Map _json) { |
| 3300 if (_json.containsKey("customer")) { | 3463 if (_json.containsKey("customer")) { |
| 3301 customer = new TestOrderCustomer.fromJson(_json["customer"]); | 3464 customer = new TestOrderCustomer.fromJson(_json["customer"]); |
| 3302 } | 3465 } |
| 3303 if (_json.containsKey("kind")) { | 3466 if (_json.containsKey("kind")) { |
| 3304 kind = _json["kind"]; | 3467 kind = _json["kind"]; |
| 3305 } | 3468 } |
| 3306 if (_json.containsKey("lineItems")) { | 3469 if (_json.containsKey("lineItems")) { |
| 3307 lineItems = _json["lineItems"].map((value) => new TestOrderLineItem.fromJs
on(value)).toList(); | 3470 lineItems = _json["lineItems"].map((value) => new TestOrderLineItem.fromJs
on(value)).toList(); |
| 3308 } | 3471 } |
| 3309 if (_json.containsKey("paymentMethod")) { | 3472 if (_json.containsKey("paymentMethod")) { |
| 3310 paymentMethod = new TestOrderPaymentMethod.fromJson(_json["paymentMethod"]
); | 3473 paymentMethod = new TestOrderPaymentMethod.fromJson(_json["paymentMethod"]
); |
| 3311 } | 3474 } |
| 3312 if (_json.containsKey("predefinedDeliveryAddress")) { | 3475 if (_json.containsKey("predefinedDeliveryAddress")) { |
| 3313 predefinedDeliveryAddress = _json["predefinedDeliveryAddress"]; | 3476 predefinedDeliveryAddress = _json["predefinedDeliveryAddress"]; |
| 3314 } | 3477 } |
| 3478 if (_json.containsKey("promotions")) { |
| 3479 promotions = _json["promotions"].map((value) => new OrderPromotion.fromJso
n(value)).toList(); |
| 3480 } |
| 3315 if (_json.containsKey("shippingCost")) { | 3481 if (_json.containsKey("shippingCost")) { |
| 3316 shippingCost = new Price.fromJson(_json["shippingCost"]); | 3482 shippingCost = new Price.fromJson(_json["shippingCost"]); |
| 3317 } | 3483 } |
| 3318 if (_json.containsKey("shippingCostTax")) { | 3484 if (_json.containsKey("shippingCostTax")) { |
| 3319 shippingCostTax = new Price.fromJson(_json["shippingCostTax"]); | 3485 shippingCostTax = new Price.fromJson(_json["shippingCostTax"]); |
| 3320 } | 3486 } |
| 3321 if (_json.containsKey("shippingOption")) { | 3487 if (_json.containsKey("shippingOption")) { |
| 3322 shippingOption = _json["shippingOption"]; | 3488 shippingOption = _json["shippingOption"]; |
| 3323 } | 3489 } |
| 3324 } | 3490 } |
| 3325 | 3491 |
| 3326 core.Map toJson() { | 3492 core.Map toJson() { |
| 3327 var _json = new core.Map(); | 3493 var _json = new core.Map(); |
| 3328 if (customer != null) { | 3494 if (customer != null) { |
| 3329 _json["customer"] = (customer).toJson(); | 3495 _json["customer"] = (customer).toJson(); |
| 3330 } | 3496 } |
| 3331 if (kind != null) { | 3497 if (kind != null) { |
| 3332 _json["kind"] = kind; | 3498 _json["kind"] = kind; |
| 3333 } | 3499 } |
| 3334 if (lineItems != null) { | 3500 if (lineItems != null) { |
| 3335 _json["lineItems"] = lineItems.map((value) => (value).toJson()).toList(); | 3501 _json["lineItems"] = lineItems.map((value) => (value).toJson()).toList(); |
| 3336 } | 3502 } |
| 3337 if (paymentMethod != null) { | 3503 if (paymentMethod != null) { |
| 3338 _json["paymentMethod"] = (paymentMethod).toJson(); | 3504 _json["paymentMethod"] = (paymentMethod).toJson(); |
| 3339 } | 3505 } |
| 3340 if (predefinedDeliveryAddress != null) { | 3506 if (predefinedDeliveryAddress != null) { |
| 3341 _json["predefinedDeliveryAddress"] = predefinedDeliveryAddress; | 3507 _json["predefinedDeliveryAddress"] = predefinedDeliveryAddress; |
| 3342 } | 3508 } |
| 3509 if (promotions != null) { |
| 3510 _json["promotions"] = promotions.map((value) => (value).toJson()).toList()
; |
| 3511 } |
| 3343 if (shippingCost != null) { | 3512 if (shippingCost != null) { |
| 3344 _json["shippingCost"] = (shippingCost).toJson(); | 3513 _json["shippingCost"] = (shippingCost).toJson(); |
| 3345 } | 3514 } |
| 3346 if (shippingCostTax != null) { | 3515 if (shippingCostTax != null) { |
| 3347 _json["shippingCostTax"] = (shippingCostTax).toJson(); | 3516 _json["shippingCostTax"] = (shippingCostTax).toJson(); |
| 3348 } | 3517 } |
| 3349 if (shippingOption != null) { | 3518 if (shippingOption != null) { |
| 3350 _json["shippingOption"] = shippingOption; | 3519 _json["shippingOption"] = shippingOption; |
| 3351 } | 3520 } |
| 3352 return _json; | 3521 return _json; |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3614 } | 3783 } |
| 3615 if (predefinedBillingAddress != null) { | 3784 if (predefinedBillingAddress != null) { |
| 3616 _json["predefinedBillingAddress"] = predefinedBillingAddress; | 3785 _json["predefinedBillingAddress"] = predefinedBillingAddress; |
| 3617 } | 3786 } |
| 3618 if (type != null) { | 3787 if (type != null) { |
| 3619 _json["type"] = type; | 3788 _json["type"] = type; |
| 3620 } | 3789 } |
| 3621 return _json; | 3790 return _json; |
| 3622 } | 3791 } |
| 3623 } | 3792 } |
| OLD | NEW |