google-api-client 0.9.pre3 → 0.9.pre4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (307) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -0
  3. data/CHANGELOG.md +14 -2
  4. data/Gemfile +4 -0
  5. data/MIGRATING.md +1 -1
  6. data/README.md +17 -3
  7. data/api_names.yaml +127 -14
  8. data/api_names_out.yaml +5442 -710
  9. data/bin/generate-api +16 -14
  10. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +213 -2
  12. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +71 -0
  13. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -42
  14. data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
  15. data/generated/google/apis/adexchangeseller_v2_0/service.rb +15 -29
  16. data/generated/google/apis/admin_datatransfer_v1.rb +37 -0
  17. data/generated/google/apis/admin_datatransfer_v1/classes.rb +267 -0
  18. data/generated/google/apis/admin_datatransfer_v1/representations.rb +118 -0
  19. data/generated/google/apis/admin_datatransfer_v1/service.rb +262 -0
  20. data/generated/google/apis/admin_directory_v1.rb +25 -1
  21. data/generated/google/apis/admin_directory_v1/classes.rb +718 -0
  22. data/generated/google/apis/admin_directory_v1/representations.rb +244 -0
  23. data/generated/google/apis/admin_directory_v1/service.rb +1522 -509
  24. data/generated/google/apis/admin_reports_v1.rb +1 -1
  25. data/generated/google/apis/admin_reports_v1/service.rb +5 -10
  26. data/generated/google/apis/adsense_v1_4.rb +1 -1
  27. data/generated/google/apis/adsense_v1_4/classes.rb +6 -0
  28. data/generated/google/apis/adsense_v1_4/representations.rb +1 -0
  29. data/generated/google/apis/adsense_v1_4/service.rb +40 -78
  30. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  31. data/generated/google/apis/adsensehost_v4_1/service.rb +26 -52
  32. data/generated/google/apis/analytics_v3.rb +1 -1
  33. data/generated/google/apis/analytics_v3/classes.rb +11 -13
  34. data/generated/google/apis/analytics_v3/service.rb +84 -158
  35. data/generated/google/apis/androidenterprise_v1.rb +2 -2
  36. data/generated/google/apis/androidenterprise_v1/classes.rb +276 -8
  37. data/generated/google/apis/androidenterprise_v1/representations.rb +106 -0
  38. data/generated/google/apis/androidenterprise_v1/service.rb +715 -97
  39. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  40. data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
  41. data/generated/google/apis/androidpublisher_v2/service.rb +55 -107
  42. data/generated/google/apis/appengine_v1beta4.rb +35 -0
  43. data/generated/google/apis/appengine_v1beta4/classes.rb +1532 -0
  44. data/generated/google/apis/appengine_v1beta4/representations.rb +526 -0
  45. data/generated/google/apis/appengine_v1beta4/service.rb +476 -0
  46. data/generated/google/apis/appsactivity_v1.rb +1 -1
  47. data/generated/google/apis/appsactivity_v1/service.rb +1 -2
  48. data/generated/google/apis/appstate_v1.rb +1 -1
  49. data/generated/google/apis/appstate_v1/service.rb +6 -11
  50. data/generated/google/apis/autoscaler_v1beta2/service.rb +10 -20
  51. data/generated/google/apis/bigquery_v2.rb +4 -1
  52. data/generated/google/apis/bigquery_v2/classes.rb +231 -16
  53. data/generated/google/apis/bigquery_v2/representations.rb +62 -0
  54. data/generated/google/apis/bigquery_v2/service.rb +24 -45
  55. data/generated/google/apis/blogger_v3/service.rb +33 -66
  56. data/generated/google/apis/books_v1.rb +1 -1
  57. data/generated/google/apis/books_v1/classes.rb +441 -0
  58. data/generated/google/apis/books_v1/representations.rb +177 -0
  59. data/generated/google/apis/books_v1/service.rb +210 -90
  60. data/generated/google/apis/calendar_v3.rb +1 -1
  61. data/generated/google/apis/calendar_v3/classes.rb +34 -18
  62. data/generated/google/apis/calendar_v3/service.rb +118 -103
  63. data/generated/google/apis/civicinfo_v2.rb +1 -1
  64. data/generated/google/apis/civicinfo_v2/classes.rb +12 -3
  65. data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
  66. data/generated/google/apis/civicinfo_v2/service.rb +5 -10
  67. data/generated/google/apis/classroom_v1.rb +49 -0
  68. data/generated/google/apis/classroom_v1/classes.rb +512 -0
  69. data/generated/google/apis/classroom_v1/representations.rb +217 -0
  70. data/generated/google/apis/classroom_v1/service.rb +970 -0
  71. data/generated/google/apis/cloudbilling_v1.rb +35 -0
  72. data/generated/google/apis/cloudbilling_v1/classes.rb +169 -0
  73. data/generated/google/apis/cloudbilling_v1/representations.rb +79 -0
  74. data/generated/google/apis/cloudbilling_v1/service.rb +258 -0
  75. data/generated/google/apis/clouddebugger_v2.rb +41 -0
  76. data/generated/google/apis/clouddebugger_v2/classes.rb +1004 -0
  77. data/generated/google/apis/clouddebugger_v2/representations.rb +410 -0
  78. data/generated/google/apis/clouddebugger_v2/service.rb +370 -0
  79. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  80. data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +6 -12
  81. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +5 -2
  82. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +173 -249
  83. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +36 -68
  84. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +293 -80
  85. data/generated/google/apis/cloudtrace_v1.rb +35 -0
  86. data/generated/google/apis/cloudtrace_v1/classes.rb +188 -0
  87. data/generated/google/apis/cloudtrace_v1/representations.rb +92 -0
  88. data/generated/google/apis/cloudtrace_v1/service.rb +190 -0
  89. data/generated/google/apis/clouduseraccounts_beta.rb +43 -0
  90. data/generated/google/apis/clouduseraccounts_beta/classes.rb +823 -0
  91. data/generated/google/apis/clouduseraccounts_beta/representations.rb +313 -0
  92. data/generated/google/apis/clouduseraccounts_beta/service.rb +854 -0
  93. data/generated/google/apis/compute_beta.rb +49 -0
  94. data/generated/google/apis/compute_beta/classes.rb +9128 -0
  95. data/generated/google/apis/compute_beta/representations.rb +3048 -0
  96. data/generated/google/apis/compute_beta/service.rb +10154 -0
  97. data/generated/google/apis/compute_v1.rb +1 -1
  98. data/generated/google/apis/compute_v1/classes.rb +1305 -520
  99. data/generated/google/apis/compute_v1/representations.rb +122 -15
  100. data/generated/google/apis/compute_v1/service.rb +2202 -1085
  101. data/generated/google/apis/container_v1.rb +1 -1
  102. data/generated/google/apis/container_v1/classes.rb +56 -31
  103. data/generated/google/apis/container_v1/representations.rb +12 -0
  104. data/generated/google/apis/container_v1/service.rb +62 -41
  105. data/generated/google/apis/content_v2.rb +2 -2
  106. data/generated/google/apis/content_v2/classes.rb +2252 -56
  107. data/generated/google/apis/content_v2/representations.rb +917 -87
  108. data/generated/google/apis/content_v2/service.rb +680 -85
  109. data/generated/google/apis/coordinate_v1.rb +1 -1
  110. data/generated/google/apis/coordinate_v1/service.rb +16 -25
  111. data/generated/google/apis/customsearch_v1/service.rb +1 -2
  112. data/generated/google/apis/datastore_v1beta2.rb +1 -1
  113. data/generated/google/apis/datastore_v1beta2/service.rb +12 -18
  114. data/generated/google/apis/deploymentmanager_v2.rb +44 -0
  115. data/generated/google/apis/deploymentmanager_v2/classes.rb +1089 -0
  116. data/generated/google/apis/deploymentmanager_v2/representations.rb +422 -0
  117. data/generated/google/apis/deploymentmanager_v2/service.rb +857 -0
  118. data/generated/google/apis/deploymentmanager_v2beta2.rb +5 -2
  119. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +22 -3
  120. data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +3 -0
  121. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +14 -27
  122. data/generated/google/apis/dfareporting_v2_1.rb +1 -1
  123. data/generated/google/apis/dfareporting_v2_1/classes.rb +29 -14
  124. data/generated/google/apis/dfareporting_v2_1/service.rb +196 -389
  125. data/generated/google/apis/discovery_v1/classes.rb +7 -0
  126. data/generated/google/apis/discovery_v1/representations.rb +1 -0
  127. data/generated/google/apis/discovery_v1/service.rb +2 -4
  128. data/generated/google/apis/dns_v1.rb +4 -1
  129. data/generated/google/apis/dns_v1/service.rb +9 -18
  130. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  131. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +9 -2
  132. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +1 -0
  133. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -16
  134. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  135. data/generated/google/apis/doubleclicksearch_v2/classes.rb +15 -6
  136. data/generated/google/apis/doubleclicksearch_v2/representations.rb +1 -0
  137. data/generated/google/apis/doubleclicksearch_v2/service.rb +13 -23
  138. data/generated/google/apis/drive_v2.rb +1 -1
  139. data/generated/google/apis/drive_v2/classes.rb +73 -30
  140. data/generated/google/apis/drive_v2/representations.rb +14 -0
  141. data/generated/google/apis/drive_v2/service.rb +139 -135
  142. data/generated/google/apis/drive_v3.rb +55 -0
  143. data/generated/google/apis/drive_v3/classes.rb +1534 -0
  144. data/generated/google/apis/drive_v3/representations.rb +497 -0
  145. data/generated/google/apis/drive_v3/service.rb +1541 -0
  146. data/generated/google/apis/fitness_v1.rb +1 -1
  147. data/generated/google/apis/fitness_v1/service.rb +14 -27
  148. data/generated/google/apis/fusiontables_v2/service.rb +40 -73
  149. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  150. data/generated/google/apis/games_configuration_v1configuration/service.rb +14 -27
  151. data/generated/google/apis/games_management_v1management.rb +37 -0
  152. data/generated/google/apis/games_management_v1management/classes.rb +524 -0
  153. data/generated/google/apis/games_management_v1management/representations.rb +231 -0
  154. data/generated/google/apis/games_management_v1management/service.rb +994 -0
  155. data/generated/google/apis/games_v1.rb +1 -1
  156. data/generated/google/apis/games_v1/classes.rb +39 -0
  157. data/generated/google/apis/games_v1/representations.rb +14 -0
  158. data/generated/google/apis/games_v1/service.rb +93 -109
  159. data/generated/google/apis/gan_v1beta1/service.rb +10 -20
  160. data/generated/google/apis/genomics_v1.rb +5 -3
  161. data/generated/google/apis/genomics_v1/classes.rb +519 -200
  162. data/generated/google/apis/genomics_v1/representations.rb +126 -13
  163. data/generated/google/apis/genomics_v1/service.rb +392 -236
  164. data/generated/google/apis/gmail_v1.rb +4 -1
  165. data/generated/google/apis/gmail_v1/service.rb +39 -71
  166. data/generated/google/apis/groupsmigration_v1/service.rb +2 -3
  167. data/generated/google/apis/groupssettings_v1/service.rb +3 -6
  168. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  169. data/generated/google/apis/identitytoolkit_v3/classes.rb +125 -0
  170. data/generated/google/apis/identitytoolkit_v3/representations.rb +37 -0
  171. data/generated/google/apis/identitytoolkit_v3/service.rb +44 -24
  172. data/generated/google/apis/kgsearch_v1.rb +32 -0
  173. data/generated/google/apis/kgsearch_v1/classes.rb +59 -0
  174. data/generated/google/apis/kgsearch_v1/representations.rb +39 -0
  175. data/generated/google/apis/kgsearch_v1/service.rb +111 -0
  176. data/generated/google/apis/licensing_v1.rb +1 -1
  177. data/generated/google/apis/licensing_v1/service.rb +7 -14
  178. data/generated/google/apis/logging_v1beta3.rb +16 -4
  179. data/generated/google/apis/logging_v1beta3/classes.rb +620 -46
  180. data/generated/google/apis/logging_v1beta3/representations.rb +144 -0
  181. data/generated/google/apis/logging_v1beta3/service.rb +435 -104
  182. data/generated/google/apis/manager_v1beta2.rb +3 -0
  183. data/generated/google/apis/manager_v1beta2/service.rb +8 -16
  184. data/generated/google/apis/mapsengine_v1.rb +1 -1
  185. data/generated/google/apis/mapsengine_v1/service.rb +85 -162
  186. data/generated/google/apis/mirror_v1.rb +1 -1
  187. data/generated/google/apis/mirror_v1/service.rb +28 -52
  188. data/generated/google/apis/oauth2_v2.rb +1 -1
  189. data/generated/google/apis/oauth2_v2/service.rb +4 -8
  190. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -2
  191. data/generated/google/apis/partners_v2.rb +32 -0
  192. data/generated/google/apis/partners_v2/classes.rb +942 -0
  193. data/generated/google/apis/partners_v2/representations.rb +402 -0
  194. data/generated/google/apis/partners_v2/service.rb +400 -0
  195. data/generated/google/apis/plus_domains_v1.rb +1 -1
  196. data/generated/google/apis/plus_domains_v1/classes.rb +207 -0
  197. data/generated/google/apis/plus_domains_v1/representations.rb +114 -0
  198. data/generated/google/apis/plus_domains_v1/service.rb +21 -41
  199. data/generated/google/apis/plus_v1.rb +1 -1
  200. data/generated/google/apis/plus_v1/classes.rb +207 -0
  201. data/generated/google/apis/plus_v1/representations.rb +114 -0
  202. data/generated/google/apis/plus_v1/service.rb +11 -56
  203. data/generated/google/apis/prediction_v1_6.rb +1 -1
  204. data/generated/google/apis/prediction_v1_6/service.rb +8 -16
  205. data/generated/google/apis/proximitybeacon_v1beta1.rb +31 -0
  206. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +639 -0
  207. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +274 -0
  208. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +591 -0
  209. data/generated/google/apis/pubsub_v1.rb +37 -0
  210. data/generated/google/apis/pubsub_v1/classes.rb +614 -0
  211. data/generated/google/apis/pubsub_v1/representations.rb +281 -0
  212. data/generated/google/apis/pubsub_v1/service.rb +774 -0
  213. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  214. data/generated/google/apis/pubsub_v1beta2/classes.rb +78 -283
  215. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -85
  216. data/generated/google/apis/pubsub_v1beta2/service.rb +79 -87
  217. data/generated/google/apis/qpx_express_v1/service.rb +1 -2
  218. data/generated/google/apis/replicapool_v1beta2.rb +3 -0
  219. data/generated/google/apis/replicapool_v1beta2/service.rb +12 -24
  220. data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -1
  221. data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +46 -2
  222. data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +16 -0
  223. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +58 -18
  224. data/generated/google/apis/reseller_v1.rb +1 -1
  225. data/generated/google/apis/reseller_v1/classes.rb +19 -1
  226. data/generated/google/apis/reseller_v1/representations.rb +1 -0
  227. data/generated/google/apis/reseller_v1/service.rb +16 -30
  228. data/generated/google/apis/resourceviews_v1beta2.rb +3 -0
  229. data/generated/google/apis/resourceviews_v1beta2/service.rb +16 -27
  230. data/generated/google/apis/script_v1.rb +61 -0
  231. data/generated/google/apis/script_v1/classes.rb +259 -0
  232. data/generated/google/apis/script_v1/representations.rb +106 -0
  233. data/generated/google/apis/script_v1/service.rb +98 -0
  234. data/generated/google/apis/site_verification_v1.rb +1 -1
  235. data/generated/google/apis/site_verification_v1/service.rb +8 -15
  236. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  237. data/generated/google/apis/sqladmin_v1beta4/classes.rb +186 -2
  238. data/generated/google/apis/sqladmin_v1beta4/representations.rb +70 -0
  239. data/generated/google/apis/sqladmin_v1beta4/service.rb +166 -75
  240. data/generated/google/apis/storage_v1.rb +5 -2
  241. data/generated/google/apis/storage_v1/classes.rb +47 -4
  242. data/generated/google/apis/storage_v1/representations.rb +18 -0
  243. data/generated/google/apis/storage_v1/service.rb +77 -94
  244. data/generated/google/apis/storagetransfer_v1.rb +35 -0
  245. data/generated/google/apis/storagetransfer_v1/classes.rb +1046 -0
  246. data/generated/google/apis/storagetransfer_v1/representations.rb +370 -0
  247. data/generated/google/apis/storagetransfer_v1/service.rb +473 -0
  248. data/generated/google/apis/tagmanager_v1.rb +1 -1
  249. data/generated/google/apis/tagmanager_v1/classes.rb +189 -31
  250. data/generated/google/apis/tagmanager_v1/representations.rb +69 -15
  251. data/generated/google/apis/tagmanager_v1/service.rb +114 -275
  252. data/generated/google/apis/taskqueue_v1beta2/service.rb +8 -16
  253. data/generated/google/apis/tasks_v1/service.rb +14 -28
  254. data/generated/google/apis/translate_v2/service.rb +3 -6
  255. data/generated/google/apis/urlshortener_v1/service.rb +3 -6
  256. data/generated/google/apis/webmasters_v3.rb +3 -3
  257. data/generated/google/apis/webmasters_v3/classes.rb +4 -4
  258. data/generated/google/apis/webmasters_v3/service.rb +16 -30
  259. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  260. data/generated/google/apis/youtube_analytics_v1/classes.rb +6 -0
  261. data/generated/google/apis/youtube_analytics_v1/representations.rb +1 -0
  262. data/generated/google/apis/youtube_analytics_v1/service.rb +16 -21
  263. data/generated/google/apis/youtube_v3.rb +1 -1
  264. data/generated/google/apis/youtube_v3/classes.rb +111 -78
  265. data/generated/google/apis/youtube_v3/representations.rb +2 -0
  266. data/generated/google/apis/youtube_v3/service.rb +78 -246
  267. data/generated/google/apis/youtubereporting_v1.rb +38 -0
  268. data/generated/google/apis/youtubereporting_v1/classes.rb +258 -0
  269. data/generated/google/apis/youtubereporting_v1/representations.rb +128 -0
  270. data/generated/google/apis/youtubereporting_v1/service.rb +364 -0
  271. data/google-api-client.gemspec +3 -3
  272. data/lib/google/api_client/auth/installed_app.rb +2 -2
  273. data/lib/google/api_client/auth/key_utils.rb +1 -0
  274. data/lib/google/api_client/auth/storage.rb +1 -0
  275. data/lib/google/api_client/auth/storages/file_store.rb +1 -0
  276. data/lib/google/api_client/auth/storages/redis_store.rb +1 -0
  277. data/lib/google/api_client/client_secrets.rb +4 -5
  278. data/lib/google/apis/core/api_command.rb +2 -2
  279. data/lib/google/apis/core/base_service.rb +1 -0
  280. data/lib/google/apis/core/batch.rb +25 -8
  281. data/lib/google/apis/core/download.rb +1 -1
  282. data/lib/google/apis/core/http_command.rb +24 -12
  283. data/lib/google/apis/core/multipart.rb +20 -6
  284. data/lib/google/apis/core/upload.rb +11 -4
  285. data/lib/google/apis/generator/annotator.rb +29 -10
  286. data/lib/google/apis/generator/helpers.rb +1 -1
  287. data/lib/google/apis/generator/templates/_method.tmpl +5 -6
  288. data/lib/google/apis/options.rb +7 -3
  289. data/lib/google/apis/version.rb +1 -1
  290. data/samples/calendar/calendar.rb +1 -1
  291. data/samples/drive/drive.rb +9 -2
  292. data/samples/pubsub/pubsub.rb +5 -6
  293. data/samples/translate/translate.rb +1 -5
  294. data/script/generate +20 -5
  295. data/spec/fixtures/files/child/.gitignore +0 -0
  296. data/spec/fixtures/files/invalid.json +1 -0
  297. data/spec/google/api_client/client_secrets_spec.rb +38 -1
  298. data/spec/google/apis/core/batch_spec.rb +22 -8
  299. data/spec/google/apis/core/download_spec.rb +13 -0
  300. data/spec/google/apis/core/http_command_spec.rb +26 -9
  301. data/spec/google/apis/core/upload_spec.rb +65 -17
  302. data/spec/google/apis/options_spec.rb +8 -0
  303. data/spec/integration_tests/adsense_spec.rb +28 -0
  304. data/spec/integration_tests/pubsub_spec.rb +3 -3
  305. data/spec/spec_helper.rb +5 -1
  306. data/third_party/hurley_patches.rb +103 -0
  307. metadata +87 -7
