| 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; |
| (...skipping 904 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 915 */ | 915 */ |
| 916 Price netAmount; | 916 Price netAmount; |
| 917 /** The details of the payment method. */ | 917 /** The details of the payment method. */ |
| 918 OrderPaymentMethod paymentMethod; | 918 OrderPaymentMethod paymentMethod; |
| 919 /** The status of the payment. */ | 919 /** The status of the payment. */ |
| 920 core.String paymentStatus; | 920 core.String paymentStatus; |
| 921 /** The date when the order was placed, in ISO 8601 format. */ | 921 /** The date when the order was placed, in ISO 8601 format. */ |
| 922 core.String placedDate; | 922 core.String placedDate; |
| 923 /** | 923 /** |
| 924 * The details of the merchant provided promotions applied to the order. More | 924 * The details of the merchant provided promotions applied to the order. More |
| 925 * details about the program are here. | 925 * details about the program are here. |
| 926 */ | 926 */ |
| 927 core.List<OrderPromotion> promotions; | 927 core.List<OrderPromotion> promotions; |
| 928 /** Refunds for the order. */ | 928 /** Refunds for the order. */ |
| 929 core.List<OrderRefund> refunds; | 929 core.List<OrderRefund> refunds; |
| 930 /** Shipments of the order. */ | 930 /** Shipments of the order. */ |
| 931 core.List<OrderShipment> shipments; | 931 core.List<OrderShipment> shipments; |
| 932 /** The total cost of shipping for all items. */ | 932 /** The total cost of shipping for all items. */ |
| 933 Price shippingCost; | 933 Price shippingCost; |
| 934 /** The tax for the total shipping cost. */ | 934 /** The tax for the total shipping cost. */ |
| 935 Price shippingCostTax; | 935 Price shippingCostTax; |
| (...skipping 2530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3466 /** Line items that are ordered. At least one line item must be provided. */ | 3466 /** Line items that are ordered. At least one line item must be provided. */ |
| 3467 core.List<TestOrderLineItem> lineItems; | 3467 core.List<TestOrderLineItem> lineItems; |
| 3468 /** The details of the payment method. */ | 3468 /** The details of the payment method. */ |
| 3469 TestOrderPaymentMethod paymentMethod; | 3469 TestOrderPaymentMethod paymentMethod; |
| 3470 /** | 3470 /** |
| 3471 * Identifier of one of the predefined delivery addresses for the delivery. | 3471 * Identifier of one of the predefined delivery addresses for the delivery. |
| 3472 */ | 3472 */ |
| 3473 core.String predefinedDeliveryAddress; | 3473 core.String predefinedDeliveryAddress; |
| 3474 /** | 3474 /** |
| 3475 * The details of the merchant provided promotions applied to the order. More | 3475 * The details of the merchant provided promotions applied to the order. More |
| 3476 * details about the program are here. | 3476 * details about the program are here. |
| 3477 */ | 3477 */ |
| 3478 core.List<OrderPromotion> promotions; | 3478 core.List<OrderPromotion> promotions; |
| 3479 /** The total cost of shipping for all items. */ | 3479 /** The total cost of shipping for all items. */ |
| 3480 Price shippingCost; | 3480 Price shippingCost; |
| 3481 /** The tax for the total shipping cost. */ | 3481 /** The tax for the total shipping cost. */ |
| 3482 Price shippingCostTax; | 3482 Price shippingCostTax; |
| 3483 /** The requested shipping option. */ | 3483 /** The requested shipping option. */ |
| 3484 core.String shippingOption; | 3484 core.String shippingOption; |
| 3485 | 3485 |
| 3486 TestOrder(); | 3486 TestOrder(); |
| (...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3809 } | 3809 } |
| 3810 if (predefinedBillingAddress != null) { | 3810 if (predefinedBillingAddress != null) { |
| 3811 _json["predefinedBillingAddress"] = predefinedBillingAddress; | 3811 _json["predefinedBillingAddress"] = predefinedBillingAddress; |
| 3812 } | 3812 } |
| 3813 if (type != null) { | 3813 if (type != null) { |
| 3814 _json["type"] = type; | 3814 _json["type"] = type; |
| 3815 } | 3815 } |
| 3816 return _json; | 3816 return _json; |
| 3817 } | 3817 } |
| 3818 } | 3818 } |
| OLD | NEW |