google-api-client 0.24.3 → 0.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (262) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +0 -2
  3. data/CHANGELOG.md +99 -0
  4. data/Gemfile +1 -0
  5. data/generated/google/apis/abusiveexperiencereport_v1.rb +2 -2
  6. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +0 -1
  7. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +1 -1
  8. data/generated/google/apis/{content_v2sandbox.rb → accesscontextmanager_v1beta.rb} +11 -12
  9. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +697 -0
  10. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +240 -0
  11. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +666 -0
  12. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  13. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +16 -0
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +2 -0
  15. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +2 -2
  16. data/generated/google/apis/adexperiencereport_v1.rb +2 -2
  17. data/generated/google/apis/adexperiencereport_v1/service.rb +1 -1
  18. data/generated/google/apis/alertcenter_v1beta1.rb +4 -3
  19. data/generated/google/apis/alertcenter_v1beta1/classes.rb +9 -2
  20. data/generated/google/apis/alertcenter_v1beta1/representations.rb +1 -0
  21. data/generated/google/apis/alertcenter_v1beta1/service.rb +3 -2
  22. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  23. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +3 -2
  24. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  25. data/generated/google/apis/androidenterprise_v1/classes.rb +68 -6
  26. data/generated/google/apis/androidenterprise_v1/representations.rb +20 -0
  27. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  28. data/generated/google/apis/androidmanagement_v1/classes.rb +92 -0
  29. data/generated/google/apis/androidmanagement_v1/representations.rb +36 -0
  30. data/generated/google/apis/androidpublisher_v1.rb +2 -2
  31. data/generated/google/apis/androidpublisher_v1/service.rb +1 -1
  32. data/generated/google/apis/androidpublisher_v1_1.rb +2 -2
  33. data/generated/google/apis/androidpublisher_v1_1/service.rb +1 -1
  34. data/generated/google/apis/androidpublisher_v2.rb +2 -2
  35. data/generated/google/apis/androidpublisher_v2/service.rb +3 -2
  36. data/generated/google/apis/androidpublisher_v3.rb +2 -2
  37. data/generated/google/apis/androidpublisher_v3/service.rb +3 -2
  38. data/generated/google/apis/appengine_v1.rb +2 -3
  39. data/generated/google/apis/appengine_v1/service.rb +1 -2
  40. data/generated/google/apis/appengine_v1alpha.rb +2 -3
  41. data/generated/google/apis/appengine_v1alpha/service.rb +1 -2
  42. data/generated/google/apis/appengine_v1beta.rb +2 -3
  43. data/generated/google/apis/appengine_v1beta/service.rb +1 -2
  44. data/generated/google/apis/appengine_v1beta4.rb +2 -3
  45. data/generated/google/apis/appengine_v1beta4/service.rb +1 -2
  46. data/generated/google/apis/appengine_v1beta5.rb +2 -3
  47. data/generated/google/apis/appengine_v1beta5/service.rb +1 -2
  48. data/generated/google/apis/bigquery_v2.rb +1 -1
  49. data/generated/google/apis/bigquery_v2/classes.rb +98 -7
  50. data/generated/google/apis/bigquery_v2/representations.rb +35 -0
  51. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  52. data/generated/google/apis/civicinfo_v2.rb +1 -1
  53. data/generated/google/apis/civicinfo_v2/classes.rb +18 -0
  54. data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
  55. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  56. data/generated/google/apis/cloudasset_v1beta1/classes.rb +5 -5
  57. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  58. data/generated/google/apis/cloudbuild_v1/classes.rb +10 -1
  59. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  60. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  61. data/generated/google/apis/cloudfunctions_v1/classes.rb +418 -0
  62. data/generated/google/apis/cloudfunctions_v1/representations.rb +121 -0
  63. data/generated/google/apis/cloudfunctions_v1/service.rb +107 -0
  64. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  65. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +16 -0
  66. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
  67. data/generated/google/apis/cloudkms_v1.rb +1 -1
  68. data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
  69. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +2 -1
  70. data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
  71. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +3 -3
  72. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +2 -1
  73. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
  74. data/generated/google/apis/cloudresourcemanager_v2.rb +3 -3
  75. data/generated/google/apis/cloudresourcemanager_v2/service.rb +2 -2
  76. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +3 -3
  77. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +2 -2
  78. data/generated/google/apis/cloudsearch_v1.rb +59 -0
  79. data/generated/google/apis/cloudsearch_v1/classes.rb +4697 -0
  80. data/generated/google/apis/cloudsearch_v1/representations.rb +2151 -0
  81. data/generated/google/apis/cloudsearch_v1/service.rb +1351 -0
  82. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  83. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +34 -0
  84. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  85. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +34 -30
  86. data/generated/google/apis/composer_v1beta1.rb +1 -1
  87. data/generated/google/apis/composer_v1beta1/classes.rb +5 -8
  88. data/generated/google/apis/compute_alpha.rb +1 -1
  89. data/generated/google/apis/compute_beta.rb +1 -1
  90. data/generated/google/apis/compute_v1.rb +1 -1
  91. data/generated/google/apis/content_v2.rb +1 -1
  92. data/generated/google/apis/content_v2/classes.rb +197 -69
  93. data/generated/google/apis/content_v2/representations.rb +64 -33
  94. data/generated/google/apis/content_v2/service.rb +1 -1
  95. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  96. data/generated/google/apis/dataflow_v1b3/classes.rb +42 -0
  97. data/generated/google/apis/dataflow_v1b3/representations.rb +17 -0
  98. data/generated/google/apis/dataproc_v1.rb +1 -1
  99. data/generated/google/apis/dataproc_v1/classes.rb +19 -19
  100. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  101. data/generated/google/apis/dataproc_v1beta2/classes.rb +19 -19
  102. data/generated/google/apis/dialogflow_v2.rb +6 -3
  103. data/generated/google/apis/dialogflow_v2/classes.rb +112 -8
  104. data/generated/google/apis/dialogflow_v2/representations.rb +30 -0
  105. data/generated/google/apis/dialogflow_v2/service.rb +7 -2
  106. data/generated/google/apis/dialogflow_v2beta1.rb +6 -3
  107. data/generated/google/apis/dialogflow_v2beta1/classes.rb +116 -8
  108. data/generated/google/apis/dialogflow_v2beta1/representations.rb +30 -0
  109. data/generated/google/apis/dialogflow_v2beta1/service.rb +19 -8
  110. data/generated/google/apis/digitalassetlinks_v1.rb +2 -3
  111. data/generated/google/apis/digitalassetlinks_v1/service.rb +1 -2
  112. data/generated/google/apis/dlp_v2.rb +1 -1
  113. data/generated/google/apis/dlp_v2/classes.rb +17 -5
  114. data/generated/google/apis/dlp_v2/representations.rb +2 -0
  115. data/generated/google/apis/dns_v1beta2.rb +1 -1
  116. data/generated/google/apis/dns_v1beta2/classes.rb +81 -0
  117. data/generated/google/apis/dns_v1beta2/representations.rb +34 -0
  118. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  119. data/generated/google/apis/doubleclicksearch_v2/classes.rb +1 -1
  120. data/generated/google/apis/drive_v2.rb +1 -1
  121. data/generated/google/apis/drive_v2/classes.rb +3 -1
  122. data/generated/google/apis/firebaserules_v1.rb +1 -1
  123. data/generated/google/apis/firestore_v1.rb +1 -1
  124. data/generated/google/apis/firestore_v1/classes.rb +637 -0
  125. data/generated/google/apis/firestore_v1/representations.rb +260 -0
  126. data/generated/google/apis/firestore_v1/service.rb +377 -0
  127. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  128. data/generated/google/apis/firestore_v1beta2/classes.rb +205 -0
  129. data/generated/google/apis/firestore_v1beta2/representations.rb +83 -0
  130. data/generated/google/apis/firestore_v1beta2/service.rb +79 -0
  131. data/generated/google/apis/genomics_v1.rb +2 -2
  132. data/generated/google/apis/genomics_v1/service.rb +1 -1
  133. data/generated/google/apis/genomics_v1alpha2.rb +2 -2
  134. data/generated/google/apis/genomics_v1alpha2/service.rb +1 -1
  135. data/generated/google/apis/genomics_v2alpha1.rb +2 -2
  136. data/generated/google/apis/genomics_v2alpha1/service.rb +1 -1
  137. data/generated/google/apis/iam_v1.rb +1 -1
  138. data/generated/google/apis/iam_v1/classes.rb +4 -3
  139. data/generated/google/apis/iamcredentials_v1.rb +2 -2
  140. data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
  141. data/generated/google/apis/indexing_v3.rb +2 -3
  142. data/generated/google/apis/indexing_v3/service.rb +1 -2
  143. data/generated/google/apis/jobs_v2.rb +1 -1
  144. data/generated/google/apis/jobs_v2/classes.rb +2 -2
  145. data/generated/google/apis/jobs_v3.rb +1 -1
  146. data/generated/google/apis/jobs_v3/classes.rb +3 -3
  147. data/generated/google/apis/jobs_v3/service.rb +20 -2
  148. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  149. data/generated/google/apis/jobs_v3p1beta1/classes.rb +3 -3
  150. data/generated/google/apis/jobs_v3p1beta1/service.rb +20 -2
  151. data/generated/google/apis/language_v1.rb +4 -4
  152. data/generated/google/apis/language_v1/service.rb +3 -3
  153. data/generated/google/apis/language_v1beta1.rb +4 -4
  154. data/generated/google/apis/language_v1beta1/service.rb +3 -3
  155. data/generated/google/apis/language_v1beta2.rb +4 -4
  156. data/generated/google/apis/language_v1beta2/service.rb +3 -3
  157. data/generated/google/apis/logging_v2.rb +1 -1
  158. data/generated/google/apis/logging_v2/classes.rb +2 -13
  159. data/generated/google/apis/logging_v2/representations.rb +0 -2
  160. data/generated/google/apis/logging_v2beta1.rb +1 -1
  161. data/generated/google/apis/logging_v2beta1/classes.rb +2 -41
  162. data/generated/google/apis/logging_v2beta1/representations.rb +0 -16
  163. data/generated/google/apis/logging_v2beta1/service.rb +0 -255
  164. data/generated/google/apis/monitoring_v3.rb +1 -1
  165. data/generated/google/apis/monitoring_v3/classes.rb +25 -15
  166. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  167. data/generated/google/apis/monitoring_v3/service.rb +366 -1
  168. data/generated/google/apis/oslogin_v1.rb +1 -1
  169. data/generated/google/apis/oslogin_v1/service.rb +7 -1
  170. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  171. data/generated/google/apis/oslogin_v1alpha/service.rb +10 -1
  172. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  173. data/generated/google/apis/oslogin_v1beta/service.rb +7 -1
  174. data/generated/google/apis/redis_v1.rb +1 -1
  175. data/generated/google/apis/redis_v1/classes.rb +6 -0
  176. data/generated/google/apis/redis_v1/representations.rb +1 -0
  177. data/generated/google/apis/redis_v1beta1.rb +1 -1
  178. data/generated/google/apis/redis_v1beta1/classes.rb +6 -0
  179. data/generated/google/apis/redis_v1beta1/representations.rb +1 -0
  180. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  181. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +7 -6
  182. data/generated/google/apis/script_v1.rb +2 -2
  183. data/generated/google/apis/script_v1/service.rb +7 -3
  184. data/generated/google/apis/serviceconsumermanagement_v1.rb +2 -3
  185. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +7 -0
  186. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  187. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -2
  188. data/generated/google/apis/servicecontrol_v1.rb +3 -3
  189. data/generated/google/apis/servicecontrol_v1/classes.rb +18 -230
  190. data/generated/google/apis/servicecontrol_v1/representations.rb +2 -99
  191. data/generated/google/apis/servicecontrol_v1/service.rb +2 -140
  192. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  193. data/generated/google/apis/servicemanagement_v1/classes.rb +1 -1
  194. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  195. data/generated/google/apis/servicenetworking_v1beta/classes.rb +24 -0
  196. data/generated/google/apis/servicenetworking_v1beta/representations.rb +3 -0
  197. data/generated/google/apis/serviceusage_v1.rb +1 -1
  198. data/generated/google/apis/serviceusage_v1/classes.rb +7 -0
  199. data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
  200. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  201. data/generated/google/apis/serviceusage_v1beta1/classes.rb +7 -0
  202. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
  203. data/generated/google/apis/slides_v1.rb +2 -2
  204. data/generated/google/apis/slides_v1/classes.rb +4 -3
  205. data/generated/google/apis/slides_v1/service.rb +1 -1
  206. data/generated/google/apis/storage_v1.rb +1 -1
  207. data/generated/google/apis/storage_v1/service.rb +2 -3
  208. data/generated/google/apis/testing_v1.rb +1 -1
  209. data/generated/google/apis/testing_v1/classes.rb +9 -0
  210. data/generated/google/apis/testing_v1/representations.rb +1 -0
  211. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  212. data/generated/google/apis/toolresults_v1beta3/service.rb +1 -1
  213. data/generated/google/apis/tpu_v1.rb +1 -1
  214. data/generated/google/apis/tpu_v1/classes.rb +6 -0
  215. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  216. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  217. data/generated/google/apis/tpu_v1alpha1/classes.rb +6 -0
  218. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  219. data/generated/google/apis/vault_v1.rb +1 -1
  220. data/generated/google/apis/vault_v1/classes.rb +7 -0
  221. data/generated/google/apis/vault_v1/representations.rb +1 -0
  222. data/generated/google/apis/videointelligence_v1.rb +3 -2
  223. data/generated/google/apis/videointelligence_v1/classes.rb +547 -12
  224. data/generated/google/apis/videointelligence_v1/representations.rb +190 -2
  225. data/generated/google/apis/videointelligence_v1/service.rb +2 -1
  226. data/generated/google/apis/videointelligence_v1beta2.rb +3 -2
  227. data/generated/google/apis/videointelligence_v1beta2/classes.rb +547 -12
  228. data/generated/google/apis/videointelligence_v1beta2/representations.rb +190 -2
  229. data/generated/google/apis/videointelligence_v1beta2/service.rb +2 -1
  230. data/generated/google/apis/videointelligence_v1p1beta1.rb +3 -2
  231. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +418 -13
  232. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +153 -2
  233. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +2 -1
  234. data/generated/google/apis/vision_v1.rb +1 -1
  235. data/generated/google/apis/vision_v1/classes.rb +1139 -54
  236. data/generated/google/apis/vision_v1/representations.rb +478 -0
  237. data/generated/google/apis/vision_v1/service.rb +744 -0
  238. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  239. data/generated/google/apis/vision_v1p1beta1/classes.rb +761 -16
  240. data/generated/google/apis/vision_v1p1beta1/representations.rb +333 -0
  241. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  242. data/generated/google/apis/vision_v1p2beta1/classes.rb +758 -13
  243. data/generated/google/apis/vision_v1p2beta1/representations.rb +333 -0
  244. data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
  245. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  246. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  247. data/generated/google/apis/youtube_v3.rb +1 -1
  248. data/lib/google/apis/core/http_command.rb +83 -10
  249. data/lib/google/apis/options.rb +5 -1
  250. data/lib/google/apis/version.rb +1 -1
  251. metadata +10 -14
  252. data/generated/google/apis/content_v2sandbox/classes.rb +0 -4436
  253. data/generated/google/apis/content_v2sandbox/representations.rb +0 -1956
  254. data/generated/google/apis/content_v2sandbox/service.rb +0 -1296
  255. data/generated/google/apis/dfareporting_v2_8.rb +0 -40
  256. data/generated/google/apis/dfareporting_v2_8/classes.rb +0 -12043
  257. data/generated/google/apis/dfareporting_v2_8/representations.rb +0 -4311
  258. data/generated/google/apis/dfareporting_v2_8/service.rb +0 -8727
  259. data/generated/google/apis/serviceuser_v1.rb +0 -42
  260. data/generated/google/apis/serviceuser_v1/classes.rb +0 -3472
  261. data/generated/google/apis/serviceuser_v1/representations.rb +0 -1030
  262. data/generated/google/apis/serviceuser_v1/service.rb +0 -215