@@ -254,6 +254,10 @@ module Google
254
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
255
  end
256
256
 
257
+ class Installment
258
+ class Representation < Google::Apis::Core::JsonRepresentation; end
259
+ end
260
+
257
261
  class Inventory
258
262
  class Representation < Google::Apis::Core::JsonRepresentation; end
259
263
  end
@@ -286,6 +290,198 @@ module Google
286
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
287
291
  end
288
292
 
293
+ class Order
294
+ class Representation < Google::Apis::Core::JsonRepresentation; end
295
+ end
296
+
297
+ class OrderAddress
298
+ class Representation < Google::Apis::Core::JsonRepresentation; end
299
+ end
300
+
301
+ class OrderCancellation
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+ end
304
+
305
+ class OrderCustomer
306
+ class Representation < Google::Apis::Core::JsonRepresentation; end
307
+ end
308
+
309
+ class OrderDeliveryDetails
310
+ class Representation < Google::Apis::Core::JsonRepresentation; end
311
+ end
312
+
313
+ class OrderLineItem
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+ end
316
+
317
+ class OrderLineItemProduct
318
+ class Representation < Google::Apis::Core::JsonRepresentation; end
319
+ end
320
+
321
+ class OrderLineItemProductVariantAttribute
322
+ class Representation < Google::Apis::Core::JsonRepresentation; end
323
+ end
324
+
325
+ class OrderLineItemReturnInfo
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+ end
328
+
329
+ class OrderLineItemShippingDetails
330
+ class Representation < Google::Apis::Core::JsonRepresentation; end
331
+ end
332
+
333
+ class OrderLineItemShippingDetailsMethod
334
+ class Representation < Google::Apis::Core::JsonRepresentation; end
335
+ end
336
+
337
+ class OrderPaymentMethod
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+ end
340
+
341
+ class OrderRefund
342
+ class Representation < Google::Apis::Core::JsonRepresentation; end
343
+ end
344
+
345
+ class OrderReturn
346
+ class Representation < Google::Apis::Core::JsonRepresentation; end
347
+ end
348
+
349
+ class OrderShipment
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+ end
352
+
353
+ class OrderShipmentLineItemShipment
354
+ class Representation < Google::Apis::Core::JsonRepresentation; end
355
+ end
356
+
357
+ class OrdersAcknowledgeRequest
358
+ class Representation < Google::Apis::Core::JsonRepresentation; end
359
+ end
360
+
361
+ class OrdersAcknowledgeResponse
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+ end
364
+
365
+ class OrdersAdvanceTestOrderResponse
366
+ class Representation < Google::Apis::Core::JsonRepresentation; end
367
+ end
368
+
369
+ class OrdersCancelLineItemRequest
370
+ class Representation < Google::Apis::Core::JsonRepresentation; end
371
+ end
372
+
373
+ class OrdersCancelLineItemResponse
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+ end
376
+
377
+ class OrdersCancelRequest
378
+ class Representation < Google::Apis::Core::JsonRepresentation; end
379
+ end
380
+
381
+ class OrdersCancelResponse
382
+ class Representation < Google::Apis::Core::JsonRepresentation; end
383
+ end
384
+
385
+ class OrdersCreateTestOrderRequest
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+ end
388
+
389
+ class OrdersCreateTestOrderResponse
390
+ class Representation < Google::Apis::Core::JsonRepresentation; end
391
+ end
392
+
393
+ class OrdersCustomBatchRequest
394
+ class Representation < Google::Apis::Core::JsonRepresentation; end
395
+ end
396
+
397
+ class OrdersCustomBatchRequestEntry
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+ end
400
+
401
+ class OrdersCustomBatchRequestEntryCancel
402
+ class Representation < Google::Apis::Core::JsonRepresentation; end
403
+ end
404
+
405
+ class OrdersCustomBatchRequestEntryCancelLineItem
406
+ class Representation < Google::Apis::Core::JsonRepresentation; end
407
+ end
408
+
409
+ class OrdersCustomBatchRequestEntryRefund
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+ end
412
+
413
+ class OrdersCustomBatchRequestEntryReturnLineItem
414
+ class Representation < Google::Apis::Core::JsonRepresentation; end
415
+ end
416
+
417
+ class OrdersCustomBatchRequestEntryShipLineItems
418
+ class Representation < Google::Apis::Core::JsonRepresentation; end
419
+ end
420
+
421
+ class OrdersCustomBatchRequestEntryUpdateShipment
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+ end
424
+
425
+ class OrdersCustomBatchResponse
426
+ class Representation < Google::Apis::Core::JsonRepresentation; end
427
+ end
428
+
429
+ class OrdersCustomBatchResponseEntry
430
+ class Representation < Google::Apis::Core::JsonRepresentation; end
431
+ end
432
+
433
+ class OrdersGetByMerchantOrderIdResponse
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+ end
436
+
437
+ class OrdersGetTestOrderTemplateResponse
438
+ class Representation < Google::Apis::Core::JsonRepresentation; end
439
+ end
440
+
441
+ class OrdersListResponse
442
+ class Representation < Google::Apis::Core::JsonRepresentation; end
443
+ end
444
+
445
+ class OrdersRefundRequest
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+ end
448
+
449
+ class OrdersRefundResponse
450
+ class Representation < Google::Apis::Core::JsonRepresentation; end
451
+ end
452
+
453
+ class OrdersReturnLineItemRequest
454
+ class Representation < Google::Apis::Core::JsonRepresentation; end
455
+ end
456
+
457
+ class OrdersReturnLineItemResponse
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+ end
460
+
461
+ class OrdersShipLineItemsRequest
462
+ class Representation < Google::Apis::Core::JsonRepresentation; end
463
+ end
464
+
465
+ class OrdersShipLineItemsResponse
466
+ class Representation < Google::Apis::Core::JsonRepresentation; end
467
+ end
468
+
469
+ class OrdersUpdateMerchantOrderIdRequest
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+ end
472
+
473
+ class OrdersUpdateMerchantOrderIdResponse
474
+ class Representation < Google::Apis::Core::JsonRepresentation; end
475
+ end
476
+
477
+ class OrdersUpdateShipmentRequest
478
+ class Representation < Google::Apis::Core::JsonRepresentation; end
479
+ end
480
+
481
+ class OrdersUpdateShipmentResponse
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+ end
484
+
289
485
  class Price
