| 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 "POST", | 128 "POST", |
| 129 body: _body, | 129 body: _body, |
| 130 queryParams: _queryParams, | 130 queryParams: _queryParams, |
| 131 uploadOptions: _uploadOptions, | 131 uploadOptions: _uploadOptions, |
| 132 uploadMedia: _uploadMedia, | 132 uploadMedia: _uploadMedia, |
| 133 downloadOptions: _downloadOptions); | 133 downloadOptions: _downloadOptions); |
| 134 return _response.then((data) => new OrdersAdvanceTestOrderResponse.fromJson(
data)); | 134 return _response.then((data) => new OrdersAdvanceTestOrderResponse.fromJson(
data)); |
| 135 } | 135 } |
| 136 | 136 |
| 137 /** | 137 /** |
| 138 * Cancels all line items in an order. This method can only be called for | 138 * Cancels all line items in an order, making a full refund. This method can |
| 139 * non-multi-client accounts. | 139 * only be called for non-multi-client accounts. |
| 140 * | 140 * |
| 141 * [request] - The metadata request object. | 141 * [request] - The metadata request object. |
| 142 * | 142 * |
| 143 * Request parameters: | 143 * Request parameters: |
| 144 * | 144 * |
| 145 * [merchantId] - The ID of the managing account. | 145 * [merchantId] - The ID of the managing account. |
| 146 * | 146 * |
| 147 * [orderId] - The ID of the order to cancel. | 147 * [orderId] - The ID of the order to cancel. |
| 148 * | 148 * |
| 149 * Completes with a [OrdersCancelResponse]. | 149 * Completes with a [OrdersCancelResponse]. |
| (...skipping 28 matching lines...) Expand all Loading... |
| 178 "POST", | 178 "POST", |
| 179 body: _body, | 179 body: _body, |
| 180 queryParams: _queryParams, | 180 queryParams: _queryParams, |
| 181 uploadOptions: _uploadOptions, | 181 uploadOptions: _uploadOptions, |
| 182 uploadMedia: _uploadMedia, | 182 uploadMedia: _uploadMedia, |
| 183 downloadOptions: _downloadOptions); | 183 downloadOptions: _downloadOptions); |
| 184 return _response.then((data) => new OrdersCancelResponse.fromJson(data)); | 184 return _response.then((data) => new OrdersCancelResponse.fromJson(data)); |
| 185 } | 185 } |
| 186 | 186 |
| 187 /** | 187 /** |
| 188 * Cancels a line item. This method can only be called for non-multi-client | 188 * Cancels a line item, making a full refund. This method can only be called |
| 189 * accounts. | 189 * for non-multi-client accounts. |
| 190 * | 190 * |
| 191 * [request] - The metadata request object. | 191 * [request] - The metadata request object. |
| 192 * | 192 * |
| 193 * Request parameters: | 193 * Request parameters: |
| 194 * | 194 * |
| 195 * [merchantId] - The ID of the managing account. | 195 * [merchantId] - The ID of the managing account. |
| 196 * | 196 * |
| 197 * [orderId] - The ID of the order. | 197 * [orderId] - The ID of the order. |
| 198 * | 198 * |
| 199 * Completes with a [OrdersCancelLineItemResponse]. | 199 * Completes with a [OrdersCancelLineItemResponse]. |
| (...skipping 3609 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 |