@@ -1,1956 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'date'
16
- require 'google/apis/core/base_service'
17
- require 'google/apis/core/json_representation'
18
- require 'google/apis/core/hashable'
19
- require 'google/apis/errors'
20
-
21
- module Google
22
- module Apis
23
- module ContentV2sandbox
24
-
25
- class Amount
26
- class Representation < Google::Apis::Core::JsonRepresentation; end
27
-
28
- include Google::Apis::Core::JsonObjectSupport
29
- end
30
-
31
- class CustomerReturnReason
32
- class Representation < Google::Apis::Core::JsonRepresentation; end
33
-
34
- include Google::Apis::Core::JsonObjectSupport
35
- end
36
-
37
- class Error
38
- class Representation < Google::Apis::Core::JsonRepresentation; end
39
-
40
- include Google::Apis::Core::JsonObjectSupport
41
- end
42
-
43
- class Errors
44
- class Representation < Google::Apis::Core::JsonRepresentation; end
45
-
46
- include Google::Apis::Core::JsonObjectSupport
47
- end
48
-
49
- class InvoiceSummary
50
- class Representation < Google::Apis::Core::JsonRepresentation; end
51
-
52
- include Google::Apis::Core::JsonObjectSupport
53
- end
54
-
55
- class InvoiceSummaryAdditionalChargeSummary
56
- class Representation < Google::Apis::Core::JsonRepresentation; end
57
-
58
- include Google::Apis::Core::JsonObjectSupport
59
- end
60
-
61
- class MerchantOrderReturn
62
- class Representation < Google::Apis::Core::JsonRepresentation; end
63
-
64
- include Google::Apis::Core::JsonObjectSupport
65
- end
66
-
67
- class MerchantOrderReturnItem
68
- class Representation < Google::Apis::Core::JsonRepresentation; end
69
-
70
- include Google::Apis::Core::JsonObjectSupport
71
- end
72
-
73
- class Order
74
- class Representation < Google::Apis::Core::JsonRepresentation; end
75
-
76
- include Google::Apis::Core::JsonObjectSupport
77
- end
78
-
79
- class OrderAddress
80
- class Representation < Google::Apis::Core::JsonRepresentation; end
81
-
82
- include Google::Apis::Core::JsonObjectSupport
83
- end
84
-
85
- class OrderCancellation
86
- class Representation < Google::Apis::Core::JsonRepresentation; end
87
-
88
- include Google::Apis::Core::JsonObjectSupport
89
- end
90
-
91
- class OrderCustomer
92
- class Representation < Google::Apis::Core::JsonRepresentation; end
93
-
94
- include Google::Apis::Core::JsonObjectSupport
95
- end
96
-
97
- class OrderCustomerMarketingRightsInfo
98
- class Representation < Google::Apis::Core::JsonRepresentation; end
99
-
100
- include Google::Apis::Core::JsonObjectSupport
101
- end
102
-
103
- class OrderDeliveryDetails
104
- class Representation < Google::Apis::Core::JsonRepresentation; end
105
-
106
- include Google::Apis::Core::JsonObjectSupport
107
- end
108
-
109
- class OrderLegacyPromotion
110
- class Representation < Google::Apis::Core::JsonRepresentation; end
111
-
112
- include Google::Apis::Core::JsonObjectSupport
113
- end
114
-
115
- class OrderLegacyPromotionBenefit
116
- class Representation < Google::Apis::Core::JsonRepresentation; end
117
-
118
- include Google::Apis::Core::JsonObjectSupport
119
- end
120
-
121
- class OrderLineItem
122
- class Representation < Google::Apis::Core::JsonRepresentation; end
123
-
124
- include Google::Apis::Core::JsonObjectSupport
125
- end
126
-
127
- class OrderLineItemProduct
128
- class Representation < Google::Apis::Core::JsonRepresentation; end
129
-
130
- include Google::Apis::Core::JsonObjectSupport
131
- end
132
-
133
- class OrderLineItemProductVariantAttribute
134
- class Representation < Google::Apis::Core::JsonRepresentation; end
135
-
136
- include Google::Apis::Core::JsonObjectSupport
137
- end
138
-
139
- class OrderLineItemReturnInfo
140
- class Representation < Google::Apis::Core::JsonRepresentation; end
141
-
142
- include Google::Apis::Core::JsonObjectSupport
143
- end
144
-
145
- class OrderLineItemShippingDetails
146
- class Representation < Google::Apis::Core::JsonRepresentation; end
147
-
148
- include Google::Apis::Core::JsonObjectSupport
149
- end
150
-
151
- class OrderLineItemShippingDetailsMethod
152
- class Representation < Google::Apis::Core::JsonRepresentation; end
153
-
154
- include Google::Apis::Core::JsonObjectSupport
155
- end
156
-
157
- class OrderMerchantProvidedAnnotation
158
- class Representation < Google::Apis::Core::JsonRepresentation; end
159
-
160
- include Google::Apis::Core::JsonObjectSupport
161
- end
162
-
163
- class OrderPaymentMethod
164
- class Representation < Google::Apis::Core::JsonRepresentation; end
165
-
166
- include Google::Apis::Core::JsonObjectSupport
167
- end
168
-
169
- class OrderRefund
170
- class Representation < Google::Apis::Core::JsonRepresentation; end
171
-
172
- include Google::Apis::Core::JsonObjectSupport
173
- end
174
-
175
- class OrderReturn
176
- class Representation < Google::Apis::Core::JsonRepresentation; end
177
-
178
- include Google::Apis::Core::JsonObjectSupport
179
- end
180
-
181
- class OrderShipment
182
- class Representation < Google::Apis::Core::JsonRepresentation; end
183
-
184
- include Google::Apis::Core::JsonObjectSupport
185
- end
186
-
187
- class OrderShipmentLineItemShipment
188
- class Representation < Google::Apis::Core::JsonRepresentation; end
189
-
190
- include Google::Apis::Core::JsonObjectSupport
191
- end
192
-
193
- class OrderinvoicesCreateChargeInvoiceRequest
194
- class Representation < Google::Apis::Core::JsonRepresentation; end
195
-
196
- include Google::Apis::Core::JsonObjectSupport
197
- end
198
-
199
- class OrderinvoicesCreateChargeInvoiceResponse
200
- class Representation < Google::Apis::Core::JsonRepresentation; end
201
-
202
- include Google::Apis::Core::JsonObjectSupport
203
- end
204
-
205
- class OrderinvoicesCreateRefundInvoiceRequest
206
- class Representation < Google::Apis::Core::JsonRepresentation; end
207
-
208
- include Google::Apis::Core::JsonObjectSupport
209
- end
210
-
211
- class OrderinvoicesCreateRefundInvoiceResponse
212
- class Representation < Google::Apis::Core::JsonRepresentation; end
213
-
214
- include Google::Apis::Core::JsonObjectSupport
215
- end
216
-
217
- class OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption
218
- class Representation < Google::Apis::Core::JsonRepresentation; end
219
-
220
- include Google::Apis::Core::JsonObjectSupport
221
- end
222
-
223
- class OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption
224
- class Representation < Google::Apis::Core::JsonRepresentation; end
225
-
226
- include Google::Apis::Core::JsonObjectSupport
227
- end
228
-
229
- class OrderpaymentsNotifyAuthApprovedRequest
230
- class Representation < Google::Apis::Core::JsonRepresentation; end
231
-
232
- include Google::Apis::Core::JsonObjectSupport
233
- end
234
-
235
- class OrderpaymentsNotifyAuthApprovedResponse
236
- class Representation < Google::Apis::Core::JsonRepresentation; end
237
-
238
- include Google::Apis::Core::JsonObjectSupport
239
- end
240
-
241
- class OrderpaymentsNotifyAuthDeclinedRequest
242
- class Representation < Google::Apis::Core::JsonRepresentation; end
243
-
244
- include Google::Apis::Core::JsonObjectSupport
245
- end
246
-
247
- class OrderpaymentsNotifyAuthDeclinedResponse
248
- class Representation < Google::Apis::Core::JsonRepresentation; end
249
-
250
- include Google::Apis::Core::JsonObjectSupport
251
- end
252
-
253
- class OrderpaymentsNotifyChargeRequest
254
- class Representation < Google::Apis::Core::JsonRepresentation; end
255
-
256
- include Google::Apis::Core::JsonObjectSupport
257
- end
258
-
259
- class OrderpaymentsNotifyChargeResponse
260
- class Representation < Google::Apis::Core::JsonRepresentation; end
261
-
262
- include Google::Apis::Core::JsonObjectSupport
263
- end
264
-
265
- class OrderpaymentsNotifyRefundRequest
266
- class Representation < Google::Apis::Core::JsonRepresentation; end
267
-
268
- include Google::Apis::Core::JsonObjectSupport
269
- end
270
-
271
- class OrderpaymentsNotifyRefundResponse
272
- class Representation < Google::Apis::Core::JsonRepresentation; end
273
-
274
- include Google::Apis::Core::JsonObjectSupport
275
- end
276
-
277
- class OrderreturnsListResponse
278
- class Representation < Google::Apis::Core::JsonRepresentation; end
279
-
280
- include Google::Apis::Core::JsonObjectSupport
281
- end
282
-
283
- class OrdersAcknowledgeRequest
284
- class Representation < Google::Apis::Core::JsonRepresentation; end
285
-
286
- include Google::Apis::Core::JsonObjectSupport
287
- end
288
-
289
- class OrdersAcknowledgeResponse
290
- class Representation < Google::Apis::Core::JsonRepresentation; end
291
-
292
- include Google::Apis::Core::JsonObjectSupport
293
- end
294
-
295
- class OrdersAdvanceTestOrderResponse
296
- class Representation < Google::Apis::Core::JsonRepresentation; end
297
-
298
- include Google::Apis::Core::JsonObjectSupport
299
- end
300
-
301
- class OrdersCancelLineItemRequest
302
- class Representation < Google::Apis::Core::JsonRepresentation; end
303
-
304
- include Google::Apis::Core::JsonObjectSupport
305
- end
306
-
307
- class OrdersCancelLineItemResponse
308
- class Representation < Google::Apis::Core::JsonRepresentation; end
309
-
310
- include Google::Apis::Core::JsonObjectSupport
311
- end
312
-
313
- class OrdersCancelRequest
314
- class Representation < Google::Apis::Core::JsonRepresentation; end
315
-
316
- include Google::Apis::Core::JsonObjectSupport
317
- end
318
-
319
- class OrdersCancelResponse
320
- class Representation < Google::Apis::Core::JsonRepresentation; end
321
-
322
- include Google::Apis::Core::JsonObjectSupport
323
- end
324
-
325
- class OrdersCancelTestOrderByCustomerRequest
326
- class Representation < Google::Apis::Core::JsonRepresentation; end
327
-
328
- include Google::Apis::Core::JsonObjectSupport
329
- end
330
-
331
- class OrdersCancelTestOrderByCustomerResponse
332
- class Representation < Google::Apis::Core::JsonRepresentation; end
333
-
334
- include Google::Apis::Core::JsonObjectSupport
335
- end
336
-
337
- class OrdersCreateTestOrderRequest
338
- class Representation < Google::Apis::Core::JsonRepresentation; end
339
-
340
- include Google::Apis::Core::JsonObjectSupport
341
- end
342
-
343
- class OrdersCreateTestOrderResponse
344
- class Representation < Google::Apis::Core::JsonRepresentation; end
345
-
346
- include Google::Apis::Core::JsonObjectSupport
347
- end
348
-
349
- class OrdersCreateTestReturnRequest
350
- class Representation < Google::Apis::Core::JsonRepresentation; end
351
-
352
- include Google::Apis::Core::JsonObjectSupport
353
- end
354
-
355
- class OrdersCreateTestReturnResponse
356
- class Representation < Google::Apis::Core::JsonRepresentation; end
357
-
358
- include Google::Apis::Core::JsonObjectSupport
359
- end
360
-
361
- class OrdersCustomBatchRequest
362
- class Representation < Google::Apis::Core::JsonRepresentation; end
363
-
364
- include Google::Apis::Core::JsonObjectSupport
365
- end
366
-
367
- class OrdersCustomBatchRequestEntry
368
- class Representation < Google::Apis::Core::JsonRepresentation; end
369
-
370
- include Google::Apis::Core::JsonObjectSupport
371
- end
372
-
373
- class OrdersCustomBatchRequestEntryCancel
374
- class Representation < Google::Apis::Core::JsonRepresentation; end
375
-
376
- include Google::Apis::Core::JsonObjectSupport
377
- end
378
-
379
- class OrdersCustomBatchRequestEntryCancelLineItem
380
- class Representation < Google::Apis::Core::JsonRepresentation; end
381
-
382
- include Google::Apis::Core::JsonObjectSupport
383
- end
384
-
385
- class OrdersCustomBatchRequestEntryCreateTestReturnReturnItem
386
- class Representation < Google::Apis::Core::JsonRepresentation; end
387
-
388
- include Google::Apis::Core::JsonObjectSupport
389
- end
390
-
391
- class OrdersCustomBatchRequestEntryInStoreRefundLineItem
392
- class Representation < Google::Apis::Core::JsonRepresentation; end
393
-
394
- include Google::Apis::Core::JsonObjectSupport
395
- end
396
-
397
- class OrdersCustomBatchRequestEntryRefund
398
- class Representation < Google::Apis::Core::JsonRepresentation; end
399
-
400
- include Google::Apis::Core::JsonObjectSupport
401
- end
402
-
403
- class OrdersCustomBatchRequestEntryRejectReturnLineItem
404
- class Representation < Google::Apis::Core::JsonRepresentation; end
405
-
406
- include Google::Apis::Core::JsonObjectSupport
407
- end
408
-
409
- class OrdersCustomBatchRequestEntryReturnLineItem
410
- class Representation < Google::Apis::Core::JsonRepresentation; end
411
-
412
- include Google::Apis::Core::JsonObjectSupport
413
- end
414
-
415
- class OrdersCustomBatchRequestEntryReturnRefundLineItem
416
- class Representation < Google::Apis::Core::JsonRepresentation; end
417
-
418
- include Google::Apis::Core::JsonObjectSupport
419
- end
420
-
421
- class OrdersCustomBatchRequestEntrySetLineItemMetadata
422
- class Representation < Google::Apis::Core::JsonRepresentation; end
423
-
424
- include Google::Apis::Core::JsonObjectSupport
425
- end
426
-
427
- class OrdersCustomBatchRequestEntryShipLineItems
428
- class Representation < Google::Apis::Core::JsonRepresentation; end
429
-
430
- include Google::Apis::Core::JsonObjectSupport
431
- end
432
-
433
- class OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
434
- class Representation < Google::Apis::Core::JsonRepresentation; end
435
-
436
- include Google::Apis::Core::JsonObjectSupport
437
- end
438
-
439
- class OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails
440
- class Representation < Google::Apis::Core::JsonRepresentation; end
441
-
442
- include Google::Apis::Core::JsonObjectSupport
443
- end
444
-
445
- class OrdersCustomBatchRequestEntryUpdateShipment
446
- class Representation < Google::Apis::Core::JsonRepresentation; end
447
-
448
- include Google::Apis::Core::JsonObjectSupport
449
- end
450
-
451
- class OrdersCustomBatchResponse
452
- class Representation < Google::Apis::Core::JsonRepresentation; end
453
-
454
- include Google::Apis::Core::JsonObjectSupport
455
- end
456
-
457
- class OrdersCustomBatchResponseEntry
458
- class Representation < Google::Apis::Core::JsonRepresentation; end
459
-
460
- include Google::Apis::Core::JsonObjectSupport
461
- end
462
-
463
- class OrdersGetByMerchantOrderIdResponse
464
- class Representation < Google::Apis::Core::JsonRepresentation; end
465
-
466
- include Google::Apis::Core::JsonObjectSupport
467
- end
468
-
469
- class OrdersGetTestOrderTemplateResponse
470
- class Representation < Google::Apis::Core::JsonRepresentation; end
471
-
472
- include Google::Apis::Core::JsonObjectSupport
473
- end
474
-
475
- class OrdersInStoreRefundLineItemRequest
476
- class Representation < Google::Apis::Core::JsonRepresentation; end
477
-
478
- include Google::Apis::Core::JsonObjectSupport
479
- end
480
-
481
- class OrdersInStoreRefundLineItemResponse
482
- class Representation < Google::Apis::Core::JsonRepresentation; end
483
-
484
- include Google::Apis::Core::JsonObjectSupport
485
- end
486
-
487
- class OrdersListResponse
488
- class Representation < Google::Apis::Core::JsonRepresentation; end
489
-
490
- include Google::Apis::Core::JsonObjectSupport
491
- end
492
-
493
- class OrdersRefundRequest
494
- class Representation < Google::Apis::Core::JsonRepresentation; end
495
-
496
- include Google::Apis::Core::JsonObjectSupport
497
- end
498
-
499
- class OrdersRefundResponse
500
- class Representation < Google::Apis::Core::JsonRepresentation; end
501
-
502
- include Google::Apis::Core::JsonObjectSupport
503
- end
504
-
505
- class OrdersRejectReturnLineItemRequest
506
- class Representation < Google::Apis::Core::JsonRepresentation; end
507
-
508
- include Google::Apis::Core::JsonObjectSupport
509
- end
510
-
511
- class OrdersRejectReturnLineItemResponse
512
- class Representation < Google::Apis::Core::JsonRepresentation; end
513
-
514
- include Google::Apis::Core::JsonObjectSupport
515
- end
516
-
517
- class OrdersReturnLineItemRequest
518
- class Representation < Google::Apis::Core::JsonRepresentation; end
519
-
520
- include Google::Apis::Core::JsonObjectSupport
521
- end
522
-
523
- class OrdersReturnLineItemResponse
524
- class Representation < Google::Apis::Core::JsonRepresentation; end
525
-
526
- include Google::Apis::Core::JsonObjectSupport
527
- end
528
-
529
- class OrdersReturnRefundLineItemRequest
530
- class Representation < Google::Apis::Core::JsonRepresentation; end
531
-
532
- include Google::Apis::Core::JsonObjectSupport
533
- end
534
-
535
- class OrdersReturnRefundLineItemResponse
536
- class Representation < Google::Apis::Core::JsonRepresentation; end
537
-
538
- include Google::Apis::Core::JsonObjectSupport
539
- end
540
-
541
- class OrdersSetLineItemMetadataRequest
542
- class Representation < Google::Apis::Core::JsonRepresentation; end
543
-
544
- include Google::Apis::Core::JsonObjectSupport
545
- end
546
-
547
- class OrdersSetLineItemMetadataResponse
548
- class Representation < Google::Apis::Core::JsonRepresentation; end
549
-
550
- include Google::Apis::Core::JsonObjectSupport
551
- end
552
-
553
- class OrdersShipLineItemsRequest
554
- class Representation < Google::Apis::Core::JsonRepresentation; end
555
-
556
- include Google::Apis::Core::JsonObjectSupport
557
- end
558
-
559
- class OrdersShipLineItemsResponse
560
- class Representation < Google::Apis::Core::JsonRepresentation; end
561
-
562
- include Google::Apis::Core::JsonObjectSupport
563
- end
564
-
565
- class OrdersUpdateLineItemShippingDetailsRequest
566
- class Representation < Google::Apis::Core::JsonRepresentation; end
567
-
568
- include Google::Apis::Core::JsonObjectSupport
569
- end
570
-
571
- class OrdersUpdateLineItemShippingDetailsResponse
572
- class Representation < Google::Apis::Core::JsonRepresentation; end
573
-
574
- include Google::Apis::Core::JsonObjectSupport
575
- end
576
-
577
- class OrdersUpdateMerchantOrderIdRequest
578
- class Representation < Google::Apis::Core::JsonRepresentation; end
579
-
580
- include Google::Apis::Core::JsonObjectSupport
581
- end
582
-
583
- class OrdersUpdateMerchantOrderIdResponse
584
- class Representation < Google::Apis::Core::JsonRepresentation; end
585
-
586
- include Google::Apis::Core::JsonObjectSupport
587
- end
588
-
589
- class OrdersUpdateShipmentRequest
590
- class Representation < Google::Apis::Core::JsonRepresentation; end
591
-
592
- include Google::Apis::Core::JsonObjectSupport
593
- end
594
-
595
- class OrdersUpdateShipmentResponse
596
- class Representation < Google::Apis::Core::JsonRepresentation; end
597
-
598
- include Google::Apis::Core::JsonObjectSupport
599
- end
600
-
601
- class Price
602
- class Representation < Google::Apis::Core::JsonRepresentation; end
603
-
604
- include Google::Apis::Core::JsonObjectSupport
605
- end
606
-
607
- class Promotion
608
- class Representation < Google::Apis::Core::JsonRepresentation; end
609
-
610
- include Google::Apis::Core::JsonObjectSupport
611
- end
612
-
613
- class RefundReason
614
- class Representation < Google::Apis::Core::JsonRepresentation; end
615
-
616
- include Google::Apis::Core::JsonObjectSupport
617
- end
618
-
619
- class ReturnShipment
620
- class Representation < Google::Apis::Core::JsonRepresentation; end
621
-
622
- include Google::Apis::Core::JsonObjectSupport
623
- end
624
-
625
- class ShipmentInvoice
626
- class Representation < Google::Apis::Core::JsonRepresentation; end
627
-
628
- include Google::Apis::Core::JsonObjectSupport
629
- end
630
-
631
- class ShipmentInvoiceLineItemInvoice
632
- class Representation < Google::Apis::Core::JsonRepresentation; end
633
-
634
- include Google::Apis::Core::JsonObjectSupport
635
- end
636
-
637
- class ShipmentTrackingInfo
638
- class Representation < Google::Apis::Core::JsonRepresentation; end
639
-
640
- include Google::Apis::Core::JsonObjectSupport
641
- end
642
-
643
- class TestOrder
644
- class Representation < Google::Apis::Core::JsonRepresentation; end
645
-
646
- include Google::Apis::Core::JsonObjectSupport
647
- end
648
-
649
- class TestOrderCustomer
650
- class Representation < Google::Apis::Core::JsonRepresentation; end
651
-
652
- include Google::Apis::Core::JsonObjectSupport
653
- end
654
-
655
- class TestOrderCustomerMarketingRightsInfo
656
- class Representation < Google::Apis::Core::JsonRepresentation; end
657
-
658
- include Google::Apis::Core::JsonObjectSupport
659
- end
660
-
661
- class TestOrderLineItem
662
- class Representation < Google::Apis::Core::JsonRepresentation; end
663
-
664
- include Google::Apis::Core::JsonObjectSupport
665
- end
666
-
667
- class TestOrderLineItemProduct
668
- class Representation < Google::Apis::Core::JsonRepresentation; end
669
-
670
- include Google::Apis::Core::JsonObjectSupport
671
- end
672
-
673
- class TestOrderPaymentMethod
674
- class Representation < Google::Apis::Core::JsonRepresentation; end
675
-
676
- include Google::Apis::Core::JsonObjectSupport
677
- end
678
-
679
- class UnitInvoice
680
- class Representation < Google::Apis::Core::JsonRepresentation; end
681
-
682
- include Google::Apis::Core::JsonObjectSupport
683
- end
684
-
685
- class UnitInvoiceAdditionalCharge
686
- class Representation < Google::Apis::Core::JsonRepresentation; end
687
-
688
- include Google::Apis::Core::JsonObjectSupport
689
- end
690
-
691
- class UnitInvoiceTaxLine
692
- class Representation < Google::Apis::Core::JsonRepresentation; end
693
-
694
- include Google::Apis::Core::JsonObjectSupport
695
- end
696
-
697
- class Amount
698
- # @private
699
- class Representation < Google::Apis::Core::JsonRepresentation
700
- property :pretax, as: 'pretax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
701
-
702
- property :tax, as: 'tax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
703
-
704
- end
705
- end
706
-
707
- class CustomerReturnReason
708
- # @private
709
- class Representation < Google::Apis::Core::JsonRepresentation
710
- property :description, as: 'description'
711
- property :reason_code, as: 'reasonCode'
712
- end
713
- end
714
-
715
- class Error
716
- # @private
717
- class Representation < Google::Apis::Core::JsonRepresentation
718
- property :domain, as: 'domain'
719
- property :message, as: 'message'
720
- property :reason, as: 'reason'
721
- end
722
- end
723
-
724
- class Errors
725
- # @private
726
- class Representation < Google::Apis::Core::JsonRepresentation
727
- property :code, as: 'code'
728
- collection :errors, as: 'errors', class: Google::Apis::ContentV2sandbox::Error, decorator: Google::Apis::ContentV2sandbox::Error::Representation
729
-
730
- property :message, as: 'message'
731
- end
732
- end
733
-
734
- class InvoiceSummary
735
- # @private
736
- class Representation < Google::Apis::Core::JsonRepresentation
737
- collection :additional_charge_summaries, as: 'additionalChargeSummaries', class: Google::Apis::ContentV2sandbox::InvoiceSummaryAdditionalChargeSummary, decorator: Google::Apis::ContentV2sandbox::InvoiceSummaryAdditionalChargeSummary::Representation
738
-
739
- property :customer_balance, as: 'customerBalance', class: Google::Apis::ContentV2sandbox::Amount, decorator: Google::Apis::ContentV2sandbox::Amount::Representation
740
-
741
- property :google_balance, as: 'googleBalance', class: Google::Apis::ContentV2sandbox::Amount, decorator: Google::Apis::ContentV2sandbox::Amount::Representation
742
-
743
- property :merchant_balance, as: 'merchantBalance', class: Google::Apis::ContentV2sandbox::Amount, decorator: Google::Apis::ContentV2sandbox::Amount::Representation
744
-
745
- property :product_total, as: 'productTotal', class: Google::Apis::ContentV2sandbox::Amount, decorator: Google::Apis::ContentV2sandbox::Amount::Representation
746
-
747
- collection :promotion_summaries, as: 'promotionSummaries', class: Google::Apis::ContentV2sandbox::Promotion, decorator: Google::Apis::ContentV2sandbox::Promotion::Representation
748
-
749
- end
750
- end
751
-
752
- class InvoiceSummaryAdditionalChargeSummary
753
- # @private
754
- class Representation < Google::Apis::Core::JsonRepresentation
755
- property :total_amount, as: 'totalAmount', class: Google::Apis::ContentV2sandbox::Amount, decorator: Google::Apis::ContentV2sandbox::Amount::Representation
756
-
757
- property :type, as: 'type'
758
- end
759
- end
760
-
761
- class MerchantOrderReturn
762
- # @private
763
- class Representation < Google::Apis::Core::JsonRepresentation
764
- property :creation_date, as: 'creationDate'
765
- property :merchant_order_id, as: 'merchantOrderId'
766
- property :order_id, as: 'orderId'
767
- property :order_return_id, as: 'orderReturnId'
768
- collection :return_items, as: 'returnItems', class: Google::Apis::ContentV2sandbox::MerchantOrderReturnItem, decorator: Google::Apis::ContentV2sandbox::MerchantOrderReturnItem::Representation
769
-
770
- collection :return_shipments, as: 'returnShipments', class: Google::Apis::ContentV2sandbox::ReturnShipment, decorator: Google::Apis::ContentV2sandbox::ReturnShipment::Representation
771
-
772
- end
773
- end
774
-
775
- class MerchantOrderReturnItem
776
- # @private
777
- class Representation < Google::Apis::Core::JsonRepresentation
778
- property :customer_return_reason, as: 'customerReturnReason', class: Google::Apis::ContentV2sandbox::CustomerReturnReason, decorator: Google::Apis::ContentV2sandbox::CustomerReturnReason::Representation
779
-
780
- property :item_id, as: 'itemId'
781
- property :merchant_return_reason, as: 'merchantReturnReason', class: Google::Apis::ContentV2sandbox::RefundReason, decorator: Google::Apis::ContentV2sandbox::RefundReason::Representation
782
-
783
- property :product, as: 'product', class: Google::Apis::ContentV2sandbox::OrderLineItemProduct, decorator: Google::Apis::ContentV2sandbox::OrderLineItemProduct::Representation
784
-
785
- collection :return_shipment_ids, as: 'returnShipmentIds'
786
- property :state, as: 'state'
787
- end
788
- end
789
-
790
- class Order
791
- # @private
792
- class Representation < Google::Apis::Core::JsonRepresentation
793
- property :acknowledged, as: 'acknowledged'
794
- property :channel_type, as: 'channelType'
795
- property :customer, as: 'customer', class: Google::Apis::ContentV2sandbox::OrderCustomer, decorator: Google::Apis::ContentV2sandbox::OrderCustomer::Representation
796
-
797
- property :delivery_details, as: 'deliveryDetails', class: Google::Apis::ContentV2sandbox::OrderDeliveryDetails, decorator: Google::Apis::ContentV2sandbox::OrderDeliveryDetails::Representation
798
-
799
- property :id, as: 'id'
800
- property :kind, as: 'kind'
801
- collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2sandbox::OrderLineItem, decorator: Google::Apis::ContentV2sandbox::OrderLineItem::Representation
802
-
803
- property :merchant_id, :numeric_string => true, as: 'merchantId'
804
- property :merchant_order_id, as: 'merchantOrderId'
805
- property :net_amount, as: 'netAmount', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
806
-
807
- property :payment_method, as: 'paymentMethod', class: Google::Apis::ContentV2sandbox::OrderPaymentMethod, decorator: Google::Apis::ContentV2sandbox::OrderPaymentMethod::Representation
808
-
809
- property :payment_status, as: 'paymentStatus'
810
- property :placed_date, as: 'placedDate'
811
- collection :promotions, as: 'promotions', class: Google::Apis::ContentV2sandbox::OrderLegacyPromotion, decorator: Google::Apis::ContentV2sandbox::OrderLegacyPromotion::Representation
812
-
813
- collection :refunds, as: 'refunds', class: Google::Apis::ContentV2sandbox::OrderRefund, decorator: Google::Apis::ContentV2sandbox::OrderRefund::Representation
814
-
815
- collection :shipments, as: 'shipments', class: Google::Apis::ContentV2sandbox::OrderShipment, decorator: Google::Apis::ContentV2sandbox::OrderShipment::Representation
816
-
817
- property :shipping_cost, as: 'shippingCost', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
818
-
819
- property :shipping_cost_tax, as: 'shippingCostTax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
820
-
821
- property :shipping_option, as: 'shippingOption'
822
- property :status, as: 'status'
823
- end
824
- end
825
-
826
- class OrderAddress
827
- # @private
828
- class Representation < Google::Apis::Core::JsonRepresentation
829
- property :country, as: 'country'
830
- collection :full_address, as: 'fullAddress'
831
- property :is_post_office_box, as: 'isPostOfficeBox'
832
- property :locality, as: 'locality'
833
- property :postal_code, as: 'postalCode'
834
- property :recipient_name, as: 'recipientName'
835
- property :region, as: 'region'
836
- collection :street_address, as: 'streetAddress'
837
- end
838
- end
839
-
840
- class OrderCancellation
841
- # @private
842
- class Representation < Google::Apis::Core::JsonRepresentation
843
- property :actor, as: 'actor'
844
- property :creation_date, as: 'creationDate'
845
- property :quantity, as: 'quantity'
846
- property :reason, as: 'reason'
847
- property :reason_text, as: 'reasonText'
848
- end
849
- end
850
-
851
- class OrderCustomer
852
- # @private
853
- class Representation < Google::Apis::Core::JsonRepresentation
854
- property :email, as: 'email'
855
- property :explicit_marketing_preference, as: 'explicitMarketingPreference'
856
- property :full_name, as: 'fullName'
857
- property :marketing_rights_info, as: 'marketingRightsInfo', class: Google::Apis::ContentV2sandbox::OrderCustomerMarketingRightsInfo, decorator: Google::Apis::ContentV2sandbox::OrderCustomerMarketingRightsInfo::Representation
858
-
859
- end
860
- end
861
-
862
- class OrderCustomerMarketingRightsInfo
863
- # @private
864
- class Representation < Google::Apis::Core::JsonRepresentation
865
- property :explicit_marketing_preference, as: 'explicitMarketingPreference'
866
- property :last_updated_timestamp, as: 'lastUpdatedTimestamp'
867
- property :marketing_email_address, as: 'marketingEmailAddress'
868
- end
869
- end
870
-
871
- class OrderDeliveryDetails
872
- # @private
873
- class Representation < Google::Apis::Core::JsonRepresentation
874
- property :address, as: 'address', class: Google::Apis::ContentV2sandbox::OrderAddress, decorator: Google::Apis::ContentV2sandbox::OrderAddress::Representation
875
-
876
- property :phone_number, as: 'phoneNumber'
877
- end
878
- end
879
-
880
- class OrderLegacyPromotion
881
- # @private
882
- class Representation < Google::Apis::Core::JsonRepresentation
883
- collection :benefits, as: 'benefits', class: Google::Apis::ContentV2sandbox::OrderLegacyPromotionBenefit, decorator: Google::Apis::ContentV2sandbox::OrderLegacyPromotionBenefit::Representation
884
-
885
- property :effective_dates, as: 'effectiveDates'
886
- property :generic_redemption_code, as: 'genericRedemptionCode'
887
- property :id, as: 'id'
888
- property :long_title, as: 'longTitle'
889
- property :product_applicability, as: 'productApplicability'
890
- property :redemption_channel, as: 'redemptionChannel'
891
- end
892
- end
893
-
894
- class OrderLegacyPromotionBenefit
895
- # @private
896
- class Representation < Google::Apis::Core::JsonRepresentation
897
- property :discount, as: 'discount', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
898
-
899
- collection :offer_ids, as: 'offerIds'
900
- property :sub_type, as: 'subType'
901
- property :tax_impact, as: 'taxImpact', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
902
-
903
- property :type, as: 'type'
904
- end
905
- end
906
-
907
- class OrderLineItem
908
- # @private
909
- class Representation < Google::Apis::Core::JsonRepresentation
910
- collection :annotations, as: 'annotations', class: Google::Apis::ContentV2sandbox::OrderMerchantProvidedAnnotation, decorator: Google::Apis::ContentV2sandbox::OrderMerchantProvidedAnnotation::Representation
911
-
912
- collection :cancellations, as: 'cancellations', class: Google::Apis::ContentV2sandbox::OrderCancellation, decorator: Google::Apis::ContentV2sandbox::OrderCancellation::Representation
913
-
914
- property :id, as: 'id'
915
- property :price, as: 'price', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
916
-
917
- property :product, as: 'product', class: Google::Apis::ContentV2sandbox::OrderLineItemProduct, decorator: Google::Apis::ContentV2sandbox::OrderLineItemProduct::Representation
918
-
919
- property :quantity_canceled, as: 'quantityCanceled'
920
- property :quantity_delivered, as: 'quantityDelivered'
921
- property :quantity_ordered, as: 'quantityOrdered'
922
- property :quantity_pending, as: 'quantityPending'
923
- property :quantity_returned, as: 'quantityReturned'
924
- property :quantity_shipped, as: 'quantityShipped'
925
- property :return_info, as: 'returnInfo', class: Google::Apis::ContentV2sandbox::OrderLineItemReturnInfo, decorator: Google::Apis::ContentV2sandbox::OrderLineItemReturnInfo::Representation
926
-
927
- collection :returns, as: 'returns', class: Google::Apis::ContentV2sandbox::OrderReturn, decorator: Google::Apis::ContentV2sandbox::OrderReturn::Representation
928
-
929
- property :shipping_details, as: 'shippingDetails', class: Google::Apis::ContentV2sandbox::OrderLineItemShippingDetails, decorator: Google::Apis::ContentV2sandbox::OrderLineItemShippingDetails::Representation
930
-
931
- property :tax, as: 'tax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
932
-
933
- end
934
- end
935
-
936
- class OrderLineItemProduct
937
- # @private
938
- class Representation < Google::Apis::Core::JsonRepresentation
939
- property :brand, as: 'brand'
940
- property :channel, as: 'channel'
941
- property :condition, as: 'condition'
942
- property :content_language, as: 'contentLanguage'
943
- property :gtin, as: 'gtin'
944
- property :id, as: 'id'
945
- property :image_link, as: 'imageLink'
946
- property :item_group_id, as: 'itemGroupId'
947
- property :mpn, as: 'mpn'
948
- property :offer_id, as: 'offerId'
949
- property :price, as: 'price', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
950
-
951
- property :shown_image, as: 'shownImage'
952
- property :target_country, as: 'targetCountry'
953
- property :title, as: 'title'
954
- collection :variant_attributes, as: 'variantAttributes', class: Google::Apis::ContentV2sandbox::OrderLineItemProductVariantAttribute, decorator: Google::Apis::ContentV2sandbox::OrderLineItemProductVariantAttribute::Representation
955
-
956
- end
957
- end
958
-
959
- class OrderLineItemProductVariantAttribute
960
- # @private
961
- class Representation < Google::Apis::Core::JsonRepresentation
962
- property :dimension, as: 'dimension'
963
- property :value, as: 'value'
964
- end
965
- end
966
-
967
- class OrderLineItemReturnInfo
968
- # @private
969
- class Representation < Google::Apis::Core::JsonRepresentation
970
- property :days_to_return, as: 'daysToReturn'
971
- property :is_returnable, as: 'isReturnable'
972
- property :policy_url, as: 'policyUrl'
973
- end
974
- end
975
-
976
- class OrderLineItemShippingDetails
977
- # @private
978
- class Representation < Google::Apis::Core::JsonRepresentation
979
- property :deliver_by_date, as: 'deliverByDate'
980
- property :method_prop, as: 'method', class: Google::Apis::ContentV2sandbox::OrderLineItemShippingDetailsMethod, decorator: Google::Apis::ContentV2sandbox::OrderLineItemShippingDetailsMethod::Representation
981
-
982
- property :ship_by_date, as: 'shipByDate'
983
- end
984
- end
985
-
986
- class OrderLineItemShippingDetailsMethod
987
- # @private
988
- class Representation < Google::Apis::Core::JsonRepresentation
989
- property :carrier, as: 'carrier'
990
- property :max_days_in_transit, as: 'maxDaysInTransit'
991
- property :method_name, as: 'methodName'
992
- property :min_days_in_transit, as: 'minDaysInTransit'
993
- end
994
- end
995
-
996
- class OrderMerchantProvidedAnnotation
997
- # @private
998
- class Representation < Google::Apis::Core::JsonRepresentation
999
- property :key, as: 'key'
1000
- property :value, as: 'value'
1001
- end
1002
- end
1003
-
1004
- class OrderPaymentMethod
1005
- # @private
1006
- class Representation < Google::Apis::Core::JsonRepresentation
1007
- property :billing_address, as: 'billingAddress', class: Google::Apis::ContentV2sandbox::OrderAddress, decorator: Google::Apis::ContentV2sandbox::OrderAddress::Representation
1008
-
1009
- property :expiration_month, as: 'expirationMonth'
1010
- property :expiration_year, as: 'expirationYear'
1011
- property :last_four_digits, as: 'lastFourDigits'
1012
- property :phone_number, as: 'phoneNumber'
1013
- property :type, as: 'type'
1014
- end
1015
- end
1016
-
1017
- class OrderRefund
1018
- # @private
1019
- class Representation < Google::Apis::Core::JsonRepresentation
1020
- property :actor, as: 'actor'
1021
- property :amount, as: 'amount', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1022
-
1023
- property :creation_date, as: 'creationDate'
1024
- property :reason, as: 'reason'
1025
- property :reason_text, as: 'reasonText'
1026
- end
1027
- end
1028
-
1029
- class OrderReturn
1030
- # @private
1031
- class Representation < Google::Apis::Core::JsonRepresentation
1032
- property :actor, as: 'actor'
1033
- property :creation_date, as: 'creationDate'
1034
- property :quantity, as: 'quantity'
1035
- property :reason, as: 'reason'
1036
- property :reason_text, as: 'reasonText'
1037
- end
1038
- end
1039
-
1040
- class OrderShipment
1041
- # @private
1042
- class Representation < Google::Apis::Core::JsonRepresentation
1043
- property :carrier, as: 'carrier'
1044
- property :creation_date, as: 'creationDate'
1045
- property :delivery_date, as: 'deliveryDate'
1046
- property :id, as: 'id'
1047
- collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2sandbox::OrderShipmentLineItemShipment, decorator: Google::Apis::ContentV2sandbox::OrderShipmentLineItemShipment::Representation
1048
-
1049
- property :status, as: 'status'
1050
- property :tracking_id, as: 'trackingId'
1051
- end
1052
- end
1053
-
1054
- class OrderShipmentLineItemShipment
1055
- # @private
1056
- class Representation < Google::Apis::Core::JsonRepresentation
1057
- property :line_item_id, as: 'lineItemId'
1058
- property :product_id, as: 'productId'
1059
- property :quantity, as: 'quantity'
1060
- end
1061
- end
1062
-
1063
- class OrderinvoicesCreateChargeInvoiceRequest
1064
- # @private
1065
- class Representation < Google::Apis::Core::JsonRepresentation
1066
- property :invoice_id, as: 'invoiceId'
1067
- property :invoice_summary, as: 'invoiceSummary', class: Google::Apis::ContentV2sandbox::InvoiceSummary, decorator: Google::Apis::ContentV2sandbox::InvoiceSummary::Representation
1068
-
1069
- collection :line_item_invoices, as: 'lineItemInvoices', class: Google::Apis::ContentV2sandbox::ShipmentInvoiceLineItemInvoice, decorator: Google::Apis::ContentV2sandbox::ShipmentInvoiceLineItemInvoice::Representation
1070
-
1071
- property :operation_id, as: 'operationId'
1072
- property :shipment_group_id, as: 'shipmentGroupId'
1073
- end
1074
- end
1075
-
1076
- class OrderinvoicesCreateChargeInvoiceResponse
1077
- # @private
1078
- class Representation < Google::Apis::Core::JsonRepresentation
1079
- property :execution_status, as: 'executionStatus'
1080
- property :kind, as: 'kind'
1081
- end
1082
- end
1083
-
1084
- class OrderinvoicesCreateRefundInvoiceRequest
1085
- # @private
1086
- class Representation < Google::Apis::Core::JsonRepresentation
1087
- property :invoice_id, as: 'invoiceId'
1088
- property :operation_id, as: 'operationId'
1089
- property :refund_only_option, as: 'refundOnlyOption', class: Google::Apis::ContentV2sandbox::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption, decorator: Google::Apis::ContentV2sandbox::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption::Representation
1090
-
1091
- property :return_option, as: 'returnOption', class: Google::Apis::ContentV2sandbox::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption, decorator: Google::Apis::ContentV2sandbox::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption::Representation
1092
-
1093
- collection :shipment_invoices, as: 'shipmentInvoices', class: Google::Apis::ContentV2sandbox::ShipmentInvoice, decorator: Google::Apis::ContentV2sandbox::ShipmentInvoice::Representation
1094
-
1095
- end
1096
- end
1097
-
1098
- class OrderinvoicesCreateRefundInvoiceResponse
1099
- # @private
1100
- class Representation < Google::Apis::Core::JsonRepresentation
1101
- property :execution_status, as: 'executionStatus'
1102
- property :kind, as: 'kind'
1103
- end
1104
- end
1105
-
1106
- class OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption
1107
- # @private
1108
- class Representation < Google::Apis::Core::JsonRepresentation
1109
- property :description, as: 'description'
1110
- property :reason, as: 'reason'
1111
- end
1112
- end
1113
-
1114
- class OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption
1115
- # @private
1116
- class Representation < Google::Apis::Core::JsonRepresentation
1117
- property :description, as: 'description'
1118
- property :reason, as: 'reason'
1119
- end
1120
- end
1121
-
1122
- class OrderpaymentsNotifyAuthApprovedRequest
1123
- # @private
1124
- class Representation < Google::Apis::Core::JsonRepresentation
1125
- property :auth_amount_pretax, as: 'authAmountPretax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1126
-
1127
- property :auth_amount_tax, as: 'authAmountTax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1128
-
1129
- end
1130
- end
1131
-
1132
- class OrderpaymentsNotifyAuthApprovedResponse
1133
- # @private
1134
- class Representation < Google::Apis::Core::JsonRepresentation
1135
- property :execution_status, as: 'executionStatus'
1136
- property :kind, as: 'kind'
1137
- end
1138
- end
1139
-
1140
- class OrderpaymentsNotifyAuthDeclinedRequest
1141
- # @private
1142
- class Representation < Google::Apis::Core::JsonRepresentation
1143
- property :decline_reason, as: 'declineReason'
1144
- end
1145
- end
1146
-
1147
- class OrderpaymentsNotifyAuthDeclinedResponse
1148
- # @private
1149
- class Representation < Google::Apis::Core::JsonRepresentation
1150
- property :execution_status, as: 'executionStatus'
1151
- property :kind, as: 'kind'
1152
- end
1153
- end
1154
-
1155
- class OrderpaymentsNotifyChargeRequest
1156
- # @private
1157
- class Representation < Google::Apis::Core::JsonRepresentation
1158
- property :charge_state, as: 'chargeState'
1159
- property :invoice_id, as: 'invoiceId'
1160
- collection :invoice_ids, as: 'invoiceIds'
1161
- end
1162
- end
1163
-
1164
- class OrderpaymentsNotifyChargeResponse
1165
- # @private
1166
- class Representation < Google::Apis::Core::JsonRepresentation
1167
- property :execution_status, as: 'executionStatus'
1168
- property :kind, as: 'kind'
1169
- end
1170
- end
1171
-
1172
- class OrderpaymentsNotifyRefundRequest
1173
- # @private
1174
- class Representation < Google::Apis::Core::JsonRepresentation
1175
- property :invoice_id, as: 'invoiceId'
1176
- collection :invoice_ids, as: 'invoiceIds'
1177
- property :refund_state, as: 'refundState'
1178
- end
1179
- end
1180
-
1181
- class OrderpaymentsNotifyRefundResponse
1182
- # @private
1183
- class Representation < Google::Apis::Core::JsonRepresentation
1184
- property :execution_status, as: 'executionStatus'
1185
- property :kind, as: 'kind'
1186
- end
1187
- end
1188
-
1189
- class OrderreturnsListResponse
1190
- # @private
1191
- class Representation < Google::Apis::Core::JsonRepresentation
1192
- property :kind, as: 'kind'
1193
- property :next_page_token, as: 'nextPageToken'
1194
- collection :resources, as: 'resources', class: Google::Apis::ContentV2sandbox::MerchantOrderReturn, decorator: Google::Apis::ContentV2sandbox::MerchantOrderReturn::Representation
1195
-
1196
- end
1197
- end
1198
-
1199
- class OrdersAcknowledgeRequest
1200
- # @private
1201
- class Representation < Google::Apis::Core::JsonRepresentation
1202
- property :operation_id, as: 'operationId'
1203
- end
1204
- end
1205
-
1206
- class OrdersAcknowledgeResponse
1207
- # @private
1208
- class Representation < Google::Apis::Core::JsonRepresentation
1209
- property :execution_status, as: 'executionStatus'
1210
- property :kind, as: 'kind'
1211
- end
1212
- end
1213
-
1214
- class OrdersAdvanceTestOrderResponse
1215
- # @private
1216
- class Representation < Google::Apis::Core::JsonRepresentation
1217
- property :kind, as: 'kind'
1218
- end
1219
- end
1220
-
1221
- class OrdersCancelLineItemRequest
1222
- # @private
1223
- class Representation < Google::Apis::Core::JsonRepresentation
1224
- property :amount, as: 'amount', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1225
-
1226
- property :amount_pretax, as: 'amountPretax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1227
-
1228
- property :amount_tax, as: 'amountTax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1229
-
1230
- property :line_item_id, as: 'lineItemId'
1231
- property :operation_id, as: 'operationId'
1232
- property :product_id, as: 'productId'
1233
- property :quantity, as: 'quantity'
1234
- property :reason, as: 'reason'
1235
- property :reason_text, as: 'reasonText'
1236
- end
1237
- end
1238
-
1239
- class OrdersCancelLineItemResponse
1240
- # @private
1241
- class Representation < Google::Apis::Core::JsonRepresentation
1242
- property :execution_status, as: 'executionStatus'
1243
- property :kind, as: 'kind'
1244
- end
1245
- end
1246
-
1247
- class OrdersCancelRequest
1248
- # @private
1249
- class Representation < Google::Apis::Core::JsonRepresentation
1250
- property :operation_id, as: 'operationId'
1251
- property :reason, as: 'reason'
1252
- property :reason_text, as: 'reasonText'
1253
- end
1254
- end
1255
-
1256
- class OrdersCancelResponse
1257
- # @private
1258
- class Representation < Google::Apis::Core::JsonRepresentation
1259
- property :execution_status, as: 'executionStatus'
1260
- property :kind, as: 'kind'
1261
- end
1262
- end
1263
-
1264
- class OrdersCancelTestOrderByCustomerRequest
1265
- # @private
1266
- class Representation < Google::Apis::Core::JsonRepresentation
1267
- property :reason, as: 'reason'
1268
- end
1269
- end
1270
-
1271
- class OrdersCancelTestOrderByCustomerResponse
1272
- # @private
1273
- class Representation < Google::Apis::Core::JsonRepresentation
1274
- property :kind, as: 'kind'
1275
- end
1276
- end
1277
-
1278
- class OrdersCreateTestOrderRequest
1279
- # @private
1280
- class Representation < Google::Apis::Core::JsonRepresentation
1281
- property :country, as: 'country'
1282
- property :template_name, as: 'templateName'
1283
- property :test_order, as: 'testOrder', class: Google::Apis::ContentV2sandbox::TestOrder, decorator: Google::Apis::ContentV2sandbox::TestOrder::Representation
1284
-
1285
- end
1286
- end
1287
-
1288
- class OrdersCreateTestOrderResponse
1289
- # @private
1290
- class Representation < Google::Apis::Core::JsonRepresentation
1291
- property :kind, as: 'kind'
1292
- property :order_id, as: 'orderId'
1293
- end
1294
- end
1295
-
1296
- class OrdersCreateTestReturnRequest
1297
- # @private
1298
- class Representation < Google::Apis::Core::JsonRepresentation
1299
- collection :items, as: 'items', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryCreateTestReturnReturnItem, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryCreateTestReturnReturnItem::Representation
1300
-
1301
- end
1302
- end
1303
-
1304
- class OrdersCreateTestReturnResponse
1305
- # @private
1306
- class Representation < Google::Apis::Core::JsonRepresentation
1307
- property :kind, as: 'kind'
1308
- property :return_id, as: 'returnId'
1309
- end
1310
- end
1311
-
1312
- class OrdersCustomBatchRequest
1313
- # @private
1314
- class Representation < Google::Apis::Core::JsonRepresentation
1315
- collection :entries, as: 'entries', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntry, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntry::Representation
1316
-
1317
- end
1318
- end
1319
-
1320
- class OrdersCustomBatchRequestEntry
1321
- # @private
1322
- class Representation < Google::Apis::Core::JsonRepresentation
1323
- property :batch_id, as: 'batchId'
1324
- property :cancel, as: 'cancel', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryCancel, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryCancel::Representation
1325
-
1326
- property :cancel_line_item, as: 'cancelLineItem', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryCancelLineItem, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryCancelLineItem::Representation
1327
-
1328
- property :in_store_refund_line_item, as: 'inStoreRefundLineItem', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryInStoreRefundLineItem, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryInStoreRefundLineItem::Representation
1329
-
1330
- property :merchant_id, :numeric_string => true, as: 'merchantId'
1331
- property :merchant_order_id, as: 'merchantOrderId'
1332
- property :method_prop, as: 'method'
1333
- property :operation_id, as: 'operationId'
1334
- property :order_id, as: 'orderId'
1335
- property :refund, as: 'refund', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryRefund, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryRefund::Representation
1336
-
1337
- property :reject_return_line_item, as: 'rejectReturnLineItem', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryRejectReturnLineItem, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryRejectReturnLineItem::Representation
1338
-
1339
- property :return_line_item, as: 'returnLineItem', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryReturnLineItem, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryReturnLineItem::Representation
1340
-
1341
- property :return_refund_line_item, as: 'returnRefundLineItem', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryReturnRefundLineItem, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryReturnRefundLineItem::Representation
1342
-
1343
- property :set_line_item_metadata, as: 'setLineItemMetadata', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntrySetLineItemMetadata, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntrySetLineItemMetadata::Representation
1344
-
1345
- property :ship_line_items, as: 'shipLineItems', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryShipLineItems, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryShipLineItems::Representation
1346
-
1347
- property :update_line_item_shipping_details, as: 'updateLineItemShippingDetails', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails::Representation
1348
-
1349
- property :update_shipment, as: 'updateShipment', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryUpdateShipment, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryUpdateShipment::Representation
1350
-
1351
- end
1352
- end
1353
-
1354
- class OrdersCustomBatchRequestEntryCancel
1355
- # @private
1356
- class Representation < Google::Apis::Core::JsonRepresentation
1357
- property :reason, as: 'reason'
1358
- property :reason_text, as: 'reasonText'
1359
- end
1360
- end
1361
-
1362
- class OrdersCustomBatchRequestEntryCancelLineItem
1363
- # @private
1364
- class Representation < Google::Apis::Core::JsonRepresentation
1365
- property :amount, as: 'amount', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1366
-
1367
- property :amount_pretax, as: 'amountPretax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1368
-
1369
- property :amount_tax, as: 'amountTax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1370
-
1371
- property :line_item_id, as: 'lineItemId'
1372
- property :product_id, as: 'productId'
1373
- property :quantity, as: 'quantity'
1374
- property :reason, as: 'reason'
1375
- property :reason_text, as: 'reasonText'
1376
- end
1377
- end
1378
-
1379
- class OrdersCustomBatchRequestEntryCreateTestReturnReturnItem
1380
- # @private
1381
- class Representation < Google::Apis::Core::JsonRepresentation
1382
- property :line_item_id, as: 'lineItemId'
1383
- property :quantity, as: 'quantity'
1384
- end
1385
- end
1386
-
1387
- class OrdersCustomBatchRequestEntryInStoreRefundLineItem
1388
- # @private
1389
- class Representation < Google::Apis::Core::JsonRepresentation
1390
- property :amount_pretax, as: 'amountPretax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1391
-
1392
- property :amount_tax, as: 'amountTax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1393
-
1394
- property :line_item_id, as: 'lineItemId'
1395
- property :product_id, as: 'productId'
1396
- property :quantity, as: 'quantity'
1397
- property :reason, as: 'reason'
1398
- property :reason_text, as: 'reasonText'
1399
- end
1400
- end
1401
-
1402
- class OrdersCustomBatchRequestEntryRefund
1403
- # @private
1404
- class Representation < Google::Apis::Core::JsonRepresentation
1405
- property :amount, as: 'amount', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1406
-
1407
- property :amount_pretax, as: 'amountPretax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1408
-
1409
- property :amount_tax, as: 'amountTax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1410
-
1411
- property :reason, as: 'reason'
1412
- property :reason_text, as: 'reasonText'
1413
- end
1414
- end
1415
-
1416
- class OrdersCustomBatchRequestEntryRejectReturnLineItem
1417
- # @private
1418
- class Representation < Google::Apis::Core::JsonRepresentation
1419
- property :line_item_id, as: 'lineItemId'
1420
- property :product_id, as: 'productId'
1421
- property :quantity, as: 'quantity'
1422
- property :reason, as: 'reason'
1423
- property :reason_text, as: 'reasonText'
1424
- end
1425
- end
1426
-
1427
- class OrdersCustomBatchRequestEntryReturnLineItem
1428
- # @private
1429
- class Representation < Google::Apis::Core::JsonRepresentation
1430
- property :line_item_id, as: 'lineItemId'
1431
- property :product_id, as: 'productId'
1432
- property :quantity, as: 'quantity'
1433
- property :reason, as: 'reason'
1434
- property :reason_text, as: 'reasonText'
1435
- end
1436
- end
1437
-
1438
- class OrdersCustomBatchRequestEntryReturnRefundLineItem
1439
- # @private
1440
- class Representation < Google::Apis::Core::JsonRepresentation
1441
- property :amount_pretax, as: 'amountPretax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1442
-
1443
- property :amount_tax, as: 'amountTax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1444
-
1445
- property :line_item_id, as: 'lineItemId'
1446
- property :product_id, as: 'productId'
1447
- property :quantity, as: 'quantity'
1448
- property :reason, as: 'reason'
1449
- property :reason_text, as: 'reasonText'
1450
- end
1451
- end
1452
-
1453
- class OrdersCustomBatchRequestEntrySetLineItemMetadata
1454
- # @private
1455
- class Representation < Google::Apis::Core::JsonRepresentation
1456
- collection :annotations, as: 'annotations', class: Google::Apis::ContentV2sandbox::OrderMerchantProvidedAnnotation, decorator: Google::Apis::ContentV2sandbox::OrderMerchantProvidedAnnotation::Representation
1457
-
1458
- property :line_item_id, as: 'lineItemId'
1459
- property :product_id, as: 'productId'
1460
- end
1461
- end
1462
-
1463
- class OrdersCustomBatchRequestEntryShipLineItems
1464
- # @private
1465
- class Representation < Google::Apis::Core::JsonRepresentation
1466
- property :carrier, as: 'carrier'
1467
- collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2sandbox::OrderShipmentLineItemShipment, decorator: Google::Apis::ContentV2sandbox::OrderShipmentLineItemShipment::Representation
1468
-
1469
- property :shipment_group_id, as: 'shipmentGroupId'
1470
- property :shipment_id, as: 'shipmentId'
1471
- collection :shipment_infos, as: 'shipmentInfos', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo::Representation
1472
-
1473
- property :tracking_id, as: 'trackingId'
1474
- end
1475
- end
1476
-
1477
- class OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
1478
- # @private
1479
- class Representation < Google::Apis::Core::JsonRepresentation
1480
- property :carrier, as: 'carrier'
1481
- property :shipment_id, as: 'shipmentId'
1482
- property :tracking_id, as: 'trackingId'
1483
- end
1484
- end
1485
-
1486
- class OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails
1487
- # @private
1488
- class Representation < Google::Apis::Core::JsonRepresentation
1489
- property :deliver_by_date, as: 'deliverByDate'
1490
- property :line_item_id, as: 'lineItemId'
1491
- property :product_id, as: 'productId'
1492
- property :ship_by_date, as: 'shipByDate'
1493
- end
1494
- end
1495
-
1496
- class OrdersCustomBatchRequestEntryUpdateShipment
1497
- # @private
1498
- class Representation < Google::Apis::Core::JsonRepresentation
1499
- property :carrier, as: 'carrier'
1500
- property :delivery_date, as: 'deliveryDate'
1501
- property :shipment_id, as: 'shipmentId'
1502
- property :status, as: 'status'
1503
- property :tracking_id, as: 'trackingId'
1504
- end
1505
- end
1506
-
1507
- class OrdersCustomBatchResponse
1508
- # @private
1509
- class Representation < Google::Apis::Core::JsonRepresentation
1510
- collection :entries, as: 'entries', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchResponseEntry, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchResponseEntry::Representation
1511
-
1512
- property :kind, as: 'kind'
1513
- end
1514
- end
1515
-
1516
- class OrdersCustomBatchResponseEntry
1517
- # @private
1518
- class Representation < Google::Apis::Core::JsonRepresentation
1519
- property :batch_id, as: 'batchId'
1520
- property :errors, as: 'errors', class: Google::Apis::ContentV2sandbox::Errors, decorator: Google::Apis::ContentV2sandbox::Errors::Representation
1521
-
1522
- property :execution_status, as: 'executionStatus'
1523
- property :kind, as: 'kind'
1524
- property :order, as: 'order', class: Google::Apis::ContentV2sandbox::Order, decorator: Google::Apis::ContentV2sandbox::Order::Representation
1525
-
1526
- end
1527
- end
1528
-
1529
- class OrdersGetByMerchantOrderIdResponse
1530
- # @private
1531
- class Representation < Google::Apis::Core::JsonRepresentation
1532
- property :kind, as: 'kind'
1533
- property :order, as: 'order', class: Google::Apis::ContentV2sandbox::Order, decorator: Google::Apis::ContentV2sandbox::Order::Representation
1534
-
1535
- end
1536
- end
1537
-
1538
- class OrdersGetTestOrderTemplateResponse
1539
- # @private
1540
- class Representation < Google::Apis::Core::JsonRepresentation
1541
- property :kind, as: 'kind'
1542
- property :template, as: 'template', class: Google::Apis::ContentV2sandbox::TestOrder, decorator: Google::Apis::ContentV2sandbox::TestOrder::Representation
1543
-
1544
- end
1545
- end
1546
-
1547
- class OrdersInStoreRefundLineItemRequest
1548
- # @private
1549
- class Representation < Google::Apis::Core::JsonRepresentation
1550
- property :amount_pretax, as: 'amountPretax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1551
-
1552
- property :amount_tax, as: 'amountTax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1553
-
1554
- property :line_item_id, as: 'lineItemId'
1555
- property :operation_id, as: 'operationId'
1556
- property :product_id, as: 'productId'
1557
- property :quantity, as: 'quantity'
1558
- property :reason, as: 'reason'
1559
- property :reason_text, as: 'reasonText'
1560
- end
1561
- end
1562
-
1563
- class OrdersInStoreRefundLineItemResponse
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 OrdersListResponse
1572
- # @private
1573
- class Representation < Google::Apis::Core::JsonRepresentation
1574
- property :kind, as: 'kind'
1575
- property :next_page_token, as: 'nextPageToken'
1576
- collection :resources, as: 'resources', class: Google::Apis::ContentV2sandbox::Order, decorator: Google::Apis::ContentV2sandbox::Order::Representation
1577
-
1578
- end
1579
- end
1580
-
1581
- class OrdersRefundRequest
1582
- # @private
1583
- class Representation < Google::Apis::Core::JsonRepresentation
1584
- property :amount, as: 'amount', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1585
-
1586
- property :amount_pretax, as: 'amountPretax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1587
-
1588
- property :amount_tax, as: 'amountTax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1589
-
1590
- property :operation_id, as: 'operationId'
1591
- property :reason, as: 'reason'
1592
- property :reason_text, as: 'reasonText'
1593
- end
1594
- end
1595
-
1596
- class OrdersRefundResponse
1597
- # @private
1598
- class Representation < Google::Apis::Core::JsonRepresentation
1599
- property :execution_status, as: 'executionStatus'
1600
- property :kind, as: 'kind'
1601
- end
1602
- end
1603
-
1604
- class OrdersRejectReturnLineItemRequest
1605
- # @private
1606
- class Representation < Google::Apis::Core::JsonRepresentation
1607
- property :line_item_id, as: 'lineItemId'
1608
- property :operation_id, as: 'operationId'
1609
- property :product_id, as: 'productId'
1610
- property :quantity, as: 'quantity'
1611
- property :reason, as: 'reason'
1612
- property :reason_text, as: 'reasonText'
1613
- end
1614
- end
1615
-
1616
- class OrdersRejectReturnLineItemResponse
1617
- # @private
1618
- class Representation < Google::Apis::Core::JsonRepresentation
1619
- property :execution_status, as: 'executionStatus'
1620
- property :kind, as: 'kind'
1621
- end
1622
- end
1623
-
1624
- class OrdersReturnLineItemRequest
1625
- # @private
1626
- class Representation < Google::Apis::Core::JsonRepresentation
1627
- property :line_item_id, as: 'lineItemId'
1628
- property :operation_id, as: 'operationId'
1629
- property :product_id, as: 'productId'
1630
- property :quantity, as: 'quantity'
1631
- property :reason, as: 'reason'
1632
- property :reason_text, as: 'reasonText'
1633
- end
1634
- end
1635
-
1636
- class OrdersReturnLineItemResponse
1637
- # @private
1638
- class Representation < Google::Apis::Core::JsonRepresentation
1639
- property :execution_status, as: 'executionStatus'
1640
- property :kind, as: 'kind'
1641
- end
1642
- end
1643
-
1644
- class OrdersReturnRefundLineItemRequest
1645
- # @private
1646
- class Representation < Google::Apis::Core::JsonRepresentation
1647
- property :amount_pretax, as: 'amountPretax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1648
-
1649
- property :amount_tax, as: 'amountTax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1650
-
1651
- property :line_item_id, as: 'lineItemId'
1652
- property :operation_id, as: 'operationId'
1653
- property :product_id, as: 'productId'
1654
- property :quantity, as: 'quantity'
1655
- property :reason, as: 'reason'
1656
- property :reason_text, as: 'reasonText'
1657
- end
1658
- end
1659
-
1660
- class OrdersReturnRefundLineItemResponse
1661
- # @private
1662
- class Representation < Google::Apis::Core::JsonRepresentation
1663
- property :execution_status, as: 'executionStatus'
1664
- property :kind, as: 'kind'
1665
- end
1666
- end
1667
-
1668
- class OrdersSetLineItemMetadataRequest
1669
- # @private
1670
- class Representation < Google::Apis::Core::JsonRepresentation
1671
- collection :annotations, as: 'annotations', class: Google::Apis::ContentV2sandbox::OrderMerchantProvidedAnnotation, decorator: Google::Apis::ContentV2sandbox::OrderMerchantProvidedAnnotation::Representation
1672
-
1673
- property :line_item_id, as: 'lineItemId'
1674
- property :operation_id, as: 'operationId'
1675
- property :product_id, as: 'productId'
1676
- end
1677
- end
1678
-
1679
- class OrdersSetLineItemMetadataResponse
1680
- # @private
1681
- class Representation < Google::Apis::Core::JsonRepresentation
1682
- property :execution_status, as: 'executionStatus'
1683
- property :kind, as: 'kind'
1684
- end
1685
- end
1686
-
1687
- class OrdersShipLineItemsRequest
1688
- # @private
1689
- class Representation < Google::Apis::Core::JsonRepresentation
1690
- property :carrier, as: 'carrier'
1691
- collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2sandbox::OrderShipmentLineItemShipment, decorator: Google::Apis::ContentV2sandbox::OrderShipmentLineItemShipment::Representation
1692
-
1693
- property :operation_id, as: 'operationId'
1694
- property :shipment_group_id, as: 'shipmentGroupId'
1695
- property :shipment_id, as: 'shipmentId'
1696
- collection :shipment_infos, as: 'shipmentInfos', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo::Representation
1697
-
1698
- property :tracking_id, as: 'trackingId'
1699
- end
1700
- end
1701
-
1702
- class OrdersShipLineItemsResponse
1703
- # @private
1704
- class Representation < Google::Apis::Core::JsonRepresentation
1705
- property :execution_status, as: 'executionStatus'
1706
- property :kind, as: 'kind'
1707
- end
1708
- end
1709
-
1710
- class OrdersUpdateLineItemShippingDetailsRequest
1711
- # @private
1712
- class Representation < Google::Apis::Core::JsonRepresentation
1713
- property :deliver_by_date, as: 'deliverByDate'
1714
- property :line_item_id, as: 'lineItemId'
1715
- property :operation_id, as: 'operationId'
1716
- property :product_id, as: 'productId'
1717
- property :ship_by_date, as: 'shipByDate'
1718
- end
1719
- end
1720
-
1721
- class OrdersUpdateLineItemShippingDetailsResponse
1722
- # @private
1723
- class Representation < Google::Apis::Core::JsonRepresentation
1724
- property :execution_status, as: 'executionStatus'
1725
- property :kind, as: 'kind'
1726
- end
1727
- end
1728
-
1729
- class OrdersUpdateMerchantOrderIdRequest
1730
- # @private
1731
- class Representation < Google::Apis::Core::JsonRepresentation
1732
- property :merchant_order_id, as: 'merchantOrderId'
1733
- property :operation_id, as: 'operationId'
1734
- end
1735
- end
1736
-
1737
- class OrdersUpdateMerchantOrderIdResponse
1738
- # @private
1739
- class Representation < Google::Apis::Core::JsonRepresentation
1740
- property :execution_status, as: 'executionStatus'
1741
- property :kind, as: 'kind'
1742
- end
1743
- end
1744
-
1745
- class OrdersUpdateShipmentRequest
1746
- # @private
1747
- class Representation < Google::Apis::Core::JsonRepresentation
1748
- property :carrier, as: 'carrier'
1749
- property :delivery_date, as: 'deliveryDate'
1750
- property :operation_id, as: 'operationId'
1751
- property :shipment_id, as: 'shipmentId'
1752
- property :status, as: 'status'
1753
- property :tracking_id, as: 'trackingId'
1754
- end
1755
- end
1756
-
1757
- class OrdersUpdateShipmentResponse
1758
- # @private
1759
- class Representation < Google::Apis::Core::JsonRepresentation
1760
- property :execution_status, as: 'executionStatus'
1761
- property :kind, as: 'kind'
1762
- end
1763
- end
1764
-
1765
- class Price
1766
- # @private
1767
- class Representation < Google::Apis::Core::JsonRepresentation
1768
- property :currency, as: 'currency'
1769
- property :value, as: 'value'
1770
- end
1771
- end
1772
-
1773
- class Promotion
1774
- # @private
1775
- class Representation < Google::Apis::Core::JsonRepresentation
1776
- property :promotion_amount, as: 'promotionAmount', class: Google::Apis::ContentV2sandbox::Amount, decorator: Google::Apis::ContentV2sandbox::Amount::Representation
1777
-
1778
- property :promotion_id, as: 'promotionId'
1779
- end
1780
- end
1781
-
1782
- class RefundReason
1783
- # @private
1784
- class Representation < Google::Apis::Core::JsonRepresentation
1785
- property :description, as: 'description'
1786
- property :reason_code, as: 'reasonCode'
1787
- end
1788
- end
1789
-
1790
- class ReturnShipment
1791
- # @private
1792
- class Representation < Google::Apis::Core::JsonRepresentation
1793
- property :creation_date, as: 'creationDate'
1794
- property :return_method_type, as: 'returnMethodType'
1795
- property :shipment_id, as: 'shipmentId'
1796
- collection :shipment_tracking_infos, as: 'shipmentTrackingInfos', class: Google::Apis::ContentV2sandbox::ShipmentTrackingInfo, decorator: Google::Apis::ContentV2sandbox::ShipmentTrackingInfo::Representation
1797
-
1798
- end
1799
- end
1800
-
1801
- class ShipmentInvoice
1802
- # @private
1803
- class Representation < Google::Apis::Core::JsonRepresentation
1804
- property :invoice_summary, as: 'invoiceSummary', class: Google::Apis::ContentV2sandbox::InvoiceSummary, decorator: Google::Apis::ContentV2sandbox::InvoiceSummary::Representation
1805
-
1806
- collection :line_item_invoices, as: 'lineItemInvoices', class: Google::Apis::ContentV2sandbox::ShipmentInvoiceLineItemInvoice, decorator: Google::Apis::ContentV2sandbox::ShipmentInvoiceLineItemInvoice::Representation
1807
-
1808
- property :shipment_group_id, as: 'shipmentGroupId'
1809
- end
1810
- end
1811
-
1812
- class ShipmentInvoiceLineItemInvoice
1813
- # @private
1814
- class Representation < Google::Apis::Core::JsonRepresentation
1815
- property :line_item_id, as: 'lineItemId'
1816
- property :product_id, as: 'productId'
1817
- collection :shipment_unit_ids, as: 'shipmentUnitIds'
1818
- property :unit_invoice, as: 'unitInvoice', class: Google::Apis::ContentV2sandbox::UnitInvoice, decorator: Google::Apis::ContentV2sandbox::UnitInvoice::Representation
1819
-
1820
- end
1821
- end
1822
-
1823
- class ShipmentTrackingInfo
1824
- # @private
1825
- class Representation < Google::Apis::Core::JsonRepresentation
1826
- property :carrier, as: 'carrier'
1827
- property :tracking_number, as: 'trackingNumber'
1828
- end
1829
- end
1830
-
1831
- class TestOrder
1832
- # @private
1833
- class Representation < Google::Apis::Core::JsonRepresentation
1834
- property :customer, as: 'customer', class: Google::Apis::ContentV2sandbox::TestOrderCustomer, decorator: Google::Apis::ContentV2sandbox::TestOrderCustomer::Representation
1835
-
1836
- property :enable_orderinvoices, as: 'enableOrderinvoices'
1837
- property :kind, as: 'kind'
1838
- collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2sandbox::TestOrderLineItem, decorator: Google::Apis::ContentV2sandbox::TestOrderLineItem::Representation
1839
-
1840
- property :notification_mode, as: 'notificationMode'
1841
- property :payment_method, as: 'paymentMethod', class: Google::Apis::ContentV2sandbox::TestOrderPaymentMethod, decorator: Google::Apis::ContentV2sandbox::TestOrderPaymentMethod::Representation
1842
-
1843
- property :predefined_delivery_address, as: 'predefinedDeliveryAddress'
1844
- collection :promotions, as: 'promotions', class: Google::Apis::ContentV2sandbox::OrderLegacyPromotion, decorator: Google::Apis::ContentV2sandbox::OrderLegacyPromotion::Representation
1845
-
1846
- property :shipping_cost, as: 'shippingCost', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1847
-
1848
- property :shipping_cost_tax, as: 'shippingCostTax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1849
-
1850
- property :shipping_option, as: 'shippingOption'
1851
- end
1852
- end
1853
-
1854
- class TestOrderCustomer
1855
- # @private
1856
- class Representation < Google::Apis::Core::JsonRepresentation
1857
- property :email, as: 'email'
1858
- property :explicit_marketing_preference, as: 'explicitMarketingPreference'
1859
- property :full_name, as: 'fullName'
1860
- property :marketing_rights_info, as: 'marketingRightsInfo', class: Google::Apis::ContentV2sandbox::TestOrderCustomerMarketingRightsInfo, decorator: Google::Apis::ContentV2sandbox::TestOrderCustomerMarketingRightsInfo::Representation
1861
-
1862
- end
1863
- end
1864
-
1865
- class TestOrderCustomerMarketingRightsInfo
1866
- # @private
1867
- class Representation < Google::Apis::Core::JsonRepresentation
1868
- property :explicit_marketing_preference, as: 'explicitMarketingPreference'
1869
- property :last_updated_timestamp, as: 'lastUpdatedTimestamp'
1870
- end
1871
- end
1872
-
1873
- class TestOrderLineItem
1874
- # @private
1875
- class Representation < Google::Apis::Core::JsonRepresentation
1876
- property :product, as: 'product', class: Google::Apis::ContentV2sandbox::TestOrderLineItemProduct, decorator: Google::Apis::ContentV2sandbox::TestOrderLineItemProduct::Representation
1877
-
1878
- property :quantity_ordered, as: 'quantityOrdered'
1879
- property :return_info, as: 'returnInfo', class: Google::Apis::ContentV2sandbox::OrderLineItemReturnInfo, decorator: Google::Apis::ContentV2sandbox::OrderLineItemReturnInfo::Representation
1880
-
1881
- property :shipping_details, as: 'shippingDetails', class: Google::Apis::ContentV2sandbox::OrderLineItemShippingDetails, decorator: Google::Apis::ContentV2sandbox::OrderLineItemShippingDetails::Representation
1882
-
1883
- property :unit_tax, as: 'unitTax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1884
-
1885
- end
1886
- end
1887
-
1888
- class TestOrderLineItemProduct
1889
- # @private
1890
- class Representation < Google::Apis::Core::JsonRepresentation
1891
- property :brand, as: 'brand'
1892
- property :channel, as: 'channel'
1893
- property :condition, as: 'condition'
1894
- property :content_language, as: 'contentLanguage'
1895
- property :gtin, as: 'gtin'
1896
- property :image_link, as: 'imageLink'
1897
- property :item_group_id, as: 'itemGroupId'
1898
- property :mpn, as: 'mpn'
1899
- property :offer_id, as: 'offerId'
1900
- property :price, as: 'price', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1901
-
1902
- property :target_country, as: 'targetCountry'
1903
- property :title, as: 'title'
1904
- collection :variant_attributes, as: 'variantAttributes', class: Google::Apis::ContentV2sandbox::OrderLineItemProductVariantAttribute, decorator: Google::Apis::ContentV2sandbox::OrderLineItemProductVariantAttribute::Representation
1905
-
1906
- end
1907
- end
1908
-
1909
- class TestOrderPaymentMethod
1910
- # @private
1911
- class Representation < Google::Apis::Core::JsonRepresentation
1912
- property :expiration_month, as: 'expirationMonth'
1913
- property :expiration_year, as: 'expirationYear'
1914
- property :last_four_digits, as: 'lastFourDigits'
1915
- property :predefined_billing_address, as: 'predefinedBillingAddress'
1916
- property :type, as: 'type'
1917
- end
1918
- end
1919
-
1920
- class UnitInvoice
1921
- # @private
1922
- class Representation < Google::Apis::Core::JsonRepresentation
1923
- collection :additional_charges, as: 'additionalCharges', class: Google::Apis::ContentV2sandbox::UnitInvoiceAdditionalCharge, decorator: Google::Apis::ContentV2sandbox::UnitInvoiceAdditionalCharge::Representation
1924
-
1925
- collection :promotions, as: 'promotions', class: Google::Apis::ContentV2sandbox::Promotion, decorator: Google::Apis::ContentV2sandbox::Promotion::Representation
1926
-
1927
- property :unit_price_pretax, as: 'unitPricePretax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1928
-
1929
- collection :unit_price_taxes, as: 'unitPriceTaxes', class: Google::Apis::ContentV2sandbox::UnitInvoiceTaxLine, decorator: Google::Apis::ContentV2sandbox::UnitInvoiceTaxLine::Representation
1930
-
1931
- end
1932
- end
1933
-
1934
- class UnitInvoiceAdditionalCharge
1935
- # @private
1936
- class Representation < Google::Apis::Core::JsonRepresentation
1937
- property :additional_charge_amount, as: 'additionalChargeAmount', class: Google::Apis::ContentV2sandbox::Amount, decorator: Google::Apis::ContentV2sandbox::Amount::Representation
1938
-
1939
- collection :additional_charge_promotions, as: 'additionalChargePromotions', class: Google::Apis::ContentV2sandbox::Promotion, decorator: Google::Apis::ContentV2sandbox::Promotion::Representation
1940
-
1941
- property :type, as: 'type'
1942
- end
1943
- end
1944
-
1945
- class UnitInvoiceTaxLine
1946
- # @private
1947
- class Representation < Google::Apis::Core::JsonRepresentation
1948
- property :tax_amount, as: 'taxAmount', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1949
-
1950
- property :tax_name, as: 'taxName'
1951
- property :tax_type, as: 'taxType'
1952
- end
1953
- end
1954
- end
1955
- end
1956
- end