290
486
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
487
  end
@@ -310,10 +506,6 @@ module Google
310
506
  class Representation < Google::Apis::Core::JsonRepresentation; end
311
507
  end
312
508
 
313
- class ProductInstallment
314
- class Representation < Google::Apis::Core::JsonRepresentation; end
315
- end
316
-
317
509
  class ProductShipping
318
510
  class Representation < Google::Apis::Core::JsonRepresentation; end
319
511
  end
@@ -390,6 +582,26 @@ module Google
390
582
  class Representation < Google::Apis::Core::JsonRepresentation; end
391
583
  end
392
584
 
585
+ class TestOrder
586
+ class Representation < Google::Apis::Core::JsonRepresentation; end
587
+ end
588
+
589
+ class TestOrderCustomer
590
+ class Representation < Google::Apis::Core::JsonRepresentation; end
591
+ end
592
+
593
+ class TestOrderLineItem
594
+ class Representation < Google::Apis::Core::JsonRepresentation; end
595
+ end
596
+
597
+ class TestOrderLineItemProduct
598
+ class Representation < Google::Apis::Core::JsonRepresentation; end
599
+ end
600
+
601
+ class TestOrderPaymentMethod
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+ end
604
+
393
605
  class Weight
394
606
  class Representation < Google::Apis::Core::JsonRepresentation; end
395
607
  end
@@ -1019,11 +1231,24 @@ module Google
1019
1231
  end
1020
1232
  end
1021
1233
 
1234
+ class Installment
1235
+ # @private
1236
+ class Representation < Google::Apis::Core::JsonRepresentation
1237
+ property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1238
+
1239
+ property :months, as: 'months'
1240
+ end
1241
+ end
1242
+
1022
1243
  class Inventory
1023
1244
  # @private
1024
1245
  class Representation < Google::Apis::Core::JsonRepresentation
1025
1246
  property :availability, as: 'availability'
1247
+ property :installment, as: 'installment', class: Google::Apis::ContentV2::Installment, decorator: Google::Apis::ContentV2::Installment::Representation
1248
+
1026
1249
  property :kind, as: 'kind'
1250
+ property :loyalty_points, as: 'loyaltyPoints', class: Google::Apis::ContentV2::LoyaltyPoints, decorator: Google::Apis::ContentV2::LoyaltyPoints::Representation
1251
+
1027
1252
  property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1028
1253
 
1029
1254
  property :quantity, as: 'quantity'
@@ -1077,6 +1302,10 @@ module Google
1077
1302
  # @private
1078
1303
  class Representation < Google::Apis::Core::JsonRepresentation
1079
1304
  property :availability, as: 'availability'
1305
+ property :installment, as: 'installment', class: Google::Apis::ContentV2::Installment, decorator: Google::Apis::ContentV2::Installment::Representation
1306
+
1307
+ property :loyalty_points, as: 'loyaltyPoints', class: Google::Apis::ContentV2::LoyaltyPoints, decorator: Google::Apis::ContentV2::LoyaltyPoints::Representation
1308
+
1080
1309
  property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1081
1310
 
1082
1311
  property :quantity, as: 'quantity'
@@ -1103,94 +1332,629 @@ module Google
1103
1332
  end
1104
1333
  end
1105
1334
 
1106
- class Price
1107
- # @private
1108
- class Representation < Google::Apis::Core::JsonRepresentation
1109
- property :currency, as: 'currency'
1110
- property :value, as: 'value'
1111
- end
1112
- end
1113
-
1114
- class Product
1335
+ class Order
1115
1336
  # @private
1116
1337
  class Representation < Google::Apis::Core::JsonRepresentation
1117
- collection :additional_image_links, as: 'additionalImageLinks'
1118
- property :adult, as: 'adult'
1119
- property :adwords_grouping, as: 'adwordsGrouping'
1120
- collection :adwords_labels, as: 'adwordsLabels'
1121
- property :adwords_redirect, as: 'adwordsRedirect'
1122
- property :age_group, as: 'ageGroup'
1123
- collection :aspects, as: 'aspects', class: Google::Apis::ContentV2::ProductAspect, decorator: Google::Apis::ContentV2::ProductAspect::Representation
1124
-
1125
- property :availability, as: 'availability'
1126
- property :availability_date, as: 'availabilityDate'
1127
- property :brand, as: 'brand'
1128
- property :channel, as: 'channel'
1129
- property :color, as: 'color'
1130
- property :condition, as: 'condition'
1131
- property :content_language, as: 'contentLanguage'
1132
- collection :custom_attributes, as: 'customAttributes', class: Google::Apis::ContentV2::ProductCustomAttribute, decorator: Google::Apis::ContentV2::ProductCustomAttribute::Representation
1338
+ property :acknowledged, as: 'acknowledged'
1339
+ property :customer, as: 'customer', class: Google::Apis::ContentV2::OrderCustomer, decorator: Google::Apis::ContentV2::OrderCustomer::Representation
1133
1340
 
1134
- collection :custom_groups, as: 'customGroups', class: Google::Apis::ContentV2::ProductCustomGroup, decorator: Google::Apis::ContentV2::ProductCustomGroup::Representation
1135
-
1136
- property :custom_label0, as: 'customLabel0'
1137
- property :custom_label1, as: 'customLabel1'
1138
- property :custom_label2, as: 'customLabel2'
1139
- property :custom_label3, as: 'customLabel3'
1140
- property :custom_label4, as: 'customLabel4'
1141
- property :description, as: 'description'
1142
- collection :destinations, as: 'destinations', class: Google::Apis::ContentV2::ProductDestination, decorator: Google::Apis::ContentV2::ProductDestination::Representation
1341
+ property :delivery_details, as: 'deliveryDetails', class: Google::Apis::ContentV2::OrderDeliveryDetails, decorator: Google::Apis::ContentV2::OrderDeliveryDetails::Representation
1143
1342
 
1144
- property :display_ads_id, as: 'displayAdsId'
1145
- property :display_ads_link, as: 'displayAdsLink'
1146
- collection :display_ads_similar_ids, as: 'displayAdsSimilarIds'
1147
- property :display_ads_title, as: 'displayAdsTitle'
1148
- property :display_ads_value, as: 'displayAdsValue'
1149
- property :energy_efficiency_class, as: 'energyEfficiencyClass'
1150
- property :expiration_date, as: 'expirationDate'
1151
- property :gender, as: 'gender'
1152
- property :google_product_category, as: 'googleProductCategory'
1153
- property :gtin, as: 'gtin'
1154
1343
  property :id, as: 'id'
1155
- property :identifier_exists, as: 'identifierExists'
1156
- property :image_link, as: 'imageLink'
1157
- property :installment, as: 'installment', class: Google::Apis::ContentV2::ProductInstallment, decorator: Google::Apis::ContentV2::ProductInstallment::Representation
1158
-
1159
- property :is_bundle, as: 'isBundle'
1160
- property :item_group_id, as: 'itemGroupId'
1161
1344
  property :kind, as: 'kind'
1162
- property :link, as: 'link'
1163
- property :loyalty_points, as: 'loyaltyPoints', class: Google::Apis::ContentV2::LoyaltyPoints, decorator: Google::Apis::ContentV2::LoyaltyPoints::Representation
1345
+ collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2::OrderLineItem, decorator: Google::Apis::ContentV2::OrderLineItem::Representation
1164
1346
 
1165
- property :material, as: 'material'
1166
- property :mobile_link, as: 'mobileLink'
1167
- property :mpn, as: 'mpn'
1168
- property :multipack, as: 'multipack'
1169
- property :offer_id, as: 'offerId'
1170
- property :online_only, as: 'onlineOnly'
1171
- property :pattern, as: 'pattern'
1172
- property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1347
+ property :merchant_id, as: 'merchantId'
1348
+ property :merchant_order_id, as: 'merchantOrderId'
1349
+ property :net_amount, as: 'netAmount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1173
1350
 
1174
- property :product_type, as: 'productType'
1175
- property :sale_price, as: 'salePrice', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1351
+ property :payment_method, as: 'paymentMethod', class: Google::Apis::ContentV2::OrderPaymentMethod, decorator: Google::Apis::ContentV2::OrderPaymentMethod::Representation
1176
1352
 
1177
- property :sale_price_effective_date, as: 'salePriceEffectiveDate'
1178
- collection :shipping, as: 'shipping', class: Google::Apis::ContentV2::ProductShipping, decorator: Google::Apis::ContentV2::ProductShipping::Representation
1353
+ property :payment_status, as: 'paymentStatus'
1354
+ property :placed_date, as: 'placedDate'
1355
+ collection :refunds, as: 'refunds', class: Google::Apis::ContentV2::OrderRefund, decorator: Google::Apis::ContentV2::OrderRefund::Representation
1179
1356
 
1180
- property :shipping_height, as: 'shippingHeight', class: Google::Apis::ContentV2::ProductShippingDimension, decorator: Google::Apis::ContentV2::ProductShippingDimension::Representation
1357
+ collection :shipments, as: 'shipments', class: Google::Apis::ContentV2::OrderShipment, decorator: Google::Apis::ContentV2::OrderShipment::Representation
1181
1358
 
1182
- property :shipping_label, as: 'shippingLabel'
1183
- property :shipping_length, as: 'shippingLength', class: Google::Apis::ContentV2::ProductShippingDimension, decorator: Google::Apis::ContentV2::ProductShippingDimension::Representation
1359
+ property :shipping_cost, as: 'shippingCost', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1184
1360
 
1185
- property :shipping_weight, as: 'shippingWeight', class: Google::Apis::ContentV2::ProductShippingWeight, decorator: Google::Apis::ContentV2::ProductShippingWeight::Representation
1361
+ property :shipping_cost_tax, as: 'shippingCostTax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1186
1362
 
1187
- property :shipping_width, as: 'shippingWidth', class: Google::Apis::ContentV2::ProductShippingDimension, decorator: Google::Apis::ContentV2::ProductShippingDimension::Representation
1363
+ property :shipping_option, as: 'shippingOption'
1364
+ property :status, as: 'status'
1365
+ end
1366
+ end
1188
1367
 
1189
- property :size_system, as: 'sizeSystem'
1190
- property :size_type, as: 'sizeType'
1191
- collection :sizes, as: 'sizes'
1192
- property :target_country, as: 'targetCountry'
1193
- collection :taxes, as: 'taxes', class: Google::Apis::ContentV2::ProductTax, decorator: Google::Apis::ContentV2::ProductTax::Representation
1368
+ class OrderAddress
1369
+ # @private
1370
+ class Representation < Google::Apis::Core::JsonRepresentation
1371
+ property :country, as: 'country'
1372
+ collection :full_address, as: 'fullAddress'
1373
+ property :is_post_office_box, as: 'isPostOfficeBox'
1374
+ property :locality, as: 'locality'
1375
+ property :postal_code, as: 'postalCode'
1376
+ property :recipient_name, as: 'recipientName'
1377
+ property :region, as: 'region'
1378
+ collection :street_address, as: 'streetAddress'
1379
+ end
1380
+ end
1381
+
1382
+ class OrderCancellation
1383
+ # @private
1384
+ class Representation < Google::Apis::Core::JsonRepresentation
1385
+ property :actor, as: 'actor'
1386
+ property :creation_date, as: 'creationDate'
1387
+ property :quantity, as: 'quantity'
1388
+ property :reason, as: 'reason'
1389
+ property :reason_text, as: 'reasonText'
1390
+ end
1391
+ end
1392
+
1393
+ class OrderCustomer
1394
+ # @private
1395
+ class Representation < Google::Apis::Core::JsonRepresentation
1396
+ property :email, as: 'email'
1397
+ property :explicit_marketing_preference, as: 'explicitMarketingPreference'
1398
+ property :full_name, as: 'fullName'
1399
+ end
1400
+ end
1401
+
1402
+ class OrderDeliveryDetails
1403
+ # @private
1404
+ class Representation < Google::Apis::Core::JsonRepresentation
1405
+ property :address, as: 'address', class: Google::Apis::ContentV2::OrderAddress, decorator: Google::Apis::ContentV2::OrderAddress::Representation
1406
+
1407
+ property :phone_number, as: 'phoneNumber'
1408
+ end
1409
+ end
1410
+
1411
+ class OrderLineItem
1412
+ # @private
1413
+ class Representation < Google::Apis::Core::JsonRepresentation
1414
+ collection :cancellations, as: 'cancellations', class: Google::Apis::ContentV2::OrderCancellation, decorator: Google::Apis::ContentV2::OrderCancellation::Representation
1415
+
1416
+ property :id, as: 'id'
1417
+ property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1418
+
1419
+ property :product, as: 'product', class: Google::Apis::ContentV2::OrderLineItemProduct, decorator: Google::Apis::ContentV2::OrderLineItemProduct::Representation
1420
+
1421
+ property :quantity_canceled, as: 'quantityCanceled'
1422
+ property :quantity_delivered, as: 'quantityDelivered'
1423
+ property :quantity_ordered, as: 'quantityOrdered'
1424
+ property :quantity_pending, as: 'quantityPending'
1425
+ property :quantity_returned, as: 'quantityReturned'
1426
+ property :quantity_shipped, as: 'quantityShipped'
1427
+ property :return_info, as: 'returnInfo', class: Google::Apis::ContentV2::OrderLineItemReturnInfo, decorator: Google::Apis::ContentV2::OrderLineItemReturnInfo::Representation
1428
+
1429
+ collection :returns, as: 'returns', class: Google::Apis::ContentV2::OrderReturn, decorator: Google::Apis::ContentV2::OrderReturn::Representation
1430
+
1431
+ property :shipping_details, as: 'shippingDetails', class: Google::Apis::ContentV2::OrderLineItemShippingDetails, decorator: Google::Apis::ContentV2::OrderLineItemShippingDetails::Representation
1432
+
1433
+ property :tax, as: 'tax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1434
+
1435
+ end
1436
+ end
1437
+
1438
+ class OrderLineItemProduct
1439
+ # @private
1440
+ class Representation < Google::Apis::Core::JsonRepresentation
1441
+ property :brand, as: 'brand'
1442
+ property :channel, as: 'channel'
1443
+ property :condition, as: 'condition'
1444
+ property :content_language, as: 'contentLanguage'
1445
+ property :gtin, as: 'gtin'
1446
+ property :id, as: 'id'
1447
+ property :image_link, as: 'imageLink'
1448
+ property :item_group_id, as: 'itemGroupId'
1449
+ property :mpn, as: 'mpn'
1450
+ property :offer_id, as: 'offerId'
1451
+ property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1452
+
1453
+ property :shown_image, as: 'shownImage'
1454
+ property :target_country, as: 'targetCountry'
1455
+ property :title, as: 'title'
1456
+ collection :variant_attributes, as: 'variantAttributes', class: Google::Apis::ContentV2::OrderLineItemProductVariantAttribute, decorator: Google::Apis::ContentV2::OrderLineItemProductVariantAttribute::Representation
1457
+
1458
+ end
1459
+ end
1460
+
1461
+ class OrderLineItemProductVariantAttribute
1462
+ # @private
1463
+ class Representation < Google::Apis::Core::JsonRepresentation
1464
+ property :dimension, as: 'dimension'
1465
+ property :value, as: 'value'
1466
+ end
1467
+ end
1468
+
1469
+ class OrderLineItemReturnInfo
1470
+ # @private
1471
+ class Representation < Google::Apis::Core::JsonRepresentation
1472
+ property :days_to_return, as: 'daysToReturn'
1473
+ property :is_returnable, as: 'isReturnable'
1474
+ property :policy_url, as: 'policyUrl'
1475
+ end
1476
+ end
1477
+
1478
+ class OrderLineItemShippingDetails
1479
+ # @private
1480
+ class Representation < Google::Apis::Core::JsonRepresentation
1481
+ property :deliver_by_date, as: 'deliverByDate'
1482
+ property :method_prop, as: 'method', class: Google::Apis::ContentV2::OrderLineItemShippingDetailsMethod, decorator: Google::Apis::ContentV2::OrderLineItemShippingDetailsMethod::Representation
1483
+
1484
+ property :ship_by_date, as: 'shipByDate'
1485
+ end
1486
+ end
1487
+
1488
+ class OrderLineItemShippingDetailsMethod
1489
+ # @private
1490
+ class Representation < Google::Apis::Core::JsonRepresentation
1491
+ property :carrier, as: 'carrier'
1492
+ property :max_days_in_transit, as: 'maxDaysInTransit'
1493
+ property :method_name, as: 'methodName'
1494
+ property :min_days_in_transit, as: 'minDaysInTransit'
1495
+ end
1496
+ end
1497
+
1498
+ class OrderPaymentMethod
1499
+ # @private
1500
+ class Representation < Google::Apis::Core::JsonRepresentation
1501
+ property :billing_address, as: 'billingAddress', class: Google::Apis::ContentV2::OrderAddress, decorator: Google::Apis::ContentV2::OrderAddress::Representation
1502
+
1503
+ property :expiration_month, as: 'expirationMonth'
1504
+ property :expiration_year, as: 'expirationYear'
1505
+ property :last_four_digits, as: 'lastFourDigits'
1506
+ property :phone_number, as: 'phoneNumber'
1507
+ property :type, as: 'type'
1508
+ end
1509
+ end
1510
+
1511
+ class OrderRefund
1512
+ # @private
1513
+ class Representation < Google::Apis::Core::JsonRepresentation
1514
+ property :actor, as: 'actor'
1515
+ property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1516
+
1517
+ property :creation_date, as: 'creationDate'
1518
+ property :reason, as: 'reason'
1519
+ property :reason_text, as: 'reasonText'
1520
+ end
1521
+ end
1522
+
1523
+ class OrderReturn
1524
+ # @private
1525
+ class Representation < Google::Apis::Core::JsonRepresentation
1526
+ property :actor, as: 'actor'
1527
+ property :creation_date, as: 'creationDate'
1528
+ property :quantity, as: 'quantity'
1529
+ property :reason, as: 'reason'
1530
+ property :reason_text, as: 'reasonText'
1531
+ end
1532
+ end
1533
+
1534
+ class OrderShipment
1535
+ # @private
1536
+ class Representation < Google::Apis::Core::JsonRepresentation
1537
+ property :carrier, as: 'carrier'
1538
+ property :creation_date, as: 'creationDate'
1539
+ property :delivery_date, as: 'deliveryDate'
1540
+ property :id, as: 'id'
1541
+ collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2::OrderShipmentLineItemShipment, decorator: Google::Apis::ContentV2::OrderShipmentLineItemShipment::Representation
1542
+
1543
+ property :status, as: 'status'
1544
+ property :tracking_id, as: 'trackingId'
1545
+ end
1546
+ end
1547
+
1548
+ class OrderShipmentLineItemShipment
1549
+ # @private
1550
+ class Representation < Google::Apis::Core::JsonRepresentation
1551
+ property :line_item_id, as: 'lineItemId'
1552
+ property :quantity, as: 'quantity'
1553
+ end
1554
+ end
1555
+
1556
+ class OrdersAcknowledgeRequest
1557
+ # @private
1558
+ class Representation < Google::Apis::Core::JsonRepresentation
1559
+ property :operation_id, as: 'operationId'
1560
+ end
1561
+ end
1562
+
1563
+ class OrdersAcknowledgeResponse
1564
+ # @private
1565
+ class Representation < Google::Apis::Core::JsonRepresentation
1566
+ property :execution_status, as: 'executionStatus'
1567
+ property :kind, as: 'kind'
1568
+ end
1569
+ end
1570
+
1571
+ class OrdersAdvanceTestOrderResponse
1572
+ # @private
1573
+ class Representation < Google::Apis::Core::JsonRepresentation
1574
+ property :kind, as: 'kind'
1575
+ end
1576
+ end
1577
+
1578
+ class OrdersCancelLineItemRequest
1579
+ # @private
1580
+ class Representation < Google::Apis::Core::JsonRepresentation
1581
+ property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1582
+
1583
+ property :line_item_id, as: 'lineItemId'
1584
+ property :operation_id, as: 'operationId'
1585
+ property :quantity, as: 'quantity'
1586
+ property :reason, as: 'reason'
1587
+ property :reason_text, as: 'reasonText'
1588
+ end
1589
+ end
1590
+
1591
+ class OrdersCancelLineItemResponse
1592
+ # @private
1593
+ class Representation < Google::Apis::Core::JsonRepresentation
1594
+ property :execution_status, as: 'executionStatus'
1595
+ property :kind, as: 'kind'
1596
+ end
1597
+ end
1598
+
1599
+ class OrdersCancelRequest
1600
+ # @private
1601
+ class Representation < Google::Apis::Core::JsonRepresentation
1602
+ property :operation_id, as: 'operationId'
1603
+ property :reason, as: 'reason'
1604
+ property :reason_text, as: 'reasonText'
1605
+ end
1606
+ end
1607
+
1608
+ class OrdersCancelResponse
1609
+ # @private
1610
+ class Representation < Google::Apis::Core::JsonRepresentation
1611
+ property :execution_status, as: 'executionStatus'
1612
+ property :kind, as: 'kind'
1613
+ end
1614
+ end
1615
+
1616
+ class OrdersCreateTestOrderRequest
1617
+ # @private
1618
+ class Representation < Google::Apis::Core::JsonRepresentation
1619
+ property :template_name, as: 'templateName'
1620
+ property :test_order, as: 'testOrder', class: Google::Apis::ContentV2::TestOrder, decorator: Google::Apis::ContentV2::TestOrder::Representation
1621
+
1622
+ end
1623
+ end
1624
+
1625
+ class OrdersCreateTestOrderResponse
1626
+ # @private
1627
+ class Representation < Google::Apis::Core::JsonRepresentation
1628
+ property :kind, as: 'kind'
1629
+ property :order_id, as: 'orderId'
1630
+ end
1631
+ end
1632
+
1633
+ class OrdersCustomBatchRequest
1634
+ # @private
1635
+ class Representation < Google::Apis::Core::JsonRepresentation
1636
+ collection :entries, as: 'entries', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntry, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntry::Representation
1637
+
1638
+ end
1639
+ end
1640
+
1641
+ class OrdersCustomBatchRequestEntry
1642
+ # @private
1643
+ class Representation < Google::Apis::Core::JsonRepresentation
1644
+ property :batch_id, as: 'batchId'
1645
+ property :cancel, as: 'cancel', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryCancel, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryCancel::Representation
1646
+
1647
+ property :cancel_line_item, as: 'cancelLineItem', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryCancelLineItem, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryCancelLineItem::Representation
1648
+
1649
+ property :merchant_id, as: 'merchantId'
1650
+ property :merchant_order_id, as: 'merchantOrderId'
1651
+ property :method_prop, as: 'method'
1652
+ property :operation_id, as: 'operationId'
1653
+ property :order_id, as: 'orderId'
1654
+ property :refund, as: 'refund', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryRefund, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryRefund::Representation
1655
+
1656
+ property :return_line_item, as: 'returnLineItem', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryReturnLineItem, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryReturnLineItem::Representation
1657
+
1658
+ property :ship_line_items, as: 'shipLineItems', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryShipLineItems, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryShipLineItems::Representation
1659
+
1660
+ property :update_shipment, as: 'updateShipment', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryUpdateShipment, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryUpdateShipment::Representation
1661
+
1662
+ end
1663
+ end
1664
+
1665
+ class OrdersCustomBatchRequestEntryCancel
1666
+ # @private
1667
+ class Representation < Google::Apis::Core::JsonRepresentation
1668
+ property :reason, as: 'reason'
1669
+ property :reason_text, as: 'reasonText'
1670
+ end
1671
+ end
1672
+
1673
+ class OrdersCustomBatchRequestEntryCancelLineItem
1674
+ # @private
1675
+ class Representation < Google::Apis::Core::JsonRepresentation
1676
+ property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1677
+
1678
+ property :line_item_id, as: 'lineItemId'
1679
+ property :quantity, as: 'quantity'
1680
+ property :reason, as: 'reason'
1681
+ property :reason_text, as: 'reasonText'
1682
+ end
1683
+ end
1684
+
1685
+ class OrdersCustomBatchRequestEntryRefund
1686
+ # @private
1687
+ class Representation < Google::Apis::Core::JsonRepresentation
1688
+ property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1689
+
1690
+ property :reason, as: 'reason'
1691
+ property :reason_text, as: 'reasonText'
1692
+ end
1693
+ end
1694
+
1695
+ class OrdersCustomBatchRequestEntryReturnLineItem
1696
+ # @private
1697
+ class Representation < Google::Apis::Core::JsonRepresentation
1698
+ property :line_item_id, as: 'lineItemId'
1699
+ property :quantity, as: 'quantity'
1700
+ property :reason, as: 'reason'
1701
+ property :reason_text, as: 'reasonText'
1702
+ end
1703
+ end
1704
+
1705
+ class OrdersCustomBatchRequestEntryShipLineItems
1706
+ # @private
1707
+ class Representation < Google::Apis::Core::JsonRepresentation
1708
+ property :carrier, as: 'carrier'
1709
+ collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2::OrderShipmentLineItemShipment, decorator: Google::Apis::ContentV2::OrderShipmentLineItemShipment::Representation
1710
+
1711
+ property :shipment_id, as: 'shipmentId'
1712
+ property :tracking_id, as: 'trackingId'
1713
+ end
1714
+ end
1715
+
1716
+ class OrdersCustomBatchRequestEntryUpdateShipment
1717
+ # @private
1718
+ class Representation < Google::Apis::Core::JsonRepresentation
1719
+ property :carrier, as: 'carrier'
1720
+ property :shipment_id, as: 'shipmentId'
1721
+ property :status, as: 'status'
1722
+ property :tracking_id, as: 'trackingId'
1723
+ end
1724
+ end
1725
+
1726
+ class OrdersCustomBatchResponse
1727
+ # @private
1728
+ class Representation < Google::Apis::Core::JsonRepresentation
1729
+ collection :entries, as: 'entries', class: Google::Apis::ContentV2::OrdersCustomBatchResponseEntry, decorator: Google::Apis::ContentV2::OrdersCustomBatchResponseEntry::Representation
1730
+
1731
+ property :kind, as: 'kind'
1732
+ end
1733
+ end
1734
+
1735
+ class OrdersCustomBatchResponseEntry
1736
+ # @private
1737
+ class Representation < Google::Apis::Core::JsonRepresentation
1738
+ property :batch_id, as: 'batchId'
1739
+ property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
1740
+
1741
+ property :execution_status, as: 'executionStatus'
1742
+ property :kind, as: 'kind'
1743
+ property :order, as: 'order', class: Google::Apis::ContentV2::Order, decorator: Google::Apis::ContentV2::Order::Representation
1744
+
1745
+ end
1746
+ end
1747
+
1748
+ class OrdersGetByMerchantOrderIdResponse
1749
+ # @private
1750
+ class Representation < Google::Apis::Core::JsonRepresentation
1751
+ property :kind, as: 'kind'
1752
+ property :order, as: 'order', class: Google::Apis::ContentV2::Order, decorator: Google::Apis::ContentV2::Order::Representation
1753
+
1754
+ end
1755
+ end
1756
+
1757
+ class OrdersGetTestOrderTemplateResponse
1758
+ # @private
1759
+ class Representation < Google::Apis::Core::JsonRepresentation
1760
+ property :kind, as: 'kind'
1761
+ property :template, as: 'template', class: Google::Apis::ContentV2::TestOrder, decorator: Google::Apis::ContentV2::TestOrder::Representation
1762
+
1763
+ end
1764
+ end
1765
+
1766
+ class OrdersListResponse
1767
+ # @private
1768
+ class Representation < Google::Apis::Core::JsonRepresentation
1769
+ property :kind, as: 'kind'
1770
+ property :next_page_token, as: 'nextPageToken'
1771
+ collection :resources, as: 'resources', class: Google::Apis::ContentV2::Order, decorator: Google::Apis::ContentV2::Order::Representation
1772
+
1773
+ end
1774
+ end
1775
+
1776
+ class OrdersRefundRequest
1777
+ # @private
1778
+ class Representation < Google::Apis::Core::JsonRepresentation
1779
+ property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1780
+
1781
+ property :operation_id, as: 'operationId'
1782
+ property :reason, as: 'reason'
1783
+ property :reason_text, as: 'reasonText'
1784
+ end
1785
+ end
1786
+
1787
+ class OrdersRefundResponse
1788
+ # @private
1789
+ class Representation < Google::Apis::Core::JsonRepresentation
1790
+ property :execution_status, as: 'executionStatus'
1791
+ property :kind, as: 'kind'
1792
+ end
1793
+ end
1794
+
1795
+ class OrdersReturnLineItemRequest
1796
+ # @private
1797
+ class Representation < Google::Apis::Core::JsonRepresentation
1798
+ property :line_item_id, as: 'lineItemId'
1799
+ property :operation_id, as: 'operationId'
1800
+ property :quantity, as: 'quantity'
1801
+ property :reason, as: 'reason'
1802
+ property :reason_text, as: 'reasonText'
1803
+ end
1804
+ end
1805
+
1806
+ class OrdersReturnLineItemResponse
1807
+ # @private
1808
+ class Representation < Google::Apis::Core::JsonRepresentation
1809
+ property :execution_status, as: 'executionStatus'
1810
+ property :kind, as: 'kind'
1811
+ end
1812
+ end
1813
+
1814
+ class OrdersShipLineItemsRequest
1815
+ # @private
1816
+ class Representation < Google::Apis::Core::JsonRepresentation
1817
+ property :carrier, as: 'carrier'
1818
+ collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2::OrderShipmentLineItemShipment, decorator: Google::Apis::ContentV2::OrderShipmentLineItemShipment::Representation
1819
+
1820
+ property :operation_id, as: 'operationId'
1821
+ property :shipment_id, as: 'shipmentId'
1822
+ property :tracking_id, as: 'trackingId'
1823
+ end
1824
+ end
1825
+
1826
+ class OrdersShipLineItemsResponse
1827
+ # @private
1828
+ class Representation < Google::Apis::Core::JsonRepresentation
1829
+ property :execution_status, as: 'executionStatus'
1830
+ property :kind, as: 'kind'
1831
+ end
1832
+ end
1833
+
1834
+ class OrdersUpdateMerchantOrderIdRequest
1835
+ # @private
1836
+ class Representation < Google::Apis::Core::JsonRepresentation
1837
+ property :merchant_order_id, as: 'merchantOrderId'
1838
+ property :operation_id, as: 'operationId'
1839
+ end
1840
+ end
1841
+
1842
+ class OrdersUpdateMerchantOrderIdResponse
1843
+ # @private
1844
+ class Representation < Google::Apis::Core::JsonRepresentation
1845
+ property :execution_status, as: 'executionStatus'
1846
+ property :kind, as: 'kind'
1847
+ end
1848
+ end
1849
+
1850
+ class OrdersUpdateShipmentRequest
1851
+ # @private
1852
+ class Representation < Google::Apis::Core::JsonRepresentation
1853
+ property :carrier, as: 'carrier'
1854
+ property :operation_id, as: 'operationId'
1855
+ property :shipment_id, as: 'shipmentId'
1856
+ property :status, as: 'status'
1857
+ property :tracking_id, as: 'trackingId'
1858
+ end
1859
+ end
1860
+
1861
+ class OrdersUpdateShipmentResponse
1862
+ # @private
1863
+ class Representation < Google::Apis::Core::JsonRepresentation
1864
+ property :execution_status, as: 'executionStatus'
1865
+ property :kind, as: 'kind'
1866
+ end
1867
+ end
1868
+
1869
+ class Price
1870
+ # @private
1871
+ class Representation < Google::Apis::Core::JsonRepresentation
1872
+ property :currency, as: 'currency'
1873
+ property :value, as: 'value'
1874
+ end
1875
+ end
1876
+
1877
+ class Product
1878
+ # @private
1879
+ class Representation < Google::Apis::Core::JsonRepresentation
1880
+ collection :additional_image_links, as: 'additionalImageLinks'
1881
+ property :adult, as: 'adult'
1882
+ property :adwords_grouping, as: 'adwordsGrouping'
1883
+ collection :adwords_labels, as: 'adwordsLabels'
1884
+ property :adwords_redirect, as: 'adwordsRedirect'
1885
+ property :age_group, as: 'ageGroup'
1886
+ collection :aspects, as: 'aspects', class: Google::Apis::ContentV2::ProductAspect, decorator: Google::Apis::ContentV2::ProductAspect::Representation
1887
+
1888
+ property :availability, as: 'availability'
1889
+ property :availability_date, as: 'availabilityDate'
1890
+ property :brand, as: 'brand'
1891
+ property :channel, as: 'channel'
1892
+ property :color, as: 'color'
1893
+ property :condition, as: 'condition'
1894
+ property :content_language, as: 'contentLanguage'
1895
+ collection :custom_attributes, as: 'customAttributes', class: Google::Apis::ContentV2::ProductCustomAttribute, decorator: Google::Apis::ContentV2::ProductCustomAttribute::Representation
1896
+
1897
+ collection :custom_groups, as: 'customGroups', class: Google::Apis::ContentV2::ProductCustomGroup, decorator: Google::Apis::ContentV2::ProductCustomGroup::Representation
1898
+
1899
+ property :custom_label0, as: 'customLabel0'
1900
+ property :custom_label1, as: 'customLabel1'
1901
+ property :custom_label2, as: 'customLabel2'
1902
+ property :custom_label3, as: 'customLabel3'
1903
+ property :custom_label4, as: 'customLabel4'
1904
+ property :description, as: 'description'
1905
+ collection :destinations, as: 'destinations', class: Google::Apis::ContentV2::ProductDestination, decorator: Google::Apis::ContentV2::ProductDestination::Representation
1906
+
1907
+ property :display_ads_id, as: 'displayAdsId'
1908
+ property :display_ads_link, as: 'displayAdsLink'
1909
+ collection :display_ads_similar_ids, as: 'displayAdsSimilarIds'
1910
+ property :display_ads_title, as: 'displayAdsTitle'
1911
+ property :display_ads_value, as: 'displayAdsValue'
1912
+ property :energy_efficiency_class, as: 'energyEfficiencyClass'
1913
+ property :expiration_date, as: 'expirationDate'
1914
+ property :gender, as: 'gender'
1915
+ property :google_product_category, as: 'googleProductCategory'
1916
+ property :gtin, as: 'gtin'
1917
+ property :id, as: 'id'
1918
+ property :identifier_exists, as: 'identifierExists'
1919
+ property :image_link, as: 'imageLink'
1920
+ property :installment, as: 'installment', class: Google::Apis::ContentV2::Installment, decorator: Google::Apis::ContentV2::Installment::Representation
1921
+
1922
+ property :is_bundle, as: 'isBundle'
1923
+ property :item_group_id, as: 'itemGroupId'
1924
+ property :kind, as: 'kind'
1925
+ property :link, as: 'link'
1926
+ property :loyalty_points, as: 'loyaltyPoints', class: Google::Apis::ContentV2::LoyaltyPoints, decorator: Google::Apis::ContentV2::LoyaltyPoints::Representation
1927
+
1928
+ property :material, as: 'material'
1929
+ property :mobile_link, as: 'mobileLink'
1930
+ property :mpn, as: 'mpn'
1931
+ property :multipack, as: 'multipack'
1932
+ property :offer_id, as: 'offerId'
1933
+ property :online_only, as: 'onlineOnly'
1934
+ property :pattern, as: 'pattern'
1935
+ property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1936
+
1937
+ property :product_type, as: 'productType'
1938
+ property :sale_price, as: 'salePrice', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1939
+
1940
+ property :sale_price_effective_date, as: 'salePriceEffectiveDate'
1941
+ property :sell_on_google_quantity, as: 'sellOnGoogleQuantity'
1942
+ collection :shipping, as: 'shipping', class: Google::Apis::ContentV2::ProductShipping, decorator: Google::Apis::ContentV2::ProductShipping::Representation
1943
+
1944
+ property :shipping_height, as: 'shippingHeight', class: Google::Apis::ContentV2::ProductShippingDimension, decorator: Google::Apis::ContentV2::ProductShippingDimension::Representation
1945
+
1946
+ property :shipping_label, as: 'shippingLabel'
1947
+ property :shipping_length, as: 'shippingLength', class: Google::Apis::ContentV2::ProductShippingDimension, decorator: Google::Apis::ContentV2::ProductShippingDimension::Representation
1948
+
1949
+ property :shipping_weight, as: 'shippingWeight', class: Google::Apis::ContentV2::ProductShippingWeight, decorator: Google::Apis::ContentV2::ProductShippingWeight::Representation
1950
+
1951
+ property :shipping_width, as: 'shippingWidth', class: Google::Apis::ContentV2::ProductShippingDimension, decorator: Google::Apis::ContentV2::ProductShippingDimension::Representation
1952
+
1953
+ property :size_system, as: 'sizeSystem'
1954
+ property :size_type, as: 'sizeType'
1955
+ collection :sizes, as: 'sizes'
1956
+ property :target_country, as: 'targetCountry'
1957
+ collection :taxes, as: 'taxes', class: Google::Apis::ContentV2::ProductTax, decorator: Google::Apis::ContentV2::ProductTax::Representation
1194
1958
 
1195
1959
  property :title, as: 'title'
1196
1960
  property :unit_pricing_base_measure, as: 'unitPricingBaseMeasure', class: Google::Apis::ContentV2::ProductUnitPricingBaseMeasure, decorator: Google::Apis::ContentV2::ProductUnitPricingBaseMeasure::Representation
@@ -1239,15 +2003,6 @@ module Google
1239
2003
  end
1240
2004
  end
1241
2005
 
1242
- class ProductInstallment
1243
- # @private
1244
- class Representation < Google::Apis::Core::JsonRepresentation
1245
- property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1246
-
1247
- property :months, as: 'months'
1248
- end
1249
- end
1250
-
1251
2006
  class ProductShipping
1252
2007
  # @private
1253
2008
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1446,6 +2201,81 @@ module Google
1446
2201
  end
1447
2202
  end
1448
2203
 
2204
+ class TestOrder
2205
+ # @private
2206
+ class Representation < Google::Apis::Core::JsonRepresentation
2207
+ property :customer, as: 'customer', class: Google::Apis::ContentV2::TestOrderCustomer, decorator: Google::Apis::ContentV2::TestOrderCustomer::Representation
2208
+
2209
+ property :kind, as: 'kind'
2210
+ collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2::TestOrderLineItem, decorator: Google::Apis::ContentV2::TestOrderLineItem::Representation
2211
+
2212
+ property :payment_method, as: 'paymentMethod', class: Google::Apis::ContentV2::TestOrderPaymentMethod, decorator: Google::Apis::ContentV2::TestOrderPaymentMethod::Representation
2213
+
2214
+ property :predefined_delivery_address, as: 'predefinedDeliveryAddress'
2215
+ property :shipping_cost, as: 'shippingCost', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
2216
+
2217
+ property :shipping_cost_tax, as: 'shippingCostTax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
2218
+
2219
+ property :shipping_option, as: 'shippingOption'
2220
+ end
2221
+ end
2222
+
2223
+ class TestOrderCustomer
2224
+ # @private
2225
+ class Representation < Google::Apis::Core::JsonRepresentation
2226
+ property :email, as: 'email'
2227
+ property :explicit_marketing_preference, as: 'explicitMarketingPreference'
2228
+ property :full_name, as: 'fullName'
2229
+ end
2230
+ end
2231
+
2232
+ class TestOrderLineItem
2233
+ # @private
2234
+ class Representation < Google::Apis::Core::JsonRepresentation
2235
+ property :product, as: 'product', class: Google::Apis::ContentV2::TestOrderLineItemProduct, decorator: Google::Apis::ContentV2::TestOrderLineItemProduct::Representation
2236
+
2237
+ property :quantity_ordered, as: 'quantityOrdered'
2238
+ property :return_info, as: 'returnInfo', class: Google::Apis::ContentV2::OrderLineItemReturnInfo, decorator: Google::Apis::ContentV2::OrderLineItemReturnInfo::Representation
2239
+
2240
+ property :shipping_details, as: 'shippingDetails', class: Google::Apis::ContentV2::OrderLineItemShippingDetails, decorator: Google::Apis::ContentV2::OrderLineItemShippingDetails::Representation
2241
+
2242
+ property :unit_tax, as: 'unitTax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
2243
+
2244
+ end
2245
+ end
2246
+
2247
+ class TestOrderLineItemProduct
2248
+ # @private
2249
+ class Representation < Google::Apis::Core::JsonRepresentation
2250
+ property :brand, as: 'brand'
2251
+ property :channel, as: 'channel'
2252
+ property :condition, as: 'condition'
2253
+ property :content_language, as: 'contentLanguage'
2254
+ property :gtin, as: 'gtin'
2255
+ property :image_link, as: 'imageLink'
2256
+ property :item_group_id, as: 'itemGroupId'
2257
+ property :mpn, as: 'mpn'
2258
+ property :offer_id, as: 'offerId'
2259
+ property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
2260
+
2261
+ property :target_country, as: 'targetCountry'
2262
+ property :title, as: 'title'
2263
+ collection :variant_attributes, as: 'variantAttributes', class: Google::Apis::ContentV2::OrderLineItemProductVariantAttribute, decorator: Google::Apis::ContentV2::OrderLineItemProductVariantAttribute::Representation
2264
+
2265
+ end
2266
+ end
2267
+
2268
+ class TestOrderPaymentMethod
2269
+ # @private
2270
+ class Representation < Google::Apis::Core::JsonRepresentation
2271
+ property :expiration_month, as: 'expirationMonth'
2272
+ property :expiration_year, as: 'expirationYear'
2273
+ property :last_four_digits, as: 'lastFourDigits'
2274
+ property :predefined_billing_address, as: 'predefinedBillingAddress'
2275
+ property :type, as: 'type'
2276
+ end
2277
+ end
2278
+
1449
2279
  class Weight
1450
2280
  # @private
1451
2281
  class Representation < Google::Apis::Core::JsonRepresentation