PageRenderTime 91ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 2ms

/lib/google/src/Google/Service/ShoppingContent.php

http://github.com/moodle/moodle
PHP | 9176 lines | 7970 code | 513 blank | 693 comment | 0 complexity | 71396f799cca2c6958efa8d18bd5785f MD5 | raw file
Possible License(s): MIT, AGPL-3.0, MPL-2.0-no-copyleft-exception, LGPL-3.0, GPL-3.0, Apache-2.0, LGPL-2.1, BSD-3-Clause
  1. <?php
  2. /*
  3. * Copyright 2010 Google Inc.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  6. * use this file except in compliance with the License. You may obtain a copy of
  7. * the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  13. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  14. * License for the specific language governing permissions and limitations under
  15. * the License.
  16. */
  17. /**
  18. * Service definition for ShoppingContent (v2).
  19. *
  20. * <p>
  21. * Manage product items, inventory, and Merchant Center accounts for Google
  22. * Shopping.</p>
  23. *
  24. * <p>
  25. * For more information about this service, see the API
  26. * <a href="https://developers.google.com/shopping-content" target="_blank">Documentation</a>
  27. * </p>
  28. *
  29. * @author Google, Inc.
  30. */
  31. class Google_Service_ShoppingContent extends Google_Service
  32. {
  33. /** Manage your product listings and accounts for Google Shopping. */
  34. const CONTENT =
  35. "https://www.googleapis.com/auth/content";
  36. public $accounts;
  37. public $accountshipping;
  38. public $accountstatuses;
  39. public $accounttax;
  40. public $datafeeds;
  41. public $datafeedstatuses;
  42. public $inventory;
  43. public $orders;
  44. public $products;
  45. public $productstatuses;
  46. /**
  47. * Constructs the internal representation of the ShoppingContent service.
  48. *
  49. * @param Google_Client $client
  50. */
  51. public function __construct(Google_Client $client)
  52. {
  53. parent::__construct($client);
  54. $this->rootUrl = 'https://www.googleapis.com/';
  55. $this->servicePath = 'content/v2/';
  56. $this->version = 'v2';
  57. $this->serviceName = 'content';
  58. $this->accounts = new Google_Service_ShoppingContent_Accounts_Resource(
  59. $this,
  60. $this->serviceName,
  61. 'accounts',
  62. array(
  63. 'methods' => array(
  64. 'authinfo' => array(
  65. 'path' => 'accounts/authinfo',
  66. 'httpMethod' => 'GET',
  67. 'parameters' => array(),
  68. ),'custombatch' => array(
  69. 'path' => 'accounts/batch',
  70. 'httpMethod' => 'POST',
  71. 'parameters' => array(
  72. 'dryRun' => array(
  73. 'location' => 'query',
  74. 'type' => 'boolean',
  75. ),
  76. ),
  77. ),'delete' => array(
  78. 'path' => '{merchantId}/accounts/{accountId}',
  79. 'httpMethod' => 'DELETE',
  80. 'parameters' => array(
  81. 'merchantId' => array(
  82. 'location' => 'path',
  83. 'type' => 'string',
  84. 'required' => true,
  85. ),
  86. 'accountId' => array(
  87. 'location' => 'path',
  88. 'type' => 'string',
  89. 'required' => true,
  90. ),
  91. 'dryRun' => array(
  92. 'location' => 'query',
  93. 'type' => 'boolean',
  94. ),
  95. ),
  96. ),'get' => array(
  97. 'path' => '{merchantId}/accounts/{accountId}',
  98. 'httpMethod' => 'GET',
  99. 'parameters' => array(
  100. 'merchantId' => array(
  101. 'location' => 'path',
  102. 'type' => 'string',
  103. 'required' => true,
  104. ),
  105. 'accountId' => array(
  106. 'location' => 'path',
  107. 'type' => 'string',
  108. 'required' => true,
  109. ),
  110. ),
  111. ),'insert' => array(
  112. 'path' => '{merchantId}/accounts',
  113. 'httpMethod' => 'POST',
  114. 'parameters' => array(
  115. 'merchantId' => array(
  116. 'location' => 'path',
  117. 'type' => 'string',
  118. 'required' => true,
  119. ),
  120. 'dryRun' => array(
  121. 'location' => 'query',
  122. 'type' => 'boolean',
  123. ),
  124. ),
  125. ),'list' => array(
  126. 'path' => '{merchantId}/accounts',
  127. 'httpMethod' => 'GET',
  128. 'parameters' => array(
  129. 'merchantId' => array(
  130. 'location' => 'path',
  131. 'type' => 'string',
  132. 'required' => true,
  133. ),
  134. 'pageToken' => array(
  135. 'location' => 'query',
  136. 'type' => 'string',
  137. ),
  138. 'maxResults' => array(
  139. 'location' => 'query',
  140. 'type' => 'integer',
  141. ),
  142. ),
  143. ),'patch' => array(
  144. 'path' => '{merchantId}/accounts/{accountId}',
  145. 'httpMethod' => 'PATCH',
  146. 'parameters' => array(
  147. 'merchantId' => array(
  148. 'location' => 'path',
  149. 'type' => 'string',
  150. 'required' => true,
  151. ),
  152. 'accountId' => array(
  153. 'location' => 'path',
  154. 'type' => 'string',
  155. 'required' => true,
  156. ),
  157. 'dryRun' => array(
  158. 'location' => 'query',
  159. 'type' => 'boolean',
  160. ),
  161. ),
  162. ),'update' => array(
  163. 'path' => '{merchantId}/accounts/{accountId}',
  164. 'httpMethod' => 'PUT',
  165. 'parameters' => array(
  166. 'merchantId' => array(
  167. 'location' => 'path',
  168. 'type' => 'string',
  169. 'required' => true,
  170. ),
  171. 'accountId' => array(
  172. 'location' => 'path',
  173. 'type' => 'string',
  174. 'required' => true,
  175. ),
  176. 'dryRun' => array(
  177. 'location' => 'query',
  178. 'type' => 'boolean',
  179. ),
  180. ),
  181. ),
  182. )
  183. )
  184. );
  185. $this->accountshipping = new Google_Service_ShoppingContent_Accountshipping_Resource(
  186. $this,
  187. $this->serviceName,
  188. 'accountshipping',
  189. array(
  190. 'methods' => array(
  191. 'custombatch' => array(
  192. 'path' => 'accountshipping/batch',
  193. 'httpMethod' => 'POST',
  194. 'parameters' => array(
  195. 'dryRun' => array(
  196. 'location' => 'query',
  197. 'type' => 'boolean',
  198. ),
  199. ),
  200. ),'get' => array(
  201. 'path' => '{merchantId}/accountshipping/{accountId}',
  202. 'httpMethod' => 'GET',
  203. 'parameters' => array(
  204. 'merchantId' => array(
  205. 'location' => 'path',
  206. 'type' => 'string',
  207. 'required' => true,
  208. ),
  209. 'accountId' => array(
  210. 'location' => 'path',
  211. 'type' => 'string',
  212. 'required' => true,
  213. ),
  214. ),
  215. ),'list' => array(
  216. 'path' => '{merchantId}/accountshipping',
  217. 'httpMethod' => 'GET',
  218. 'parameters' => array(
  219. 'merchantId' => array(
  220. 'location' => 'path',
  221. 'type' => 'string',
  222. 'required' => true,
  223. ),
  224. 'pageToken' => array(
  225. 'location' => 'query',
  226. 'type' => 'string',
  227. ),
  228. 'maxResults' => array(
  229. 'location' => 'query',
  230. 'type' => 'integer',
  231. ),
  232. ),
  233. ),'patch' => array(
  234. 'path' => '{merchantId}/accountshipping/{accountId}',
  235. 'httpMethod' => 'PATCH',
  236. 'parameters' => array(
  237. 'merchantId' => array(
  238. 'location' => 'path',
  239. 'type' => 'string',
  240. 'required' => true,
  241. ),
  242. 'accountId' => array(
  243. 'location' => 'path',
  244. 'type' => 'string',
  245. 'required' => true,
  246. ),
  247. 'dryRun' => array(
  248. 'location' => 'query',
  249. 'type' => 'boolean',
  250. ),
  251. ),
  252. ),'update' => array(
  253. 'path' => '{merchantId}/accountshipping/{accountId}',
  254. 'httpMethod' => 'PUT',
  255. 'parameters' => array(
  256. 'merchantId' => array(
  257. 'location' => 'path',
  258. 'type' => 'string',
  259. 'required' => true,
  260. ),
  261. 'accountId' => array(
  262. 'location' => 'path',
  263. 'type' => 'string',
  264. 'required' => true,
  265. ),
  266. 'dryRun' => array(
  267. 'location' => 'query',
  268. 'type' => 'boolean',
  269. ),
  270. ),
  271. ),
  272. )
  273. )
  274. );
  275. $this->accountstatuses = new Google_Service_ShoppingContent_Accountstatuses_Resource(
  276. $this,
  277. $this->serviceName,
  278. 'accountstatuses',
  279. array(
  280. 'methods' => array(
  281. 'custombatch' => array(
  282. 'path' => 'accountstatuses/batch',
  283. 'httpMethod' => 'POST',
  284. 'parameters' => array(),
  285. ),'get' => array(
  286. 'path' => '{merchantId}/accountstatuses/{accountId}',
  287. 'httpMethod' => 'GET',
  288. 'parameters' => array(
  289. 'merchantId' => array(
  290. 'location' => 'path',
  291. 'type' => 'string',
  292. 'required' => true,
  293. ),
  294. 'accountId' => array(
  295. 'location' => 'path',
  296. 'type' => 'string',
  297. 'required' => true,
  298. ),
  299. ),
  300. ),'list' => array(
  301. 'path' => '{merchantId}/accountstatuses',
  302. 'httpMethod' => 'GET',
  303. 'parameters' => array(
  304. 'merchantId' => array(
  305. 'location' => 'path',
  306. 'type' => 'string',
  307. 'required' => true,
  308. ),
  309. 'pageToken' => array(
  310. 'location' => 'query',
  311. 'type' => 'string',
  312. ),
  313. 'maxResults' => array(
  314. 'location' => 'query',
  315. 'type' => 'integer',
  316. ),
  317. ),
  318. ),
  319. )
  320. )
  321. );
  322. $this->accounttax = new Google_Service_ShoppingContent_Accounttax_Resource(
  323. $this,
  324. $this->serviceName,
  325. 'accounttax',
  326. array(
  327. 'methods' => array(
  328. 'custombatch' => array(
  329. 'path' => 'accounttax/batch',
  330. 'httpMethod' => 'POST',
  331. 'parameters' => array(
  332. 'dryRun' => array(
  333. 'location' => 'query',
  334. 'type' => 'boolean',
  335. ),
  336. ),
  337. ),'get' => array(
  338. 'path' => '{merchantId}/accounttax/{accountId}',
  339. 'httpMethod' => 'GET',
  340. 'parameters' => array(
  341. 'merchantId' => array(
  342. 'location' => 'path',
  343. 'type' => 'string',
  344. 'required' => true,
  345. ),
  346. 'accountId' => array(
  347. 'location' => 'path',
  348. 'type' => 'string',
  349. 'required' => true,
  350. ),
  351. ),
  352. ),'list' => array(
  353. 'path' => '{merchantId}/accounttax',
  354. 'httpMethod' => 'GET',
  355. 'parameters' => array(
  356. 'merchantId' => array(
  357. 'location' => 'path',
  358. 'type' => 'string',
  359. 'required' => true,
  360. ),
  361. 'pageToken' => array(
  362. 'location' => 'query',
  363. 'type' => 'string',
  364. ),
  365. 'maxResults' => array(
  366. 'location' => 'query',
  367. 'type' => 'integer',
  368. ),
  369. ),
  370. ),'patch' => array(
  371. 'path' => '{merchantId}/accounttax/{accountId}',
  372. 'httpMethod' => 'PATCH',
  373. 'parameters' => array(
  374. 'merchantId' => array(
  375. 'location' => 'path',
  376. 'type' => 'string',
  377. 'required' => true,
  378. ),
  379. 'accountId' => array(
  380. 'location' => 'path',
  381. 'type' => 'string',
  382. 'required' => true,
  383. ),
  384. 'dryRun' => array(
  385. 'location' => 'query',
  386. 'type' => 'boolean',
  387. ),
  388. ),
  389. ),'update' => array(
  390. 'path' => '{merchantId}/accounttax/{accountId}',
  391. 'httpMethod' => 'PUT',
  392. 'parameters' => array(
  393. 'merchantId' => array(
  394. 'location' => 'path',
  395. 'type' => 'string',
  396. 'required' => true,
  397. ),
  398. 'accountId' => array(
  399. 'location' => 'path',
  400. 'type' => 'string',
  401. 'required' => true,
  402. ),
  403. 'dryRun' => array(
  404. 'location' => 'query',
  405. 'type' => 'boolean',
  406. ),
  407. ),
  408. ),
  409. )
  410. )
  411. );
  412. $this->datafeeds = new Google_Service_ShoppingContent_Datafeeds_Resource(
  413. $this,
  414. $this->serviceName,
  415. 'datafeeds',
  416. array(
  417. 'methods' => array(
  418. 'custombatch' => array(
  419. 'path' => 'datafeeds/batch',
  420. 'httpMethod' => 'POST',
  421. 'parameters' => array(
  422. 'dryRun' => array(
  423. 'location' => 'query',
  424. 'type' => 'boolean',
  425. ),
  426. ),
  427. ),'delete' => array(
  428. 'path' => '{merchantId}/datafeeds/{datafeedId}',
  429. 'httpMethod' => 'DELETE',
  430. 'parameters' => array(
  431. 'merchantId' => array(
  432. 'location' => 'path',
  433. 'type' => 'string',
  434. 'required' => true,
  435. ),
  436. 'datafeedId' => array(
  437. 'location' => 'path',
  438. 'type' => 'string',
  439. 'required' => true,
  440. ),
  441. 'dryRun' => array(
  442. 'location' => 'query',
  443. 'type' => 'boolean',
  444. ),
  445. ),
  446. ),'get' => array(
  447. 'path' => '{merchantId}/datafeeds/{datafeedId}',
  448. 'httpMethod' => 'GET',
  449. 'parameters' => array(
  450. 'merchantId' => array(
  451. 'location' => 'path',
  452. 'type' => 'string',
  453. 'required' => true,
  454. ),
  455. 'datafeedId' => array(
  456. 'location' => 'path',
  457. 'type' => 'string',
  458. 'required' => true,
  459. ),
  460. ),
  461. ),'insert' => array(
  462. 'path' => '{merchantId}/datafeeds',
  463. 'httpMethod' => 'POST',
  464. 'parameters' => array(
  465. 'merchantId' => array(
  466. 'location' => 'path',
  467. 'type' => 'string',
  468. 'required' => true,
  469. ),
  470. 'dryRun' => array(
  471. 'location' => 'query',
  472. 'type' => 'boolean',
  473. ),
  474. ),
  475. ),'list' => array(
  476. 'path' => '{merchantId}/datafeeds',
  477. 'httpMethod' => 'GET',
  478. 'parameters' => array(
  479. 'merchantId' => array(
  480. 'location' => 'path',
  481. 'type' => 'string',
  482. 'required' => true,
  483. ),
  484. 'pageToken' => array(
  485. 'location' => 'query',
  486. 'type' => 'string',
  487. ),
  488. 'maxResults' => array(
  489. 'location' => 'query',
  490. 'type' => 'integer',
  491. ),
  492. ),
  493. ),'patch' => array(
  494. 'path' => '{merchantId}/datafeeds/{datafeedId}',
  495. 'httpMethod' => 'PATCH',
  496. 'parameters' => array(
  497. 'merchantId' => array(
  498. 'location' => 'path',
  499. 'type' => 'string',
  500. 'required' => true,
  501. ),
  502. 'datafeedId' => array(
  503. 'location' => 'path',
  504. 'type' => 'string',
  505. 'required' => true,
  506. ),
  507. 'dryRun' => array(
  508. 'location' => 'query',
  509. 'type' => 'boolean',
  510. ),
  511. ),
  512. ),'update' => array(
  513. 'path' => '{merchantId}/datafeeds/{datafeedId}',
  514. 'httpMethod' => 'PUT',
  515. 'parameters' => array(
  516. 'merchantId' => array(
  517. 'location' => 'path',
  518. 'type' => 'string',
  519. 'required' => true,
  520. ),
  521. 'datafeedId' => array(
  522. 'location' => 'path',
  523. 'type' => 'string',
  524. 'required' => true,
  525. ),
  526. 'dryRun' => array(
  527. 'location' => 'query',
  528. 'type' => 'boolean',
  529. ),
  530. ),
  531. ),
  532. )
  533. )
  534. );
  535. $this->datafeedstatuses = new Google_Service_ShoppingContent_Datafeedstatuses_Resource(
  536. $this,
  537. $this->serviceName,
  538. 'datafeedstatuses',
  539. array(
  540. 'methods' => array(
  541. 'custombatch' => array(
  542. 'path' => 'datafeedstatuses/batch',
  543. 'httpMethod' => 'POST',
  544. 'parameters' => array(),
  545. ),'get' => array(
  546. 'path' => '{merchantId}/datafeedstatuses/{datafeedId}',
  547. 'httpMethod' => 'GET',
  548. 'parameters' => array(
  549. 'merchantId' => array(
  550. 'location' => 'path',
  551. 'type' => 'string',
  552. 'required' => true,
  553. ),
  554. 'datafeedId' => array(
  555. 'location' => 'path',
  556. 'type' => 'string',
  557. 'required' => true,
  558. ),
  559. ),
  560. ),'list' => array(
  561. 'path' => '{merchantId}/datafeedstatuses',
  562. 'httpMethod' => 'GET',
  563. 'parameters' => array(
  564. 'merchantId' => array(
  565. 'location' => 'path',
  566. 'type' => 'string',
  567. 'required' => true,
  568. ),
  569. 'pageToken' => array(
  570. 'location' => 'query',
  571. 'type' => 'string',
  572. ),
  573. 'maxResults' => array(
  574. 'location' => 'query',
  575. 'type' => 'integer',
  576. ),
  577. ),
  578. ),
  579. )
  580. )
  581. );
  582. $this->inventory = new Google_Service_ShoppingContent_Inventory_Resource(
  583. $this,
  584. $this->serviceName,
  585. 'inventory',
  586. array(
  587. 'methods' => array(
  588. 'custombatch' => array(
  589. 'path' => 'inventory/batch',
  590. 'httpMethod' => 'POST',
  591. 'parameters' => array(
  592. 'dryRun' => array(
  593. 'location' => 'query',
  594. 'type' => 'boolean',
  595. ),
  596. ),
  597. ),'set' => array(
  598. 'path' => '{merchantId}/inventory/{storeCode}/products/{productId}',
  599. 'httpMethod' => 'POST',
  600. 'parameters' => array(
  601. 'merchantId' => array(
  602. 'location' => 'path',
  603. 'type' => 'string',
  604. 'required' => true,
  605. ),
  606. 'storeCode' => array(
  607. 'location' => 'path',
  608. 'type' => 'string',
  609. 'required' => true,
  610. ),
  611. 'productId' => array(
  612. 'location' => 'path',
  613. 'type' => 'string',
  614. 'required' => true,
  615. ),
  616. 'dryRun' => array(
  617. 'location' => 'query',
  618. 'type' => 'boolean',
  619. ),
  620. ),
  621. ),
  622. )
  623. )
  624. );
  625. $this->orders = new Google_Service_ShoppingContent_Orders_Resource(
  626. $this,
  627. $this->serviceName,
  628. 'orders',
  629. array(
  630. 'methods' => array(
  631. 'acknowledge' => array(
  632. 'path' => '{merchantId}/orders/{orderId}/acknowledge',
  633. 'httpMethod' => 'POST',
  634. 'parameters' => array(
  635. 'merchantId' => array(
  636. 'location' => 'path',
  637. 'type' => 'string',
  638. 'required' => true,
  639. ),
  640. 'orderId' => array(
  641. 'location' => 'path',
  642. 'type' => 'string',
  643. 'required' => true,
  644. ),
  645. ),
  646. ),'advancetestorder' => array(
  647. 'path' => '{merchantId}/testorders/{orderId}/advance',
  648. 'httpMethod' => 'POST',
  649. 'parameters' => array(
  650. 'merchantId' => array(
  651. 'location' => 'path',
  652. 'type' => 'string',
  653. 'required' => true,
  654. ),
  655. 'orderId' => array(
  656. 'location' => 'path',
  657. 'type' => 'string',
  658. 'required' => true,
  659. ),
  660. ),
  661. ),'cancel' => array(
  662. 'path' => '{merchantId}/orders/{orderId}/cancel',
  663. 'httpMethod' => 'POST',
  664. 'parameters' => array(
  665. 'merchantId' => array(
  666. 'location' => 'path',
  667. 'type' => 'string',
  668. 'required' => true,
  669. ),
  670. 'orderId' => array(
  671. 'location' => 'path',
  672. 'type' => 'string',
  673. 'required' => true,
  674. ),
  675. ),
  676. ),'cancellineitem' => array(
  677. 'path' => '{merchantId}/orders/{orderId}/cancelLineItem',
  678. 'httpMethod' => 'POST',
  679. 'parameters' => array(
  680. 'merchantId' => array(
  681. 'location' => 'path',
  682. 'type' => 'string',
  683. 'required' => true,
  684. ),
  685. 'orderId' => array(
  686. 'location' => 'path',
  687. 'type' => 'string',
  688. 'required' => true,
  689. ),
  690. ),
  691. ),'createtestorder' => array(
  692. 'path' => '{merchantId}/testorders',
  693. 'httpMethod' => 'POST',
  694. 'parameters' => array(
  695. 'merchantId' => array(
  696. 'location' => 'path',
  697. 'type' => 'string',
  698. 'required' => true,
  699. ),
  700. ),
  701. ),'custombatch' => array(
  702. 'path' => 'orders/batch',
  703. 'httpMethod' => 'POST',
  704. 'parameters' => array(),
  705. ),'get' => array(
  706. 'path' => '{merchantId}/orders/{orderId}',
  707. 'httpMethod' => 'GET',
  708. 'parameters' => array(
  709. 'merchantId' => array(
  710. 'location' => 'path',
  711. 'type' => 'string',
  712. 'required' => true,
  713. ),
  714. 'orderId' => array(
  715. 'location' => 'path',
  716. 'type' => 'string',
  717. 'required' => true,
  718. ),
  719. ),
  720. ),'getbymerchantorderid' => array(
  721. 'path' => '{merchantId}/ordersbymerchantid/{merchantOrderId}',
  722. 'httpMethod' => 'GET',
  723. 'parameters' => array(
  724. 'merchantId' => array(
  725. 'location' => 'path',
  726. 'type' => 'string',
  727. 'required' => true,
  728. ),
  729. 'merchantOrderId' => array(
  730. 'location' => 'path',
  731. 'type' => 'string',
  732. 'required' => true,
  733. ),
  734. ),
  735. ),'gettestordertemplate' => array(
  736. 'path' => '{merchantId}/testordertemplates/{templateName}',
  737. 'httpMethod' => 'GET',
  738. 'parameters' => array(
  739. 'merchantId' => array(
  740. 'location' => 'path',
  741. 'type' => 'string',
  742. 'required' => true,
  743. ),
  744. 'templateName' => array(
  745. 'location' => 'path',
  746. 'type' => 'string',
  747. 'required' => true,
  748. ),
  749. ),
  750. ),'list' => array(
  751. 'path' => '{merchantId}/orders',
  752. 'httpMethod' => 'GET',
  753. 'parameters' => array(
  754. 'merchantId' => array(
  755. 'location' => 'path',
  756. 'type' => 'string',
  757. 'required' => true,
  758. ),
  759. 'orderBy' => array(
  760. 'location' => 'query',
  761. 'type' => 'string',
  762. ),
  763. 'placedDateEnd' => array(
  764. 'location' => 'query',
  765. 'type' => 'string',
  766. ),
  767. 'acknowledged' => array(
  768. 'location' => 'query',
  769. 'type' => 'boolean',
  770. ),
  771. 'maxResults' => array(
  772. 'location' => 'query',
  773. 'type' => 'integer',
  774. ),
  775. 'pageToken' => array(
  776. 'location' => 'query',
  777. 'type' => 'string',
  778. ),
  779. 'placedDateStart' => array(
  780. 'location' => 'query',
  781. 'type' => 'string',
  782. ),
  783. 'statuses' => array(
  784. 'location' => 'query',
  785. 'type' => 'string',
  786. 'repeated' => true,
  787. ),
  788. ),
  789. ),'refund' => array(
  790. 'path' => '{merchantId}/orders/{orderId}/refund',
  791. 'httpMethod' => 'POST',
  792. 'parameters' => array(
  793. 'merchantId' => array(
  794. 'location' => 'path',
  795. 'type' => 'string',
  796. 'required' => true,
  797. ),
  798. 'orderId' => array(
  799. 'location' => 'path',
  800. 'type' => 'string',
  801. 'required' => true,
  802. ),
  803. ),
  804. ),'returnlineitem' => array(
  805. 'path' => '{merchantId}/orders/{orderId}/returnLineItem',
  806. 'httpMethod' => 'POST',
  807. 'parameters' => array(
  808. 'merchantId' => array(
  809. 'location' => 'path',
  810. 'type' => 'string',
  811. 'required' => true,
  812. ),
  813. 'orderId' => array(
  814. 'location' => 'path',
  815. 'type' => 'string',
  816. 'required' => true,
  817. ),
  818. ),
  819. ),'shiplineitems' => array(
  820. 'path' => '{merchantId}/orders/{orderId}/shipLineItems',
  821. 'httpMethod' => 'POST',
  822. 'parameters' => array(
  823. 'merchantId' => array(
  824. 'location' => 'path',
  825. 'type' => 'string',
  826. 'required' => true,
  827. ),
  828. 'orderId' => array(
  829. 'location' => 'path',
  830. 'type' => 'string',
  831. 'required' => true,
  832. ),
  833. ),
  834. ),'updatemerchantorderid' => array(
  835. 'path' => '{merchantId}/orders/{orderId}/updateMerchantOrderId',
  836. 'httpMethod' => 'POST',
  837. 'parameters' => array(
  838. 'merchantId' => array(
  839. 'location' => 'path',
  840. 'type' => 'string',
  841. 'required' => true,
  842. ),
  843. 'orderId' => array(
  844. 'location' => 'path',
  845. 'type' => 'string',
  846. 'required' => true,
  847. ),
  848. ),
  849. ),'updateshipment' => array(
  850. 'path' => '{merchantId}/orders/{orderId}/updateShipment',
  851. 'httpMethod' => 'POST',
  852. 'parameters' => array(
  853. 'merchantId' => array(
  854. 'location' => 'path',
  855. 'type' => 'string',
  856. 'required' => true,
  857. ),
  858. 'orderId' => array(
  859. 'location' => 'path',
  860. 'type' => 'string',
  861. 'required' => true,
  862. ),
  863. ),
  864. ),
  865. )
  866. )
  867. );
  868. $this->products = new Google_Service_ShoppingContent_Products_Resource(
  869. $this,
  870. $this->serviceName,
  871. 'products',
  872. array(
  873. 'methods' => array(
  874. 'custombatch' => array(
  875. 'path' => 'products/batch',
  876. 'httpMethod' => 'POST',
  877. 'parameters' => array(
  878. 'dryRun' => array(
  879. 'location' => 'query',
  880. 'type' => 'boolean',
  881. ),
  882. ),
  883. ),'delete' => array(
  884. 'path' => '{merchantId}/products/{productId}',
  885. 'httpMethod' => 'DELETE',
  886. 'parameters' => array(
  887. 'merchantId' => array(
  888. 'location' => 'path',
  889. 'type' => 'string',
  890. 'required' => true,
  891. ),
  892. 'productId' => array(
  893. 'location' => 'path',
  894. 'type' => 'string',
  895. 'required' => true,
  896. ),
  897. 'dryRun' => array(
  898. 'location' => 'query',
  899. 'type' => 'boolean',
  900. ),
  901. ),
  902. ),'get' => array(
  903. 'path' => '{merchantId}/products/{productId}',
  904. 'httpMethod' => 'GET',
  905. 'parameters' => array(
  906. 'merchantId' => array(
  907. 'location' => 'path',
  908. 'type' => 'string',
  909. 'required' => true,
  910. ),
  911. 'productId' => array(
  912. 'location' => 'path',
  913. 'type' => 'string',
  914. 'required' => true,
  915. ),
  916. ),
  917. ),'insert' => array(
  918. 'path' => '{merchantId}/products',
  919. 'httpMethod' => 'POST',
  920. 'parameters' => array(
  921. 'merchantId' => array(
  922. 'location' => 'path',
  923. 'type' => 'string',
  924. 'required' => true,
  925. ),
  926. 'dryRun' => array(
  927. 'location' => 'query',
  928. 'type' => 'boolean',
  929. ),
  930. ),
  931. ),'list' => array(
  932. 'path' => '{merchantId}/products',
  933. 'httpMethod' => 'GET',
  934. 'parameters' => array(
  935. 'merchantId' => array(
  936. 'location' => 'path',
  937. 'type' => 'string',
  938. 'required' => true,
  939. ),
  940. 'pageToken' => array(
  941. 'location' => 'query',
  942. 'type' => 'string',
  943. ),
  944. 'maxResults' => array(
  945. 'location' => 'query',
  946. 'type' => 'integer',
  947. ),
  948. ),
  949. ),
  950. )
  951. )
  952. );
  953. $this->productstatuses = new Google_Service_ShoppingContent_Productstatuses_Resource(
  954. $this,
  955. $this->serviceName,
  956. 'productstatuses',
  957. array(
  958. 'methods' => array(
  959. 'custombatch' => array(
  960. 'path' => 'productstatuses/batch',
  961. 'httpMethod' => 'POST',
  962. 'parameters' => array(),
  963. ),'get' => array(
  964. 'path' => '{merchantId}/productstatuses/{productId}',
  965. 'httpMethod' => 'GET',
  966. 'parameters' => array(
  967. 'merchantId' => array(
  968. 'location' => 'path',
  969. 'type' => 'string',
  970. 'required' => true,
  971. ),
  972. 'productId' => array(
  973. 'location' => 'path',
  974. 'type' => 'string',
  975. 'required' => true,
  976. ),
  977. ),
  978. ),'list' => array(
  979. 'path' => '{merchantId}/productstatuses',
  980. 'httpMethod' => 'GET',
  981. 'parameters' => array(
  982. 'merchantId' => array(
  983. 'location' => 'path',
  984. 'type' => 'string',
  985. 'required' => true,
  986. ),
  987. 'pageToken' => array(
  988. 'location' => 'query',
  989. 'type' => 'string',
  990. ),
  991. 'maxResults' => array(
  992. 'location' => 'query',
  993. 'type' => 'integer',
  994. ),
  995. ),
  996. ),
  997. )
  998. )
  999. );
  1000. }
  1001. }
  1002. /**
  1003. * The "accounts" collection of methods.
  1004. * Typical usage is:
  1005. * <code>
  1006. * $contentService = new Google_Service_ShoppingContent(...);
  1007. * $accounts = $contentService->accounts;
  1008. * </code>
  1009. */
  1010. class Google_Service_ShoppingContent_Accounts_Resource extends Google_Service_Resource
  1011. {
  1012. /**
  1013. * Returns information about the authenticated user. (accounts.authinfo)
  1014. *
  1015. * @param array $optParams Optional parameters.
  1016. * @return Google_Service_ShoppingContent_AccountsAuthInfoResponse
  1017. */
  1018. public function authinfo($optParams = array())
  1019. {
  1020. $params = array();
  1021. $params = array_merge($params, $optParams);
  1022. return $this->call('authinfo', array($params), "Google_Service_ShoppingContent_AccountsAuthInfoResponse");
  1023. }
  1024. /**
  1025. * Retrieves, inserts, updates, and deletes multiple Merchant Center
  1026. * (sub-)accounts in a single request. (accounts.custombatch)
  1027. *
  1028. * @param Google_AccountsCustomBatchRequest $postBody
  1029. * @param array $optParams Optional parameters.
  1030. *
  1031. * @opt_param bool dryRun Flag to run the request in dry-run mode.
  1032. * @return Google_Service_ShoppingContent_AccountsCustomBatchResponse
  1033. */
  1034. public function custombatch(Google_Service_ShoppingContent_AccountsCustomBatchRequest $postBody, $optParams = array())
  1035. {
  1036. $params = array('postBody' => $postBody);
  1037. $params = array_merge($params, $optParams);
  1038. return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_AccountsCustomBatchResponse");
  1039. }
  1040. /**
  1041. * Deletes a Merchant Center sub-account. (accounts.delete)
  1042. *
  1043. * @param string $merchantId The ID of the managing account.
  1044. * @param string $accountId The ID of the account.
  1045. * @param array $optParams Optional parameters.
  1046. *
  1047. * @opt_param bool dryRun Flag to run the request in dry-run mode.
  1048. */
  1049. public function delete($merchantId, $accountId, $optParams = array())
  1050. {
  1051. $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
  1052. $params = array_merge($params, $optParams);
  1053. return $this->call('delete', array($params));
  1054. }
  1055. /**
  1056. * Retrieves a Merchant Center account. (accounts.get)
  1057. *
  1058. * @param string $merchantId The ID of the managing account.
  1059. * @param string $accountId The ID of the account.
  1060. * @param array $optParams Optional parameters.
  1061. * @return Google_Service_ShoppingContent_Account
  1062. */
  1063. public function get($merchantId, $accountId, $optParams = array())
  1064. {
  1065. $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
  1066. $params = array_merge($params, $optParams);
  1067. return $this->call('get', array($params), "Google_Service_ShoppingContent_Account");
  1068. }
  1069. /**
  1070. * Creates a Merchant Center sub-account. (accounts.insert)
  1071. *
  1072. * @param string $merchantId The ID of the managing account.
  1073. * @param Google_Account $postBody
  1074. * @param array $optParams Optional parameters.
  1075. *
  1076. * @opt_param bool dryRun Flag to run the request in dry-run mode.
  1077. * @return Google_Service_ShoppingContent_Account
  1078. */
  1079. public function insert($merchantId, Google_Service_ShoppingContent_Account $postBody, $optParams = array())
  1080. {
  1081. $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
  1082. $params = array_merge($params, $optParams);
  1083. return $this->call('insert', array($params), "Google_Service_ShoppingContent_Account");
  1084. }
  1085. /**
  1086. * Lists the sub-accounts in your Merchant Center account.
  1087. * (accounts.listAccounts)
  1088. *
  1089. * @param string $merchantId The ID of the managing account.
  1090. * @param array $optParams Optional parameters.
  1091. *
  1092. * @opt_param string pageToken The token returned by the previous request.
  1093. * @opt_param string maxResults The maximum number of accounts to return in the
  1094. * response, used for paging.
  1095. * @return Google_Service_ShoppingContent_AccountsListResponse
  1096. */
  1097. public function listAccounts($merchantId, $optParams = array())
  1098. {
  1099. $params = array('merchantId' => $merchantId);
  1100. $params = array_merge($params, $optParams);
  1101. return $this->call('list', array($params), "Google_Service_ShoppingContent_AccountsListResponse");
  1102. }
  1103. /**
  1104. * Updates a Merchant Center account. This method supports patch semantics.
  1105. * (accounts.patch)
  1106. *
  1107. * @param string $merchantId The ID of the managing account.
  1108. * @param string $accountId The ID of the account.
  1109. * @param Google_Account $postBody
  1110. * @param array $optParams Optional parameters.
  1111. *
  1112. * @opt_param bool dryRun Flag to run the request in dry-run mode.
  1113. * @return Google_Service_ShoppingContent_Account
  1114. */
  1115. public function patch($merchantId, $accountId, Google_Service_ShoppingContent_Account $postBody, $optParams = array())
  1116. {
  1117. $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
  1118. $params = array_merge($params, $optParams);
  1119. return $this->call('patch', array($params), "Google_Service_ShoppingContent_Account");
  1120. }
  1121. /**
  1122. * Updates a Merchant Center account. (accounts.update)
  1123. *
  1124. * @param string $merchantId The ID of the managing account.
  1125. * @param string $accountId The ID of the account.
  1126. * @param Google_Account $postBody
  1127. * @param array $optParams Optional parameters.
  1128. *
  1129. * @opt_param bool dryRun Flag to run the request in dry-run mode.
  1130. * @return Google_Service_ShoppingContent_Account
  1131. */
  1132. public function update($merchantId, $accountId, Google_Service_ShoppingContent_Account $postBody, $optParams = array())
  1133. {
  1134. $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
  1135. $params = array_merge($params, $optParams);
  1136. return $this->call('update', array($params), "Google_Service_ShoppingContent_Account");
  1137. }
  1138. }
  1139. /**
  1140. * The "accountshipping" collection of methods.
  1141. * Typical usage is:
  1142. * <code>
  1143. * $contentService = new Google_Service_ShoppingContent(...);
  1144. * $accountshipping = $contentService->accountshipping;
  1145. * </code>
  1146. */
  1147. class Google_Service_ShoppingContent_Accountshipping_Resource extends Google_Service_Resource
  1148. {
  1149. /**
  1150. * Retrieves and updates the shipping settings of multiple accounts in a single
  1151. * request. (accountshipping.custombatch)
  1152. *
  1153. * @param Google_AccountshippingCustomBatchRequest $postBody
  1154. * @param array $optParams Optional parameters.
  1155. *
  1156. * @opt_param bool dryRun Flag to run the request in dry-run mode.
  1157. * @return Google_Service_ShoppingContent_AccountshippingCustomBatchResponse
  1158. */
  1159. public function custombatch(Google_Service_ShoppingContent_AccountshippingCustomBatchRequest $postBody, $optParams = array())
  1160. {
  1161. $params = array('postBody' => $postBody);
  1162. $params = array_merge($params, $optParams);
  1163. return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_AccountshippingCustomBatchResponse");
  1164. }
  1165. /**
  1166. * Retrieves the shipping settings of the account. (accountshipping.get)
  1167. *
  1168. * @param string $merchantId The ID of the managing account.
  1169. * @param string $accountId The ID of the account for which to get/update
  1170. * account shipping settings.
  1171. * @param array $optParams Optional parameters.
  1172. * @return Google_Service_ShoppingContent_AccountShipping
  1173. */
  1174. public function get($merchantId, $accountId, $optParams = array())
  1175. {
  1176. $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
  1177. $params = array_merge($params, $optParams);
  1178. return $this->call('get', array($params), "Google_Service_ShoppingContent_AccountShipping");
  1179. }
  1180. /**
  1181. * Lists the shipping settings of the sub-accounts in your Merchant Center
  1182. * account. (accountshipping.listAccountshipping)
  1183. *
  1184. * @param string $merchantId The ID of the managing account.
  1185. * @param array $optParams Optional parameters.
  1186. *
  1187. * @opt_param string pageToken The token returned by the previous request.
  1188. * @opt_param string maxResults The maximum number of shipping settings to
  1189. * return in the response, used for paging.
  1190. * @return Google_Service_ShoppingContent_AccountshippingListResponse
  1191. */
  1192. public function listAccountshipping($merchantId, $optParams = array())
  1193. {
  1194. $params = array('merchantId' => $merchantId);
  1195. $params = array_merge($params, $optParams);
  1196. return $this->call('list', array($params), "Google_Service_ShoppingContent_AccountshippingListResponse");
  1197. }
  1198. /**
  1199. * Updates the shipping settings of the account. This method supports patch
  1200. * semantics. (accountshipping.patch)
  1201. *
  1202. * @param string $merchantId The ID of the managing account.
  1203. * @param string $accountId The ID of the account for which to get/update
  1204. * account shipping settings.
  1205. * @param Google_AccountShipping $postBody
  1206. * @param array $optParams Optional parameters.
  1207. *
  1208. * @opt_param bool dryRun Flag to run the request in dry-run mode.
  1209. * @return Google_Service_ShoppingContent_AccountShipping
  1210. */
  1211. public function patch($merchantId, $accountId, Google_Service_ShoppingContent_AccountShipping $postBody, $optParams = array())
  1212. {
  1213. $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
  1214. $params = array_merge($params, $optParams);
  1215. return $this->call('patch', array($params), "Google_Service_ShoppingContent_AccountShipping");
  1216. }
  1217. /**
  1218. * Updates the shipping settings of the account. (accountshipping.update)
  1219. *
  1220. * @param string $merchantId The ID of the managing account.
  1221. * @param string $accountId The ID of the account for which to get/update
  1222. * account shipping settings.
  1223. * @param Google_AccountShipping $postBody
  1224. * @param array $optParams Optional parameters.
  1225. *
  1226. * @opt_param bool dryRun Flag to run the request in dry-run mode.
  1227. * @return Google_Service_ShoppingContent_AccountShipping
  1228. */
  1229. public function update($merchantId, $accountId, Google_Service_ShoppingContent_AccountShipping $postBody, $optParams = array())
  1230. {
  1231. $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
  1232. $params = array_merge($params, $optParams);
  1233. return $this->call('update', array($params), "Google_Service_ShoppingContent_AccountShipping");
  1234. }
  1235. }
  1236. /**
  1237. * The "accountstatuses" collection of methods.
  1238. * Typical usage is:
  1239. * <code>
  1240. * $contentService = new Google_Service_ShoppingContent(...);
  1241. * $accountstatuses = $contentService->accountstatuses;
  1242. * </code>
  1243. */
  1244. class Google_Service_ShoppingContent_Accountstatuses_Resource extends Google_Service_Resource
  1245. {
  1246. /**
  1247. * (accountstatuses.custombatch)
  1248. *
  1249. * @param Google_AccountstatusesCustomBatchRequest $postBody
  1250. * @param array $optParams Optional parameters.
  1251. * @return Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse
  1252. */
  1253. public function custombatch(Google_Service_ShoppingContent_AccountstatusesCustomBatchRequest $postBody, $optParams = array())
  1254. {
  1255. $params = array('postBody' => $postBody);
  1256. $params = array_merge($params, $optParams);
  1257. return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse");
  1258. }
  1259. /**
  1260. * Retrieves the status of a Merchant Center account. (accountstatuses.get)
  1261. *
  1262. * @param string $merchantId The ID of the managing account.
  1263. * @param string $accountId The ID of the account.
  1264. * @param array $optParams Optional parameters.
  1265. * @return Google_Service_ShoppingContent_AccountStatus
  1266. */
  1267. public function get($merchantId, $accountId, $optParams = array())
  1268. {
  1269. $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
  1270. $params = array_merge($params, $optParams);
  1271. return $this->call('get', array($params), "Google_Service_ShoppingContent_AccountStatus");
  1272. }
  1273. /**
  1274. * Lists the statuses of the sub-accounts in your Merchant Center account.
  1275. * (accountstatuses.listAccountstatuses)
  1276. *
  1277. * @param string $merchantId The ID of the managing account.
  1278. * @param array $optParams Optional parameters.
  1279. *
  1280. * @opt_param string pageToken The token returned by the previous request.
  1281. * @opt_param string maxResults The maximum number of account statuses to return
  1282. * in the response, used for paging.
  1283. * @return Google_Service_ShoppingContent_AccountstatusesListResponse
  1284. */
  1285. public function listAccountstatuses($merchantId, $optParams = array())
  1286. {
  1287. $params = array('merchantId' => $merchantId);
  1288. $params = array_merge($params, $optParams);
  1289. return $this->call('list', array($params), "Google_Service_ShoppingContent_AccountstatusesListResponse");
  1290. }
  1291. }
  1292. /**
  1293. * The "accounttax" collection of methods.
  1294. * Typical usage is:
  1295. * <code>
  1296. * $contentService = new Google_Service_ShoppingContent(...);
  1297. * $accounttax = $contentService->accounttax;
  1298. * </code>
  1299. */
  1300. class Google_Service_ShoppingContent_Accounttax_Resource extends Google_Service_Resource
  1301. {
  1302. /**
  1303. * Retrieves and updates tax settings of multiple accounts in a single request.
  1304. * (accounttax.custombatch)
  1305. *
  1306. * @param Google_AccounttaxCustomBatchRequest $postBody
  1307. * @param array $optParams Optional parameters.
  1308. *
  1309. * @opt_param bool dryRun Flag to run the request in dry-run mode.
  1310. * @return Google_Service_ShoppingContent_AccounttaxCustomBatchResponse
  1311. */
  1312. public function custombatch(Google_Service_ShoppingContent_AccounttaxCustomBatchRequest $postBody, $optParams = array())
  1313. {
  1314. $params = array('postBody' => $postBody);
  1315. $params = array_merge($params, $optParams);
  1316. return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_AccounttaxCustomBatchResponse");
  1317. }
  1318. /**
  1319. * Retrieves the tax settings of the account. (accounttax.get)
  1320. *
  1321. * @param string $merchantId The ID of the managing account.
  1322. * @param string $accountId The ID of the account for which to get/update
  1323. * account tax settings.
  1324. * @param array $optParams Optional parameters.
  1325. * @return Google_Service_ShoppingContent_AccountTax
  1326. */
  1327. public function get($merchantId, $accountId, $optParams = array())
  1328. {
  1329. $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
  1330. $params = array_merge($params, $optParams);
  1331. return $this->call('get', array($params), "Google_Service_ShoppingContent_AccountTax");
  1332. }
  1333. /**
  1334. * Lists the tax settings of the sub-accounts in your Merchant Center account.
  1335. * (accounttax.listAccounttax)
  1336. *
  1337. * @param string $merchantId The ID of the managing account.
  1338. * @param array $optParams Optional parameters.
  1339. *
  1340. * @opt_param string pageToken The token returned by the previous request.
  1341. * @opt_param string maxResults The maximum number of tax settings to return in
  1342. * the response, used for paging.
  1343. * @return Google_Service_ShoppingContent_AccounttaxListResponse
  1344. */
  1345. public function listAccounttax($merchantId, $optParams = array())
  1346. {
  1347. $params = array('merchantId' => $merchantId);
  1348. $params = array_merge($params, $optParams);
  1349. return $this->call('list', array($params), "Google_Service_ShoppingContent_AccounttaxListResponse");
  1350. }
  1351. /**
  1352. * Updates the tax settings of the account. This method supports patch
  1353. * semantics. (accounttax.patch)
  1354. *
  1355. * @param string $merchantId The ID of the managing account.
  1356. * @param string $accountId The ID of the account for which to get/update
  1357. * account tax settings.
  1358. * @param Google_AccountTax $postBody
  1359. * @param array $optParams Optional parameters.
  1360. *
  1361. * @opt_param bool dryRun Flag to run the request in dry-run mode.
  1362. * @return Google_Service_ShoppingContent_AccountTax
  1363. */
  1364. public function patch($merchantId, $accountId, Google_Service_ShoppingContent_AccountTax $postBody, $optParams = array())
  1365. {
  1366. $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
  1367. $params = array_merge($params, $optParams);
  1368. return $this->call('patch', array($params), "Google_Service_ShoppingContent_AccountTax");
  1369. }
  1370. /**
  1371. * Updates the tax settings of the account. (accounttax.update)
  1372. *
  1373. * @param string $merchantId The ID of the managing account.
  1374. * @param string $accountId The ID of the account for which to get/update
  1375. * account tax settings.
  1376. * @param Google_AccountTax $postBody
  1377. * @param array $optParams Optional parameters.
  1378. *
  1379. * @opt_param bool dryRun Flag to run the request in dry-run mode.
  1380. * @return Google_Service_ShoppingContent_AccountTax
  1381. */
  1382. public function update($merchantId, $accountId, Google_Service_ShoppingContent_AccountTax $postBody, $optParams = array())
  1383. {
  1384. $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
  1385. $params = array_merge($params, $optParams);
  1386. return $this->call('update', array($params), "Google_Service_ShoppingContent_AccountTax");
  1387. }
  1388. }
  1389. /**
  1390. * The "datafeeds" collection of methods.
  1391. * Typical usage is:
  1392. * <code>
  1393. * $contentService = new Google_Service_ShoppingContent(...);
  1394. * $datafeeds = $contentService->datafeeds;
  1395. * </code>
  1396. */
  1397. class Google_Service_ShoppingContent_Datafeeds_Resource extends Google_Service_Resource
  1398. {
  1399. /**
  1400. * (datafeeds.custombatch)
  1401. *
  1402. * @param Google_DatafeedsCustomBatchRequest $postBody
  1403. * @param array $optParams Optional parameters.
  1404. *
  1405. * @opt_param bool dryRun Flag to run the request in dry-run mode.
  1406. * @return Google_Service_ShoppingContent_DatafeedsCustomBatchResponse
  1407. */
  1408. public function custombatch(Google_Service_ShoppingContent_DatafeedsCustomBatchRequest $postBody, $optParams = array())
  1409. {
  1410. $params = array('postBody' => $postBody);
  1411. $params = array_merge($params, $optParams);
  1412. return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_DatafeedsCustomBatchResponse");
  1413. }
  1414. /**
  1415. * Deletes a datafeed from your Merchant Center account. (datafeeds.delete)
  1416. *
  1417. * @param string $merchantId
  1418. * @param string $datafeedId
  1419. * @param array $optParams Optional parameters.
  1420. *
  1421. * @opt_param bool dryRun Flag to run the request in dry-run mode.
  1422. */
  1423. public function delete($merchantId, $datafeedId, $optParams = array())
  1424. {
  1425. $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId);
  1426. $params = array_merge($params, $optParams);
  1427. return $this->call('delete', array($params));
  1428. }
  1429. /**
  1430. * Retrieves a datafeed from your Merchant Center account. (datafeeds.get)
  1431. *
  1432. * @param string $merchantId
  1433. * @param string $datafeedId
  1434. * @param array $optParams Optional parameters.
  1435. * @return Google_Service_ShoppingContent_Datafeed
  1436. */
  1437. public function get($merchantId, $datafeedId, $optParams = array())
  1438. {
  1439. $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId);
  1440. $params = array_merge($params, $optParams);
  1441. return $this->call('get', array($params), "Google_Service_ShoppingContent_Datafeed");
  1442. }
  1443. /**
  1444. * Registers a datafeed with your Merchant Center account. (datafeeds.insert)
  1445. *
  1446. * @param string $merchantId
  1447. * @param Google_Datafeed $postBody
  1448. * @param array $optParams Optional parameters.
  1449. *
  1450. * @opt_param bool dryRun Flag to run the request in dry-run mode.
  1451. * @return Google_Service_ShoppingContent_Datafeed
  1452. */
  1453. public function insert($merchantId, Google_Service_ShoppingContent_Datafeed $postBody, $optParams = array())
  1454. {
  1455. $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
  1456. $params = array_merge($params, $optParams);
  1457. return $this->call('insert', array($params), "Google_Service_ShoppingContent_Datafeed");
  1458. }
  1459. /**
  1460. * Lists the datafeeds in your Merchant Center account.
  1461. * (datafeeds.listDatafeeds)
  1462. *
  1463. * @param string $merchantId The ID of the managing account.
  1464. * @param array $optParams Optional parameters.
  1465. *
  1466. * @opt_param string pageToken The token returned by the previous request.
  1467. * @opt_param string maxResults The maximum number of products to return in the
  1468. * response, used for paging.
  1469. * @return Google_Service_ShoppingContent_DatafeedsListResponse
  1470. */
  1471. public function listDatafeeds($merchantId, $optParams = array())
  1472. {
  1473. $params = array('merchantId' => $merchantId);
  1474. $params = array_merge($params, $optParams);
  1475. return $this->call('list', array($params), "Google_Service_ShoppingContent_DatafeedsListResponse");
  1476. }
  1477. /**
  1478. * Updates a datafeed of your Merchant Center account. This method supports
  1479. * patch semantics. (datafeeds.patch)
  1480. *
  1481. * @param string $merchantId
  1482. * @param string $datafeedId
  1483. * @param Google_Datafeed $postBody
  1484. * @param array $optParams Optional parameters.
  1485. *
  1486. * @opt_param bool dryRun Flag to run the request in dry-run mode.
  1487. * @return Google_Service_ShoppingContent_Datafeed
  1488. */
  1489. public function patch($merchantId, $datafeedId, Google_Service_ShoppingContent_Datafeed $postBody, $optParams = array())
  1490. {
  1491. $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId, 'postBody' => $postBody);
  1492. $params = array_merge($params, $optParams);
  1493. return $this->call('patch', array($params), "Google_Service_ShoppingContent_Datafeed");
  1494. }
  1495. /**
  1496. * Updates a datafeed of your Merchant Center account. (datafeeds.update)
  1497. *
  1498. * @param string $merchantId
  1499. * @param string $datafeedId
  1500. * @param Google_Datafeed $postBody
  1501. * @param array $optParams Optional parameters.
  1502. *
  1503. * @opt_param bool dryRun Flag to run the request in dry-run mode.
  1504. * @return Google_Service_ShoppingContent_Datafeed
  1505. */
  1506. public function update($merchantId, $datafeedId, Google_Service_ShoppingContent_Datafeed $postBody, $optParams = array())
  1507. {
  1508. $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId, 'postBody' => $postBody);
  1509. $params = array_merge($params, $optParams);
  1510. return $this->call('update', array($params), "Google_Service_ShoppingContent_Datafeed");
  1511. }
  1512. }
  1513. /**
  1514. * The "datafeedstatuses" collection of methods.
  1515. * Typical usage is:
  1516. * <code>
  1517. * $contentService = new Google_Service_ShoppingContent(...);
  1518. * $datafeedstatuses = $contentService->datafeedstatuses;
  1519. * </code>
  1520. */
  1521. class Google_Service_ShoppingContent_Datafeedstatuses_Resource extends Google_Service_Resource
  1522. {
  1523. /**
  1524. * (datafeedstatuses.custombatch)
  1525. *
  1526. * @param Google_DatafeedstatusesCustomBatchRequest $postBody
  1527. * @param array $optParams Optional parameters.
  1528. * @return Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse
  1529. */
  1530. public function custombatch(Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequest $postBody, $optParams = array())
  1531. {
  1532. $params = array('postBody' => $postBody);
  1533. $params = array_merge($params, $optParams);
  1534. return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse");
  1535. }
  1536. /**
  1537. * Retrieves the status of a datafeed from your Merchant Center account.
  1538. * (datafeedstatuses.get)
  1539. *
  1540. * @param string $merchantId
  1541. * @param string $datafeedId
  1542. * @param array $optParams Optional parameters.
  1543. * @return Google_Service_ShoppingContent_DatafeedStatus
  1544. */
  1545. public function get($merchantId, $datafeedId, $optParams = array())
  1546. {
  1547. $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId);
  1548. $params = array_merge($params, $optParams);
  1549. return $this->call('get', array($params), "Google_Service_ShoppingContent_DatafeedStatus");
  1550. }
  1551. /**
  1552. * Lists the statuses of the datafeeds in your Merchant Center account.
  1553. * (datafeedstatuses.listDatafeedstatuses)
  1554. *
  1555. * @param string $merchantId The ID of the managing account.
  1556. * @param array $optParams Optional parameters.
  1557. *
  1558. * @opt_param string pageToken The token returned by the previous request.
  1559. * @opt_param string maxResults The maximum number of products to return in the
  1560. * response, used for paging.
  1561. * @return Google_Service_ShoppingContent_DatafeedstatusesListResponse
  1562. */
  1563. public function listDatafeedstatuses($merchantId, $optParams = array())
  1564. {
  1565. $params = array('merchantId' => $merchantId);
  1566. $params = array_merge($params, $optParams);
  1567. return $this->call('list', array($params), "Google_Service_ShoppingContent_DatafeedstatusesListResponse");
  1568. }
  1569. }
  1570. /**
  1571. * The "inventory" collection of methods.
  1572. * Typical usage is:
  1573. * <code>
  1574. * $contentService = new Google_Service_ShoppingContent(...);
  1575. * $inventory = $contentService->inventory;
  1576. * </code>
  1577. */
  1578. class Google_Service_ShoppingContent_Inventory_Resource extends Google_Service_Resource
  1579. {
  1580. /**
  1581. * Updates price and availability for multiple products or stores in a single
  1582. * request. This operation does not update the expiration date of the products.
  1583. * (inventory.custombatch)
  1584. *
  1585. * @param Google_InventoryCustomBatchRequest $postBody
  1586. * @param array $optParams Optional parameters.
  1587. *
  1588. * @opt_param bool dryRun Flag to run the request in dry-run mode.
  1589. * @return Google_Service_ShoppingContent_InventoryCustomBatchResponse
  1590. */
  1591. public function custombatch(Google_Service_ShoppingContent_InventoryCustomBatchRequest $postBody, $optParams = array())
  1592. {
  1593. $params = array('postBody' => $postBody);
  1594. $params = array_merge($params, $optParams);
  1595. return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_InventoryCustomBatchResponse");
  1596. }
  1597. /**
  1598. * Updates price and availability of a product in your Merchant Center account.
  1599. * This operation does not update the expiration date of the product.
  1600. * (inventory.set)
  1601. *
  1602. * @param string $merchantId The ID of the managing account.
  1603. * @param string $storeCode The code of the store for which to update price and
  1604. * availability. Use online to update price and availability of an online
  1605. * product.
  1606. * @param string $productId The ID of the product for which to update price and
  1607. * availability.
  1608. * @param Google_InventorySetRequest $postBody
  1609. * @param array $optParams Optional parameters.
  1610. *
  1611. * @opt_param bool dryRun Flag to run the request in dry-run mode.
  1612. * @return Google_Service_ShoppingContent_InventorySetResponse
  1613. */
  1614. public function set($merchantId, $storeCode, $productId, Google_Service_ShoppingContent_InventorySetRequest $postBody, $optParams = array())
  1615. {
  1616. $params = array('merchantId' => $merchantId, 'storeCode' => $storeCode, 'productId' => $productId, 'postBody' => $postBody);
  1617. $params = array_merge($params, $optParams);
  1618. return $this->call('set', array($params), "Google_Service_ShoppingContent_InventorySetResponse");
  1619. }
  1620. }
  1621. /**
  1622. * The "orders" collection of methods.
  1623. * Typical usage is:
  1624. * <code>
  1625. * $contentService = new Google_Service_ShoppingContent(...);
  1626. * $orders = $contentService->orders;
  1627. * </code>
  1628. */
  1629. class Google_Service_ShoppingContent_Orders_Resource extends Google_Service_Resource
  1630. {
  1631. /**
  1632. * Marks an order as acknowledged. (orders.acknowledge)
  1633. *
  1634. * @param string $merchantId The ID of the managing account.
  1635. * @param string $orderId The ID of the order.
  1636. * @param Google_OrdersAcknowledgeRequest $postBody
  1637. * @param array $optParams Optional parameters.
  1638. * @return Google_Service_ShoppingContent_OrdersAcknowledgeResponse
  1639. */
  1640. public function acknowledge($merchantId, $orderId, Google_Service_ShoppingContent_OrdersAcknowledgeRequest $postBody, $optParams = array())
  1641. {
  1642. $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody);
  1643. $params = array_merge($params, $optParams);
  1644. return $this->call('acknowledge', array($params), "Google_Service_ShoppingContent_OrdersAcknowledgeResponse");
  1645. }
  1646. /**
  1647. * Sandbox only. Moves a test order from state "inProgress" to state
  1648. * "pendingShipment". (orders.advancetestorder)
  1649. *
  1650. * @param string $merchantId The ID of the managing account.
  1651. * @param string $orderId The ID of the test order to modify.
  1652. * @param array $optParams Optional parameters.
  1653. * @return Google_Service_ShoppingContent_OrdersAdvanceTestOrderResponse
  1654. */
  1655. public function advancetestorder($merchantId, $orderId, $optParams = array())
  1656. {
  1657. $params = array('merchantId' => $merchantId, 'orderId' => $orderId);
  1658. $params = array_merge($params, $optParams);
  1659. return $this->call('advancetestorder', array($params), "Google_Service_ShoppingContent_OrdersAdvanceTestOrderResponse");
  1660. }
  1661. /**
  1662. * Cancels all line items in an order. (orders.cancel)
  1663. *
  1664. * @param string $merchantId The ID of the managing account.
  1665. * @param string $orderId The ID of the order to cancel.
  1666. * @param Google_OrdersCancelRequest $postBody
  1667. * @param array $optParams Optional parameters.
  1668. * @return Google_Service_ShoppingContent_OrdersCancelResponse
  1669. */
  1670. public function cancel($merchantId, $orderId, Google_Service_ShoppingContent_OrdersCancelRequest $postBody, $optParams = array())
  1671. {
  1672. $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody);
  1673. $params = array_merge($params, $optParams);
  1674. return $this->call('cancel', array($params), "Google_Service_ShoppingContent_OrdersCancelResponse");
  1675. }
  1676. /**
  1677. * Cancels a line item. (orders.cancellineitem)
  1678. *
  1679. * @param string $merchantId The ID of the managing account.
  1680. * @param string $orderId The ID of the order.
  1681. * @param Google_OrdersCancelLineItemRequest $postBody
  1682. * @param array $optParams Optional parameters.
  1683. * @return Google_Service_ShoppingContent_OrdersCancelLineItemResponse
  1684. */
  1685. public function cancellineitem($merchantId, $orderId, Google_Service_ShoppingContent_OrdersCancelLineItemRequest $postBody, $optParams = array())
  1686. {
  1687. $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody);
  1688. $params = array_merge($params, $optParams);
  1689. return $this->call('cancellineitem', array($params), "Google_Service_ShoppingContent_OrdersCancelLineItemResponse");
  1690. }
  1691. /**
  1692. * Sandbox only. Creates a test order. (orders.createtestorder)
  1693. *
  1694. * @param string $merchantId The ID of the managing account.
  1695. * @param Google_OrdersCreateTestOrderRequest $postBody
  1696. * @param array $optParams Optional parameters.
  1697. * @return Google_Service_ShoppingContent_OrdersCreateTestOrderResponse
  1698. */
  1699. public function createtestorder($merchantId, Google_Service_ShoppingContent_OrdersCreateTestOrderRequest $postBody, $optParams = array())
  1700. {
  1701. $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
  1702. $params = array_merge($params, $optParams);
  1703. return $this->call('createtestorder', array($params), "Google_Service_ShoppingContent_OrdersCreateTestOrderResponse");
  1704. }
  1705. /**
  1706. * Retrieves or modifies multiple orders in a single request.
  1707. * (orders.custombatch)
  1708. *
  1709. * @param Google_OrdersCustomBatchRequest $postBody
  1710. * @param array $optParams Optional parameters.
  1711. * @return Google_Service_ShoppingContent_OrdersCustomBatchResponse
  1712. */
  1713. public function custombatch(Google_Service_ShoppingContent_OrdersCustomBatchRequest $postBody, $optParams = array())
  1714. {
  1715. $params = array('postBody' => $postBody);
  1716. $params = array_merge($params, $optParams);
  1717. return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_OrdersCustomBatchResponse");
  1718. }
  1719. /**
  1720. * Retrieves an order from your Merchant Center account. (orders.get)
  1721. *
  1722. * @param string $merchantId The ID of the managing account.
  1723. * @param string $orderId The ID of the order.
  1724. * @param array $optParams Optional parameters.
  1725. * @return Google_Service_ShoppingContent_Order
  1726. */
  1727. public function get($merchantId, $orderId, $optParams = array())
  1728. {
  1729. $params = array('merchantId' => $merchantId, 'orderId' => $orderId);
  1730. $params = array_merge($params, $optParams);
  1731. return $this->call('get', array($params), "Google_Service_ShoppingContent_Order");
  1732. }
  1733. /**
  1734. * Retrieves an order using merchant order id. (orders.getbymerchantorderid)
  1735. *
  1736. * @param string $merchantId The ID of the managing account.
  1737. * @param string $merchantOrderId The merchant order id to be looked for.
  1738. * @param array $optParams Optional parameters.
  1739. * @return Google_Service_ShoppingContent_OrdersGetByMerchantOrderIdResponse
  1740. */
  1741. public function getbymerchantorderid($merchantId, $merchantOrderId, $optParams = array())
  1742. {
  1743. $params = array('merchantId' => $merchantId, 'merchantOrderId' => $merchantOrderId);
  1744. $params = array_merge($params, $optParams);
  1745. return $this->call('getbymerchantorderid', array($params), "Google_Service_ShoppingContent_OrdersGetByMerchantOrderIdResponse");
  1746. }
  1747. /**
  1748. * Sandbox only. Retrieves an order template that can be used to quickly create
  1749. * a new order in sandbox. (orders.gettestordertemplate)
  1750. *
  1751. * @param string $merchantId The ID of the managing account.
  1752. * @param string $templateName The name of the template to retrieve.
  1753. * @param array $optParams Optional parameters.
  1754. * @return Google_Service_ShoppingContent_OrdersGetTestOrderTemplateResponse
  1755. */
  1756. public function gettestordertemplate($merchantId, $templateName, $optParams = array())
  1757. {
  1758. $params = array('merchantId' => $merchantId, 'templateName' => $templateName);
  1759. $params = array_merge($params, $optParams);
  1760. return $this->call('gettestordertemplate', array($params), "Google_Service_ShoppingContent_OrdersGetTestOrderTemplateResponse");
  1761. }
  1762. /**
  1763. * Lists the orders in your Merchant Center account. (orders.listOrders)
  1764. *
  1765. * @param string $merchantId The ID of the managing account.
  1766. * @param array $optParams Optional parameters.
  1767. *
  1768. * @opt_param string orderBy The ordering of the returned list. The only
  1769. * supported value are placedDate desc and placedDate asc for now, which returns
  1770. * orders sorted by placement date. "placedDate desc" stands for listing orders
  1771. * by placement date, from oldest to most recent. "placedDate asc" stands for
  1772. * listing orders by placement date, from most recent to oldest. In future
  1773. * releases we'll support other sorting criteria.
  1774. * @opt_param string placedDateEnd Obtains orders placed before this date
  1775. * (exclusively), in ISO 8601 format.
  1776. * @opt_param bool acknowledged Obtains orders that match the acknowledgement
  1777. * status. When set to true, obtains orders that have been acknowledged. When
  1778. * false, obtains orders that have not been acknowledged. We recommend using
  1779. * this filter set to false, in conjunction with the acknowledge call, such that
  1780. * only un-acknowledged orders are returned.
  1781. * @opt_param string maxResults The maximum number of orders to return in the
  1782. * response, used for paging. The default value is 25 orders per page, and the
  1783. * maximum allowed value is 250 orders per page. Known issue: All List calls
  1784. * will return all Orders without limit regardless of the value of this field.
  1785. * @opt_param string pageToken The token returned by the previous request.
  1786. * @opt_param string placedDateStart Obtains orders placed after this date
  1787. * (inclusively), in ISO 8601 format.
  1788. * @opt_param string statuses Obtains orders that match any of the specified
  1789. * statuses. Multiple values can be specified with comma separation.
  1790. * Additionally, please note that active is a shortcut for pendingShipment and
  1791. * partiallyShipped, and completed is a shortcut for shipped ,
  1792. * partiallyDelivered, delivered, partiallyReturned, returned, and canceled.
  1793. * @return Google_Service_ShoppingContent_OrdersListResponse
  1794. */
  1795. public function listOrders($merchantId, $optParams = array())
  1796. {
  1797. $params = array('merchantId' => $merchantId);
  1798. $params = array_merge($params, $optParams);
  1799. return $this->call('list', array($params), "Google_Service_ShoppingContent_OrdersListResponse");
  1800. }
  1801. /**
  1802. * Refund a portion of the order, up to the full amount paid. (orders.refund)
  1803. *
  1804. * @param string $merchantId The ID of the managing account.
  1805. * @param string $orderId The ID of the order to refund.
  1806. * @param Google_OrdersRefundRequest $postBody
  1807. * @param array $optParams Optional parameters.
  1808. * @return Google_Service_ShoppingContent_OrdersRefundResponse
  1809. */
  1810. public function refund($merchantId, $orderId, Google_Service_ShoppingContent_OrdersRefundRequest $postBody, $optParams = array())
  1811. {
  1812. $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody);
  1813. $params = array_merge($params, $optParams);
  1814. return $this->call('refund', array($params), "Google_Service_ShoppingContent_OrdersRefundResponse");
  1815. }
  1816. /**
  1817. * Returns a line item. (orders.returnlineitem)
  1818. *
  1819. * @param string $merchantId The ID of the managing account.
  1820. * @param string $orderId The ID of the order.
  1821. * @param Google_OrdersReturnLineItemRequest $postBody
  1822. * @param array $optParams Optional parameters.
  1823. * @return Google_Service_ShoppingContent_OrdersReturnLineItemResponse
  1824. */
  1825. public function returnlineitem($merchantId, $orderId, Google_Service_ShoppingContent_OrdersReturnLineItemRequest $postBody, $optParams = array())
  1826. {
  1827. $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody);
  1828. $params = array_merge($params, $optParams);
  1829. return $this->call('returnlineitem', array($params), "Google_Service_ShoppingContent_OrdersReturnLineItemResponse");
  1830. }
  1831. /**
  1832. * Marks line item(s) as shipped. (orders.shiplineitems)
  1833. *
  1834. * @param string $merchantId The ID of the managing account.
  1835. * @param string $orderId The ID of the order.
  1836. * @param Google_OrdersShipLineItemsRequest $postBody
  1837. * @param array $optParams Optional parameters.
  1838. * @return Google_Service_ShoppingContent_OrdersShipLineItemsResponse
  1839. */
  1840. public function shiplineitems($merchantId, $orderId, Google_Service_ShoppingContent_OrdersShipLineItemsRequest $postBody, $optParams = array())
  1841. {
  1842. $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody);
  1843. $params = array_merge($params, $optParams);
  1844. return $this->call('shiplineitems', array($params), "Google_Service_ShoppingContent_OrdersShipLineItemsResponse");
  1845. }
  1846. /**
  1847. * Updates the merchant order ID for a given order.
  1848. * (orders.updatemerchantorderid)
  1849. *
  1850. * @param string $merchantId The ID of the managing account.
  1851. * @param string $orderId The ID of the order.
  1852. * @param Google_OrdersUpdateMerchantOrderIdRequest $postBody
  1853. * @param array $optParams Optional parameters.
  1854. * @return Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdResponse
  1855. */
  1856. public function updatemerchantorderid($merchantId, $orderId, Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdRequest $postBody, $optParams = array())
  1857. {
  1858. $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody);
  1859. $params = array_merge($params, $optParams);
  1860. return $this->call('updatemerchantorderid', array($params), "Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdResponse");
  1861. }
  1862. /**
  1863. * Updates a shipment's status, carrier, and/or tracking ID.
  1864. * (orders.updateshipment)
  1865. *
  1866. * @param string $merchantId The ID of the managing account.
  1867. * @param string $orderId The ID of the order.
  1868. * @param Google_OrdersUpdateShipmentRequest $postBody
  1869. * @param array $optParams Optional parameters.
  1870. * @return Google_Service_ShoppingContent_OrdersUpdateShipmentResponse
  1871. */
  1872. public function updateshipment($merchantId, $orderId, Google_Service_ShoppingContent_OrdersUpdateShipmentRequest $postBody, $optParams = array())
  1873. {
  1874. $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody);
  1875. $params = array_merge($params, $optParams);
  1876. return $this->call('updateshipment', array($params), "Google_Service_ShoppingContent_OrdersUpdateShipmentResponse");
  1877. }
  1878. }
  1879. /**
  1880. * The "products" collection of methods.
  1881. * Typical usage is:
  1882. * <code>
  1883. * $contentService = new Google_Service_ShoppingContent(...);
  1884. * $products = $contentService->products;
  1885. * </code>
  1886. */
  1887. class Google_Service_ShoppingContent_Products_Resource extends Google_Service_Resource
  1888. {
  1889. /**
  1890. * Retrieves, inserts, and deletes multiple products in a single request.
  1891. * (products.custombatch)
  1892. *
  1893. * @param Google_ProductsCustomBatchRequest $postBody
  1894. * @param array $optParams Optional parameters.
  1895. *
  1896. * @opt_param bool dryRun Flag to run the request in dry-run mode.
  1897. * @return Google_Service_ShoppingContent_ProductsCustomBatchResponse
  1898. */
  1899. public function custombatch(Google_Service_ShoppingContent_ProductsCustomBatchRequest $postBody, $optParams = array())
  1900. {
  1901. $params = array('postBody' => $postBody);
  1902. $params = array_merge($params, $optParams);
  1903. return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_ProductsCustomBatchResponse");
  1904. }
  1905. /**
  1906. * Deletes a product from your Merchant Center account. (products.delete)
  1907. *
  1908. * @param string $merchantId The ID of the managing account.
  1909. * @param string $productId The ID of the product.
  1910. * @param array $optParams Optional parameters.
  1911. *
  1912. * @opt_param bool dryRun Flag to run the request in dry-run mode.
  1913. */
  1914. public function delete($merchantId, $productId, $optParams = array())
  1915. {
  1916. $params = array('merchantId' => $merchantId, 'productId' => $productId);
  1917. $params = array_merge($params, $optParams);
  1918. return $this->call('delete', array($params));
  1919. }
  1920. /**
  1921. * Retrieves a product from your Merchant Center account. (products.get)
  1922. *
  1923. * @param string $merchantId The ID of the managing account.
  1924. * @param string $productId The ID of the product.
  1925. * @param array $optParams Optional parameters.
  1926. * @return Google_Service_ShoppingContent_Product
  1927. */
  1928. public function get($merchantId, $productId, $optParams = array())
  1929. {
  1930. $params = array('merchantId' => $merchantId, 'productId' => $productId);
  1931. $params = array_merge($params, $optParams);
  1932. return $this->call('get', array($params), "Google_Service_ShoppingContent_Product");
  1933. }
  1934. /**
  1935. * Uploads a product to your Merchant Center account. (products.insert)
  1936. *
  1937. * @param string $merchantId The ID of the managing account.
  1938. * @param Google_Product $postBody
  1939. * @param array $optParams Optional parameters.
  1940. *
  1941. * @opt_param bool dryRun Flag to run the request in dry-run mode.
  1942. * @return Google_Service_ShoppingContent_Product
  1943. */
  1944. public function insert($merchantId, Google_Service_ShoppingContent_Product $postBody, $optParams = array())
  1945. {
  1946. $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
  1947. $params = array_merge($params, $optParams);
  1948. return $this->call('insert', array($params), "Google_Service_ShoppingContent_Product");
  1949. }
  1950. /**
  1951. * Lists the products in your Merchant Center account. (products.listProducts)
  1952. *
  1953. * @param string $merchantId The ID of the managing account.
  1954. * @param array $optParams Optional parameters.
  1955. *
  1956. * @opt_param string pageToken The token returned by the previous request.
  1957. * @opt_param string maxResults The maximum number of products to return in the
  1958. * response, used for paging.
  1959. * @return Google_Service_ShoppingContent_ProductsListResponse
  1960. */
  1961. public function listProducts($merchantId, $optParams = array())
  1962. {
  1963. $params = array('merchantId' => $merchantId);
  1964. $params = array_merge($params, $optParams);
  1965. return $this->call('list', array($params), "Google_Service_ShoppingContent_ProductsListResponse");
  1966. }
  1967. }
  1968. /**
  1969. * The "productstatuses" collection of methods.
  1970. * Typical usage is:
  1971. * <code>
  1972. * $contentService = new Google_Service_ShoppingContent(...);
  1973. * $productstatuses = $contentService->productstatuses;
  1974. * </code>
  1975. */
  1976. class Google_Service_ShoppingContent_Productstatuses_Resource extends Google_Service_Resource
  1977. {
  1978. /**
  1979. * Gets the statuses of multiple products in a single request.
  1980. * (productstatuses.custombatch)
  1981. *
  1982. * @param Google_ProductstatusesCustomBatchRequest $postBody
  1983. * @param array $optParams Optional parameters.
  1984. * @return Google_Service_ShoppingContent_ProductstatusesCustomBatchResponse
  1985. */
  1986. public function custombatch(Google_Service_ShoppingContent_ProductstatusesCustomBatchRequest $postBody, $optParams = array())
  1987. {
  1988. $params = array('postBody' => $postBody);
  1989. $params = array_merge($params, $optParams);
  1990. return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_ProductstatusesCustomBatchResponse");
  1991. }
  1992. /**
  1993. * Gets the status of a product from your Merchant Center account.
  1994. * (productstatuses.get)
  1995. *
  1996. * @param string $merchantId The ID of the managing account.
  1997. * @param string $productId The ID of the product.
  1998. * @param array $optParams Optional parameters.
  1999. * @return Google_Service_ShoppingContent_ProductStatus
  2000. */
  2001. public function get($merchantId, $productId, $optParams = array())
  2002. {
  2003. $params = array('merchantId' => $merchantId, 'productId' => $productId);
  2004. $params = array_merge($params, $optParams);
  2005. return $this->call('get', array($params), "Google_Service_ShoppingContent_ProductStatus");
  2006. }
  2007. /**
  2008. * Lists the statuses of the products in your Merchant Center account.
  2009. * (productstatuses.listProductstatuses)
  2010. *
  2011. * @param string $merchantId The ID of the managing account.
  2012. * @param array $optParams Optional parameters.
  2013. *
  2014. * @opt_param string pageToken The token returned by the previous request.
  2015. * @opt_param string maxResults The maximum number of product statuses to return
  2016. * in the response, used for paging.
  2017. * @return Google_Service_ShoppingContent_ProductstatusesListResponse
  2018. */
  2019. public function listProductstatuses($merchantId, $optParams = array())
  2020. {
  2021. $params = array('merchantId' => $merchantId);
  2022. $params = array_merge($params, $optParams);
  2023. return $this->call('list', array($params), "Google_Service_ShoppingContent_ProductstatusesListResponse");
  2024. }
  2025. }
  2026. class Google_Service_ShoppingContent_Account extends Google_Collection
  2027. {
  2028. protected $collection_key = 'users';
  2029. protected $internal_gapi_mappings = array(
  2030. );
  2031. public $adultContent;
  2032. protected $adwordsLinksType = 'Google_Service_ShoppingContent_AccountAdwordsLink';
  2033. protected $adwordsLinksDataType = 'array';
  2034. public $id;
  2035. public $kind;
  2036. public $name;
  2037. public $reviewsUrl;
  2038. public $sellerId;
  2039. protected $usersType = 'Google_Service_ShoppingContent_AccountUser';
  2040. protected $usersDataType = 'array';
  2041. public $websiteUrl;
  2042. public function setAdultContent($adultContent)
  2043. {
  2044. $this->adultContent = $adultContent;
  2045. }
  2046. public function getAdultContent()
  2047. {
  2048. return $this->adultContent;
  2049. }
  2050. public function setAdwordsLinks($adwordsLinks)
  2051. {
  2052. $this->adwordsLinks = $adwordsLinks;
  2053. }
  2054. public function getAdwordsLinks()
  2055. {
  2056. return $this->adwordsLinks;
  2057. }
  2058. public function setId($id)
  2059. {
  2060. $this->id = $id;
  2061. }
  2062. public function getId()
  2063. {
  2064. return $this->id;
  2065. }
  2066. public function setKind($kind)
  2067. {
  2068. $this->kind = $kind;
  2069. }
  2070. public function getKind()
  2071. {
  2072. return $this->kind;
  2073. }
  2074. public function setName($name)
  2075. {
  2076. $this->name = $name;
  2077. }
  2078. public function getName()
  2079. {
  2080. return $this->name;
  2081. }
  2082. public function setReviewsUrl($reviewsUrl)
  2083. {
  2084. $this->reviewsUrl = $reviewsUrl;
  2085. }
  2086. public function getReviewsUrl()
  2087. {
  2088. return $this->reviewsUrl;
  2089. }
  2090. public function setSellerId($sellerId)
  2091. {
  2092. $this->sellerId = $sellerId;
  2093. }
  2094. public function getSellerId()
  2095. {
  2096. return $this->sellerId;
  2097. }
  2098. public function setUsers($users)
  2099. {
  2100. $this->users = $users;
  2101. }
  2102. public function getUsers()
  2103. {
  2104. return $this->users;
  2105. }
  2106. public function setWebsiteUrl($websiteUrl)
  2107. {
  2108. $this->websiteUrl = $websiteUrl;
  2109. }
  2110. public function getWebsiteUrl()
  2111. {
  2112. return $this->websiteUrl;
  2113. }
  2114. }
  2115. class Google_Service_ShoppingContent_AccountAdwordsLink extends Google_Model
  2116. {
  2117. protected $internal_gapi_mappings = array(
  2118. );
  2119. public $adwordsId;
  2120. public $status;
  2121. public function setAdwordsId($adwordsId)
  2122. {
  2123. $this->adwordsId = $adwordsId;
  2124. }
  2125. public function getAdwordsId()
  2126. {
  2127. return $this->adwordsId;
  2128. }
  2129. public function setStatus($status)
  2130. {
  2131. $this->status = $status;
  2132. }
  2133. public function getStatus()
  2134. {
  2135. return $this->status;
  2136. }
  2137. }
  2138. class Google_Service_ShoppingContent_AccountIdentifier extends Google_Model
  2139. {
  2140. protected $internal_gapi_mappings = array(
  2141. );
  2142. public $aggregatorId;
  2143. public $merchantId;
  2144. public function setAggregatorId($aggregatorId)
  2145. {
  2146. $this->aggregatorId = $aggregatorId;
  2147. }
  2148. public function getAggregatorId()
  2149. {
  2150. return $this->aggregatorId;
  2151. }
  2152. public function setMerchantId($merchantId)
  2153. {
  2154. $this->merchantId = $merchantId;
  2155. }
  2156. public function getMerchantId()
  2157. {
  2158. return $this->merchantId;
  2159. }
  2160. }
  2161. class Google_Service_ShoppingContent_AccountShipping extends Google_Collection
  2162. {
  2163. protected $collection_key = 'services';
  2164. protected $internal_gapi_mappings = array(
  2165. );
  2166. public $accountId;
  2167. protected $carrierRatesType = 'Google_Service_ShoppingContent_AccountShippingCarrierRate';
  2168. protected $carrierRatesDataType = 'array';
  2169. public $kind;
  2170. protected $locationGroupsType = 'Google_Service_ShoppingContent_AccountShippingLocationGroup';
  2171. protected $locationGroupsDataType = 'array';
  2172. protected $rateTablesType = 'Google_Service_ShoppingContent_AccountShippingRateTable';
  2173. protected $rateTablesDataType = 'array';
  2174. protected $servicesType = 'Google_Service_ShoppingContent_AccountShippingShippingService';
  2175. protected $servicesDataType = 'array';
  2176. public function setAccountId($accountId)
  2177. {
  2178. $this->accountId = $accountId;
  2179. }
  2180. public function getAccountId()
  2181. {
  2182. return $this->accountId;
  2183. }
  2184. public function setCarrierRates($carrierRates)
  2185. {
  2186. $this->carrierRates = $carrierRates;
  2187. }
  2188. public function getCarrierRates()
  2189. {
  2190. return $this->carrierRates;
  2191. }
  2192. public function setKind($kind)
  2193. {
  2194. $this->kind = $kind;
  2195. }
  2196. public function getKind()
  2197. {
  2198. return $this->kind;
  2199. }
  2200. public function setLocationGroups($locationGroups)
  2201. {
  2202. $this->locationGroups = $locationGroups;
  2203. }
  2204. public function getLocationGroups()
  2205. {
  2206. return $this->locationGroups;
  2207. }
  2208. public function setRateTables($rateTables)
  2209. {
  2210. $this->rateTables = $rateTables;
  2211. }
  2212. public function getRateTables()
  2213. {
  2214. return $this->rateTables;
  2215. }
  2216. public function setServices($services)
  2217. {
  2218. $this->services = $services;
  2219. }
  2220. public function getServices()
  2221. {
  2222. return $this->services;
  2223. }
  2224. }
  2225. class Google_Service_ShoppingContent_AccountShippingCarrierRate extends Google_Model
  2226. {
  2227. protected $internal_gapi_mappings = array(
  2228. );
  2229. public $carrier;
  2230. public $carrierService;
  2231. protected $modifierFlatRateType = 'Google_Service_ShoppingContent_Price';
  2232. protected $modifierFlatRateDataType = '';
  2233. public $modifierPercent;
  2234. public $name;
  2235. public $saleCountry;
  2236. public $shippingOrigin;
  2237. public function setCarrier($carrier)
  2238. {
  2239. $this->carrier = $carrier;
  2240. }
  2241. public function getCarrier()
  2242. {
  2243. return $this->carrier;
  2244. }
  2245. public function setCarrierService($carrierService)
  2246. {
  2247. $this->carrierService = $carrierService;
  2248. }
  2249. public function getCarrierService()
  2250. {
  2251. return $this->carrierService;
  2252. }
  2253. public function setModifierFlatRate(Google_Service_ShoppingContent_Price $modifierFlatRate)
  2254. {
  2255. $this->modifierFlatRate = $modifierFlatRate;
  2256. }
  2257. public function getModifierFlatRate()
  2258. {
  2259. return $this->modifierFlatRate;
  2260. }
  2261. public function setModifierPercent($modifierPercent)
  2262. {
  2263. $this->modifierPercent = $modifierPercent;
  2264. }
  2265. public function getModifierPercent()
  2266. {
  2267. return $this->modifierPercent;
  2268. }
  2269. public function setName($name)
  2270. {
  2271. $this->name = $name;
  2272. }
  2273. public function getName()
  2274. {
  2275. return $this->name;
  2276. }
  2277. public function setSaleCountry($saleCountry)
  2278. {
  2279. $this->saleCountry = $saleCountry;
  2280. }
  2281. public function getSaleCountry()
  2282. {
  2283. return $this->saleCountry;
  2284. }
  2285. public function setShippingOrigin($shippingOrigin)
  2286. {
  2287. $this->shippingOrigin = $shippingOrigin;
  2288. }
  2289. public function getShippingOrigin()
  2290. {
  2291. return $this->shippingOrigin;
  2292. }
  2293. }
  2294. class Google_Service_ShoppingContent_AccountShippingCondition extends Google_Model
  2295. {
  2296. protected $internal_gapi_mappings = array(
  2297. );
  2298. public $deliveryLocationGroup;
  2299. public $deliveryLocationId;
  2300. public $deliveryPostalCode;
  2301. protected $deliveryPostalCodeRangeType = 'Google_Service_ShoppingContent_AccountShippingPostalCodeRange';
  2302. protected $deliveryPostalCodeRangeDataType = '';
  2303. protected $priceMaxType = 'Google_Service_ShoppingContent_Price';
  2304. protected $priceMaxDataType = '';
  2305. public $shippingLabel;
  2306. protected $weightMaxType = 'Google_Service_ShoppingContent_Weight';
  2307. protected $weightMaxDataType = '';
  2308. public function setDeliveryLocationGroup($deliveryLocationGroup)
  2309. {
  2310. $this->deliveryLocationGroup = $deliveryLocationGroup;
  2311. }
  2312. public function getDeliveryLocationGroup()
  2313. {
  2314. return $this->deliveryLocationGroup;
  2315. }
  2316. public function setDeliveryLocationId($deliveryLocationId)
  2317. {
  2318. $this->deliveryLocationId = $deliveryLocationId;
  2319. }
  2320. public function getDeliveryLocationId()
  2321. {
  2322. return $this->deliveryLocationId;
  2323. }
  2324. public function setDeliveryPostalCode($deliveryPostalCode)
  2325. {
  2326. $this->deliveryPostalCode = $deliveryPostalCode;
  2327. }
  2328. public function getDeliveryPostalCode()
  2329. {
  2330. return $this->deliveryPostalCode;
  2331. }
  2332. public function setDeliveryPostalCodeRange(Google_Service_ShoppingContent_AccountShippingPostalCodeRange $deliveryPostalCodeRange)
  2333. {
  2334. $this->deliveryPostalCodeRange = $deliveryPostalCodeRange;
  2335. }
  2336. public function getDeliveryPostalCodeRange()
  2337. {
  2338. return $this->deliveryPostalCodeRange;
  2339. }
  2340. public function setPriceMax(Google_Service_ShoppingContent_Price $priceMax)
  2341. {
  2342. $this->priceMax = $priceMax;
  2343. }
  2344. public function getPriceMax()
  2345. {
  2346. return $this->priceMax;
  2347. }
  2348. public function setShippingLabel($shippingLabel)
  2349. {
  2350. $this->shippingLabel = $shippingLabel;
  2351. }
  2352. public function getShippingLabel()
  2353. {
  2354. return $this->shippingLabel;
  2355. }
  2356. public function setWeightMax(Google_Service_ShoppingContent_Weight $weightMax)
  2357. {
  2358. $this->weightMax = $weightMax;
  2359. }
  2360. public function getWeightMax()
  2361. {
  2362. return $this->weightMax;
  2363. }
  2364. }
  2365. class Google_Service_ShoppingContent_AccountShippingLocationGroup extends Google_Collection
  2366. {
  2367. protected $collection_key = 'postalCodes';
  2368. protected $internal_gapi_mappings = array(
  2369. );
  2370. public $country;
  2371. public $locationIds;
  2372. public $name;
  2373. protected $postalCodeRangesType = 'Google_Service_ShoppingContent_AccountShippingPostalCodeRange';
  2374. protected $postalCodeRangesDataType = 'array';
  2375. public $postalCodes;
  2376. public function setCountry($country)
  2377. {
  2378. $this->country = $country;
  2379. }
  2380. public function getCountry()
  2381. {
  2382. return $this->country;
  2383. }
  2384. public function setLocationIds($locationIds)
  2385. {
  2386. $this->locationIds = $locationIds;
  2387. }
  2388. public function getLocationIds()
  2389. {
  2390. return $this->locationIds;
  2391. }
  2392. public function setName($name)
  2393. {
  2394. $this->name = $name;
  2395. }
  2396. public function getName()
  2397. {
  2398. return $this->name;
  2399. }
  2400. public function setPostalCodeRanges($postalCodeRanges)
  2401. {
  2402. $this->postalCodeRanges = $postalCodeRanges;
  2403. }
  2404. public function getPostalCodeRanges()
  2405. {
  2406. return $this->postalCodeRanges;
  2407. }
  2408. public function setPostalCodes($postalCodes)
  2409. {
  2410. $this->postalCodes = $postalCodes;
  2411. }
  2412. public function getPostalCodes()
  2413. {
  2414. return $this->postalCodes;
  2415. }
  2416. }
  2417. class Google_Service_ShoppingContent_AccountShippingPostalCodeRange extends Google_Model
  2418. {
  2419. protected $internal_gapi_mappings = array(
  2420. );
  2421. public $end;
  2422. public $start;
  2423. public function setEnd($end)
  2424. {
  2425. $this->end = $end;
  2426. }
  2427. public function getEnd()
  2428. {
  2429. return $this->end;
  2430. }
  2431. public function setStart($start)
  2432. {
  2433. $this->start = $start;
  2434. }
  2435. public function getStart()
  2436. {
  2437. return $this->start;
  2438. }
  2439. }
  2440. class Google_Service_ShoppingContent_AccountShippingRateTable extends Google_Collection
  2441. {
  2442. protected $collection_key = 'content';
  2443. protected $internal_gapi_mappings = array(
  2444. );
  2445. protected $contentType = 'Google_Service_ShoppingContent_AccountShippingRateTableCell';
  2446. protected $contentDataType = 'array';
  2447. public $name;
  2448. public $saleCountry;
  2449. public function setContent($content)
  2450. {
  2451. $this->content = $content;
  2452. }
  2453. public function getContent()
  2454. {
  2455. return $this->content;
  2456. }
  2457. public function setName($name)
  2458. {
  2459. $this->name = $name;
  2460. }
  2461. public function getName()
  2462. {
  2463. return $this->name;
  2464. }
  2465. public function setSaleCountry($saleCountry)
  2466. {
  2467. $this->saleCountry = $saleCountry;
  2468. }
  2469. public function getSaleCountry()
  2470. {
  2471. return $this->saleCountry;
  2472. }
  2473. }
  2474. class Google_Service_ShoppingContent_AccountShippingRateTableCell extends Google_Model
  2475. {
  2476. protected $internal_gapi_mappings = array(
  2477. );
  2478. protected $conditionType = 'Google_Service_ShoppingContent_AccountShippingCondition';
  2479. protected $conditionDataType = '';
  2480. protected $rateType = 'Google_Service_ShoppingContent_Price';
  2481. protected $rateDataType = '';
  2482. public function setCondition(Google_Service_ShoppingContent_AccountShippingCondition $condition)
  2483. {
  2484. $this->condition = $condition;
  2485. }
  2486. public function getCondition()
  2487. {
  2488. return $this->condition;
  2489. }
  2490. public function setRate(Google_Service_ShoppingContent_Price $rate)
  2491. {
  2492. $this->rate = $rate;
  2493. }
  2494. public function getRate()
  2495. {
  2496. return $this->rate;
  2497. }
  2498. }
  2499. class Google_Service_ShoppingContent_AccountShippingShippingService extends Google_Model
  2500. {
  2501. protected $internal_gapi_mappings = array(
  2502. );
  2503. public $active;
  2504. protected $calculationMethodType = 'Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod';
  2505. protected $calculationMethodDataType = '';
  2506. protected $costRuleTreeType = 'Google_Service_ShoppingContent_AccountShippingShippingServiceCostRule';
  2507. protected $costRuleTreeDataType = '';
  2508. public $name;
  2509. public $saleCountry;
  2510. public function setActive($active)
  2511. {
  2512. $this->active = $active;
  2513. }
  2514. public function getActive()
  2515. {
  2516. return $this->active;
  2517. }
  2518. public function setCalculationMethod(Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod $calculationMethod)
  2519. {
  2520. $this->calculationMethod = $calculationMethod;
  2521. }
  2522. public function getCalculationMethod()
  2523. {
  2524. return $this->calculationMethod;
  2525. }
  2526. public function setCostRuleTree(Google_Service_ShoppingContent_AccountShippingShippingServiceCostRule $costRuleTree)
  2527. {
  2528. $this->costRuleTree = $costRuleTree;
  2529. }
  2530. public function getCostRuleTree()
  2531. {
  2532. return $this->costRuleTree;
  2533. }
  2534. public function setName($name)
  2535. {
  2536. $this->name = $name;
  2537. }
  2538. public function getName()
  2539. {
  2540. return $this->name;
  2541. }
  2542. public function setSaleCountry($saleCountry)
  2543. {
  2544. $this->saleCountry = $saleCountry;
  2545. }
  2546. public function getSaleCountry()
  2547. {
  2548. return $this->saleCountry;
  2549. }
  2550. }
  2551. class Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod extends Google_Model
  2552. {
  2553. protected $internal_gapi_mappings = array(
  2554. );
  2555. public $carrierRate;
  2556. public $excluded;
  2557. protected $flatRateType = 'Google_Service_ShoppingContent_Price';
  2558. protected $flatRateDataType = '';
  2559. public $percentageRate;
  2560. public $rateTable;
  2561. public function setCarrierRate($carrierRate)
  2562. {
  2563. $this->carrierRate = $carrierRate;
  2564. }
  2565. public function getCarrierRate()
  2566. {
  2567. return $this->carrierRate;
  2568. }
  2569. public function setExcluded($excluded)
  2570. {
  2571. $this->excluded = $excluded;
  2572. }
  2573. public function getExcluded()
  2574. {
  2575. return $this->excluded;
  2576. }
  2577. public function setFlatRate(Google_Service_ShoppingContent_Price $flatRate)
  2578. {
  2579. $this->flatRate = $flatRate;
  2580. }
  2581. public function getFlatRate()
  2582. {
  2583. return $this->flatRate;
  2584. }
  2585. public function setPercentageRate($percentageRate)
  2586. {
  2587. $this->percentageRate = $percentageRate;
  2588. }
  2589. public function getPercentageRate()
  2590. {
  2591. return $this->percentageRate;
  2592. }
  2593. public function setRateTable($rateTable)
  2594. {
  2595. $this->rateTable = $rateTable;
  2596. }
  2597. public function getRateTable()
  2598. {
  2599. return $this->rateTable;
  2600. }
  2601. }
  2602. class Google_Service_ShoppingContent_AccountShippingShippingServiceCostRule extends Google_Collection
  2603. {
  2604. protected $collection_key = 'children';
  2605. protected $internal_gapi_mappings = array(
  2606. );
  2607. protected $calculationMethodType = 'Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod';
  2608. protected $calculationMethodDataType = '';
  2609. protected $childrenType = 'Google_Service_ShoppingContent_AccountShippingShippingServiceCostRule';
  2610. protected $childrenDataType = 'array';
  2611. protected $conditionType = 'Google_Service_ShoppingContent_AccountShippingCondition';
  2612. protected $conditionDataType = '';
  2613. public function setCalculationMethod(Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod $calculationMethod)
  2614. {
  2615. $this->calculationMethod = $calculationMethod;
  2616. }
  2617. public function getCalculationMethod()
  2618. {
  2619. return $this->calculationMethod;
  2620. }
  2621. public function setChildren($children)
  2622. {
  2623. $this->children = $children;
  2624. }
  2625. public function getChildren()
  2626. {
  2627. return $this->children;
  2628. }
  2629. public function setCondition(Google_Service_ShoppingContent_AccountShippingCondition $condition)
  2630. {
  2631. $this->condition = $condition;
  2632. }
  2633. public function getCondition()
  2634. {
  2635. return $this->condition;
  2636. }
  2637. }
  2638. class Google_Service_ShoppingContent_AccountStatus extends Google_Collection
  2639. {
  2640. protected $collection_key = 'dataQualityIssues';
  2641. protected $internal_gapi_mappings = array(
  2642. );
  2643. public $accountId;
  2644. protected $dataQualityIssuesType = 'Google_Service_ShoppingContent_AccountStatusDataQualityIssue';
  2645. protected $dataQualityIssuesDataType = 'array';
  2646. public $kind;
  2647. public function setAccountId($accountId)
  2648. {
  2649. $this->accountId = $accountId;
  2650. }
  2651. public function getAccountId()
  2652. {
  2653. return $this->accountId;
  2654. }
  2655. public function setDataQualityIssues($dataQualityIssues)
  2656. {
  2657. $this->dataQualityIssues = $dataQualityIssues;
  2658. }
  2659. public function getDataQualityIssues()
  2660. {
  2661. return $this->dataQualityIssues;
  2662. }
  2663. public function setKind($kind)
  2664. {
  2665. $this->kind = $kind;
  2666. }
  2667. public function getKind()
  2668. {
  2669. return $this->kind;
  2670. }
  2671. }
  2672. class Google_Service_ShoppingContent_AccountStatusDataQualityIssue extends Google_Collection
  2673. {
  2674. protected $collection_key = 'exampleItems';
  2675. protected $internal_gapi_mappings = array(
  2676. );
  2677. public $country;
  2678. public $displayedValue;
  2679. protected $exampleItemsType = 'Google_Service_ShoppingContent_AccountStatusExampleItem';
  2680. protected $exampleItemsDataType = 'array';
  2681. public $id;
  2682. public $lastChecked;
  2683. public $numItems;
  2684. public $severity;
  2685. public $submittedValue;
  2686. public function setCountry($country)
  2687. {
  2688. $this->country = $country;
  2689. }
  2690. public function getCountry()
  2691. {
  2692. return $this->country;
  2693. }
  2694. public function setDisplayedValue($displayedValue)
  2695. {
  2696. $this->displayedValue = $displayedValue;
  2697. }
  2698. public function getDisplayedValue()
  2699. {
  2700. return $this->displayedValue;
  2701. }
  2702. public function setExampleItems($exampleItems)
  2703. {
  2704. $this->exampleItems = $exampleItems;
  2705. }
  2706. public function getExampleItems()
  2707. {
  2708. return $this->exampleItems;
  2709. }
  2710. public function setId($id)
  2711. {
  2712. $this->id = $id;
  2713. }
  2714. public function getId()
  2715. {
  2716. return $this->id;
  2717. }
  2718. public function setLastChecked($lastChecked)
  2719. {
  2720. $this->lastChecked = $lastChecked;
  2721. }
  2722. public function getLastChecked()
  2723. {
  2724. return $this->lastChecked;
  2725. }
  2726. public function setNumItems($numItems)
  2727. {
  2728. $this->numItems = $numItems;
  2729. }
  2730. public function getNumItems()
  2731. {
  2732. return $this->numItems;
  2733. }
  2734. public function setSeverity($severity)
  2735. {
  2736. $this->severity = $severity;
  2737. }
  2738. public function getSeverity()
  2739. {
  2740. return $this->severity;
  2741. }
  2742. public function setSubmittedValue($submittedValue)
  2743. {
  2744. $this->submittedValue = $submittedValue;
  2745. }
  2746. public function getSubmittedValue()
  2747. {
  2748. return $this->submittedValue;
  2749. }
  2750. }
  2751. class Google_Service_ShoppingContent_AccountStatusExampleItem extends Google_Model
  2752. {
  2753. protected $internal_gapi_mappings = array(
  2754. );
  2755. public $itemId;
  2756. public $link;
  2757. public $submittedValue;
  2758. public $title;
  2759. public $valueOnLandingPage;
  2760. public function setItemId($itemId)
  2761. {
  2762. $this->itemId = $itemId;
  2763. }
  2764. public function getItemId()
  2765. {
  2766. return $this->itemId;
  2767. }
  2768. public function setLink($link)
  2769. {
  2770. $this->link = $link;
  2771. }
  2772. public function getLink()
  2773. {
  2774. return $this->link;
  2775. }
  2776. public function setSubmittedValue($submittedValue)
  2777. {
  2778. $this->submittedValue = $submittedValue;
  2779. }
  2780. public function getSubmittedValue()
  2781. {
  2782. return $this->submittedValue;
  2783. }
  2784. public function setTitle($title)
  2785. {
  2786. $this->title = $title;
  2787. }
  2788. public function getTitle()
  2789. {
  2790. return $this->title;
  2791. }
  2792. public function setValueOnLandingPage($valueOnLandingPage)
  2793. {
  2794. $this->valueOnLandingPage = $valueOnLandingPage;
  2795. }
  2796. public function getValueOnLandingPage()
  2797. {
  2798. return $this->valueOnLandingPage;
  2799. }
  2800. }
  2801. class Google_Service_ShoppingContent_AccountTax extends Google_Collection
  2802. {
  2803. protected $collection_key = 'rules';
  2804. protected $internal_gapi_mappings = array(
  2805. );
  2806. public $accountId;
  2807. public $kind;
  2808. protected $rulesType = 'Google_Service_ShoppingContent_AccountTaxTaxRule';
  2809. protected $rulesDataType = 'array';
  2810. public function setAccountId($accountId)
  2811. {
  2812. $this->accountId = $accountId;
  2813. }
  2814. public function getAccountId()
  2815. {
  2816. return $this->accountId;
  2817. }
  2818. public function setKind($kind)
  2819. {
  2820. $this->kind = $kind;
  2821. }
  2822. public function getKind()
  2823. {
  2824. return $this->kind;
  2825. }
  2826. public function setRules($rules)
  2827. {
  2828. $this->rules = $rules;
  2829. }
  2830. public function getRules()
  2831. {
  2832. return $this->rules;
  2833. }
  2834. }
  2835. class Google_Service_ShoppingContent_AccountTaxTaxRule extends Google_Model
  2836. {
  2837. protected $internal_gapi_mappings = array(
  2838. );
  2839. public $country;
  2840. public $locationId;
  2841. public $ratePercent;
  2842. public $shippingTaxed;
  2843. public $useGlobalRate;
  2844. public function setCountry($country)
  2845. {
  2846. $this->country = $country;
  2847. }
  2848. public function getCountry()
  2849. {
  2850. return $this->country;
  2851. }
  2852. public function setLocationId($locationId)
  2853. {
  2854. $this->locationId = $locationId;
  2855. }
  2856. public function getLocationId()
  2857. {
  2858. return $this->locationId;
  2859. }
  2860. public function setRatePercent($ratePercent)
  2861. {
  2862. $this->ratePercent = $ratePercent;
  2863. }
  2864. public function getRatePercent()
  2865. {
  2866. return $this->ratePercent;
  2867. }
  2868. public function setShippingTaxed($shippingTaxed)
  2869. {
  2870. $this->shippingTaxed = $shippingTaxed;
  2871. }
  2872. public function getShippingTaxed()
  2873. {
  2874. return $this->shippingTaxed;
  2875. }
  2876. public function setUseGlobalRate($useGlobalRate)
  2877. {
  2878. $this->useGlobalRate = $useGlobalRate;
  2879. }
  2880. public function getUseGlobalRate()
  2881. {
  2882. return $this->useGlobalRate;
  2883. }
  2884. }
  2885. class Google_Service_ShoppingContent_AccountUser extends Google_Model
  2886. {
  2887. protected $internal_gapi_mappings = array(
  2888. );
  2889. public $admin;
  2890. public $emailAddress;
  2891. public function setAdmin($admin)
  2892. {
  2893. $this->admin = $admin;
  2894. }
  2895. public function getAdmin()
  2896. {
  2897. return $this->admin;
  2898. }
  2899. public function setEmailAddress($emailAddress)
  2900. {
  2901. $this->emailAddress = $emailAddress;
  2902. }
  2903. public function getEmailAddress()
  2904. {
  2905. return $this->emailAddress;
  2906. }
  2907. }
  2908. class Google_Service_ShoppingContent_AccountsAuthInfoResponse extends Google_Collection
  2909. {
  2910. protected $collection_key = 'accountIdentifiers';
  2911. protected $internal_gapi_mappings = array(
  2912. );
  2913. protected $accountIdentifiersType = 'Google_Service_ShoppingContent_AccountIdentifier';
  2914. protected $accountIdentifiersDataType = 'array';
  2915. public $kind;
  2916. public function setAccountIdentifiers($accountIdentifiers)
  2917. {
  2918. $this->accountIdentifiers = $accountIdentifiers;
  2919. }
  2920. public function getAccountIdentifiers()
  2921. {
  2922. return $this->accountIdentifiers;
  2923. }
  2924. public function setKind($kind)
  2925. {
  2926. $this->kind = $kind;
  2927. }
  2928. public function getKind()
  2929. {
  2930. return $this->kind;
  2931. }
  2932. }
  2933. class Google_Service_ShoppingContent_AccountsCustomBatchRequest extends Google_Collection
  2934. {
  2935. protected $collection_key = 'entries';
  2936. protected $internal_gapi_mappings = array(
  2937. );
  2938. protected $entriesType = 'Google_Service_ShoppingContent_AccountsCustomBatchRequestEntry';
  2939. protected $entriesDataType = 'array';
  2940. public function setEntries($entries)
  2941. {
  2942. $this->entries = $entries;
  2943. }
  2944. public function getEntries()
  2945. {
  2946. return $this->entries;
  2947. }
  2948. }
  2949. class Google_Service_ShoppingContent_AccountsCustomBatchRequestEntry extends Google_Model
  2950. {
  2951. protected $internal_gapi_mappings = array(
  2952. );
  2953. protected $accountType = 'Google_Service_ShoppingContent_Account';
  2954. protected $accountDataType = '';
  2955. public $accountId;
  2956. public $batchId;
  2957. public $merchantId;
  2958. public $method;
  2959. public function setAccount(Google_Service_ShoppingContent_Account $account)
  2960. {
  2961. $this->account = $account;
  2962. }
  2963. public function getAccount()
  2964. {
  2965. return $this->account;
  2966. }
  2967. public function setAccountId($accountId)
  2968. {
  2969. $this->accountId = $accountId;
  2970. }
  2971. public function getAccountId()
  2972. {
  2973. return $this->accountId;
  2974. }
  2975. public function setBatchId($batchId)
  2976. {
  2977. $this->batchId = $batchId;
  2978. }
  2979. public function getBatchId()
  2980. {
  2981. return $this->batchId;
  2982. }
  2983. public function setMerchantId($merchantId)
  2984. {
  2985. $this->merchantId = $merchantId;
  2986. }
  2987. public function getMerchantId()
  2988. {
  2989. return $this->merchantId;
  2990. }
  2991. public function setMethod($method)
  2992. {
  2993. $this->method = $method;
  2994. }
  2995. public function getMethod()
  2996. {
  2997. return $this->method;
  2998. }
  2999. }
  3000. class Google_Service_ShoppingContent_AccountsCustomBatchResponse extends Google_Collection
  3001. {
  3002. protected $collection_key = 'entries';
  3003. protected $internal_gapi_mappings = array(
  3004. );
  3005. protected $entriesType = 'Google_Service_ShoppingContent_AccountsCustomBatchResponseEntry';
  3006. protected $entriesDataType = 'array';
  3007. public $kind;
  3008. public function setEntries($entries)
  3009. {
  3010. $this->entries = $entries;
  3011. }
  3012. public function getEntries()
  3013. {
  3014. return $this->entries;
  3015. }
  3016. public function setKind($kind)
  3017. {
  3018. $this->kind = $kind;
  3019. }
  3020. public function getKind()
  3021. {
  3022. return $this->kind;
  3023. }
  3024. }
  3025. class Google_Service_ShoppingContent_AccountsCustomBatchResponseEntry extends Google_Model
  3026. {
  3027. protected $internal_gapi_mappings = array(
  3028. );
  3029. protected $accountType = 'Google_Service_ShoppingContent_Account';
  3030. protected $accountDataType = '';
  3031. public $batchId;
  3032. protected $errorsType = 'Google_Service_ShoppingContent_Errors';
  3033. protected $errorsDataType = '';
  3034. public $kind;
  3035. public function setAccount(Google_Service_ShoppingContent_Account $account)
  3036. {
  3037. $this->account = $account;
  3038. }
  3039. public function getAccount()
  3040. {
  3041. return $this->account;
  3042. }
  3043. public function setBatchId($batchId)
  3044. {
  3045. $this->batchId = $batchId;
  3046. }
  3047. public function getBatchId()
  3048. {
  3049. return $this->batchId;
  3050. }
  3051. public function setErrors(Google_Service_ShoppingContent_Errors $errors)
  3052. {
  3053. $this->errors = $errors;
  3054. }
  3055. public function getErrors()
  3056. {
  3057. return $this->errors;
  3058. }
  3059. public function setKind($kind)
  3060. {
  3061. $this->kind = $kind;
  3062. }
  3063. public function getKind()
  3064. {
  3065. return $this->kind;
  3066. }
  3067. }
  3068. class Google_Service_ShoppingContent_AccountsListResponse extends Google_Collection
  3069. {
  3070. protected $collection_key = 'resources';
  3071. protected $internal_gapi_mappings = array(
  3072. );
  3073. public $kind;
  3074. public $nextPageToken;
  3075. protected $resourcesType = 'Google_Service_ShoppingContent_Account';
  3076. protected $resourcesDataType = 'array';
  3077. public function setKind($kind)
  3078. {
  3079. $this->kind = $kind;
  3080. }
  3081. public function getKind()
  3082. {
  3083. return $this->kind;
  3084. }
  3085. public function setNextPageToken($nextPageToken)
  3086. {
  3087. $this->nextPageToken = $nextPageToken;
  3088. }
  3089. public function getNextPageToken()
  3090. {
  3091. return $this->nextPageToken;
  3092. }
  3093. public function setResources($resources)
  3094. {
  3095. $this->resources = $resources;
  3096. }
  3097. public function getResources()
  3098. {
  3099. return $this->resources;
  3100. }
  3101. }
  3102. class Google_Service_ShoppingContent_AccountshippingCustomBatchRequest extends Google_Collection
  3103. {
  3104. protected $collection_key = 'entries';
  3105. protected $internal_gapi_mappings = array(
  3106. );
  3107. protected $entriesType = 'Google_Service_ShoppingContent_AccountshippingCustomBatchRequestEntry';
  3108. protected $entriesDataType = 'array';
  3109. public function setEntries($entries)
  3110. {
  3111. $this->entries = $entries;
  3112. }
  3113. public function getEntries()
  3114. {
  3115. return $this->entries;
  3116. }
  3117. }
  3118. class Google_Service_ShoppingContent_AccountshippingCustomBatchRequestEntry extends Google_Model
  3119. {
  3120. protected $internal_gapi_mappings = array(
  3121. );
  3122. public $accountId;
  3123. protected $accountShippingType = 'Google_Service_ShoppingContent_AccountShipping';
  3124. protected $accountShippingDataType = '';
  3125. public $batchId;
  3126. public $merchantId;
  3127. public $method;
  3128. public function setAccountId($accountId)
  3129. {
  3130. $this->accountId = $accountId;
  3131. }
  3132. public function getAccountId()
  3133. {
  3134. return $this->accountId;
  3135. }
  3136. public function setAccountShipping(Google_Service_ShoppingContent_AccountShipping $accountShipping)
  3137. {
  3138. $this->accountShipping = $accountShipping;
  3139. }
  3140. public function getAccountShipping()
  3141. {
  3142. return $this->accountShipping;
  3143. }
  3144. public function setBatchId($batchId)
  3145. {
  3146. $this->batchId = $batchId;
  3147. }
  3148. public function getBatchId()
  3149. {
  3150. return $this->batchId;
  3151. }
  3152. public function setMerchantId($merchantId)
  3153. {
  3154. $this->merchantId = $merchantId;
  3155. }
  3156. public function getMerchantId()
  3157. {
  3158. return $this->merchantId;
  3159. }
  3160. public function setMethod($method)
  3161. {
  3162. $this->method = $method;
  3163. }
  3164. public function getMethod()
  3165. {
  3166. return $this->method;
  3167. }
  3168. }
  3169. class Google_Service_ShoppingContent_AccountshippingCustomBatchResponse extends Google_Collection
  3170. {
  3171. protected $collection_key = 'entries';
  3172. protected $internal_gapi_mappings = array(
  3173. );
  3174. protected $entriesType = 'Google_Service_ShoppingContent_AccountshippingCustomBatchResponseEntry';
  3175. protected $entriesDataType = 'array';
  3176. public $kind;
  3177. public function setEntries($entries)
  3178. {
  3179. $this->entries = $entries;
  3180. }
  3181. public function getEntries()
  3182. {
  3183. return $this->entries;
  3184. }
  3185. public function setKind($kind)
  3186. {
  3187. $this->kind = $kind;
  3188. }
  3189. public function getKind()
  3190. {
  3191. return $this->kind;
  3192. }
  3193. }
  3194. class Google_Service_ShoppingContent_AccountshippingCustomBatchResponseEntry extends Google_Model
  3195. {
  3196. protected $internal_gapi_mappings = array(
  3197. );
  3198. protected $accountShippingType = 'Google_Service_ShoppingContent_AccountShipping';
  3199. protected $accountShippingDataType = '';
  3200. public $batchId;
  3201. protected $errorsType = 'Google_Service_ShoppingContent_Errors';
  3202. protected $errorsDataType = '';
  3203. public $kind;
  3204. public function setAccountShipping(Google_Service_ShoppingContent_AccountShipping $accountShipping)
  3205. {
  3206. $this->accountShipping = $accountShipping;
  3207. }
  3208. public function getAccountShipping()
  3209. {
  3210. return $this->accountShipping;
  3211. }
  3212. public function setBatchId($batchId)
  3213. {
  3214. $this->batchId = $batchId;
  3215. }
  3216. public function getBatchId()
  3217. {
  3218. return $this->batchId;
  3219. }
  3220. public function setErrors(Google_Service_ShoppingContent_Errors $errors)
  3221. {
  3222. $this->errors = $errors;
  3223. }
  3224. public function getErrors()
  3225. {
  3226. return $this->errors;
  3227. }
  3228. public function setKind($kind)
  3229. {
  3230. $this->kind = $kind;
  3231. }
  3232. public function getKind()
  3233. {
  3234. return $this->kind;
  3235. }
  3236. }
  3237. class Google_Service_ShoppingContent_AccountshippingListResponse extends Google_Collection
  3238. {
  3239. protected $collection_key = 'resources';
  3240. protected $internal_gapi_mappings = array(
  3241. );
  3242. public $kind;
  3243. public $nextPageToken;
  3244. protected $resourcesType = 'Google_Service_ShoppingContent_AccountShipping';
  3245. protected $resourcesDataType = 'array';
  3246. public function setKind($kind)
  3247. {
  3248. $this->kind = $kind;
  3249. }
  3250. public function getKind()
  3251. {
  3252. return $this->kind;
  3253. }
  3254. public function setNextPageToken($nextPageToken)
  3255. {
  3256. $this->nextPageToken = $nextPageToken;
  3257. }
  3258. public function getNextPageToken()
  3259. {
  3260. return $this->nextPageToken;
  3261. }
  3262. public function setResources($resources)
  3263. {
  3264. $this->resources = $resources;
  3265. }
  3266. public function getResources()
  3267. {
  3268. return $this->resources;
  3269. }
  3270. }
  3271. class Google_Service_ShoppingContent_AccountstatusesCustomBatchRequest extends Google_Collection
  3272. {
  3273. protected $collection_key = 'entries';
  3274. protected $internal_gapi_mappings = array(
  3275. );
  3276. protected $entriesType = 'Google_Service_ShoppingContent_AccountstatusesCustomBatchRequestEntry';
  3277. protected $entriesDataType = 'array';
  3278. public function setEntries($entries)
  3279. {
  3280. $this->entries = $entries;
  3281. }
  3282. public function getEntries()
  3283. {
  3284. return $this->entries;
  3285. }
  3286. }
  3287. class Google_Service_ShoppingContent_AccountstatusesCustomBatchRequestEntry extends Google_Model
  3288. {
  3289. protected $internal_gapi_mappings = array(
  3290. );
  3291. public $accountId;
  3292. public $batchId;
  3293. public $merchantId;
  3294. public $method;
  3295. public function setAccountId($accountId)
  3296. {
  3297. $this->accountId = $accountId;
  3298. }
  3299. public function getAccountId()
  3300. {
  3301. return $this->accountId;
  3302. }
  3303. public function setBatchId($batchId)
  3304. {
  3305. $this->batchId = $batchId;
  3306. }
  3307. public function getBatchId()
  3308. {
  3309. return $this->batchId;
  3310. }
  3311. public function setMerchantId($merchantId)
  3312. {
  3313. $this->merchantId = $merchantId;
  3314. }
  3315. public function getMerchantId()
  3316. {
  3317. return $this->merchantId;
  3318. }
  3319. public function setMethod($method)
  3320. {
  3321. $this->method = $method;
  3322. }
  3323. public function getMethod()
  3324. {
  3325. return $this->method;
  3326. }
  3327. }
  3328. class Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse extends Google_Collection
  3329. {
  3330. protected $collection_key = 'entries';
  3331. protected $internal_gapi_mappings = array(
  3332. );
  3333. protected $entriesType = 'Google_Service_ShoppingContent_AccountstatusesCustomBatchResponseEntry';
  3334. protected $entriesDataType = 'array';
  3335. public $kind;
  3336. public function setEntries($entries)
  3337. {
  3338. $this->entries = $entries;
  3339. }
  3340. public function getEntries()
  3341. {
  3342. return $this->entries;
  3343. }
  3344. public function setKind($kind)
  3345. {
  3346. $this->kind = $kind;
  3347. }
  3348. public function getKind()
  3349. {
  3350. return $this->kind;
  3351. }
  3352. }
  3353. class Google_Service_ShoppingContent_AccountstatusesCustomBatchResponseEntry extends Google_Model
  3354. {
  3355. protected $internal_gapi_mappings = array(
  3356. );
  3357. protected $accountStatusType = 'Google_Service_ShoppingContent_AccountStatus';
  3358. protected $accountStatusDataType = '';
  3359. public $batchId;
  3360. protected $errorsType = 'Google_Service_ShoppingContent_Errors';
  3361. protected $errorsDataType = '';
  3362. public function setAccountStatus(Google_Service_ShoppingContent_AccountStatus $accountStatus)
  3363. {
  3364. $this->accountStatus = $accountStatus;
  3365. }
  3366. public function getAccountStatus()
  3367. {
  3368. return $this->accountStatus;
  3369. }
  3370. public function setBatchId($batchId)
  3371. {
  3372. $this->batchId = $batchId;
  3373. }
  3374. public function getBatchId()
  3375. {
  3376. return $this->batchId;
  3377. }
  3378. public function setErrors(Google_Service_ShoppingContent_Errors $errors)
  3379. {
  3380. $this->errors = $errors;
  3381. }
  3382. public function getErrors()
  3383. {
  3384. return $this->errors;
  3385. }
  3386. }
  3387. class Google_Service_ShoppingContent_AccountstatusesListResponse extends Google_Collection
  3388. {
  3389. protected $collection_key = 'resources';
  3390. protected $internal_gapi_mappings = array(
  3391. );
  3392. public $kind;
  3393. public $nextPageToken;
  3394. protected $resourcesType = 'Google_Service_ShoppingContent_AccountStatus';
  3395. protected $resourcesDataType = 'array';
  3396. public function setKind($kind)
  3397. {
  3398. $this->kind = $kind;
  3399. }
  3400. public function getKind()
  3401. {
  3402. return $this->kind;
  3403. }
  3404. public function setNextPageToken($nextPageToken)
  3405. {
  3406. $this->nextPageToken = $nextPageToken;
  3407. }
  3408. public function getNextPageToken()
  3409. {
  3410. return $this->nextPageToken;
  3411. }
  3412. public function setResources($resources)
  3413. {
  3414. $this->resources = $resources;
  3415. }
  3416. public function getResources()
  3417. {
  3418. return $this->resources;
  3419. }
  3420. }
  3421. class Google_Service_ShoppingContent_AccounttaxCustomBatchRequest extends Google_Collection
  3422. {
  3423. protected $collection_key = 'entries';
  3424. protected $internal_gapi_mappings = array(
  3425. );
  3426. protected $entriesType = 'Google_Service_ShoppingContent_AccounttaxCustomBatchRequestEntry';
  3427. protected $entriesDataType = 'array';
  3428. public function setEntries($entries)
  3429. {
  3430. $this->entries = $entries;
  3431. }
  3432. public function getEntries()
  3433. {
  3434. return $this->entries;
  3435. }
  3436. }
  3437. class Google_Service_ShoppingContent_AccounttaxCustomBatchRequestEntry extends Google_Model
  3438. {
  3439. protected $internal_gapi_mappings = array(
  3440. );
  3441. public $accountId;
  3442. protected $accountTaxType = 'Google_Service_ShoppingContent_AccountTax';
  3443. protected $accountTaxDataType = '';
  3444. public $batchId;
  3445. public $merchantId;
  3446. public $method;
  3447. public function setAccountId($accountId)
  3448. {
  3449. $this->accountId = $accountId;
  3450. }
  3451. public function getAccountId()
  3452. {
  3453. return $this->accountId;
  3454. }
  3455. public function setAccountTax(Google_Service_ShoppingContent_AccountTax $accountTax)
  3456. {
  3457. $this->accountTax = $accountTax;
  3458. }
  3459. public function getAccountTax()
  3460. {
  3461. return $this->accountTax;
  3462. }
  3463. public function setBatchId($batchId)
  3464. {
  3465. $this->batchId = $batchId;
  3466. }
  3467. public function getBatchId()
  3468. {
  3469. return $this->batchId;
  3470. }
  3471. public function setMerchantId($merchantId)
  3472. {
  3473. $this->merchantId = $merchantId;
  3474. }
  3475. public function getMerchantId()
  3476. {
  3477. return $this->merchantId;
  3478. }
  3479. public function setMethod($method)
  3480. {
  3481. $this->method = $method;
  3482. }
  3483. public function getMethod()
  3484. {
  3485. return $this->method;
  3486. }
  3487. }
  3488. class Google_Service_ShoppingContent_AccounttaxCustomBatchResponse extends Google_Collection
  3489. {
  3490. protected $collection_key = 'entries';
  3491. protected $internal_gapi_mappings = array(
  3492. );
  3493. protected $entriesType = 'Google_Service_ShoppingContent_AccounttaxCustomBatchResponseEntry';
  3494. protected $entriesDataType = 'array';
  3495. public $kind;
  3496. public function setEntries($entries)
  3497. {
  3498. $this->entries = $entries;
  3499. }
  3500. public function getEntries()
  3501. {
  3502. return $this->entries;
  3503. }
  3504. public function setKind($kind)
  3505. {
  3506. $this->kind = $kind;
  3507. }
  3508. public function getKind()
  3509. {
  3510. return $this->kind;
  3511. }
  3512. }
  3513. class Google_Service_ShoppingContent_AccounttaxCustomBatchResponseEntry extends Google_Model
  3514. {
  3515. protected $internal_gapi_mappings = array(
  3516. );
  3517. protected $accountTaxType = 'Google_Service_ShoppingContent_AccountTax';
  3518. protected $accountTaxDataType = '';
  3519. public $batchId;
  3520. protected $errorsType = 'Google_Service_ShoppingContent_Errors';
  3521. protected $errorsDataType = '';
  3522. public $kind;
  3523. public function setAccountTax(Google_Service_ShoppingContent_AccountTax $accountTax)
  3524. {
  3525. $this->accountTax = $accountTax;
  3526. }
  3527. public function getAccountTax()
  3528. {
  3529. return $this->accountTax;
  3530. }
  3531. public function setBatchId($batchId)
  3532. {
  3533. $this->batchId = $batchId;
  3534. }
  3535. public function getBatchId()
  3536. {
  3537. return $this->batchId;
  3538. }
  3539. public function setErrors(Google_Service_ShoppingContent_Errors $errors)
  3540. {
  3541. $this->errors = $errors;
  3542. }
  3543. public function getErrors()
  3544. {
  3545. return $this->errors;
  3546. }
  3547. public function setKind($kind)
  3548. {
  3549. $this->kind = $kind;
  3550. }
  3551. public function getKind()
  3552. {
  3553. return $this->kind;
  3554. }
  3555. }
  3556. class Google_Service_ShoppingContent_AccounttaxListResponse extends Google_Collection
  3557. {
  3558. protected $collection_key = 'resources';
  3559. protected $internal_gapi_mappings = array(
  3560. );
  3561. public $kind;
  3562. public $nextPageToken;
  3563. protected $resourcesType = 'Google_Service_ShoppingContent_AccountTax';
  3564. protected $resourcesDataType = 'array';
  3565. public function setKind($kind)
  3566. {
  3567. $this->kind = $kind;
  3568. }
  3569. public function getKind()
  3570. {
  3571. return $this->kind;
  3572. }
  3573. public function setNextPageToken($nextPageToken)
  3574. {
  3575. $this->nextPageToken = $nextPageToken;
  3576. }
  3577. public function getNextPageToken()
  3578. {
  3579. return $this->nextPageToken;
  3580. }
  3581. public function setResources($resources)
  3582. {
  3583. $this->resources = $resources;
  3584. }
  3585. public function getResources()
  3586. {
  3587. return $this->resources;
  3588. }
  3589. }
  3590. class Google_Service_ShoppingContent_Datafeed extends Google_Collection
  3591. {
  3592. protected $collection_key = 'intendedDestinations';
  3593. protected $internal_gapi_mappings = array(
  3594. );
  3595. public $attributeLanguage;
  3596. public $contentLanguage;
  3597. public $contentType;
  3598. protected $fetchScheduleType = 'Google_Service_ShoppingContent_DatafeedFetchSchedule';
  3599. protected $fetchScheduleDataType = '';
  3600. public $fileName;
  3601. protected $formatType = 'Google_Service_ShoppingContent_DatafeedFormat';
  3602. protected $formatDataType = '';
  3603. public $id;
  3604. public $intendedDestinations;
  3605. public $kind;
  3606. public $name;
  3607. public $targetCountry;
  3608. public function setAttributeLanguage($attributeLanguage)
  3609. {
  3610. $this->attributeLanguage = $attributeLanguage;
  3611. }
  3612. public function getAttributeLanguage()
  3613. {
  3614. return $this->attributeLanguage;
  3615. }
  3616. public function setContentLanguage($contentLanguage)
  3617. {
  3618. $this->contentLanguage = $contentLanguage;
  3619. }
  3620. public function getContentLanguage()
  3621. {
  3622. return $this->contentLanguage;
  3623. }
  3624. public function setContentType($contentType)
  3625. {
  3626. $this->contentType = $contentType;
  3627. }
  3628. public function getContentType()
  3629. {
  3630. return $this->contentType;
  3631. }
  3632. public function setFetchSchedule(Google_Service_ShoppingContent_DatafeedFetchSchedule $fetchSchedule)
  3633. {
  3634. $this->fetchSchedule = $fetchSchedule;
  3635. }
  3636. public function getFetchSchedule()
  3637. {
  3638. return $this->fetchSchedule;
  3639. }
  3640. public function setFileName($fileName)
  3641. {
  3642. $this->fileName = $fileName;
  3643. }
  3644. public function getFileName()
  3645. {
  3646. return $this->fileName;
  3647. }
  3648. public function setFormat(Google_Service_ShoppingContent_DatafeedFormat $format)
  3649. {
  3650. $this->format = $format;
  3651. }
  3652. public function getFormat()
  3653. {
  3654. return $this->format;
  3655. }
  3656. public function setId($id)
  3657. {
  3658. $this->id = $id;
  3659. }
  3660. public function getId()
  3661. {
  3662. return $this->id;
  3663. }
  3664. public function setIntendedDestinations($intendedDestinations)
  3665. {
  3666. $this->intendedDestinations = $intendedDestinations;
  3667. }
  3668. public function getIntendedDestinations()
  3669. {
  3670. return $this->intendedDestinations;
  3671. }
  3672. public function setKind($kind)
  3673. {
  3674. $this->kind = $kind;
  3675. }
  3676. public function getKind()
  3677. {
  3678. return $this->kind;
  3679. }
  3680. public function setName($name)
  3681. {
  3682. $this->name = $name;
  3683. }
  3684. public function getName()
  3685. {
  3686. return $this->name;
  3687. }
  3688. public function setTargetCountry($targetCountry)
  3689. {
  3690. $this->targetCountry = $targetCountry;
  3691. }
  3692. public function getTargetCountry()
  3693. {
  3694. return $this->targetCountry;
  3695. }
  3696. }
  3697. class Google_Service_ShoppingContent_DatafeedFetchSchedule extends Google_Model
  3698. {
  3699. protected $internal_gapi_mappings = array(
  3700. );
  3701. public $dayOfMonth;
  3702. public $fetchUrl;
  3703. public $hour;
  3704. public $password;
  3705. public $timeZone;
  3706. public $username;
  3707. public $weekday;
  3708. public function setDayOfMonth($dayOfMonth)
  3709. {
  3710. $this->dayOfMonth = $dayOfMonth;
  3711. }
  3712. public function getDayOfMonth()
  3713. {
  3714. return $this->dayOfMonth;
  3715. }
  3716. public function setFetchUrl($fetchUrl)
  3717. {
  3718. $this->fetchUrl = $fetchUrl;
  3719. }
  3720. public function getFetchUrl()
  3721. {
  3722. return $this->fetchUrl;
  3723. }
  3724. public function setHour($hour)
  3725. {
  3726. $this->hour = $hour;
  3727. }
  3728. public function getHour()
  3729. {
  3730. return $this->hour;
  3731. }
  3732. public function setPassword($password)
  3733. {
  3734. $this->password = $password;
  3735. }
  3736. public function getPassword()
  3737. {
  3738. return $this->password;
  3739. }
  3740. public function setTimeZone($timeZone)
  3741. {
  3742. $this->timeZone = $timeZone;
  3743. }
  3744. public function getTimeZone()
  3745. {
  3746. return $this->timeZone;
  3747. }
  3748. public function setUsername($username)
  3749. {
  3750. $this->username = $username;
  3751. }
  3752. public function getUsername()
  3753. {
  3754. return $this->username;
  3755. }
  3756. public function setWeekday($weekday)
  3757. {
  3758. $this->weekday = $weekday;
  3759. }
  3760. public function getWeekday()
  3761. {
  3762. return $this->weekday;
  3763. }
  3764. }
  3765. class Google_Service_ShoppingContent_DatafeedFormat extends Google_Model
  3766. {
  3767. protected $internal_gapi_mappings = array(
  3768. );
  3769. public $columnDelimiter;
  3770. public $fileEncoding;
  3771. public $quotingMode;
  3772. public function setColumnDelimiter($columnDelimiter)
  3773. {
  3774. $this->columnDelimiter = $columnDelimiter;
  3775. }
  3776. public function getColumnDelimiter()
  3777. {
  3778. return $this->columnDelimiter;
  3779. }
  3780. public function setFileEncoding($fileEncoding)
  3781. {
  3782. $this->fileEncoding = $fileEncoding;
  3783. }
  3784. public function getFileEncoding()
  3785. {
  3786. return $this->fileEncoding;
  3787. }
  3788. public function setQuotingMode($quotingMode)
  3789. {
  3790. $this->quotingMode = $quotingMode;
  3791. }
  3792. public function getQuotingMode()
  3793. {
  3794. return $this->quotingMode;
  3795. }
  3796. }
  3797. class Google_Service_ShoppingContent_DatafeedStatus extends Google_Collection
  3798. {
  3799. protected $collection_key = 'warnings';
  3800. protected $internal_gapi_mappings = array(
  3801. );
  3802. public $datafeedId;
  3803. protected $errorsType = 'Google_Service_ShoppingContent_DatafeedStatusError';
  3804. protected $errorsDataType = 'array';
  3805. public $itemsTotal;
  3806. public $itemsValid;
  3807. public $kind;
  3808. public $lastUploadDate;
  3809. public $processingStatus;
  3810. protected $warningsType = 'Google_Service_ShoppingContent_DatafeedStatusError';
  3811. protected $warningsDataType = 'array';
  3812. public function setDatafeedId($datafeedId)
  3813. {
  3814. $this->datafeedId = $datafeedId;
  3815. }
  3816. public function getDatafeedId()
  3817. {
  3818. return $this->datafeedId;
  3819. }
  3820. public function setErrors($errors)
  3821. {
  3822. $this->errors = $errors;
  3823. }
  3824. public function getErrors()
  3825. {
  3826. return $this->errors;
  3827. }
  3828. public function setItemsTotal($itemsTotal)
  3829. {
  3830. $this->itemsTotal = $itemsTotal;
  3831. }
  3832. public function getItemsTotal()
  3833. {
  3834. return $this->itemsTotal;
  3835. }
  3836. public function setItemsValid($itemsValid)
  3837. {
  3838. $this->itemsValid = $itemsValid;
  3839. }
  3840. public function getItemsValid()
  3841. {
  3842. return $this->itemsValid;
  3843. }
  3844. public function setKind($kind)
  3845. {
  3846. $this->kind = $kind;
  3847. }
  3848. public function getKind()
  3849. {
  3850. return $this->kind;
  3851. }
  3852. public function setLastUploadDate($lastUploadDate)
  3853. {
  3854. $this->lastUploadDate = $lastUploadDate;
  3855. }
  3856. public function getLastUploadDate()
  3857. {
  3858. return $this->lastUploadDate;
  3859. }
  3860. public function setProcessingStatus($processingStatus)
  3861. {
  3862. $this->processingStatus = $processingStatus;
  3863. }
  3864. public function getProcessingStatus()
  3865. {
  3866. return $this->processingStatus;
  3867. }
  3868. public function setWarnings($warnings)
  3869. {
  3870. $this->warnings = $warnings;
  3871. }
  3872. public function getWarnings()
  3873. {
  3874. return $this->warnings;
  3875. }
  3876. }
  3877. class Google_Service_ShoppingContent_DatafeedStatusError extends Google_Collection
  3878. {
  3879. protected $collection_key = 'examples';
  3880. protected $internal_gapi_mappings = array(
  3881. );
  3882. public $code;
  3883. public $count;
  3884. protected $examplesType = 'Google_Service_ShoppingContent_DatafeedStatusExample';
  3885. protected $examplesDataType = 'array';
  3886. public $message;
  3887. public function setCode($code)
  3888. {
  3889. $this->code = $code;
  3890. }
  3891. public function getCode()
  3892. {
  3893. return $this->code;
  3894. }
  3895. public function setCount($count)
  3896. {
  3897. $this->count = $count;
  3898. }
  3899. public function getCount()
  3900. {
  3901. return $this->count;
  3902. }
  3903. public function setExamples($examples)
  3904. {
  3905. $this->examples = $examples;
  3906. }
  3907. public function getExamples()
  3908. {
  3909. return $this->examples;
  3910. }
  3911. public function setMessage($message)
  3912. {
  3913. $this->message = $message;
  3914. }
  3915. public function getMessage()
  3916. {
  3917. return $this->message;
  3918. }
  3919. }
  3920. class Google_Service_ShoppingContent_DatafeedStatusExample extends Google_Model
  3921. {
  3922. protected $internal_gapi_mappings = array(
  3923. );
  3924. public $itemId;
  3925. public $lineNumber;
  3926. public $value;
  3927. public function setItemId($itemId)
  3928. {
  3929. $this->itemId = $itemId;
  3930. }
  3931. public function getItemId()
  3932. {
  3933. return $this->itemId;
  3934. }
  3935. public function setLineNumber($lineNumber)
  3936. {
  3937. $this->lineNumber = $lineNumber;
  3938. }
  3939. public function getLineNumber()
  3940. {
  3941. return $this->lineNumber;
  3942. }
  3943. public function setValue($value)
  3944. {
  3945. $this->value = $value;
  3946. }
  3947. public function getValue()
  3948. {
  3949. return $this->value;
  3950. }
  3951. }
  3952. class Google_Service_ShoppingContent_DatafeedsCustomBatchRequest extends Google_Collection
  3953. {
  3954. protected $collection_key = 'entries';
  3955. protected $internal_gapi_mappings = array(
  3956. );
  3957. protected $entriesType = 'Google_Service_ShoppingContent_DatafeedsCustomBatchRequestEntry';
  3958. protected $entriesDataType = 'array';
  3959. public function setEntries($entries)
  3960. {
  3961. $this->entries = $entries;
  3962. }
  3963. public function getEntries()
  3964. {
  3965. return $this->entries;
  3966. }
  3967. }
  3968. class Google_Service_ShoppingContent_DatafeedsCustomBatchRequestEntry extends Google_Model
  3969. {
  3970. protected $internal_gapi_mappings = array(
  3971. );
  3972. public $batchId;
  3973. protected $datafeedType = 'Google_Service_ShoppingContent_Datafeed';
  3974. protected $datafeedDataType = '';
  3975. public $datafeedId;
  3976. public $merchantId;
  3977. public $method;
  3978. public function setBatchId($batchId)
  3979. {
  3980. $this->batchId = $batchId;
  3981. }
  3982. public function getBatchId()
  3983. {
  3984. return $this->batchId;
  3985. }
  3986. public function setDatafeed(Google_Service_ShoppingContent_Datafeed $datafeed)
  3987. {
  3988. $this->datafeed = $datafeed;
  3989. }
  3990. public function getDatafeed()
  3991. {
  3992. return $this->datafeed;
  3993. }
  3994. public function setDatafeedId($datafeedId)
  3995. {
  3996. $this->datafeedId = $datafeedId;
  3997. }
  3998. public function getDatafeedId()
  3999. {
  4000. return $this->datafeedId;
  4001. }
  4002. public function setMerchantId($merchantId)
  4003. {
  4004. $this->merchantId = $merchantId;
  4005. }
  4006. public function getMerchantId()
  4007. {
  4008. return $this->merchantId;
  4009. }
  4010. public function setMethod($method)
  4011. {
  4012. $this->method = $method;
  4013. }
  4014. public function getMethod()
  4015. {
  4016. return $this->method;
  4017. }
  4018. }
  4019. class Google_Service_ShoppingContent_DatafeedsCustomBatchResponse extends Google_Collection
  4020. {
  4021. protected $collection_key = 'entries';
  4022. protected $internal_gapi_mappings = array(
  4023. );
  4024. protected $entriesType = 'Google_Service_ShoppingContent_DatafeedsCustomBatchResponseEntry';
  4025. protected $entriesDataType = 'array';
  4026. public $kind;
  4027. public function setEntries($entries)
  4028. {
  4029. $this->entries = $entries;
  4030. }
  4031. public function getEntries()
  4032. {
  4033. return $this->entries;
  4034. }
  4035. public function setKind($kind)
  4036. {
  4037. $this->kind = $kind;
  4038. }
  4039. public function getKind()
  4040. {
  4041. return $this->kind;
  4042. }
  4043. }
  4044. class Google_Service_ShoppingContent_DatafeedsCustomBatchResponseEntry extends Google_Model
  4045. {
  4046. protected $internal_gapi_mappings = array(
  4047. );
  4048. public $batchId;
  4049. protected $datafeedType = 'Google_Service_ShoppingContent_Datafeed';
  4050. protected $datafeedDataType = '';
  4051. protected $errorsType = 'Google_Service_ShoppingContent_Errors';
  4052. protected $errorsDataType = '';
  4053. public function setBatchId($batchId)
  4054. {
  4055. $this->batchId = $batchId;
  4056. }
  4057. public function getBatchId()
  4058. {
  4059. return $this->batchId;
  4060. }
  4061. public function setDatafeed(Google_Service_ShoppingContent_Datafeed $datafeed)
  4062. {
  4063. $this->datafeed = $datafeed;
  4064. }
  4065. public function getDatafeed()
  4066. {
  4067. return $this->datafeed;
  4068. }
  4069. public function setErrors(Google_Service_ShoppingContent_Errors $errors)
  4070. {
  4071. $this->errors = $errors;
  4072. }
  4073. public function getErrors()
  4074. {
  4075. return $this->errors;
  4076. }
  4077. }
  4078. class Google_Service_ShoppingContent_DatafeedsListResponse extends Google_Collection
  4079. {
  4080. protected $collection_key = 'resources';
  4081. protected $internal_gapi_mappings = array(
  4082. );
  4083. public $kind;
  4084. public $nextPageToken;
  4085. protected $resourcesType = 'Google_Service_ShoppingContent_Datafeed';
  4086. protected $resourcesDataType = 'array';
  4087. public function setKind($kind)
  4088. {
  4089. $this->kind = $kind;
  4090. }
  4091. public function getKind()
  4092. {
  4093. return $this->kind;
  4094. }
  4095. public function setNextPageToken($nextPageToken)
  4096. {
  4097. $this->nextPageToken = $nextPageToken;
  4098. }
  4099. public function getNextPageToken()
  4100. {
  4101. return $this->nextPageToken;
  4102. }
  4103. public function setResources($resources)
  4104. {
  4105. $this->resources = $resources;
  4106. }
  4107. public function getResources()
  4108. {
  4109. return $this->resources;
  4110. }
  4111. }
  4112. class Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequest extends Google_Collection
  4113. {
  4114. protected $collection_key = 'entries';
  4115. protected $internal_gapi_mappings = array(
  4116. );
  4117. protected $entriesType = 'Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequestEntry';
  4118. protected $entriesDataType = 'array';
  4119. public function setEntries($entries)
  4120. {
  4121. $this->entries = $entries;
  4122. }
  4123. public function getEntries()
  4124. {
  4125. return $this->entries;
  4126. }
  4127. }
  4128. class Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequestEntry extends Google_Model
  4129. {
  4130. protected $internal_gapi_mappings = array(
  4131. );
  4132. public $batchId;
  4133. public $datafeedId;
  4134. public $merchantId;
  4135. public $method;
  4136. public function setBatchId($batchId)
  4137. {
  4138. $this->batchId = $batchId;
  4139. }
  4140. public function getBatchId()
  4141. {
  4142. return $this->batchId;
  4143. }
  4144. public function setDatafeedId($datafeedId)
  4145. {
  4146. $this->datafeedId = $datafeedId;
  4147. }
  4148. public function getDatafeedId()
  4149. {
  4150. return $this->datafeedId;
  4151. }
  4152. public function setMerchantId($merchantId)
  4153. {
  4154. $this->merchantId = $merchantId;
  4155. }
  4156. public function getMerchantId()
  4157. {
  4158. return $this->merchantId;
  4159. }
  4160. public function setMethod($method)
  4161. {
  4162. $this->method = $method;
  4163. }
  4164. public function getMethod()
  4165. {
  4166. return $this->method;
  4167. }
  4168. }
  4169. class Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse extends Google_Collection
  4170. {
  4171. protected $collection_key = 'entries';
  4172. protected $internal_gapi_mappings = array(
  4173. );
  4174. protected $entriesType = 'Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponseEntry';
  4175. protected $entriesDataType = 'array';
  4176. public $kind;
  4177. public function setEntries($entries)
  4178. {
  4179. $this->entries = $entries;
  4180. }
  4181. public function getEntries()
  4182. {
  4183. return $this->entries;
  4184. }
  4185. public function setKind($kind)
  4186. {
  4187. $this->kind = $kind;
  4188. }
  4189. public function getKind()
  4190. {
  4191. return $this->kind;
  4192. }
  4193. }
  4194. class Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponseEntry extends Google_Model
  4195. {
  4196. protected $internal_gapi_mappings = array(
  4197. );
  4198. public $batchId;
  4199. protected $datafeedStatusType = 'Google_Service_ShoppingContent_DatafeedStatus';
  4200. protected $datafeedStatusDataType = '';
  4201. protected $errorsType = 'Google_Service_ShoppingContent_Errors';
  4202. protected $errorsDataType = '';
  4203. public function setBatchId($batchId)
  4204. {
  4205. $this->batchId = $batchId;
  4206. }
  4207. public function getBatchId()
  4208. {
  4209. return $this->batchId;
  4210. }
  4211. public function setDatafeedStatus(Google_Service_ShoppingContent_DatafeedStatus $datafeedStatus)
  4212. {
  4213. $this->datafeedStatus = $datafeedStatus;
  4214. }
  4215. public function getDatafeedStatus()
  4216. {
  4217. return $this->datafeedStatus;
  4218. }
  4219. public function setErrors(Google_Service_ShoppingContent_Errors $errors)
  4220. {
  4221. $this->errors = $errors;
  4222. }
  4223. public function getErrors()
  4224. {
  4225. return $this->errors;
  4226. }
  4227. }
  4228. class Google_Service_ShoppingContent_DatafeedstatusesListResponse extends Google_Collection
  4229. {
  4230. protected $collection_key = 'resources';
  4231. protected $internal_gapi_mappings = array(
  4232. );
  4233. public $kind;
  4234. public $nextPageToken;
  4235. protected $resourcesType = 'Google_Service_ShoppingContent_DatafeedStatus';
  4236. protected $resourcesDataType = 'array';
  4237. public function setKind($kind)
  4238. {
  4239. $this->kind = $kind;
  4240. }
  4241. public function getKind()
  4242. {
  4243. return $this->kind;
  4244. }
  4245. public function setNextPageToken($nextPageToken)
  4246. {
  4247. $this->nextPageToken = $nextPageToken;
  4248. }
  4249. public function getNextPageToken()
  4250. {
  4251. return $this->nextPageToken;
  4252. }
  4253. public function setResources($resources)
  4254. {
  4255. $this->resources = $resources;
  4256. }
  4257. public function getResources()
  4258. {
  4259. return $this->resources;
  4260. }
  4261. }
  4262. class Google_Service_ShoppingContent_Error extends Google_Model
  4263. {
  4264. protected $internal_gapi_mappings = array(
  4265. );
  4266. public $domain;
  4267. public $message;
  4268. public $reason;
  4269. public function setDomain($domain)
  4270. {
  4271. $this->domain = $domain;
  4272. }
  4273. public function getDomain()
  4274. {
  4275. return $this->domain;
  4276. }
  4277. public function setMessage($message)
  4278. {
  4279. $this->message = $message;
  4280. }
  4281. public function getMessage()
  4282. {
  4283. return $this->message;
  4284. }
  4285. public function setReason($reason)
  4286. {
  4287. $this->reason = $reason;
  4288. }
  4289. public function getReason()
  4290. {
  4291. return $this->reason;
  4292. }
  4293. }
  4294. class Google_Service_ShoppingContent_Errors extends Google_Collection
  4295. {
  4296. protected $collection_key = 'errors';
  4297. protected $internal_gapi_mappings = array(
  4298. );
  4299. public $code;
  4300. protected $errorsType = 'Google_Service_ShoppingContent_Error';
  4301. protected $errorsDataType = 'array';
  4302. public $message;
  4303. public function setCode($code)
  4304. {
  4305. $this->code = $code;
  4306. }
  4307. public function getCode()
  4308. {
  4309. return $this->code;
  4310. }
  4311. public function setErrors($errors)
  4312. {
  4313. $this->errors = $errors;
  4314. }
  4315. public function getErrors()
  4316. {
  4317. return $this->errors;
  4318. }
  4319. public function setMessage($message)
  4320. {
  4321. $this->message = $message;
  4322. }
  4323. public function getMessage()
  4324. {
  4325. return $this->message;
  4326. }
  4327. }
  4328. class Google_Service_ShoppingContent_Inventory extends Google_Model
  4329. {
  4330. protected $internal_gapi_mappings = array(
  4331. );
  4332. public $availability;
  4333. public $kind;
  4334. protected $priceType = 'Google_Service_ShoppingContent_Price';
  4335. protected $priceDataType = '';
  4336. public $quantity;
  4337. protected $salePriceType = 'Google_Service_ShoppingContent_Price';
  4338. protected $salePriceDataType = '';
  4339. public $salePriceEffectiveDate;
  4340. public $sellOnGoogleQuantity;
  4341. public function setAvailability($availability)
  4342. {
  4343. $this->availability = $availability;
  4344. }
  4345. public function getAvailability()
  4346. {
  4347. return $this->availability;
  4348. }
  4349. public function setKind($kind)
  4350. {
  4351. $this->kind = $kind;
  4352. }
  4353. public function getKind()
  4354. {
  4355. return $this->kind;
  4356. }
  4357. public function setPrice(Google_Service_ShoppingContent_Price $price)
  4358. {
  4359. $this->price = $price;
  4360. }
  4361. public function getPrice()
  4362. {
  4363. return $this->price;
  4364. }
  4365. public function setQuantity($quantity)
  4366. {
  4367. $this->quantity = $quantity;
  4368. }
  4369. public function getQuantity()
  4370. {
  4371. return $this->quantity;
  4372. }
  4373. public function setSalePrice(Google_Service_ShoppingContent_Price $salePrice)
  4374. {
  4375. $this->salePrice = $salePrice;
  4376. }
  4377. public function getSalePrice()
  4378. {
  4379. return $this->salePrice;
  4380. }
  4381. public function setSalePriceEffectiveDate($salePriceEffectiveDate)
  4382. {
  4383. $this->salePriceEffectiveDate = $salePriceEffectiveDate;
  4384. }
  4385. public function getSalePriceEffectiveDate()
  4386. {
  4387. return $this->salePriceEffectiveDate;
  4388. }
  4389. public function setSellOnGoogleQuantity($sellOnGoogleQuantity)
  4390. {
  4391. $this->sellOnGoogleQuantity = $sellOnGoogleQuantity;
  4392. }
  4393. public function getSellOnGoogleQuantity()
  4394. {
  4395. return $this->sellOnGoogleQuantity;
  4396. }
  4397. }
  4398. class Google_Service_ShoppingContent_InventoryCustomBatchRequest extends Google_Collection
  4399. {
  4400. protected $collection_key = 'entries';
  4401. protected $internal_gapi_mappings = array(
  4402. );
  4403. protected $entriesType = 'Google_Service_ShoppingContent_InventoryCustomBatchRequestEntry';
  4404. protected $entriesDataType = 'array';
  4405. public function setEntries($entries)
  4406. {
  4407. $this->entries = $entries;
  4408. }
  4409. public function getEntries()
  4410. {
  4411. return $this->entries;
  4412. }
  4413. }
  4414. class Google_Service_ShoppingContent_InventoryCustomBatchRequestEntry extends Google_Model
  4415. {
  4416. protected $internal_gapi_mappings = array(
  4417. );
  4418. public $batchId;
  4419. protected $inventoryType = 'Google_Service_ShoppingContent_Inventory';
  4420. protected $inventoryDataType = '';
  4421. public $merchantId;
  4422. public $productId;
  4423. public $storeCode;
  4424. public function setBatchId($batchId)
  4425. {
  4426. $this->batchId = $batchId;
  4427. }
  4428. public function getBatchId()
  4429. {
  4430. return $this->batchId;
  4431. }
  4432. public function setInventory(Google_Service_ShoppingContent_Inventory $inventory)
  4433. {
  4434. $this->inventory = $inventory;
  4435. }
  4436. public function getInventory()
  4437. {
  4438. return $this->inventory;
  4439. }
  4440. public function setMerchantId($merchantId)
  4441. {
  4442. $this->merchantId = $merchantId;
  4443. }
  4444. public function getMerchantId()
  4445. {
  4446. return $this->merchantId;
  4447. }
  4448. public function setProductId($productId)
  4449. {
  4450. $this->productId = $productId;
  4451. }
  4452. public function getProductId()
  4453. {
  4454. return $this->productId;
  4455. }
  4456. public function setStoreCode($storeCode)
  4457. {
  4458. $this->storeCode = $storeCode;
  4459. }
  4460. public function getStoreCode()
  4461. {
  4462. return $this->storeCode;
  4463. }
  4464. }
  4465. class Google_Service_ShoppingContent_InventoryCustomBatchResponse extends Google_Collection
  4466. {
  4467. protected $collection_key = 'entries';
  4468. protected $internal_gapi_mappings = array(
  4469. );
  4470. protected $entriesType = 'Google_Service_ShoppingContent_InventoryCustomBatchResponseEntry';
  4471. protected $entriesDataType = 'array';
  4472. public $kind;
  4473. public function setEntries($entries)
  4474. {
  4475. $this->entries = $entries;
  4476. }
  4477. public function getEntries()
  4478. {
  4479. return $this->entries;
  4480. }
  4481. public function setKind($kind)
  4482. {
  4483. $this->kind = $kind;
  4484. }
  4485. public function getKind()
  4486. {
  4487. return $this->kind;
  4488. }
  4489. }
  4490. class Google_Service_ShoppingContent_InventoryCustomBatchResponseEntry extends Google_Model
  4491. {
  4492. protected $internal_gapi_mappings = array(
  4493. );
  4494. public $batchId;
  4495. protected $errorsType = 'Google_Service_ShoppingContent_Errors';
  4496. protected $errorsDataType = '';
  4497. public $kind;
  4498. public function setBatchId($batchId)
  4499. {
  4500. $this->batchId = $batchId;
  4501. }
  4502. public function getBatchId()
  4503. {
  4504. return $this->batchId;
  4505. }
  4506. public function setErrors(Google_Service_ShoppingContent_Errors $errors)
  4507. {
  4508. $this->errors = $errors;
  4509. }
  4510. public function getErrors()
  4511. {
  4512. return $this->errors;
  4513. }
  4514. public function setKind($kind)
  4515. {
  4516. $this->kind = $kind;
  4517. }
  4518. public function getKind()
  4519. {
  4520. return $this->kind;
  4521. }
  4522. }
  4523. class Google_Service_ShoppingContent_InventorySetRequest extends Google_Model
  4524. {
  4525. protected $internal_gapi_mappings = array(
  4526. );
  4527. public $availability;
  4528. protected $priceType = 'Google_Service_ShoppingContent_Price';
  4529. protected $priceDataType = '';
  4530. public $quantity;
  4531. protected $salePriceType = 'Google_Service_ShoppingContent_Price';
  4532. protected $salePriceDataType = '';
  4533. public $salePriceEffectiveDate;
  4534. public $sellOnGoogleQuantity;
  4535. public function setAvailability($availability)
  4536. {
  4537. $this->availability = $availability;
  4538. }
  4539. public function getAvailability()
  4540. {
  4541. return $this->availability;
  4542. }
  4543. public function setPrice(Google_Service_ShoppingContent_Price $price)
  4544. {
  4545. $this->price = $price;
  4546. }
  4547. public function getPrice()
  4548. {
  4549. return $this->price;
  4550. }
  4551. public function setQuantity($quantity)
  4552. {
  4553. $this->quantity = $quantity;
  4554. }
  4555. public function getQuantity()
  4556. {
  4557. return $this->quantity;
  4558. }
  4559. public function setSalePrice(Google_Service_ShoppingContent_Price $salePrice)
  4560. {
  4561. $this->salePrice = $salePrice;
  4562. }
  4563. public function getSalePrice()
  4564. {
  4565. return $this->salePrice;
  4566. }
  4567. public function setSalePriceEffectiveDate($salePriceEffectiveDate)
  4568. {
  4569. $this->salePriceEffectiveDate = $salePriceEffectiveDate;
  4570. }
  4571. public function getSalePriceEffectiveDate()
  4572. {
  4573. return $this->salePriceEffectiveDate;
  4574. }
  4575. public function setSellOnGoogleQuantity($sellOnGoogleQuantity)
  4576. {
  4577. $this->sellOnGoogleQuantity = $sellOnGoogleQuantity;
  4578. }
  4579. public function getSellOnGoogleQuantity()
  4580. {
  4581. return $this->sellOnGoogleQuantity;
  4582. }
  4583. }
  4584. class Google_Service_ShoppingContent_InventorySetResponse extends Google_Model
  4585. {
  4586. protected $internal_gapi_mappings = array(
  4587. );
  4588. public $kind;
  4589. public function setKind($kind)
  4590. {
  4591. $this->kind = $kind;
  4592. }
  4593. public function getKind()
  4594. {
  4595. return $this->kind;
  4596. }
  4597. }
  4598. class Google_Service_ShoppingContent_LoyaltyPoints extends Google_Model
  4599. {
  4600. protected $internal_gapi_mappings = array(
  4601. );
  4602. public $name;
  4603. public $pointsValue;
  4604. public $ratio;
  4605. public function setName($name)
  4606. {
  4607. $this->name = $name;
  4608. }
  4609. public function getName()
  4610. {
  4611. return $this->name;
  4612. }
  4613. public function setPointsValue($pointsValue)
  4614. {
  4615. $this->pointsValue = $pointsValue;
  4616. }
  4617. public function getPointsValue()
  4618. {
  4619. return $this->pointsValue;
  4620. }
  4621. public function setRatio($ratio)
  4622. {
  4623. $this->ratio = $ratio;
  4624. }
  4625. public function getRatio()
  4626. {
  4627. return $this->ratio;
  4628. }
  4629. }
  4630. class Google_Service_ShoppingContent_Order extends Google_Collection
  4631. {
  4632. protected $collection_key = 'shipments';
  4633. protected $internal_gapi_mappings = array(
  4634. );
  4635. public $acknowledged;
  4636. protected $customerType = 'Google_Service_ShoppingContent_OrderCustomer';
  4637. protected $customerDataType = '';
  4638. protected $deliveryDetailsType = 'Google_Service_ShoppingContent_OrderDeliveryDetails';
  4639. protected $deliveryDetailsDataType = '';
  4640. public $id;
  4641. public $kind;
  4642. protected $lineItemsType = 'Google_Service_ShoppingContent_OrderLineItem';
  4643. protected $lineItemsDataType = 'array';
  4644. public $merchantId;
  4645. public $merchantOrderId;
  4646. protected $netAmountType = 'Google_Service_ShoppingContent_Price';
  4647. protected $netAmountDataType = '';
  4648. protected $paymentMethodType = 'Google_Service_ShoppingContent_OrderPaymentMethod';
  4649. protected $paymentMethodDataType = '';
  4650. public $paymentStatus;
  4651. public $placedDate;
  4652. protected $refundsType = 'Google_Service_ShoppingContent_OrderRefund';
  4653. protected $refundsDataType = 'array';
  4654. protected $shipmentsType = 'Google_Service_ShoppingContent_OrderShipment';
  4655. protected $shipmentsDataType = 'array';
  4656. protected $shippingCostType = 'Google_Service_ShoppingContent_Price';
  4657. protected $shippingCostDataType = '';
  4658. protected $shippingCostTaxType = 'Google_Service_ShoppingContent_Price';
  4659. protected $shippingCostTaxDataType = '';
  4660. public $shippingOption;
  4661. public $status;
  4662. public function setAcknowledged($acknowledged)
  4663. {
  4664. $this->acknowledged = $acknowledged;
  4665. }
  4666. public function getAcknowledged()
  4667. {
  4668. return $this->acknowledged;
  4669. }
  4670. public function setCustomer(Google_Service_ShoppingContent_OrderCustomer $customer)
  4671. {
  4672. $this->customer = $customer;
  4673. }
  4674. public function getCustomer()
  4675. {
  4676. return $this->customer;
  4677. }
  4678. public function setDeliveryDetails(Google_Service_ShoppingContent_OrderDeliveryDetails $deliveryDetails)
  4679. {
  4680. $this->deliveryDetails = $deliveryDetails;
  4681. }
  4682. public function getDeliveryDetails()
  4683. {
  4684. return $this->deliveryDetails;
  4685. }
  4686. public function setId($id)
  4687. {
  4688. $this->id = $id;
  4689. }
  4690. public function getId()
  4691. {
  4692. return $this->id;
  4693. }
  4694. public function setKind($kind)
  4695. {
  4696. $this->kind = $kind;
  4697. }
  4698. public function getKind()
  4699. {
  4700. return $this->kind;
  4701. }
  4702. public function setLineItems($lineItems)
  4703. {
  4704. $this->lineItems = $lineItems;
  4705. }
  4706. public function getLineItems()
  4707. {
  4708. return $this->lineItems;
  4709. }
  4710. public function setMerchantId($merchantId)
  4711. {
  4712. $this->merchantId = $merchantId;
  4713. }
  4714. public function getMerchantId()
  4715. {
  4716. return $this->merchantId;
  4717. }
  4718. public function setMerchantOrderId($merchantOrderId)
  4719. {
  4720. $this->merchantOrderId = $merchantOrderId;
  4721. }
  4722. public function getMerchantOrderId()
  4723. {
  4724. return $this->merchantOrderId;
  4725. }
  4726. public function setNetAmount(Google_Service_ShoppingContent_Price $netAmount)
  4727. {
  4728. $this->netAmount = $netAmount;
  4729. }
  4730. public function getNetAmount()
  4731. {
  4732. return $this->netAmount;
  4733. }
  4734. public function setPaymentMethod(Google_Service_ShoppingContent_OrderPaymentMethod $paymentMethod)
  4735. {
  4736. $this->paymentMethod = $paymentMethod;
  4737. }
  4738. public function getPaymentMethod()
  4739. {
  4740. return $this->paymentMethod;
  4741. }
  4742. public function setPaymentStatus($paymentStatus)
  4743. {
  4744. $this->paymentStatus = $paymentStatus;
  4745. }
  4746. public function getPaymentStatus()
  4747. {
  4748. return $this->paymentStatus;
  4749. }
  4750. public function setPlacedDate($placedDate)
  4751. {
  4752. $this->placedDate = $placedDate;
  4753. }
  4754. public function getPlacedDate()
  4755. {
  4756. return $this->placedDate;
  4757. }
  4758. public function setRefunds($refunds)
  4759. {
  4760. $this->refunds = $refunds;
  4761. }
  4762. public function getRefunds()
  4763. {
  4764. return $this->refunds;
  4765. }
  4766. public function setShipments($shipments)
  4767. {
  4768. $this->shipments = $shipments;
  4769. }
  4770. public function getShipments()
  4771. {
  4772. return $this->shipments;
  4773. }
  4774. public function setShippingCost(Google_Service_ShoppingContent_Price $shippingCost)
  4775. {
  4776. $this->shippingCost = $shippingCost;
  4777. }
  4778. public function getShippingCost()
  4779. {
  4780. return $this->shippingCost;
  4781. }
  4782. public function setShippingCostTax(Google_Service_ShoppingContent_Price $shippingCostTax)
  4783. {
  4784. $this->shippingCostTax = $shippingCostTax;
  4785. }
  4786. public function getShippingCostTax()
  4787. {
  4788. return $this->shippingCostTax;
  4789. }
  4790. public function setShippingOption($shippingOption)
  4791. {
  4792. $this->shippingOption = $shippingOption;
  4793. }
  4794. public function getShippingOption()
  4795. {
  4796. return $this->shippingOption;
  4797. }
  4798. public function setStatus($status)
  4799. {
  4800. $this->status = $status;
  4801. }
  4802. public function getStatus()
  4803. {
  4804. return $this->status;
  4805. }
  4806. }
  4807. class Google_Service_ShoppingContent_OrderAddress extends Google_Collection
  4808. {
  4809. protected $collection_key = 'streetAddress';
  4810. protected $internal_gapi_mappings = array(
  4811. );
  4812. public $country;
  4813. public $fullAddress;
  4814. public $isPostOfficeBox;
  4815. public $locality;
  4816. public $postalCode;
  4817. public $recipientName;
  4818. public $region;
  4819. public $streetAddress;
  4820. public function setCountry($country)
  4821. {
  4822. $this->country = $country;
  4823. }
  4824. public function getCountry()
  4825. {
  4826. return $this->country;
  4827. }
  4828. public function setFullAddress($fullAddress)
  4829. {
  4830. $this->fullAddress = $fullAddress;
  4831. }
  4832. public function getFullAddress()
  4833. {
  4834. return $this->fullAddress;
  4835. }
  4836. public function setIsPostOfficeBox($isPostOfficeBox)
  4837. {
  4838. $this->isPostOfficeBox = $isPostOfficeBox;
  4839. }
  4840. public function getIsPostOfficeBox()
  4841. {
  4842. return $this->isPostOfficeBox;
  4843. }
  4844. public function setLocality($locality)
  4845. {
  4846. $this->locality = $locality;
  4847. }
  4848. public function getLocality()
  4849. {
  4850. return $this->locality;
  4851. }
  4852. public function setPostalCode($postalCode)
  4853. {
  4854. $this->postalCode = $postalCode;
  4855. }
  4856. public function getPostalCode()
  4857. {
  4858. return $this->postalCode;
  4859. }
  4860. public function setRecipientName($recipientName)
  4861. {
  4862. $this->recipientName = $recipientName;
  4863. }
  4864. public function getRecipientName()
  4865. {
  4866. return $this->recipientName;
  4867. }
  4868. public function setRegion($region)
  4869. {
  4870. $this->region = $region;
  4871. }
  4872. public function getRegion()
  4873. {
  4874. return $this->region;
  4875. }
  4876. public function setStreetAddress($streetAddress)
  4877. {
  4878. $this->streetAddress = $streetAddress;
  4879. }
  4880. public function getStreetAddress()
  4881. {
  4882. return $this->streetAddress;
  4883. }
  4884. }
  4885. class Google_Service_ShoppingContent_OrderCancellation extends Google_Model
  4886. {
  4887. protected $internal_gapi_mappings = array(
  4888. );
  4889. public $actor;
  4890. public $creationDate;
  4891. public $quantity;
  4892. public $reason;
  4893. public $reasonText;
  4894. public function setActor($actor)
  4895. {
  4896. $this->actor = $actor;
  4897. }
  4898. public function getActor()
  4899. {
  4900. return $this->actor;
  4901. }
  4902. public function setCreationDate($creationDate)
  4903. {
  4904. $this->creationDate = $creationDate;
  4905. }
  4906. public function getCreationDate()
  4907. {
  4908. return $this->creationDate;
  4909. }
  4910. public function setQuantity($quantity)
  4911. {
  4912. $this->quantity = $quantity;
  4913. }
  4914. public function getQuantity()
  4915. {
  4916. return $this->quantity;
  4917. }
  4918. public function setReason($reason)
  4919. {
  4920. $this->reason = $reason;
  4921. }
  4922. public function getReason()
  4923. {
  4924. return $this->reason;
  4925. }
  4926. public function setReasonText($reasonText)
  4927. {
  4928. $this->reasonText = $reasonText;
  4929. }
  4930. public function getReasonText()
  4931. {
  4932. return $this->reasonText;
  4933. }
  4934. }
  4935. class Google_Service_ShoppingContent_OrderCustomer extends Google_Model
  4936. {
  4937. protected $internal_gapi_mappings = array(
  4938. );
  4939. public $email;
  4940. public $explicitMarketingPreference;
  4941. public $fullName;
  4942. public function setEmail($email)
  4943. {
  4944. $this->email = $email;
  4945. }
  4946. public function getEmail()
  4947. {
  4948. return $this->email;
  4949. }
  4950. public function setExplicitMarketingPreference($explicitMarketingPreference)
  4951. {
  4952. $this->explicitMarketingPreference = $explicitMarketingPreference;
  4953. }
  4954. public function getExplicitMarketingPreference()
  4955. {
  4956. return $this->explicitMarketingPreference;
  4957. }
  4958. public function setFullName($fullName)
  4959. {
  4960. $this->fullName = $fullName;
  4961. }
  4962. public function getFullName()
  4963. {
  4964. return $this->fullName;
  4965. }
  4966. }
  4967. class Google_Service_ShoppingContent_OrderDeliveryDetails extends Google_Model
  4968. {
  4969. protected $internal_gapi_mappings = array(
  4970. );
  4971. protected $addressType = 'Google_Service_ShoppingContent_OrderAddress';
  4972. protected $addressDataType = '';
  4973. public $phoneNumber;
  4974. public function setAddress(Google_Service_ShoppingContent_OrderAddress $address)
  4975. {
  4976. $this->address = $address;
  4977. }
  4978. public function getAddress()
  4979. {
  4980. return $this->address;
  4981. }
  4982. public function setPhoneNumber($phoneNumber)
  4983. {
  4984. $this->phoneNumber = $phoneNumber;
  4985. }
  4986. public function getPhoneNumber()
  4987. {
  4988. return $this->phoneNumber;
  4989. }
  4990. }
  4991. class Google_Service_ShoppingContent_OrderLineItem extends Google_Collection
  4992. {
  4993. protected $collection_key = 'returns';
  4994. protected $internal_gapi_mappings = array(
  4995. );
  4996. protected $cancellationsType = 'Google_Service_ShoppingContent_OrderCancellation';
  4997. protected $cancellationsDataType = 'array';
  4998. public $id;
  4999. protected $priceType = 'Google_Service_ShoppingContent_Price';
  5000. protected $priceDataType = '';
  5001. protected $productType = 'Google_Service_ShoppingContent_OrderLineItemProduct';
  5002. protected $productDataType = '';
  5003. public $quantityCanceled;
  5004. public $quantityDelivered;
  5005. public $quantityOrdered;
  5006. public $quantityPending;
  5007. public $quantityReturned;
  5008. public $quantityShipped;
  5009. protected $returnInfoType = 'Google_Service_ShoppingContent_OrderLineItemReturnInfo';
  5010. protected $returnInfoDataType = '';
  5011. protected $returnsType = 'Google_Service_ShoppingContent_OrderReturn';
  5012. protected $returnsDataType = 'array';
  5013. protected $shippingDetailsType = 'Google_Service_ShoppingContent_OrderLineItemShippingDetails';
  5014. protected $shippingDetailsDataType = '';
  5015. protected $taxType = 'Google_Service_ShoppingContent_Price';
  5016. protected $taxDataType = '';
  5017. public function setCancellations($cancellations)
  5018. {
  5019. $this->cancellations = $cancellations;
  5020. }
  5021. public function getCancellations()
  5022. {
  5023. return $this->cancellations;
  5024. }
  5025. public function setId($id)
  5026. {
  5027. $this->id = $id;
  5028. }
  5029. public function getId()
  5030. {
  5031. return $this->id;
  5032. }
  5033. public function setPrice(Google_Service_ShoppingContent_Price $price)
  5034. {
  5035. $this->price = $price;
  5036. }
  5037. public function getPrice()
  5038. {
  5039. return $this->price;
  5040. }
  5041. public function setProduct(Google_Service_ShoppingContent_OrderLineItemProduct $product)
  5042. {
  5043. $this->product = $product;
  5044. }
  5045. public function getProduct()
  5046. {
  5047. return $this->product;
  5048. }
  5049. public function setQuantityCanceled($quantityCanceled)
  5050. {
  5051. $this->quantityCanceled = $quantityCanceled;
  5052. }
  5053. public function getQuantityCanceled()
  5054. {
  5055. return $this->quantityCanceled;
  5056. }
  5057. public function setQuantityDelivered($quantityDelivered)
  5058. {
  5059. $this->quantityDelivered = $quantityDelivered;
  5060. }
  5061. public function getQuantityDelivered()
  5062. {
  5063. return $this->quantityDelivered;
  5064. }
  5065. public function setQuantityOrdered($quantityOrdered)
  5066. {
  5067. $this->quantityOrdered = $quantityOrdered;
  5068. }
  5069. public function getQuantityOrdered()
  5070. {
  5071. return $this->quantityOrdered;
  5072. }
  5073. public function setQuantityPending($quantityPending)
  5074. {
  5075. $this->quantityPending = $quantityPending;
  5076. }
  5077. public function getQuantityPending()
  5078. {
  5079. return $this->quantityPending;
  5080. }
  5081. public function setQuantityReturned($quantityReturned)
  5082. {
  5083. $this->quantityReturned = $quantityReturned;
  5084. }
  5085. public function getQuantityReturned()
  5086. {
  5087. return $this->quantityReturned;
  5088. }
  5089. public function setQuantityShipped($quantityShipped)
  5090. {
  5091. $this->quantityShipped = $quantityShipped;
  5092. }
  5093. public function getQuantityShipped()
  5094. {
  5095. return $this->quantityShipped;
  5096. }
  5097. public function setReturnInfo(Google_Service_ShoppingContent_OrderLineItemReturnInfo $returnInfo)
  5098. {
  5099. $this->returnInfo = $returnInfo;
  5100. }
  5101. public function getReturnInfo()
  5102. {
  5103. return $this->returnInfo;
  5104. }
  5105. public function setReturns($returns)
  5106. {
  5107. $this->returns = $returns;
  5108. }
  5109. public function getReturns()
  5110. {
  5111. return $this->returns;
  5112. }
  5113. public function setShippingDetails(Google_Service_ShoppingContent_OrderLineItemShippingDetails $shippingDetails)
  5114. {
  5115. $this->shippingDetails = $shippingDetails;
  5116. }
  5117. public function getShippingDetails()
  5118. {
  5119. return $this->shippingDetails;
  5120. }
  5121. public function setTax(Google_Service_ShoppingContent_Price $tax)
  5122. {
  5123. $this->tax = $tax;
  5124. }
  5125. public function getTax()
  5126. {
  5127. return $this->tax;
  5128. }
  5129. }
  5130. class Google_Service_ShoppingContent_OrderLineItemProduct extends Google_Collection
  5131. {
  5132. protected $collection_key = 'variantAttributes';
  5133. protected $internal_gapi_mappings = array(
  5134. );
  5135. public $brand;
  5136. public $channel;
  5137. public $condition;
  5138. public $contentLanguage;
  5139. public $gtin;
  5140. public $id;
  5141. public $imageLink;
  5142. public $itemGroupId;
  5143. public $mpn;
  5144. public $offerId;
  5145. protected $priceType = 'Google_Service_ShoppingContent_Price';
  5146. protected $priceDataType = '';
  5147. public $shownImage;
  5148. public $targetCountry;
  5149. public $title;
  5150. protected $variantAttributesType = 'Google_Service_ShoppingContent_OrderLineItemProductVariantAttribute';
  5151. protected $variantAttributesDataType = 'array';
  5152. public function setBrand($brand)
  5153. {
  5154. $this->brand = $brand;
  5155. }
  5156. public function getBrand()
  5157. {
  5158. return $this->brand;
  5159. }
  5160. public function setChannel($channel)
  5161. {
  5162. $this->channel = $channel;
  5163. }
  5164. public function getChannel()
  5165. {
  5166. return $this->channel;
  5167. }
  5168. public function setCondition($condition)
  5169. {
  5170. $this->condition = $condition;
  5171. }
  5172. public function getCondition()
  5173. {
  5174. return $this->condition;
  5175. }
  5176. public function setContentLanguage($contentLanguage)
  5177. {
  5178. $this->contentLanguage = $contentLanguage;
  5179. }
  5180. public function getContentLanguage()
  5181. {
  5182. return $this->contentLanguage;
  5183. }
  5184. public function setGtin($gtin)
  5185. {
  5186. $this->gtin = $gtin;
  5187. }
  5188. public function getGtin()
  5189. {
  5190. return $this->gtin;
  5191. }
  5192. public function setId($id)
  5193. {
  5194. $this->id = $id;
  5195. }
  5196. public function getId()
  5197. {
  5198. return $this->id;
  5199. }
  5200. public function setImageLink($imageLink)
  5201. {
  5202. $this->imageLink = $imageLink;
  5203. }
  5204. public function getImageLink()
  5205. {
  5206. return $this->imageLink;
  5207. }
  5208. public function setItemGroupId($itemGroupId)
  5209. {
  5210. $this->itemGroupId = $itemGroupId;
  5211. }
  5212. public function getItemGroupId()
  5213. {
  5214. return $this->itemGroupId;
  5215. }
  5216. public function setMpn($mpn)
  5217. {
  5218. $this->mpn = $mpn;
  5219. }
  5220. public function getMpn()
  5221. {
  5222. return $this->mpn;
  5223. }
  5224. public function setOfferId($offerId)
  5225. {
  5226. $this->offerId = $offerId;
  5227. }
  5228. public function getOfferId()
  5229. {
  5230. return $this->offerId;
  5231. }
  5232. public function setPrice(Google_Service_ShoppingContent_Price $price)
  5233. {
  5234. $this->price = $price;
  5235. }
  5236. public function getPrice()
  5237. {
  5238. return $this->price;
  5239. }
  5240. public function setShownImage($shownImage)
  5241. {
  5242. $this->shownImage = $shownImage;
  5243. }
  5244. public function getShownImage()
  5245. {
  5246. return $this->shownImage;
  5247. }
  5248. public function setTargetCountry($targetCountry)
  5249. {
  5250. $this->targetCountry = $targetCountry;
  5251. }
  5252. public function getTargetCountry()
  5253. {
  5254. return $this->targetCountry;
  5255. }
  5256. public function setTitle($title)
  5257. {
  5258. $this->title = $title;
  5259. }
  5260. public function getTitle()
  5261. {
  5262. return $this->title;
  5263. }
  5264. public function setVariantAttributes($variantAttributes)
  5265. {
  5266. $this->variantAttributes = $variantAttributes;
  5267. }
  5268. public function getVariantAttributes()
  5269. {
  5270. return $this->variantAttributes;
  5271. }
  5272. }
  5273. class Google_Service_ShoppingContent_OrderLineItemProductVariantAttribute extends Google_Model
  5274. {
  5275. protected $internal_gapi_mappings = array(
  5276. );
  5277. public $dimension;
  5278. public $value;
  5279. public function setDimension($dimension)
  5280. {
  5281. $this->dimension = $dimension;
  5282. }
  5283. public function getDimension()
  5284. {
  5285. return $this->dimension;
  5286. }
  5287. public function setValue($value)
  5288. {
  5289. $this->value = $value;
  5290. }
  5291. public function getValue()
  5292. {
  5293. return $this->value;
  5294. }
  5295. }
  5296. class Google_Service_ShoppingContent_OrderLineItemReturnInfo extends Google_Model
  5297. {
  5298. protected $internal_gapi_mappings = array(
  5299. );
  5300. public $daysToReturn;
  5301. public $isReturnable;
  5302. public $policyUrl;
  5303. public function setDaysToReturn($daysToReturn)
  5304. {
  5305. $this->daysToReturn = $daysToReturn;
  5306. }
  5307. public function getDaysToReturn()
  5308. {
  5309. return $this->daysToReturn;
  5310. }
  5311. public function setIsReturnable($isReturnable)
  5312. {
  5313. $this->isReturnable = $isReturnable;
  5314. }
  5315. public function getIsReturnable()
  5316. {
  5317. return $this->isReturnable;
  5318. }
  5319. public function setPolicyUrl($policyUrl)
  5320. {
  5321. $this->policyUrl = $policyUrl;
  5322. }
  5323. public function getPolicyUrl()
  5324. {
  5325. return $this->policyUrl;
  5326. }
  5327. }
  5328. class Google_Service_ShoppingContent_OrderLineItemShippingDetails extends Google_Model
  5329. {
  5330. protected $internal_gapi_mappings = array(
  5331. );
  5332. public $deliverByDate;
  5333. protected $methodType = 'Google_Service_ShoppingContent_OrderLineItemShippingDetailsMethod';
  5334. protected $methodDataType = '';
  5335. public $shipByDate;
  5336. public function setDeliverByDate($deliverByDate)
  5337. {
  5338. $this->deliverByDate = $deliverByDate;
  5339. }
  5340. public function getDeliverByDate()
  5341. {
  5342. return $this->deliverByDate;
  5343. }
  5344. public function setMethod(Google_Service_ShoppingContent_OrderLineItemShippingDetailsMethod $method)
  5345. {
  5346. $this->method = $method;
  5347. }
  5348. public function getMethod()
  5349. {
  5350. return $this->method;
  5351. }
  5352. public function setShipByDate($shipByDate)
  5353. {
  5354. $this->shipByDate = $shipByDate;
  5355. }
  5356. public function getShipByDate()
  5357. {
  5358. return $this->shipByDate;
  5359. }
  5360. }
  5361. class Google_Service_ShoppingContent_OrderLineItemShippingDetailsMethod extends Google_Model
  5362. {
  5363. protected $internal_gapi_mappings = array(
  5364. );
  5365. public $carrier;
  5366. public $maxDaysInTransit;
  5367. public $methodName;
  5368. public $minDaysInTransit;
  5369. public function setCarrier($carrier)
  5370. {
  5371. $this->carrier = $carrier;
  5372. }
  5373. public function getCarrier()
  5374. {
  5375. return $this->carrier;
  5376. }
  5377. public function setMaxDaysInTransit($maxDaysInTransit)
  5378. {
  5379. $this->maxDaysInTransit = $maxDaysInTransit;
  5380. }
  5381. public function getMaxDaysInTransit()
  5382. {
  5383. return $this->maxDaysInTransit;
  5384. }
  5385. public function setMethodName($methodName)
  5386. {
  5387. $this->methodName = $methodName;
  5388. }
  5389. public function getMethodName()
  5390. {
  5391. return $this->methodName;
  5392. }
  5393. public function setMinDaysInTransit($minDaysInTransit)
  5394. {
  5395. $this->minDaysInTransit = $minDaysInTransit;
  5396. }
  5397. public function getMinDaysInTransit()
  5398. {
  5399. return $this->minDaysInTransit;
  5400. }
  5401. }
  5402. class Google_Service_ShoppingContent_OrderPaymentMethod extends Google_Model
  5403. {
  5404. protected $internal_gapi_mappings = array(
  5405. );
  5406. protected $billingAddressType = 'Google_Service_ShoppingContent_OrderAddress';
  5407. protected $billingAddressDataType = '';
  5408. public $expirationMonth;
  5409. public $expirationYear;
  5410. public $lastFourDigits;
  5411. public $phoneNumber;
  5412. public $type;
  5413. public function setBillingAddress(Google_Service_ShoppingContent_OrderAddress $billingAddress)
  5414. {
  5415. $this->billingAddress = $billingAddress;
  5416. }
  5417. public function getBillingAddress()
  5418. {
  5419. return $this->billingAddress;
  5420. }
  5421. public function setExpirationMonth($expirationMonth)
  5422. {
  5423. $this->expirationMonth = $expirationMonth;
  5424. }
  5425. public function getExpirationMonth()
  5426. {
  5427. return $this->expirationMonth;
  5428. }
  5429. public function setExpirationYear($expirationYear)
  5430. {
  5431. $this->expirationYear = $expirationYear;
  5432. }
  5433. public function getExpirationYear()
  5434. {
  5435. return $this->expirationYear;
  5436. }
  5437. public function setLastFourDigits($lastFourDigits)
  5438. {
  5439. $this->lastFourDigits = $lastFourDigits;
  5440. }
  5441. public function getLastFourDigits()
  5442. {
  5443. return $this->lastFourDigits;
  5444. }
  5445. public function setPhoneNumber($phoneNumber)
  5446. {
  5447. $this->phoneNumber = $phoneNumber;
  5448. }
  5449. public function getPhoneNumber()
  5450. {
  5451. return $this->phoneNumber;
  5452. }
  5453. public function setType($type)
  5454. {
  5455. $this->type = $type;
  5456. }
  5457. public function getType()
  5458. {
  5459. return $this->type;
  5460. }
  5461. }
  5462. class Google_Service_ShoppingContent_OrderRefund extends Google_Model
  5463. {
  5464. protected $internal_gapi_mappings = array(
  5465. );
  5466. public $actor;
  5467. protected $amountType = 'Google_Service_ShoppingContent_Price';
  5468. protected $amountDataType = '';
  5469. public $creationDate;
  5470. public $reason;
  5471. public $reasonText;
  5472. public function setActor($actor)
  5473. {
  5474. $this->actor = $actor;
  5475. }
  5476. public function getActor()
  5477. {
  5478. return $this->actor;
  5479. }
  5480. public function setAmount(Google_Service_ShoppingContent_Price $amount)
  5481. {
  5482. $this->amount = $amount;
  5483. }
  5484. public function getAmount()
  5485. {
  5486. return $this->amount;
  5487. }
  5488. public function setCreationDate($creationDate)
  5489. {
  5490. $this->creationDate = $creationDate;
  5491. }
  5492. public function getCreationDate()
  5493. {
  5494. return $this->creationDate;
  5495. }
  5496. public function setReason($reason)
  5497. {
  5498. $this->reason = $reason;
  5499. }
  5500. public function getReason()
  5501. {
  5502. return $this->reason;
  5503. }
  5504. public function setReasonText($reasonText)
  5505. {
  5506. $this->reasonText = $reasonText;
  5507. }
  5508. public function getReasonText()
  5509. {
  5510. return $this->reasonText;
  5511. }
  5512. }
  5513. class Google_Service_ShoppingContent_OrderReturn extends Google_Model
  5514. {
  5515. protected $internal_gapi_mappings = array(
  5516. );
  5517. public $actor;
  5518. public $creationDate;
  5519. public $quantity;
  5520. public $reason;
  5521. public $reasonText;
  5522. public function setActor($actor)
  5523. {
  5524. $this->actor = $actor;
  5525. }
  5526. public function getActor()
  5527. {
  5528. return $this->actor;
  5529. }
  5530. public function setCreationDate($creationDate)
  5531. {
  5532. $this->creationDate = $creationDate;
  5533. }
  5534. public function getCreationDate()
  5535. {
  5536. return $this->creationDate;
  5537. }
  5538. public function setQuantity($quantity)
  5539. {
  5540. $this->quantity = $quantity;
  5541. }
  5542. public function getQuantity()
  5543. {
  5544. return $this->quantity;
  5545. }
  5546. public function setReason($reason)
  5547. {
  5548. $this->reason = $reason;
  5549. }
  5550. public function getReason()
  5551. {
  5552. return $this->reason;
  5553. }
  5554. public function setReasonText($reasonText)
  5555. {
  5556. $this->reasonText = $reasonText;
  5557. }
  5558. public function getReasonText()
  5559. {
  5560. return $this->reasonText;
  5561. }
  5562. }
  5563. class Google_Service_ShoppingContent_OrderShipment extends Google_Collection
  5564. {
  5565. protected $collection_key = 'lineItems';
  5566. protected $internal_gapi_mappings = array(
  5567. );
  5568. public $carrier;
  5569. public $creationDate;
  5570. public $deliveryDate;
  5571. public $id;
  5572. protected $lineItemsType = 'Google_Service_ShoppingContent_OrderShipmentLineItemShipment';
  5573. protected $lineItemsDataType = 'array';
  5574. public $status;
  5575. public $trackingId;
  5576. public function setCarrier($carrier)
  5577. {
  5578. $this->carrier = $carrier;
  5579. }
  5580. public function getCarrier()
  5581. {
  5582. return $this->carrier;
  5583. }
  5584. public function setCreationDate($creationDate)
  5585. {
  5586. $this->creationDate = $creationDate;
  5587. }
  5588. public function getCreationDate()
  5589. {
  5590. return $this->creationDate;
  5591. }
  5592. public function setDeliveryDate($deliveryDate)
  5593. {
  5594. $this->deliveryDate = $deliveryDate;
  5595. }
  5596. public function getDeliveryDate()
  5597. {
  5598. return $this->deliveryDate;
  5599. }
  5600. public function setId($id)
  5601. {
  5602. $this->id = $id;
  5603. }
  5604. public function getId()
  5605. {
  5606. return $this->id;
  5607. }
  5608. public function setLineItems($lineItems)
  5609. {
  5610. $this->lineItems = $lineItems;
  5611. }
  5612. public function getLineItems()
  5613. {
  5614. return $this->lineItems;
  5615. }
  5616. public function setStatus($status)
  5617. {
  5618. $this->status = $status;
  5619. }
  5620. public function getStatus()
  5621. {
  5622. return $this->status;
  5623. }
  5624. public function setTrackingId($trackingId)
  5625. {
  5626. $this->trackingId = $trackingId;
  5627. }
  5628. public function getTrackingId()
  5629. {
  5630. return $this->trackingId;
  5631. }
  5632. }
  5633. class Google_Service_ShoppingContent_OrderShipmentLineItemShipment extends Google_Model
  5634. {
  5635. protected $internal_gapi_mappings = array(
  5636. );
  5637. public $lineItemId;
  5638. public $quantity;
  5639. public function setLineItemId($lineItemId)
  5640. {
  5641. $this->lineItemId = $lineItemId;
  5642. }
  5643. public function getLineItemId()
  5644. {
  5645. return $this->lineItemId;
  5646. }
  5647. public function setQuantity($quantity)
  5648. {
  5649. $this->quantity = $quantity;
  5650. }
  5651. public function getQuantity()
  5652. {
  5653. return $this->quantity;
  5654. }
  5655. }
  5656. class Google_Service_ShoppingContent_OrdersAcknowledgeRequest extends Google_Model
  5657. {
  5658. protected $internal_gapi_mappings = array(
  5659. );
  5660. public $operationId;
  5661. public function setOperationId($operationId)
  5662. {
  5663. $this->operationId = $operationId;
  5664. }
  5665. public function getOperationId()
  5666. {
  5667. return $this->operationId;
  5668. }
  5669. }
  5670. class Google_Service_ShoppingContent_OrdersAcknowledgeResponse extends Google_Model
  5671. {
  5672. protected $internal_gapi_mappings = array(
  5673. );
  5674. public $executionStatus;
  5675. public $kind;
  5676. public function setExecutionStatus($executionStatus)
  5677. {
  5678. $this->executionStatus = $executionStatus;
  5679. }
  5680. public function getExecutionStatus()
  5681. {
  5682. return $this->executionStatus;
  5683. }
  5684. public function setKind($kind)
  5685. {
  5686. $this->kind = $kind;
  5687. }
  5688. public function getKind()
  5689. {
  5690. return $this->kind;
  5691. }
  5692. }
  5693. class Google_Service_ShoppingContent_OrdersAdvanceTestOrderResponse extends Google_Model
  5694. {
  5695. protected $internal_gapi_mappings = array(
  5696. );
  5697. public $kind;
  5698. public function setKind($kind)
  5699. {
  5700. $this->kind = $kind;
  5701. }
  5702. public function getKind()
  5703. {
  5704. return $this->kind;
  5705. }
  5706. }
  5707. class Google_Service_ShoppingContent_OrdersCancelLineItemRequest extends Google_Model
  5708. {
  5709. protected $internal_gapi_mappings = array(
  5710. );
  5711. public $lineItemId;
  5712. public $operationId;
  5713. public $quantity;
  5714. public $reason;
  5715. public $reasonText;
  5716. public function setLineItemId($lineItemId)
  5717. {
  5718. $this->lineItemId = $lineItemId;
  5719. }
  5720. public function getLineItemId()
  5721. {
  5722. return $this->lineItemId;
  5723. }
  5724. public function setOperationId($operationId)
  5725. {
  5726. $this->operationId = $operationId;
  5727. }
  5728. public function getOperationId()
  5729. {
  5730. return $this->operationId;
  5731. }
  5732. public function setQuantity($quantity)
  5733. {
  5734. $this->quantity = $quantity;
  5735. }
  5736. public function getQuantity()
  5737. {
  5738. return $this->quantity;
  5739. }
  5740. public function setReason($reason)
  5741. {
  5742. $this->reason = $reason;
  5743. }
  5744. public function getReason()
  5745. {
  5746. return $this->reason;
  5747. }
  5748. public function setReasonText($reasonText)
  5749. {
  5750. $this->reasonText = $reasonText;
  5751. }
  5752. public function getReasonText()
  5753. {
  5754. return $this->reasonText;
  5755. }
  5756. }
  5757. class Google_Service_ShoppingContent_OrdersCancelLineItemResponse extends Google_Model
  5758. {
  5759. protected $internal_gapi_mappings = array(
  5760. );
  5761. public $executionStatus;
  5762. public $kind;
  5763. public function setExecutionStatus($executionStatus)
  5764. {
  5765. $this->executionStatus = $executionStatus;
  5766. }
  5767. public function getExecutionStatus()
  5768. {
  5769. return $this->executionStatus;
  5770. }
  5771. public function setKind($kind)
  5772. {
  5773. $this->kind = $kind;
  5774. }
  5775. public function getKind()
  5776. {
  5777. return $this->kind;
  5778. }
  5779. }
  5780. class Google_Service_ShoppingContent_OrdersCancelRequest extends Google_Model
  5781. {
  5782. protected $internal_gapi_mappings = array(
  5783. );
  5784. public $operationId;
  5785. public $reason;
  5786. public $reasonText;
  5787. public function setOperationId($operationId)
  5788. {
  5789. $this->operationId = $operationId;
  5790. }
  5791. public function getOperationId()
  5792. {
  5793. return $this->operationId;
  5794. }
  5795. public function setReason($reason)
  5796. {
  5797. $this->reason = $reason;
  5798. }
  5799. public function getReason()
  5800. {
  5801. return $this->reason;
  5802. }
  5803. public function setReasonText($reasonText)
  5804. {
  5805. $this->reasonText = $reasonText;
  5806. }
  5807. public function getReasonText()
  5808. {
  5809. return $this->reasonText;
  5810. }
  5811. }
  5812. class Google_Service_ShoppingContent_OrdersCancelResponse extends Google_Model
  5813. {
  5814. protected $internal_gapi_mappings = array(
  5815. );
  5816. public $executionStatus;
  5817. public $kind;
  5818. public function setExecutionStatus($executionStatus)
  5819. {
  5820. $this->executionStatus = $executionStatus;
  5821. }
  5822. public function getExecutionStatus()
  5823. {
  5824. return $this->executionStatus;
  5825. }
  5826. public function setKind($kind)
  5827. {
  5828. $this->kind = $kind;
  5829. }
  5830. public function getKind()
  5831. {
  5832. return $this->kind;
  5833. }
  5834. }
  5835. class Google_Service_ShoppingContent_OrdersCreateTestOrderRequest extends Google_Model
  5836. {
  5837. protected $internal_gapi_mappings = array(
  5838. );
  5839. public $templateName;
  5840. protected $testOrderType = 'Google_Service_ShoppingContent_TestOrder';
  5841. protected $testOrderDataType = '';
  5842. public function setTemplateName($templateName)
  5843. {
  5844. $this->templateName = $templateName;
  5845. }
  5846. public function getTemplateName()
  5847. {
  5848. return $this->templateName;
  5849. }
  5850. public function setTestOrder(Google_Service_ShoppingContent_TestOrder $testOrder)
  5851. {
  5852. $this->testOrder = $testOrder;
  5853. }
  5854. public function getTestOrder()
  5855. {
  5856. return $this->testOrder;
  5857. }
  5858. }
  5859. class Google_Service_ShoppingContent_OrdersCreateTestOrderResponse extends Google_Model
  5860. {
  5861. protected $internal_gapi_mappings = array(
  5862. );
  5863. public $kind;
  5864. public $orderId;
  5865. public function setKind($kind)
  5866. {
  5867. $this->kind = $kind;
  5868. }
  5869. public function getKind()
  5870. {
  5871. return $this->kind;
  5872. }
  5873. public function setOrderId($orderId)
  5874. {
  5875. $this->orderId = $orderId;
  5876. }
  5877. public function getOrderId()
  5878. {
  5879. return $this->orderId;
  5880. }
  5881. }
  5882. class Google_Service_ShoppingContent_OrdersCustomBatchRequest extends Google_Collection
  5883. {
  5884. protected $collection_key = 'entries';
  5885. protected $internal_gapi_mappings = array(
  5886. );
  5887. protected $entriesType = 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntry';
  5888. protected $entriesDataType = 'array';
  5889. public function setEntries($entries)
  5890. {
  5891. $this->entries = $entries;
  5892. }
  5893. public function getEntries()
  5894. {
  5895. return $this->entries;
  5896. }
  5897. }
  5898. class Google_Service_ShoppingContent_OrdersCustomBatchRequestEntry extends Google_Model
  5899. {
  5900. protected $internal_gapi_mappings = array(
  5901. );
  5902. public $batchId;
  5903. protected $cancelType = 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryCancel';
  5904. protected $cancelDataType = '';
  5905. protected $cancelLineItemType = 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryCancelLineItem';
  5906. protected $cancelLineItemDataType = '';
  5907. public $merchantId;
  5908. public $merchantOrderId;
  5909. public $method;
  5910. public $operationId;
  5911. public $orderId;
  5912. protected $refundType = 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryRefund';
  5913. protected $refundDataType = '';
  5914. protected $returnLineItemType = 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryReturnLineItem';
  5915. protected $returnLineItemDataType = '';
  5916. protected $shipLineItemsType = 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryShipLineItems';
  5917. protected $shipLineItemsDataType = '';
  5918. protected $updateShipmentType = 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryUpdateShipment';
  5919. protected $updateShipmentDataType = '';
  5920. public function setBatchId($batchId)
  5921. {
  5922. $this->batchId = $batchId;
  5923. }
  5924. public function getBatchId()
  5925. {
  5926. return $this->batchId;
  5927. }
  5928. public function setCancel(Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryCancel $cancel)
  5929. {
  5930. $this->cancel = $cancel;
  5931. }
  5932. public function getCancel()
  5933. {
  5934. return $this->cancel;
  5935. }
  5936. public function setCancelLineItem(Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryCancelLineItem $cancelLineItem)
  5937. {
  5938. $this->cancelLineItem = $cancelLineItem;
  5939. }
  5940. public function getCancelLineItem()
  5941. {
  5942. return $this->cancelLineItem;
  5943. }
  5944. public function setMerchantId($merchantId)
  5945. {
  5946. $this->merchantId = $merchantId;
  5947. }
  5948. public function getMerchantId()
  5949. {
  5950. return $this->merchantId;
  5951. }
  5952. public function setMerchantOrderId($merchantOrderId)
  5953. {
  5954. $this->merchantOrderId = $merchantOrderId;
  5955. }
  5956. public function getMerchantOrderId()
  5957. {
  5958. return $this->merchantOrderId;
  5959. }
  5960. public function setMethod($method)
  5961. {
  5962. $this->method = $method;
  5963. }
  5964. public function getMethod()
  5965. {
  5966. return $this->method;
  5967. }
  5968. public function setOperationId($operationId)
  5969. {
  5970. $this->operationId = $operationId;
  5971. }
  5972. public function getOperationId()
  5973. {
  5974. return $this->operationId;
  5975. }
  5976. public function setOrderId($orderId)
  5977. {
  5978. $this->orderId = $orderId;
  5979. }
  5980. public function getOrderId()
  5981. {
  5982. return $this->orderId;
  5983. }
  5984. public function setRefund(Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryRefund $refund)
  5985. {
  5986. $this->refund = $refund;
  5987. }
  5988. public function getRefund()
  5989. {
  5990. return $this->refund;
  5991. }
  5992. public function setReturnLineItem(Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryReturnLineItem $returnLineItem)
  5993. {
  5994. $this->returnLineItem = $returnLineItem;
  5995. }
  5996. public function getReturnLineItem()
  5997. {
  5998. return $this->returnLineItem;
  5999. }
  6000. public function setShipLineItems(Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryShipLineItems $shipLineItems)
  6001. {
  6002. $this->shipLineItems = $shipLineItems;
  6003. }
  6004. public function getShipLineItems()
  6005. {
  6006. return $this->shipLineItems;
  6007. }
  6008. public function setUpdateShipment(Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryUpdateShipment $updateShipment)
  6009. {
  6010. $this->updateShipment = $updateShipment;
  6011. }
  6012. public function getUpdateShipment()
  6013. {
  6014. return $this->updateShipment;
  6015. }
  6016. }
  6017. class Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryCancel extends Google_Model
  6018. {
  6019. protected $internal_gapi_mappings = array(
  6020. );
  6021. public $reason;
  6022. public $reasonText;
  6023. public function setReason($reason)
  6024. {
  6025. $this->reason = $reason;
  6026. }
  6027. public function getReason()
  6028. {
  6029. return $this->reason;
  6030. }
  6031. public function setReasonText($reasonText)
  6032. {
  6033. $this->reasonText = $reasonText;
  6034. }
  6035. public function getReasonText()
  6036. {
  6037. return $this->reasonText;
  6038. }
  6039. }
  6040. class Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryCancelLineItem extends Google_Model
  6041. {
  6042. protected $internal_gapi_mappings = array(
  6043. );
  6044. public $lineItemId;
  6045. public $quantity;
  6046. public $reason;
  6047. public $reasonText;
  6048. public function setLineItemId($lineItemId)
  6049. {
  6050. $this->lineItemId = $lineItemId;
  6051. }
  6052. public function getLineItemId()
  6053. {
  6054. return $this->lineItemId;
  6055. }
  6056. public function setQuantity($quantity)
  6057. {
  6058. $this->quantity = $quantity;
  6059. }
  6060. public function getQuantity()
  6061. {
  6062. return $this->quantity;
  6063. }
  6064. public function setReason($reason)
  6065. {
  6066. $this->reason = $reason;
  6067. }
  6068. public function getReason()
  6069. {
  6070. return $this->reason;
  6071. }
  6072. public function setReasonText($reasonText)
  6073. {
  6074. $this->reasonText = $reasonText;
  6075. }
  6076. public function getReasonText()
  6077. {
  6078. return $this->reasonText;
  6079. }
  6080. }
  6081. class Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryRefund extends Google_Model
  6082. {
  6083. protected $internal_gapi_mappings = array(
  6084. );
  6085. protected $amountType = 'Google_Service_ShoppingContent_Price';
  6086. protected $amountDataType = '';
  6087. public $reason;
  6088. public $reasonText;
  6089. public function setAmount(Google_Service_ShoppingContent_Price $amount)
  6090. {
  6091. $this->amount = $amount;
  6092. }
  6093. public function getAmount()
  6094. {
  6095. return $this->amount;
  6096. }
  6097. public function setReason($reason)
  6098. {
  6099. $this->reason = $reason;
  6100. }
  6101. public function getReason()
  6102. {
  6103. return $this->reason;
  6104. }
  6105. public function setReasonText($reasonText)
  6106. {
  6107. $this->reasonText = $reasonText;
  6108. }
  6109. public function getReasonText()
  6110. {
  6111. return $this->reasonText;
  6112. }
  6113. }
  6114. class Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryReturnLineItem extends Google_Model
  6115. {
  6116. protected $internal_gapi_mappings = array(
  6117. );
  6118. public $lineItemId;
  6119. public $quantity;
  6120. public $reason;
  6121. public $reasonText;
  6122. public function setLineItemId($lineItemId)
  6123. {
  6124. $this->lineItemId = $lineItemId;
  6125. }
  6126. public function getLineItemId()
  6127. {
  6128. return $this->lineItemId;
  6129. }
  6130. public function setQuantity($quantity)
  6131. {
  6132. $this->quantity = $quantity;
  6133. }
  6134. public function getQuantity()
  6135. {
  6136. return $this->quantity;
  6137. }
  6138. public function setReason($reason)
  6139. {
  6140. $this->reason = $reason;
  6141. }
  6142. public function getReason()
  6143. {
  6144. return $this->reason;
  6145. }
  6146. public function setReasonText($reasonText)
  6147. {
  6148. $this->reasonText = $reasonText;
  6149. }
  6150. public function getReasonText()
  6151. {
  6152. return $this->reasonText;
  6153. }
  6154. }
  6155. class Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryShipLineItems extends Google_Collection
  6156. {
  6157. protected $collection_key = 'lineItems';
  6158. protected $internal_gapi_mappings = array(
  6159. );
  6160. public $carrier;
  6161. protected $lineItemsType = 'Google_Service_ShoppingContent_OrderShipmentLineItemShipment';
  6162. protected $lineItemsDataType = 'array';
  6163. public $shipmentId;
  6164. public $trackingId;
  6165. public function setCarrier($carrier)
  6166. {
  6167. $this->carrier = $carrier;
  6168. }
  6169. public function getCarrier()
  6170. {
  6171. return $this->carrier;
  6172. }
  6173. public function setLineItems($lineItems)
  6174. {
  6175. $this->lineItems = $lineItems;
  6176. }
  6177. public function getLineItems()
  6178. {
  6179. return $this->lineItems;
  6180. }
  6181. public function setShipmentId($shipmentId)
  6182. {
  6183. $this->shipmentId = $shipmentId;
  6184. }
  6185. public function getShipmentId()
  6186. {
  6187. return $this->shipmentId;
  6188. }
  6189. public function setTrackingId($trackingId)
  6190. {
  6191. $this->trackingId = $trackingId;
  6192. }
  6193. public function getTrackingId()
  6194. {
  6195. return $this->trackingId;
  6196. }
  6197. }
  6198. class Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryUpdateShipment extends Google_Model
  6199. {
  6200. protected $internal_gapi_mappings = array(
  6201. );
  6202. public $carrier;
  6203. public $shipmentId;
  6204. public $status;
  6205. public $trackingId;
  6206. public function setCarrier($carrier)
  6207. {
  6208. $this->carrier = $carrier;
  6209. }
  6210. public function getCarrier()
  6211. {
  6212. return $this->carrier;
  6213. }
  6214. public function setShipmentId($shipmentId)
  6215. {
  6216. $this->shipmentId = $shipmentId;
  6217. }
  6218. public function getShipmentId()
  6219. {
  6220. return $this->shipmentId;
  6221. }
  6222. public function setStatus($status)
  6223. {
  6224. $this->status = $status;
  6225. }
  6226. public function getStatus()
  6227. {
  6228. return $this->status;
  6229. }
  6230. public function setTrackingId($trackingId)
  6231. {
  6232. $this->trackingId = $trackingId;
  6233. }
  6234. public function getTrackingId()
  6235. {
  6236. return $this->trackingId;
  6237. }
  6238. }
  6239. class Google_Service_ShoppingContent_OrdersCustomBatchResponse extends Google_Collection
  6240. {
  6241. protected $collection_key = 'entries';
  6242. protected $internal_gapi_mappings = array(
  6243. );
  6244. protected $entriesType = 'Google_Service_ShoppingContent_OrdersCustomBatchResponseEntry';
  6245. protected $entriesDataType = 'array';
  6246. public $kind;
  6247. public function setEntries($entries)
  6248. {
  6249. $this->entries = $entries;
  6250. }
  6251. public function getEntries()
  6252. {
  6253. return $this->entries;
  6254. }
  6255. public function setKind($kind)
  6256. {
  6257. $this->kind = $kind;
  6258. }
  6259. public function getKind()
  6260. {
  6261. return $this->kind;
  6262. }
  6263. }
  6264. class Google_Service_ShoppingContent_OrdersCustomBatchResponseEntry extends Google_Model
  6265. {
  6266. protected $internal_gapi_mappings = array(
  6267. );
  6268. public $batchId;
  6269. protected $errorsType = 'Google_Service_ShoppingContent_Errors';
  6270. protected $errorsDataType = '';
  6271. public $executionStatus;
  6272. public $kind;
  6273. protected $orderType = 'Google_Service_ShoppingContent_Order';
  6274. protected $orderDataType = '';
  6275. public function setBatchId($batchId)
  6276. {
  6277. $this->batchId = $batchId;
  6278. }
  6279. public function getBatchId()
  6280. {
  6281. return $this->batchId;
  6282. }
  6283. public function setErrors(Google_Service_ShoppingContent_Errors $errors)
  6284. {
  6285. $this->errors = $errors;
  6286. }
  6287. public function getErrors()
  6288. {
  6289. return $this->errors;
  6290. }
  6291. public function setExecutionStatus($executionStatus)
  6292. {
  6293. $this->executionStatus = $executionStatus;
  6294. }
  6295. public function getExecutionStatus()
  6296. {
  6297. return $this->executionStatus;
  6298. }
  6299. public function setKind($kind)
  6300. {
  6301. $this->kind = $kind;
  6302. }
  6303. public function getKind()
  6304. {
  6305. return $this->kind;
  6306. }
  6307. public function setOrder(Google_Service_ShoppingContent_Order $order)
  6308. {
  6309. $this->order = $order;
  6310. }
  6311. public function getOrder()
  6312. {
  6313. return $this->order;
  6314. }
  6315. }
  6316. class Google_Service_ShoppingContent_OrdersGetByMerchantOrderIdResponse extends Google_Model
  6317. {
  6318. protected $internal_gapi_mappings = array(
  6319. );
  6320. public $kind;
  6321. protected $orderType = 'Google_Service_ShoppingContent_Order';
  6322. protected $orderDataType = '';
  6323. public function setKind($kind)
  6324. {
  6325. $this->kind = $kind;
  6326. }
  6327. public function getKind()
  6328. {
  6329. return $this->kind;
  6330. }
  6331. public function setOrder(Google_Service_ShoppingContent_Order $order)
  6332. {
  6333. $this->order = $order;
  6334. }
  6335. public function getOrder()
  6336. {
  6337. return $this->order;
  6338. }
  6339. }
  6340. class Google_Service_ShoppingContent_OrdersGetTestOrderTemplateResponse extends Google_Model
  6341. {
  6342. protected $internal_gapi_mappings = array(
  6343. );
  6344. public $kind;
  6345. protected $templateType = 'Google_Service_ShoppingContent_TestOrder';
  6346. protected $templateDataType = '';
  6347. public function setKind($kind)
  6348. {
  6349. $this->kind = $kind;
  6350. }
  6351. public function getKind()
  6352. {
  6353. return $this->kind;
  6354. }
  6355. public function setTemplate(Google_Service_ShoppingContent_TestOrder $template)
  6356. {
  6357. $this->template = $template;
  6358. }
  6359. public function getTemplate()
  6360. {
  6361. return $this->template;
  6362. }
  6363. }
  6364. class Google_Service_ShoppingContent_OrdersListResponse extends Google_Collection
  6365. {
  6366. protected $collection_key = 'resources';
  6367. protected $internal_gapi_mappings = array(
  6368. );
  6369. public $kind;
  6370. public $nextPageToken;
  6371. protected $resourcesType = 'Google_Service_ShoppingContent_Order';
  6372. protected $resourcesDataType = 'array';
  6373. public function setKind($kind)
  6374. {
  6375. $this->kind = $kind;
  6376. }
  6377. public function getKind()
  6378. {
  6379. return $this->kind;
  6380. }
  6381. public function setNextPageToken($nextPageToken)
  6382. {
  6383. $this->nextPageToken = $nextPageToken;
  6384. }
  6385. public function getNextPageToken()
  6386. {
  6387. return $this->nextPageToken;
  6388. }
  6389. public function setResources($resources)
  6390. {
  6391. $this->resources = $resources;
  6392. }
  6393. public function getResources()
  6394. {
  6395. return $this->resources;
  6396. }
  6397. }
  6398. class Google_Service_ShoppingContent_OrdersRefundRequest extends Google_Model
  6399. {
  6400. protected $internal_gapi_mappings = array(
  6401. );
  6402. protected $amountType = 'Google_Service_ShoppingContent_Price';
  6403. protected $amountDataType = '';
  6404. public $operationId;
  6405. public $reason;
  6406. public $reasonText;
  6407. public function setAmount(Google_Service_ShoppingContent_Price $amount)
  6408. {
  6409. $this->amount = $amount;
  6410. }
  6411. public function getAmount()
  6412. {
  6413. return $this->amount;
  6414. }
  6415. public function setOperationId($operationId)
  6416. {
  6417. $this->operationId = $operationId;
  6418. }
  6419. public function getOperationId()
  6420. {
  6421. return $this->operationId;
  6422. }
  6423. public function setReason($reason)
  6424. {
  6425. $this->reason = $reason;
  6426. }
  6427. public function getReason()
  6428. {
  6429. return $this->reason;
  6430. }
  6431. public function setReasonText($reasonText)
  6432. {
  6433. $this->reasonText = $reasonText;
  6434. }
  6435. public function getReasonText()
  6436. {
  6437. return $this->reasonText;
  6438. }
  6439. }
  6440. class Google_Service_ShoppingContent_OrdersRefundResponse extends Google_Model
  6441. {
  6442. protected $internal_gapi_mappings = array(
  6443. );
  6444. public $executionStatus;
  6445. public $kind;
  6446. public function setExecutionStatus($executionStatus)
  6447. {
  6448. $this->executionStatus = $executionStatus;
  6449. }
  6450. public function getExecutionStatus()
  6451. {
  6452. return $this->executionStatus;
  6453. }
  6454. public function setKind($kind)
  6455. {
  6456. $this->kind = $kind;
  6457. }
  6458. public function getKind()
  6459. {
  6460. return $this->kind;
  6461. }
  6462. }
  6463. class Google_Service_ShoppingContent_OrdersReturnLineItemRequest extends Google_Model
  6464. {
  6465. protected $internal_gapi_mappings = array(
  6466. );
  6467. public $lineItemId;
  6468. public $operationId;
  6469. public $quantity;
  6470. public $reason;
  6471. public $reasonText;
  6472. public function setLineItemId($lineItemId)
  6473. {
  6474. $this->lineItemId = $lineItemId;
  6475. }
  6476. public function getLineItemId()
  6477. {
  6478. return $this->lineItemId;
  6479. }
  6480. public function setOperationId($operationId)
  6481. {
  6482. $this->operationId = $operationId;
  6483. }
  6484. public function getOperationId()
  6485. {
  6486. return $this->operationId;
  6487. }
  6488. public function setQuantity($quantity)
  6489. {
  6490. $this->quantity = $quantity;
  6491. }
  6492. public function getQuantity()
  6493. {
  6494. return $this->quantity;
  6495. }
  6496. public function setReason($reason)
  6497. {
  6498. $this->reason = $reason;
  6499. }
  6500. public function getReason()
  6501. {
  6502. return $this->reason;
  6503. }
  6504. public function setReasonText($reasonText)
  6505. {
  6506. $this->reasonText = $reasonText;
  6507. }
  6508. public function getReasonText()
  6509. {
  6510. return $this->reasonText;
  6511. }
  6512. }
  6513. class Google_Service_ShoppingContent_OrdersReturnLineItemResponse extends Google_Model
  6514. {
  6515. protected $internal_gapi_mappings = array(
  6516. );
  6517. public $executionStatus;
  6518. public $kind;
  6519. public function setExecutionStatus($executionStatus)
  6520. {
  6521. $this->executionStatus = $executionStatus;
  6522. }
  6523. public function getExecutionStatus()
  6524. {
  6525. return $this->executionStatus;
  6526. }
  6527. public function setKind($kind)
  6528. {
  6529. $this->kind = $kind;
  6530. }
  6531. public function getKind()
  6532. {
  6533. return $this->kind;
  6534. }
  6535. }
  6536. class Google_Service_ShoppingContent_OrdersShipLineItemsRequest extends Google_Collection
  6537. {
  6538. protected $collection_key = 'lineItems';
  6539. protected $internal_gapi_mappings = array(
  6540. );
  6541. public $carrier;
  6542. protected $lineItemsType = 'Google_Service_ShoppingContent_OrderShipmentLineItemShipment';
  6543. protected $lineItemsDataType = 'array';
  6544. public $operationId;
  6545. public $shipmentId;
  6546. public $trackingId;
  6547. public function setCarrier($carrier)
  6548. {
  6549. $this->carrier = $carrier;
  6550. }
  6551. public function getCarrier()
  6552. {
  6553. return $this->carrier;
  6554. }
  6555. public function setLineItems($lineItems)
  6556. {
  6557. $this->lineItems = $lineItems;
  6558. }
  6559. public function getLineItems()
  6560. {
  6561. return $this->lineItems;
  6562. }
  6563. public function setOperationId($operationId)
  6564. {
  6565. $this->operationId = $operationId;
  6566. }
  6567. public function getOperationId()
  6568. {
  6569. return $this->operationId;
  6570. }
  6571. public function setShipmentId($shipmentId)
  6572. {
  6573. $this->shipmentId = $shipmentId;
  6574. }
  6575. public function getShipmentId()
  6576. {
  6577. return $this->shipmentId;
  6578. }
  6579. public function setTrackingId($trackingId)
  6580. {
  6581. $this->trackingId = $trackingId;
  6582. }
  6583. public function getTrackingId()
  6584. {
  6585. return $this->trackingId;
  6586. }
  6587. }
  6588. class Google_Service_ShoppingContent_OrdersShipLineItemsResponse extends Google_Model
  6589. {
  6590. protected $internal_gapi_mappings = array(
  6591. );
  6592. public $executionStatus;
  6593. public $kind;
  6594. public function setExecutionStatus($executionStatus)
  6595. {
  6596. $this->executionStatus = $executionStatus;
  6597. }
  6598. public function getExecutionStatus()
  6599. {
  6600. return $this->executionStatus;
  6601. }
  6602. public function setKind($kind)
  6603. {
  6604. $this->kind = $kind;
  6605. }
  6606. public function getKind()
  6607. {
  6608. return $this->kind;
  6609. }
  6610. }
  6611. class Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdRequest extends Google_Model
  6612. {
  6613. protected $internal_gapi_mappings = array(
  6614. );
  6615. public $merchantOrderId;
  6616. public $operationId;
  6617. public function setMerchantOrderId($merchantOrderId)
  6618. {
  6619. $this->merchantOrderId = $merchantOrderId;
  6620. }
  6621. public function getMerchantOrderId()
  6622. {
  6623. return $this->merchantOrderId;
  6624. }
  6625. public function setOperationId($operationId)
  6626. {
  6627. $this->operationId = $operationId;
  6628. }
  6629. public function getOperationId()
  6630. {
  6631. return $this->operationId;
  6632. }
  6633. }
  6634. class Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdResponse extends Google_Model
  6635. {
  6636. protected $internal_gapi_mappings = array(
  6637. );
  6638. public $executionStatus;
  6639. public $kind;
  6640. public function setExecutionStatus($executionStatus)
  6641. {
  6642. $this->executionStatus = $executionStatus;
  6643. }
  6644. public function getExecutionStatus()
  6645. {
  6646. return $this->executionStatus;
  6647. }
  6648. public function setKind($kind)
  6649. {
  6650. $this->kind = $kind;
  6651. }
  6652. public function getKind()
  6653. {
  6654. return $this->kind;
  6655. }
  6656. }
  6657. class Google_Service_ShoppingContent_OrdersUpdateShipmentRequest extends Google_Model
  6658. {
  6659. protected $internal_gapi_mappings = array(
  6660. );
  6661. public $carrier;
  6662. public $operationId;
  6663. public $shipmentId;
  6664. public $status;
  6665. public $trackingId;
  6666. public function setCarrier($carrier)
  6667. {
  6668. $this->carrier = $carrier;
  6669. }
  6670. public function getCarrier()
  6671. {
  6672. return $this->carrier;
  6673. }
  6674. public function setOperationId($operationId)
  6675. {
  6676. $this->operationId = $operationId;
  6677. }
  6678. public function getOperationId()
  6679. {
  6680. return $this->operationId;
  6681. }
  6682. public function setShipmentId($shipmentId)
  6683. {
  6684. $this->shipmentId = $shipmentId;
  6685. }
  6686. public function getShipmentId()
  6687. {
  6688. return $this->shipmentId;
  6689. }
  6690. public function setStatus($status)
  6691. {
  6692. $this->status = $status;
  6693. }
  6694. public function getStatus()
  6695. {
  6696. return $this->status;
  6697. }
  6698. public function setTrackingId($trackingId)
  6699. {
  6700. $this->trackingId = $trackingId;
  6701. }
  6702. public function getTrackingId()
  6703. {
  6704. return $this->trackingId;
  6705. }
  6706. }
  6707. class Google_Service_ShoppingContent_OrdersUpdateShipmentResponse extends Google_Model
  6708. {
  6709. protected $internal_gapi_mappings = array(
  6710. );
  6711. public $executionStatus;
  6712. public $kind;
  6713. public function setExecutionStatus($executionStatus)
  6714. {
  6715. $this->executionStatus = $executionStatus;
  6716. }
  6717. public function getExecutionStatus()
  6718. {
  6719. return $this->executionStatus;
  6720. }
  6721. public function setKind($kind)
  6722. {
  6723. $this->kind = $kind;
  6724. }
  6725. public function getKind()
  6726. {
  6727. return $this->kind;
  6728. }
  6729. }
  6730. class Google_Service_ShoppingContent_Price extends Google_Model
  6731. {
  6732. protected $internal_gapi_mappings = array(
  6733. );
  6734. public $currency;
  6735. public $value;
  6736. public function setCurrency($currency)
  6737. {
  6738. $this->currency = $currency;
  6739. }
  6740. public function getCurrency()
  6741. {
  6742. return $this->currency;
  6743. }
  6744. public function setValue($value)
  6745. {
  6746. $this->value = $value;
  6747. }
  6748. public function getValue()
  6749. {
  6750. return $this->value;
  6751. }
  6752. }
  6753. class Google_Service_ShoppingContent_Product extends Google_Collection
  6754. {
  6755. protected $collection_key = 'warnings';
  6756. protected $internal_gapi_mappings = array(
  6757. );
  6758. public $additionalImageLinks;
  6759. public $adult;
  6760. public $adwordsGrouping;
  6761. public $adwordsLabels;
  6762. public $adwordsRedirect;
  6763. public $ageGroup;
  6764. protected $aspectsType = 'Google_Service_ShoppingContent_ProductAspect';
  6765. protected $aspectsDataType = 'array';
  6766. public $availability;
  6767. public $availabilityDate;
  6768. public $brand;
  6769. public $channel;
  6770. public $color;
  6771. public $condition;
  6772. public $contentLanguage;
  6773. protected $customAttributesType = 'Google_Service_ShoppingContent_ProductCustomAttribute';
  6774. protected $customAttributesDataType = 'array';
  6775. protected $customGroupsType = 'Google_Service_ShoppingContent_ProductCustomGroup';
  6776. protected $customGroupsDataType = 'array';
  6777. public $customLabel0;
  6778. public $customLabel1;
  6779. public $customLabel2;
  6780. public $customLabel3;
  6781. public $customLabel4;
  6782. public $description;
  6783. protected $destinationsType = 'Google_Service_ShoppingContent_ProductDestination';
  6784. protected $destinationsDataType = 'array';
  6785. public $displayAdsId;
  6786. public $displayAdsLink;
  6787. public $displayAdsSimilarIds;
  6788. public $displayAdsTitle;
  6789. public $displayAdsValue;
  6790. public $energyEfficiencyClass;
  6791. public $expirationDate;
  6792. public $gender;
  6793. public $googleProductCategory;
  6794. public $gtin;
  6795. public $id;
  6796. public $identifierExists;
  6797. public $imageLink;
  6798. protected $installmentType = 'Google_Service_ShoppingContent_ProductInstallment';
  6799. protected $installmentDataType = '';
  6800. public $isBundle;
  6801. public $itemGroupId;
  6802. public $kind;
  6803. public $link;
  6804. protected $loyaltyPointsType = 'Google_Service_ShoppingContent_LoyaltyPoints';
  6805. protected $loyaltyPointsDataType = '';
  6806. public $material;
  6807. public $mobileLink;
  6808. public $mpn;
  6809. public $multipack;
  6810. public $offerId;
  6811. public $onlineOnly;
  6812. public $pattern;
  6813. protected $priceType = 'Google_Service_ShoppingContent_Price';
  6814. protected $priceDataType = '';
  6815. public $productType;
  6816. protected $salePriceType = 'Google_Service_ShoppingContent_Price';
  6817. protected $salePriceDataType = '';
  6818. public $salePriceEffectiveDate;
  6819. public $sellOnGoogleQuantity;
  6820. protected $shippingType = 'Google_Service_ShoppingContent_ProductShipping';
  6821. protected $shippingDataType = 'array';
  6822. protected $shippingHeightType = 'Google_Service_ShoppingContent_ProductShippingDimension';
  6823. protected $shippingHeightDataType = '';
  6824. public $shippingLabel;
  6825. protected $shippingLengthType = 'Google_Service_ShoppingContent_ProductShippingDimension';
  6826. protected $shippingLengthDataType = '';
  6827. protected $shippingWeightType = 'Google_Service_ShoppingContent_ProductShippingWeight';
  6828. protected $shippingWeightDataType = '';
  6829. protected $shippingWidthType = 'Google_Service_ShoppingContent_ProductShippingDimension';
  6830. protected $shippingWidthDataType = '';
  6831. public $sizeSystem;
  6832. public $sizeType;
  6833. public $sizes;
  6834. public $targetCountry;
  6835. protected $taxesType = 'Google_Service_ShoppingContent_ProductTax';
  6836. protected $taxesDataType = 'array';
  6837. public $title;
  6838. protected $unitPricingBaseMeasureType = 'Google_Service_ShoppingContent_ProductUnitPricingBaseMeasure';
  6839. protected $unitPricingBaseMeasureDataType = '';
  6840. protected $unitPricingMeasureType = 'Google_Service_ShoppingContent_ProductUnitPricingMeasure';
  6841. protected $unitPricingMeasureDataType = '';
  6842. public $validatedDestinations;
  6843. protected $warningsType = 'Google_Service_ShoppingContent_Error';
  6844. protected $warningsDataType = 'array';
  6845. public function setAdditionalImageLinks($additionalImageLinks)
  6846. {
  6847. $this->additionalImageLinks = $additionalImageLinks;
  6848. }
  6849. public function getAdditionalImageLinks()
  6850. {
  6851. return $this->additionalImageLinks;
  6852. }
  6853. public function setAdult($adult)
  6854. {
  6855. $this->adult = $adult;
  6856. }
  6857. public function getAdult()
  6858. {
  6859. return $this->adult;
  6860. }
  6861. public function setAdwordsGrouping($adwordsGrouping)
  6862. {
  6863. $this->adwordsGrouping = $adwordsGrouping;
  6864. }
  6865. public function getAdwordsGrouping()
  6866. {
  6867. return $this->adwordsGrouping;
  6868. }
  6869. public function setAdwordsLabels($adwordsLabels)
  6870. {
  6871. $this->adwordsLabels = $adwordsLabels;
  6872. }
  6873. public function getAdwordsLabels()
  6874. {
  6875. return $this->adwordsLabels;
  6876. }
  6877. public function setAdwordsRedirect($adwordsRedirect)
  6878. {
  6879. $this->adwordsRedirect = $adwordsRedirect;
  6880. }
  6881. public function getAdwordsRedirect()
  6882. {
  6883. return $this->adwordsRedirect;
  6884. }
  6885. public function setAgeGroup($ageGroup)
  6886. {
  6887. $this->ageGroup = $ageGroup;
  6888. }
  6889. public function getAgeGroup()
  6890. {
  6891. return $this->ageGroup;
  6892. }
  6893. public function setAspects($aspects)
  6894. {
  6895. $this->aspects = $aspects;
  6896. }
  6897. public function getAspects()
  6898. {
  6899. return $this->aspects;
  6900. }
  6901. public function setAvailability($availability)
  6902. {
  6903. $this->availability = $availability;
  6904. }
  6905. public function getAvailability()
  6906. {
  6907. return $this->availability;
  6908. }
  6909. public function setAvailabilityDate($availabilityDate)
  6910. {
  6911. $this->availabilityDate = $availabilityDate;
  6912. }
  6913. public function getAvailabilityDate()
  6914. {
  6915. return $this->availabilityDate;
  6916. }
  6917. public function setBrand($brand)
  6918. {
  6919. $this->brand = $brand;
  6920. }
  6921. public function getBrand()
  6922. {
  6923. return $this->brand;
  6924. }
  6925. public function setChannel($channel)
  6926. {
  6927. $this->channel = $channel;
  6928. }
  6929. public function getChannel()
  6930. {
  6931. return $this->channel;
  6932. }
  6933. public function setColor($color)
  6934. {
  6935. $this->color = $color;
  6936. }
  6937. public function getColor()
  6938. {
  6939. return $this->color;
  6940. }
  6941. public function setCondition($condition)
  6942. {
  6943. $this->condition = $condition;
  6944. }
  6945. public function getCondition()
  6946. {
  6947. return $this->condition;
  6948. }
  6949. public function setContentLanguage($contentLanguage)
  6950. {
  6951. $this->contentLanguage = $contentLanguage;
  6952. }
  6953. public function getContentLanguage()
  6954. {
  6955. return $this->contentLanguage;
  6956. }
  6957. public function setCustomAttributes($customAttributes)
  6958. {
  6959. $this->customAttributes = $customAttributes;
  6960. }
  6961. public function getCustomAttributes()
  6962. {
  6963. return $this->customAttributes;
  6964. }
  6965. public function setCustomGroups($customGroups)
  6966. {
  6967. $this->customGroups = $customGroups;
  6968. }
  6969. public function getCustomGroups()
  6970. {
  6971. return $this->customGroups;
  6972. }
  6973. public function setCustomLabel0($customLabel0)
  6974. {
  6975. $this->customLabel0 = $customLabel0;
  6976. }
  6977. public function getCustomLabel0()
  6978. {
  6979. return $this->customLabel0;
  6980. }
  6981. public function setCustomLabel1($customLabel1)
  6982. {
  6983. $this->customLabel1 = $customLabel1;
  6984. }
  6985. public function getCustomLabel1()
  6986. {
  6987. return $this->customLabel1;
  6988. }
  6989. public function setCustomLabel2($customLabel2)
  6990. {
  6991. $this->customLabel2 = $customLabel2;
  6992. }
  6993. public function getCustomLabel2()
  6994. {
  6995. return $this->customLabel2;
  6996. }
  6997. public function setCustomLabel3($customLabel3)
  6998. {
  6999. $this->customLabel3 = $customLabel3;
  7000. }
  7001. public function getCustomLabel3()
  7002. {
  7003. return $this->customLabel3;
  7004. }
  7005. public function setCustomLabel4($customLabel4)
  7006. {
  7007. $this->customLabel4 = $customLabel4;
  7008. }
  7009. public function getCustomLabel4()
  7010. {
  7011. return $this->customLabel4;
  7012. }
  7013. public function setDescription($description)
  7014. {
  7015. $this->description = $description;
  7016. }
  7017. public function getDescription()
  7018. {
  7019. return $this->description;
  7020. }
  7021. public function setDestinations($destinations)
  7022. {
  7023. $this->destinations = $destinations;
  7024. }
  7025. public function getDestinations()
  7026. {
  7027. return $this->destinations;
  7028. }
  7029. public function setDisplayAdsId($displayAdsId)
  7030. {
  7031. $this->displayAdsId = $displayAdsId;
  7032. }
  7033. public function getDisplayAdsId()
  7034. {
  7035. return $this->displayAdsId;
  7036. }
  7037. public function setDisplayAdsLink($displayAdsLink)
  7038. {
  7039. $this->displayAdsLink = $displayAdsLink;
  7040. }
  7041. public function getDisplayAdsLink()
  7042. {
  7043. return $this->displayAdsLink;
  7044. }
  7045. public function setDisplayAdsSimilarIds($displayAdsSimilarIds)
  7046. {
  7047. $this->displayAdsSimilarIds = $displayAdsSimilarIds;
  7048. }
  7049. public function getDisplayAdsSimilarIds()
  7050. {
  7051. return $this->displayAdsSimilarIds;
  7052. }
  7053. public function setDisplayAdsTitle($displayAdsTitle)
  7054. {
  7055. $this->displayAdsTitle = $displayAdsTitle;
  7056. }
  7057. public function getDisplayAdsTitle()
  7058. {
  7059. return $this->displayAdsTitle;
  7060. }
  7061. public function setDisplayAdsValue($displayAdsValue)
  7062. {
  7063. $this->displayAdsValue = $displayAdsValue;
  7064. }
  7065. public function getDisplayAdsValue()
  7066. {
  7067. return $this->displayAdsValue;
  7068. }
  7069. public function setEnergyEfficiencyClass($energyEfficiencyClass)
  7070. {
  7071. $this->energyEfficiencyClass = $energyEfficiencyClass;
  7072. }
  7073. public function getEnergyEfficiencyClass()
  7074. {
  7075. return $this->energyEfficiencyClass;
  7076. }
  7077. public function setExpirationDate($expirationDate)
  7078. {
  7079. $this->expirationDate = $expirationDate;
  7080. }
  7081. public function getExpirationDate()
  7082. {
  7083. return $this->expirationDate;
  7084. }
  7085. public function setGender($gender)
  7086. {
  7087. $this->gender = $gender;
  7088. }
  7089. public function getGender()
  7090. {
  7091. return $this->gender;
  7092. }
  7093. public function setGoogleProductCategory($googleProductCategory)
  7094. {
  7095. $this->googleProductCategory = $googleProductCategory;
  7096. }
  7097. public function getGoogleProductCategory()
  7098. {
  7099. return $this->googleProductCategory;
  7100. }
  7101. public function setGtin($gtin)
  7102. {
  7103. $this->gtin = $gtin;
  7104. }
  7105. public function getGtin()
  7106. {
  7107. return $this->gtin;
  7108. }
  7109. public function setId($id)
  7110. {
  7111. $this->id = $id;
  7112. }
  7113. public function getId()
  7114. {
  7115. return $this->id;
  7116. }
  7117. public function setIdentifierExists($identifierExists)
  7118. {
  7119. $this->identifierExists = $identifierExists;
  7120. }
  7121. public function getIdentifierExists()
  7122. {
  7123. return $this->identifierExists;
  7124. }
  7125. public function setImageLink($imageLink)
  7126. {
  7127. $this->imageLink = $imageLink;
  7128. }
  7129. public function getImageLink()
  7130. {
  7131. return $this->imageLink;
  7132. }
  7133. public function setInstallment(Google_Service_ShoppingContent_ProductInstallment $installment)
  7134. {
  7135. $this->installment = $installment;
  7136. }
  7137. public function getInstallment()
  7138. {
  7139. return $this->installment;
  7140. }
  7141. public function setIsBundle($isBundle)
  7142. {
  7143. $this->isBundle = $isBundle;
  7144. }
  7145. public function getIsBundle()
  7146. {
  7147. return $this->isBundle;
  7148. }
  7149. public function setItemGroupId($itemGroupId)
  7150. {
  7151. $this->itemGroupId = $itemGroupId;
  7152. }
  7153. public function getItemGroupId()
  7154. {
  7155. return $this->itemGroupId;
  7156. }
  7157. public function setKind($kind)
  7158. {
  7159. $this->kind = $kind;
  7160. }
  7161. public function getKind()
  7162. {
  7163. return $this->kind;
  7164. }
  7165. public function setLink($link)
  7166. {
  7167. $this->link = $link;
  7168. }
  7169. public function getLink()
  7170. {
  7171. return $this->link;
  7172. }
  7173. public function setLoyaltyPoints(Google_Service_ShoppingContent_LoyaltyPoints $loyaltyPoints)
  7174. {
  7175. $this->loyaltyPoints = $loyaltyPoints;
  7176. }
  7177. public function getLoyaltyPoints()
  7178. {
  7179. return $this->loyaltyPoints;
  7180. }
  7181. public function setMaterial($material)
  7182. {
  7183. $this->material = $material;
  7184. }
  7185. public function getMaterial()
  7186. {
  7187. return $this->material;
  7188. }
  7189. public function setMobileLink($mobileLink)
  7190. {
  7191. $this->mobileLink = $mobileLink;
  7192. }
  7193. public function getMobileLink()
  7194. {
  7195. return $this->mobileLink;
  7196. }
  7197. public function setMpn($mpn)
  7198. {
  7199. $this->mpn = $mpn;
  7200. }
  7201. public function getMpn()
  7202. {
  7203. return $this->mpn;
  7204. }
  7205. public function setMultipack($multipack)
  7206. {
  7207. $this->multipack = $multipack;
  7208. }
  7209. public function getMultipack()
  7210. {
  7211. return $this->multipack;
  7212. }
  7213. public function setOfferId($offerId)
  7214. {
  7215. $this->offerId = $offerId;
  7216. }
  7217. public function getOfferId()
  7218. {
  7219. return $this->offerId;
  7220. }
  7221. public function setOnlineOnly($onlineOnly)
  7222. {
  7223. $this->onlineOnly = $onlineOnly;
  7224. }
  7225. public function getOnlineOnly()
  7226. {
  7227. return $this->onlineOnly;
  7228. }
  7229. public function setPattern($pattern)
  7230. {
  7231. $this->pattern = $pattern;
  7232. }
  7233. public function getPattern()
  7234. {
  7235. return $this->pattern;
  7236. }
  7237. public function setPrice(Google_Service_ShoppingContent_Price $price)
  7238. {
  7239. $this->price = $price;
  7240. }
  7241. public function getPrice()
  7242. {
  7243. return $this->price;
  7244. }
  7245. public function setProductType($productType)
  7246. {
  7247. $this->productType = $productType;
  7248. }
  7249. public function getProductType()
  7250. {
  7251. return $this->productType;
  7252. }
  7253. public function setSalePrice(Google_Service_ShoppingContent_Price $salePrice)
  7254. {
  7255. $this->salePrice = $salePrice;
  7256. }
  7257. public function getSalePrice()
  7258. {
  7259. return $this->salePrice;
  7260. }
  7261. public function setSalePriceEffectiveDate($salePriceEffectiveDate)
  7262. {
  7263. $this->salePriceEffectiveDate = $salePriceEffectiveDate;
  7264. }
  7265. public function getSalePriceEffectiveDate()
  7266. {
  7267. return $this->salePriceEffectiveDate;
  7268. }
  7269. public function setSellOnGoogleQuantity($sellOnGoogleQuantity)
  7270. {
  7271. $this->sellOnGoogleQuantity = $sellOnGoogleQuantity;
  7272. }
  7273. public function getSellOnGoogleQuantity()
  7274. {
  7275. return $this->sellOnGoogleQuantity;
  7276. }
  7277. public function setShipping($shipping)
  7278. {
  7279. $this->shipping = $shipping;
  7280. }
  7281. public function getShipping()
  7282. {
  7283. return $this->shipping;
  7284. }
  7285. public function setShippingHeight(Google_Service_ShoppingContent_ProductShippingDimension $shippingHeight)
  7286. {
  7287. $this->shippingHeight = $shippingHeight;
  7288. }
  7289. public function getShippingHeight()
  7290. {
  7291. return $this->shippingHeight;
  7292. }
  7293. public function setShippingLabel($shippingLabel)
  7294. {
  7295. $this->shippingLabel = $shippingLabel;
  7296. }
  7297. public function getShippingLabel()
  7298. {
  7299. return $this->shippingLabel;
  7300. }
  7301. public function setShippingLength(Google_Service_ShoppingContent_ProductShippingDimension $shippingLength)
  7302. {
  7303. $this->shippingLength = $shippingLength;
  7304. }
  7305. public function getShippingLength()
  7306. {
  7307. return $this->shippingLength;
  7308. }
  7309. public function setShippingWeight(Google_Service_ShoppingContent_ProductShippingWeight $shippingWeight)
  7310. {
  7311. $this->shippingWeight = $shippingWeight;
  7312. }
  7313. public function getShippingWeight()
  7314. {
  7315. return $this->shippingWeight;
  7316. }
  7317. public function setShippingWidth(Google_Service_ShoppingContent_ProductShippingDimension $shippingWidth)
  7318. {
  7319. $this->shippingWidth = $shippingWidth;
  7320. }
  7321. public function getShippingWidth()
  7322. {
  7323. return $this->shippingWidth;
  7324. }
  7325. public function setSizeSystem($sizeSystem)
  7326. {
  7327. $this->sizeSystem = $sizeSystem;
  7328. }
  7329. public function getSizeSystem()
  7330. {
  7331. return $this->sizeSystem;
  7332. }
  7333. public function setSizeType($sizeType)
  7334. {
  7335. $this->sizeType = $sizeType;
  7336. }
  7337. public function getSizeType()
  7338. {
  7339. return $this->sizeType;
  7340. }
  7341. public function setSizes($sizes)
  7342. {
  7343. $this->sizes = $sizes;
  7344. }
  7345. public function getSizes()
  7346. {
  7347. return $this->sizes;
  7348. }
  7349. public function setTargetCountry($targetCountry)
  7350. {
  7351. $this->targetCountry = $targetCountry;
  7352. }
  7353. public function getTargetCountry()
  7354. {
  7355. return $this->targetCountry;
  7356. }
  7357. public function setTaxes($taxes)
  7358. {
  7359. $this->taxes = $taxes;
  7360. }
  7361. public function getTaxes()
  7362. {
  7363. return $this->taxes;
  7364. }
  7365. public function setTitle($title)
  7366. {
  7367. $this->title = $title;
  7368. }
  7369. public function getTitle()
  7370. {
  7371. return $this->title;
  7372. }
  7373. public function setUnitPricingBaseMeasure(Google_Service_ShoppingContent_ProductUnitPricingBaseMeasure $unitPricingBaseMeasure)
  7374. {
  7375. $this->unitPricingBaseMeasure = $unitPricingBaseMeasure;
  7376. }
  7377. public function getUnitPricingBaseMeasure()
  7378. {
  7379. return $this->unitPricingBaseMeasure;
  7380. }
  7381. public function setUnitPricingMeasure(Google_Service_ShoppingContent_ProductUnitPricingMeasure $unitPricingMeasure)
  7382. {
  7383. $this->unitPricingMeasure = $unitPricingMeasure;
  7384. }
  7385. public function getUnitPricingMeasure()
  7386. {
  7387. return $this->unitPricingMeasure;
  7388. }
  7389. public function setValidatedDestinations($validatedDestinations)
  7390. {
  7391. $this->validatedDestinations = $validatedDestinations;
  7392. }
  7393. public function getValidatedDestinations()
  7394. {
  7395. return $this->validatedDestinations;
  7396. }
  7397. public function setWarnings($warnings)
  7398. {
  7399. $this->warnings = $warnings;
  7400. }
  7401. public function getWarnings()
  7402. {
  7403. return $this->warnings;
  7404. }
  7405. }
  7406. class Google_Service_ShoppingContent_ProductAspect extends Google_Model
  7407. {
  7408. protected $internal_gapi_mappings = array(
  7409. );
  7410. public $aspectName;
  7411. public $destinationName;
  7412. public $intention;
  7413. public function setAspectName($aspectName)
  7414. {
  7415. $this->aspectName = $aspectName;
  7416. }
  7417. public function getAspectName()
  7418. {
  7419. return $this->aspectName;
  7420. }
  7421. public function setDestinationName($destinationName)
  7422. {
  7423. $this->destinationName = $destinationName;
  7424. }
  7425. public function getDestinationName()
  7426. {
  7427. return $this->destinationName;
  7428. }
  7429. public function setIntention($intention)
  7430. {
  7431. $this->intention = $intention;
  7432. }
  7433. public function getIntention()
  7434. {
  7435. return $this->intention;
  7436. }
  7437. }
  7438. class Google_Service_ShoppingContent_ProductCustomAttribute extends Google_Model
  7439. {
  7440. protected $internal_gapi_mappings = array(
  7441. );
  7442. public $name;
  7443. public $type;
  7444. public $unit;
  7445. public $value;
  7446. public function setName($name)
  7447. {
  7448. $this->name = $name;
  7449. }
  7450. public function getName()
  7451. {
  7452. return $this->name;
  7453. }
  7454. public function setType($type)
  7455. {
  7456. $this->type = $type;
  7457. }
  7458. public function getType()
  7459. {
  7460. return $this->type;
  7461. }
  7462. public function setUnit($unit)
  7463. {
  7464. $this->unit = $unit;
  7465. }
  7466. public function getUnit()
  7467. {
  7468. return $this->unit;
  7469. }
  7470. public function setValue($value)
  7471. {
  7472. $this->value = $value;
  7473. }
  7474. public function getValue()
  7475. {
  7476. return $this->value;
  7477. }
  7478. }
  7479. class Google_Service_ShoppingContent_ProductCustomGroup extends Google_Collection
  7480. {
  7481. protected $collection_key = 'attributes';
  7482. protected $internal_gapi_mappings = array(
  7483. );
  7484. protected $attributesType = 'Google_Service_ShoppingContent_ProductCustomAttribute';
  7485. protected $attributesDataType = 'array';
  7486. public $name;
  7487. public function setAttributes($attributes)
  7488. {
  7489. $this->attributes = $attributes;
  7490. }
  7491. public function getAttributes()
  7492. {
  7493. return $this->attributes;
  7494. }
  7495. public function setName($name)
  7496. {
  7497. $this->name = $name;
  7498. }
  7499. public function getName()
  7500. {
  7501. return $this->name;
  7502. }
  7503. }
  7504. class Google_Service_ShoppingContent_ProductDestination extends Google_Model
  7505. {
  7506. protected $internal_gapi_mappings = array(
  7507. );
  7508. public $destinationName;
  7509. public $intention;
  7510. public function setDestinationName($destinationName)
  7511. {
  7512. $this->destinationName = $destinationName;
  7513. }
  7514. public function getDestinationName()
  7515. {
  7516. return $this->destinationName;
  7517. }
  7518. public function setIntention($intention)
  7519. {
  7520. $this->intention = $intention;
  7521. }
  7522. public function getIntention()
  7523. {
  7524. return $this->intention;
  7525. }
  7526. }
  7527. class Google_Service_ShoppingContent_ProductInstallment extends Google_Model
  7528. {
  7529. protected $internal_gapi_mappings = array(
  7530. );
  7531. protected $amountType = 'Google_Service_ShoppingContent_Price';
  7532. protected $amountDataType = '';
  7533. public $months;
  7534. public function setAmount(Google_Service_ShoppingContent_Price $amount)
  7535. {
  7536. $this->amount = $amount;
  7537. }
  7538. public function getAmount()
  7539. {
  7540. return $this->amount;
  7541. }
  7542. public function setMonths($months)
  7543. {
  7544. $this->months = $months;
  7545. }
  7546. public function getMonths()
  7547. {
  7548. return $this->months;
  7549. }
  7550. }
  7551. class Google_Service_ShoppingContent_ProductShipping extends Google_Model
  7552. {
  7553. protected $internal_gapi_mappings = array(
  7554. );
  7555. public $country;
  7556. public $locationGroupName;
  7557. public $locationId;
  7558. public $postalCode;
  7559. protected $priceType = 'Google_Service_ShoppingContent_Price';
  7560. protected $priceDataType = '';
  7561. public $region;
  7562. public $service;
  7563. public function setCountry($country)
  7564. {
  7565. $this->country = $country;
  7566. }
  7567. public function getCountry()
  7568. {
  7569. return $this->country;
  7570. }
  7571. public function setLocationGroupName($locationGroupName)
  7572. {
  7573. $this->locationGroupName = $locationGroupName;
  7574. }
  7575. public function getLocationGroupName()
  7576. {
  7577. return $this->locationGroupName;
  7578. }
  7579. public function setLocationId($locationId)
  7580. {
  7581. $this->locationId = $locationId;
  7582. }
  7583. public function getLocationId()
  7584. {
  7585. return $this->locationId;
  7586. }
  7587. public function setPostalCode($postalCode)
  7588. {
  7589. $this->postalCode = $postalCode;
  7590. }
  7591. public function getPostalCode()
  7592. {
  7593. return $this->postalCode;
  7594. }
  7595. public function setPrice(Google_Service_ShoppingContent_Price $price)
  7596. {
  7597. $this->price = $price;
  7598. }
  7599. public function getPrice()
  7600. {
  7601. return $this->price;
  7602. }
  7603. public function setRegion($region)
  7604. {
  7605. $this->region = $region;
  7606. }
  7607. public function getRegion()
  7608. {
  7609. return $this->region;
  7610. }
  7611. public function setService($service)
  7612. {
  7613. $this->service = $service;
  7614. }
  7615. public function getService()
  7616. {
  7617. return $this->service;
  7618. }
  7619. }
  7620. class Google_Service_ShoppingContent_ProductShippingDimension extends Google_Model
  7621. {
  7622. protected $internal_gapi_mappings = array(
  7623. );
  7624. public $unit;
  7625. public $value;
  7626. public function setUnit($unit)
  7627. {
  7628. $this->unit = $unit;
  7629. }
  7630. public function getUnit()
  7631. {
  7632. return $this->unit;
  7633. }
  7634. public function setValue($value)
  7635. {
  7636. $this->value = $value;
  7637. }
  7638. public function getValue()
  7639. {
  7640. return $this->value;
  7641. }
  7642. }
  7643. class Google_Service_ShoppingContent_ProductShippingWeight extends Google_Model
  7644. {
  7645. protected $internal_gapi_mappings = array(
  7646. );
  7647. public $unit;
  7648. public $value;
  7649. public function setUnit($unit)
  7650. {
  7651. $this->unit = $unit;
  7652. }
  7653. public function getUnit()
  7654. {
  7655. return $this->unit;
  7656. }
  7657. public function setValue($value)
  7658. {
  7659. $this->value = $value;
  7660. }
  7661. public function getValue()
  7662. {
  7663. return $this->value;
  7664. }
  7665. }
  7666. class Google_Service_ShoppingContent_ProductStatus extends Google_Collection
  7667. {
  7668. protected $collection_key = 'destinationStatuses';
  7669. protected $internal_gapi_mappings = array(
  7670. );
  7671. public $creationDate;
  7672. protected $dataQualityIssuesType = 'Google_Service_ShoppingContent_ProductStatusDataQualityIssue';
  7673. protected $dataQualityIssuesDataType = 'array';
  7674. protected $destinationStatusesType = 'Google_Service_ShoppingContent_ProductStatusDestinationStatus';
  7675. protected $destinationStatusesDataType = 'array';
  7676. public $googleExpirationDate;
  7677. public $kind;
  7678. public $lastUpdateDate;
  7679. public $link;
  7680. public $productId;
  7681. public $title;
  7682. public function setCreationDate($creationDate)
  7683. {
  7684. $this->creationDate = $creationDate;
  7685. }
  7686. public function getCreationDate()
  7687. {
  7688. return $this->creationDate;
  7689. }
  7690. public function setDataQualityIssues($dataQualityIssues)
  7691. {
  7692. $this->dataQualityIssues = $dataQualityIssues;
  7693. }
  7694. public function getDataQualityIssues()
  7695. {
  7696. return $this->dataQualityIssues;
  7697. }
  7698. public function setDestinationStatuses($destinationStatuses)
  7699. {
  7700. $this->destinationStatuses = $destinationStatuses;
  7701. }
  7702. public function getDestinationStatuses()
  7703. {
  7704. return $this->destinationStatuses;
  7705. }
  7706. public function setGoogleExpirationDate($googleExpirationDate)
  7707. {
  7708. $this->googleExpirationDate = $googleExpirationDate;
  7709. }
  7710. public function getGoogleExpirationDate()
  7711. {
  7712. return $this->googleExpirationDate;
  7713. }
  7714. public function setKind($kind)
  7715. {
  7716. $this->kind = $kind;
  7717. }
  7718. public function getKind()
  7719. {
  7720. return $this->kind;
  7721. }
  7722. public function setLastUpdateDate($lastUpdateDate)
  7723. {
  7724. $this->lastUpdateDate = $lastUpdateDate;
  7725. }
  7726. public function getLastUpdateDate()
  7727. {
  7728. return $this->lastUpdateDate;
  7729. }
  7730. public function setLink($link)
  7731. {
  7732. $this->link = $link;
  7733. }
  7734. public function getLink()
  7735. {
  7736. return $this->link;
  7737. }
  7738. public function setProductId($productId)
  7739. {
  7740. $this->productId = $productId;
  7741. }
  7742. public function getProductId()
  7743. {
  7744. return $this->productId;
  7745. }
  7746. public function setTitle($title)
  7747. {
  7748. $this->title = $title;
  7749. }
  7750. public function getTitle()
  7751. {
  7752. return $this->title;
  7753. }
  7754. }
  7755. class Google_Service_ShoppingContent_ProductStatusDataQualityIssue extends Google_Model
  7756. {
  7757. protected $internal_gapi_mappings = array(
  7758. );
  7759. public $detail;
  7760. public $fetchStatus;
  7761. public $id;
  7762. public $location;
  7763. public $severity;
  7764. public $timestamp;
  7765. public $valueOnLandingPage;
  7766. public $valueProvided;
  7767. public function setDetail($detail)
  7768. {
  7769. $this->detail = $detail;
  7770. }
  7771. public function getDetail()
  7772. {
  7773. return $this->detail;
  7774. }
  7775. public function setFetchStatus($fetchStatus)
  7776. {
  7777. $this->fetchStatus = $fetchStatus;
  7778. }
  7779. public function getFetchStatus()
  7780. {
  7781. return $this->fetchStatus;
  7782. }
  7783. public function setId($id)
  7784. {
  7785. $this->id = $id;
  7786. }
  7787. public function getId()
  7788. {
  7789. return $this->id;
  7790. }
  7791. public function setLocation($location)
  7792. {
  7793. $this->location = $location;
  7794. }
  7795. public function getLocation()
  7796. {
  7797. return $this->location;
  7798. }
  7799. public function setSeverity($severity)
  7800. {
  7801. $this->severity = $severity;
  7802. }
  7803. public function getSeverity()
  7804. {
  7805. return $this->severity;
  7806. }
  7807. public function setTimestamp($timestamp)
  7808. {
  7809. $this->timestamp = $timestamp;
  7810. }
  7811. public function getTimestamp()
  7812. {
  7813. return $this->timestamp;
  7814. }
  7815. public function setValueOnLandingPage($valueOnLandingPage)
  7816. {
  7817. $this->valueOnLandingPage = $valueOnLandingPage;
  7818. }
  7819. public function getValueOnLandingPage()
  7820. {
  7821. return $this->valueOnLandingPage;
  7822. }
  7823. public function setValueProvided($valueProvided)
  7824. {
  7825. $this->valueProvided = $valueProvided;
  7826. }
  7827. public function getValueProvided()
  7828. {
  7829. return $this->valueProvided;
  7830. }
  7831. }
  7832. class Google_Service_ShoppingContent_ProductStatusDestinationStatus extends Google_Model
  7833. {
  7834. protected $internal_gapi_mappings = array(
  7835. );
  7836. public $approvalStatus;
  7837. public $destination;
  7838. public $intention;
  7839. public function setApprovalStatus($approvalStatus)
  7840. {
  7841. $this->approvalStatus = $approvalStatus;
  7842. }
  7843. public function getApprovalStatus()
  7844. {
  7845. return $this->approvalStatus;
  7846. }
  7847. public function setDestination($destination)
  7848. {
  7849. $this->destination = $destination;
  7850. }
  7851. public function getDestination()
  7852. {
  7853. return $this->destination;
  7854. }
  7855. public function setIntention($intention)
  7856. {
  7857. $this->intention = $intention;
  7858. }
  7859. public function getIntention()
  7860. {
  7861. return $this->intention;
  7862. }
  7863. }
  7864. class Google_Service_ShoppingContent_ProductTax extends Google_Model
  7865. {
  7866. protected $internal_gapi_mappings = array(
  7867. );
  7868. public $country;
  7869. public $locationId;
  7870. public $postalCode;
  7871. public $rate;
  7872. public $region;
  7873. public $taxShip;
  7874. public function setCountry($country)
  7875. {
  7876. $this->country = $country;
  7877. }
  7878. public function getCountry()
  7879. {
  7880. return $this->country;
  7881. }
  7882. public function setLocationId($locationId)
  7883. {
  7884. $this->locationId = $locationId;
  7885. }
  7886. public function getLocationId()
  7887. {
  7888. return $this->locationId;
  7889. }
  7890. public function setPostalCode($postalCode)
  7891. {
  7892. $this->postalCode = $postalCode;
  7893. }
  7894. public function getPostalCode()
  7895. {
  7896. return $this->postalCode;
  7897. }
  7898. public function setRate($rate)
  7899. {
  7900. $this->rate = $rate;
  7901. }
  7902. public function getRate()
  7903. {
  7904. return $this->rate;
  7905. }
  7906. public function setRegion($region)
  7907. {
  7908. $this->region = $region;
  7909. }
  7910. public function getRegion()
  7911. {
  7912. return $this->region;
  7913. }
  7914. public function setTaxShip($taxShip)
  7915. {
  7916. $this->taxShip = $taxShip;
  7917. }
  7918. public function getTaxShip()
  7919. {
  7920. return $this->taxShip;
  7921. }
  7922. }
  7923. class Google_Service_ShoppingContent_ProductUnitPricingBaseMeasure extends Google_Model
  7924. {
  7925. protected $internal_gapi_mappings = array(
  7926. );
  7927. public $unit;
  7928. public $value;
  7929. public function setUnit($unit)
  7930. {
  7931. $this->unit = $unit;
  7932. }
  7933. public function getUnit()
  7934. {
  7935. return $this->unit;
  7936. }
  7937. public function setValue($value)
  7938. {
  7939. $this->value = $value;
  7940. }
  7941. public function getValue()
  7942. {
  7943. return $this->value;
  7944. }
  7945. }
  7946. class Google_Service_ShoppingContent_ProductUnitPricingMeasure extends Google_Model
  7947. {
  7948. protected $internal_gapi_mappings = array(
  7949. );
  7950. public $unit;
  7951. public $value;
  7952. public function setUnit($unit)
  7953. {
  7954. $this->unit = $unit;
  7955. }
  7956. public function getUnit()
  7957. {
  7958. return $this->unit;
  7959. }
  7960. public function setValue($value)
  7961. {
  7962. $this->value = $value;
  7963. }
  7964. public function getValue()
  7965. {
  7966. return $this->value;
  7967. }
  7968. }
  7969. class Google_Service_ShoppingContent_ProductsCustomBatchRequest extends Google_Collection
  7970. {
  7971. protected $collection_key = 'entries';
  7972. protected $internal_gapi_mappings = array(
  7973. );
  7974. protected $entriesType = 'Google_Service_ShoppingContent_ProductsCustomBatchRequestEntry';
  7975. protected $entriesDataType = 'array';
  7976. public function setEntries($entries)
  7977. {
  7978. $this->entries = $entries;
  7979. }
  7980. public function getEntries()
  7981. {
  7982. return $this->entries;
  7983. }
  7984. }
  7985. class Google_Service_ShoppingContent_ProductsCustomBatchRequestEntry extends Google_Model
  7986. {
  7987. protected $internal_gapi_mappings = array(
  7988. );
  7989. public $batchId;
  7990. public $merchantId;
  7991. public $method;
  7992. protected $productType = 'Google_Service_ShoppingContent_Product';
  7993. protected $productDataType = '';
  7994. public $productId;
  7995. public function setBatchId($batchId)
  7996. {
  7997. $this->batchId = $batchId;
  7998. }
  7999. public function getBatchId()
  8000. {
  8001. return $this->batchId;
  8002. }
  8003. public function setMerchantId($merchantId)
  8004. {
  8005. $this->merchantId = $merchantId;
  8006. }
  8007. public function getMerchantId()
  8008. {
  8009. return $this->merchantId;
  8010. }
  8011. public function setMethod($method)
  8012. {
  8013. $this->method = $method;
  8014. }
  8015. public function getMethod()
  8016. {
  8017. return $this->method;
  8018. }
  8019. public function setProduct(Google_Service_ShoppingContent_Product $product)
  8020. {
  8021. $this->product = $product;
  8022. }
  8023. public function getProduct()
  8024. {
  8025. return $this->product;
  8026. }
  8027. public function setProductId($productId)
  8028. {
  8029. $this->productId = $productId;
  8030. }
  8031. public function getProductId()
  8032. {
  8033. return $this->productId;
  8034. }
  8035. }
  8036. class Google_Service_ShoppingContent_ProductsCustomBatchResponse extends Google_Collection
  8037. {
  8038. protected $collection_key = 'entries';
  8039. protected $internal_gapi_mappings = array(
  8040. );
  8041. protected $entriesType = 'Google_Service_ShoppingContent_ProductsCustomBatchResponseEntry';
  8042. protected $entriesDataType = 'array';
  8043. public $kind;
  8044. public function setEntries($entries)
  8045. {
  8046. $this->entries = $entries;
  8047. }
  8048. public function getEntries()
  8049. {
  8050. return $this->entries;
  8051. }
  8052. public function setKind($kind)
  8053. {
  8054. $this->kind = $kind;
  8055. }
  8056. public function getKind()
  8057. {
  8058. return $this->kind;
  8059. }
  8060. }
  8061. class Google_Service_ShoppingContent_ProductsCustomBatchResponseEntry extends Google_Model
  8062. {
  8063. protected $internal_gapi_mappings = array(
  8064. );
  8065. public $batchId;
  8066. protected $errorsType = 'Google_Service_ShoppingContent_Errors';
  8067. protected $errorsDataType = '';
  8068. public $kind;
  8069. protected $productType = 'Google_Service_ShoppingContent_Product';
  8070. protected $productDataType = '';
  8071. public function setBatchId($batchId)
  8072. {
  8073. $this->batchId = $batchId;
  8074. }
  8075. public function getBatchId()
  8076. {
  8077. return $this->batchId;
  8078. }
  8079. public function setErrors(Google_Service_ShoppingContent_Errors $errors)
  8080. {
  8081. $this->errors = $errors;
  8082. }
  8083. public function getErrors()
  8084. {
  8085. return $this->errors;
  8086. }
  8087. public function setKind($kind)
  8088. {
  8089. $this->kind = $kind;
  8090. }
  8091. public function getKind()
  8092. {
  8093. return $this->kind;
  8094. }
  8095. public function setProduct(Google_Service_ShoppingContent_Product $product)
  8096. {
  8097. $this->product = $product;
  8098. }
  8099. public function getProduct()
  8100. {
  8101. return $this->product;
  8102. }
  8103. }
  8104. class Google_Service_ShoppingContent_ProductsListResponse extends Google_Collection
  8105. {
  8106. protected $collection_key = 'resources';
  8107. protected $internal_gapi_mappings = array(
  8108. );
  8109. public $kind;
  8110. public $nextPageToken;
  8111. protected $resourcesType = 'Google_Service_ShoppingContent_Product';
  8112. protected $resourcesDataType = 'array';
  8113. public function setKind($kind)
  8114. {
  8115. $this->kind = $kind;
  8116. }
  8117. public function getKind()
  8118. {
  8119. return $this->kind;
  8120. }
  8121. public function setNextPageToken($nextPageToken)
  8122. {
  8123. $this->nextPageToken = $nextPageToken;
  8124. }
  8125. public function getNextPageToken()
  8126. {
  8127. return $this->nextPageToken;
  8128. }
  8129. public function setResources($resources)
  8130. {
  8131. $this->resources = $resources;
  8132. }
  8133. public function getResources()
  8134. {
  8135. return $this->resources;
  8136. }
  8137. }
  8138. class Google_Service_ShoppingContent_ProductstatusesCustomBatchRequest extends Google_Collection
  8139. {
  8140. protected $collection_key = 'entries';
  8141. protected $internal_gapi_mappings = array(
  8142. );
  8143. protected $entriesType = 'Google_Service_ShoppingContent_ProductstatusesCustomBatchRequestEntry';
  8144. protected $entriesDataType = 'array';
  8145. public function setEntries($entries)
  8146. {
  8147. $this->entries = $entries;
  8148. }
  8149. public function getEntries()
  8150. {
  8151. return $this->entries;
  8152. }
  8153. }
  8154. class Google_Service_ShoppingContent_ProductstatusesCustomBatchRequestEntry extends Google_Model
  8155. {
  8156. protected $internal_gapi_mappings = array(
  8157. );
  8158. public $batchId;
  8159. public $merchantId;
  8160. public $method;
  8161. public $productId;
  8162. public function setBatchId($batchId)
  8163. {
  8164. $this->batchId = $batchId;
  8165. }
  8166. public function getBatchId()
  8167. {
  8168. return $this->batchId;
  8169. }
  8170. public function setMerchantId($merchantId)
  8171. {
  8172. $this->merchantId = $merchantId;
  8173. }
  8174. public function getMerchantId()
  8175. {
  8176. return $this->merchantId;
  8177. }
  8178. public function setMethod($method)
  8179. {
  8180. $this->method = $method;
  8181. }
  8182. public function getMethod()
  8183. {
  8184. return $this->method;
  8185. }
  8186. public function setProductId($productId)
  8187. {
  8188. $this->productId = $productId;
  8189. }
  8190. public function getProductId()
  8191. {
  8192. return $this->productId;
  8193. }
  8194. }
  8195. class Google_Service_ShoppingContent_ProductstatusesCustomBatchResponse extends Google_Collection
  8196. {
  8197. protected $collection_key = 'entries';
  8198. protected $internal_gapi_mappings = array(
  8199. );
  8200. protected $entriesType = 'Google_Service_ShoppingContent_ProductstatusesCustomBatchResponseEntry';
  8201. protected $entriesDataType = 'array';
  8202. public $kind;
  8203. public function setEntries($entries)
  8204. {
  8205. $this->entries = $entries;
  8206. }
  8207. public function getEntries()
  8208. {
  8209. return $this->entries;
  8210. }
  8211. public function setKind($kind)
  8212. {
  8213. $this->kind = $kind;
  8214. }
  8215. public function getKind()
  8216. {
  8217. return $this->kind;
  8218. }
  8219. }
  8220. class Google_Service_ShoppingContent_ProductstatusesCustomBatchResponseEntry extends Google_Model
  8221. {
  8222. protected $internal_gapi_mappings = array(
  8223. );
  8224. public $batchId;
  8225. protected $errorsType = 'Google_Service_ShoppingContent_Errors';
  8226. protected $errorsDataType = '';
  8227. public $kind;
  8228. protected $productStatusType = 'Google_Service_ShoppingContent_ProductStatus';
  8229. protected $productStatusDataType = '';
  8230. public function setBatchId($batchId)
  8231. {
  8232. $this->batchId = $batchId;
  8233. }
  8234. public function getBatchId()
  8235. {
  8236. return $this->batchId;
  8237. }
  8238. public function setErrors(Google_Service_ShoppingContent_Errors $errors)
  8239. {
  8240. $this->errors = $errors;
  8241. }
  8242. public function getErrors()
  8243. {
  8244. return $this->errors;
  8245. }
  8246. public function setKind($kind)
  8247. {
  8248. $this->kind = $kind;
  8249. }
  8250. public function getKind()
  8251. {
  8252. return $this->kind;
  8253. }
  8254. public function setProductStatus(Google_Service_ShoppingContent_ProductStatus $productStatus)
  8255. {
  8256. $this->productStatus = $productStatus;
  8257. }
  8258. public function getProductStatus()
  8259. {
  8260. return $this->productStatus;
  8261. }
  8262. }
  8263. class Google_Service_ShoppingContent_ProductstatusesListResponse extends Google_Collection
  8264. {
  8265. protected $collection_key = 'resources';
  8266. protected $internal_gapi_mappings = array(
  8267. );
  8268. public $kind;
  8269. public $nextPageToken;
  8270. protected $resourcesType = 'Google_Service_ShoppingContent_ProductStatus';
  8271. protected $resourcesDataType = 'array';
  8272. public function setKind($kind)
  8273. {
  8274. $this->kind = $kind;
  8275. }
  8276. public function getKind()
  8277. {
  8278. return $this->kind;
  8279. }
  8280. public function setNextPageToken($nextPageToken)
  8281. {
  8282. $this->nextPageToken = $nextPageToken;
  8283. }
  8284. public function getNextPageToken()
  8285. {
  8286. return $this->nextPageToken;
  8287. }
  8288. public function setResources($resources)
  8289. {
  8290. $this->resources = $resources;
  8291. }
  8292. public function getResources()
  8293. {
  8294. return $this->resources;
  8295. }
  8296. }
  8297. class Google_Service_ShoppingContent_TestOrder extends Google_Collection
  8298. {
  8299. protected $collection_key = 'lineItems';
  8300. protected $internal_gapi_mappings = array(
  8301. );
  8302. protected $customerType = 'Google_Service_ShoppingContent_TestOrderCustomer';
  8303. protected $customerDataType = '';
  8304. public $kind;
  8305. protected $lineItemsType = 'Google_Service_ShoppingContent_TestOrderLineItem';
  8306. protected $lineItemsDataType = 'array';
  8307. protected $paymentMethodType = 'Google_Service_ShoppingContent_TestOrderPaymentMethod';
  8308. protected $paymentMethodDataType = '';
  8309. public $predefinedDeliveryAddress;
  8310. protected $shippingCostType = 'Google_Service_ShoppingContent_Price';
  8311. protected $shippingCostDataType = '';
  8312. protected $shippingCostTaxType = 'Google_Service_ShoppingContent_Price';
  8313. protected $shippingCostTaxDataType = '';
  8314. public $shippingOption;
  8315. public function setCustomer(Google_Service_ShoppingContent_TestOrderCustomer $customer)
  8316. {
  8317. $this->customer = $customer;
  8318. }
  8319. public function getCustomer()
  8320. {
  8321. return $this->customer;
  8322. }
  8323. public function setKind($kind)
  8324. {
  8325. $this->kind = $kind;
  8326. }
  8327. public function getKind()
  8328. {
  8329. return $this->kind;
  8330. }
  8331. public function setLineItems($lineItems)
  8332. {
  8333. $this->lineItems = $lineItems;
  8334. }
  8335. public function getLineItems()
  8336. {
  8337. return $this->lineItems;
  8338. }
  8339. public function setPaymentMethod(Google_Service_ShoppingContent_TestOrderPaymentMethod $paymentMethod)
  8340. {
  8341. $this->paymentMethod = $paymentMethod;
  8342. }
  8343. public function getPaymentMethod()
  8344. {
  8345. return $this->paymentMethod;
  8346. }
  8347. public function setPredefinedDeliveryAddress($predefinedDeliveryAddress)
  8348. {
  8349. $this->predefinedDeliveryAddress = $predefinedDeliveryAddress;
  8350. }
  8351. public function getPredefinedDeliveryAddress()
  8352. {
  8353. return $this->predefinedDeliveryAddress;
  8354. }
  8355. public function setShippingCost(Google_Service_ShoppingContent_Price $shippingCost)
  8356. {
  8357. $this->shippingCost = $shippingCost;
  8358. }
  8359. public function getShippingCost()
  8360. {
  8361. return $this->shippingCost;
  8362. }
  8363. public function setShippingCostTax(Google_Service_ShoppingContent_Price $shippingCostTax)
  8364. {
  8365. $this->shippingCostTax = $shippingCostTax;
  8366. }
  8367. public function getShippingCostTax()
  8368. {
  8369. return $this->shippingCostTax;
  8370. }
  8371. public function setShippingOption($shippingOption)
  8372. {
  8373. $this->shippingOption = $shippingOption;
  8374. }
  8375. public function getShippingOption()
  8376. {
  8377. return $this->shippingOption;
  8378. }
  8379. }
  8380. class Google_Service_ShoppingContent_TestOrderCustomer extends Google_Model
  8381. {
  8382. protected $internal_gapi_mappings = array(
  8383. );
  8384. public $email;
  8385. public $explicitMarketingPreference;
  8386. public $fullName;
  8387. public function setEmail($email)
  8388. {
  8389. $this->email = $email;
  8390. }
  8391. public function getEmail()
  8392. {
  8393. return $this->email;
  8394. }
  8395. public function setExplicitMarketingPreference($explicitMarketingPreference)
  8396. {
  8397. $this->explicitMarketingPreference = $explicitMarketingPreference;
  8398. }
  8399. public function getExplicitMarketingPreference()
  8400. {
  8401. return $this->explicitMarketingPreference;
  8402. }
  8403. public function setFullName($fullName)
  8404. {
  8405. $this->fullName = $fullName;
  8406. }
  8407. public function getFullName()
  8408. {
  8409. return $this->fullName;
  8410. }
  8411. }
  8412. class Google_Service_ShoppingContent_TestOrderLineItem extends Google_Model
  8413. {
  8414. protected $internal_gapi_mappings = array(
  8415. );
  8416. protected $productType = 'Google_Service_ShoppingContent_TestOrderLineItemProduct';
  8417. protected $productDataType = '';
  8418. public $quantityOrdered;
  8419. protected $returnInfoType = 'Google_Service_ShoppingContent_OrderLineItemReturnInfo';
  8420. protected $returnInfoDataType = '';
  8421. protected $shippingDetailsType = 'Google_Service_ShoppingContent_OrderLineItemShippingDetails';
  8422. protected $shippingDetailsDataType = '';
  8423. protected $unitTaxType = 'Google_Service_ShoppingContent_Price';
  8424. protected $unitTaxDataType = '';
  8425. public function setProduct(Google_Service_ShoppingContent_TestOrderLineItemProduct $product)
  8426. {
  8427. $this->product = $product;
  8428. }
  8429. public function getProduct()
  8430. {
  8431. return $this->product;
  8432. }
  8433. public function setQuantityOrdered($quantityOrdered)
  8434. {
  8435. $this->quantityOrdered = $quantityOrdered;
  8436. }
  8437. public function getQuantityOrdered()
  8438. {
  8439. return $this->quantityOrdered;
  8440. }
  8441. public function setReturnInfo(Google_Service_ShoppingContent_OrderLineItemReturnInfo $returnInfo)
  8442. {
  8443. $this->returnInfo = $returnInfo;
  8444. }
  8445. public function getReturnInfo()
  8446. {
  8447. return $this->returnInfo;
  8448. }
  8449. public function setShippingDetails(Google_Service_ShoppingContent_OrderLineItemShippingDetails $shippingDetails)
  8450. {
  8451. $this->shippingDetails = $shippingDetails;
  8452. }
  8453. public function getShippingDetails()
  8454. {
  8455. return $this->shippingDetails;
  8456. }
  8457. public function setUnitTax(Google_Service_ShoppingContent_Price $unitTax)
  8458. {
  8459. $this->unitTax = $unitTax;
  8460. }
  8461. public function getUnitTax()
  8462. {
  8463. return $this->unitTax;
  8464. }
  8465. }
  8466. class Google_Service_ShoppingContent_TestOrderLineItemProduct extends Google_Collection
  8467. {
  8468. protected $collection_key = 'variantAttributes';
  8469. protected $internal_gapi_mappings = array(
  8470. );
  8471. public $brand;
  8472. public $channel;
  8473. public $condition;
  8474. public $contentLanguage;
  8475. public $gtin;
  8476. public $imageLink;
  8477. public $itemGroupId;
  8478. public $mpn;
  8479. public $offerId;
  8480. protected $priceType = 'Google_Service_ShoppingContent_Price';
  8481. protected $priceDataType = '';
  8482. public $targetCountry;
  8483. public $title;
  8484. protected $variantAttributesType = 'Google_Service_ShoppingContent_OrderLineItemProductVariantAttribute';
  8485. protected $variantAttributesDataType = 'array';
  8486. public function setBrand($brand)
  8487. {
  8488. $this->brand = $brand;
  8489. }
  8490. public function getBrand()
  8491. {
  8492. return $this->brand;
  8493. }
  8494. public function setChannel($channel)
  8495. {
  8496. $this->channel = $channel;
  8497. }
  8498. public function getChannel()
  8499. {
  8500. return $this->channel;
  8501. }
  8502. public function setCondition($condition)
  8503. {
  8504. $this->condition = $condition;
  8505. }
  8506. public function getCondition()
  8507. {
  8508. return $this->condition;
  8509. }
  8510. public function setContentLanguage($contentLanguage)
  8511. {
  8512. $this->contentLanguage = $contentLanguage;
  8513. }
  8514. public function getContentLanguage()
  8515. {
  8516. return $this->contentLanguage;
  8517. }
  8518. public function setGtin($gtin)
  8519. {
  8520. $this->gtin = $gtin;
  8521. }
  8522. public function getGtin()
  8523. {
  8524. return $this->gtin;
  8525. }
  8526. public function setImageLink($imageLink)
  8527. {
  8528. $this->imageLink = $imageLink;
  8529. }
  8530. public function getImageLink()
  8531. {
  8532. return $this->imageLink;
  8533. }
  8534. public function setItemGroupId($itemGroupId)
  8535. {
  8536. $this->itemGroupId = $itemGroupId;
  8537. }
  8538. public function getItemGroupId()
  8539. {
  8540. return $this->itemGroupId;
  8541. }
  8542. public function setMpn($mpn)
  8543. {
  8544. $this->mpn = $mpn;
  8545. }
  8546. public function getMpn()
  8547. {
  8548. return $this->mpn;
  8549. }
  8550. public function setOfferId($offerId)
  8551. {
  8552. $this->offerId = $offerId;
  8553. }
  8554. public function getOfferId()
  8555. {
  8556. return $this->offerId;
  8557. }
  8558. public function setPrice(Google_Service_ShoppingContent_Price $price)
  8559. {
  8560. $this->price = $price;
  8561. }
  8562. public function getPrice()
  8563. {
  8564. return $this->price;
  8565. }
  8566. public function setTargetCountry($targetCountry)
  8567. {
  8568. $this->targetCountry = $targetCountry;
  8569. }
  8570. public function getTargetCountry()
  8571. {
  8572. return $this->targetCountry;
  8573. }
  8574. public function setTitle($title)
  8575. {
  8576. $this->title = $title;
  8577. }
  8578. public function getTitle()
  8579. {
  8580. return $this->title;
  8581. }
  8582. public function setVariantAttributes($variantAttributes)
  8583. {
  8584. $this->variantAttributes = $variantAttributes;
  8585. }
  8586. public function getVariantAttributes()
  8587. {
  8588. return $this->variantAttributes;
  8589. }
  8590. }
  8591. class Google_Service_ShoppingContent_TestOrderPaymentMethod extends Google_Model
  8592. {
  8593. protected $internal_gapi_mappings = array(
  8594. );
  8595. public $expirationMonth;
  8596. public $expirationYear;
  8597. public $lastFourDigits;
  8598. public $predefinedBillingAddress;
  8599. public $type;
  8600. public function setExpirationMonth($expirationMonth)
  8601. {
  8602. $this->expirationMonth = $expirationMonth;
  8603. }
  8604. public function getExpirationMonth()
  8605. {
  8606. return $this->expirationMonth;
  8607. }
  8608. public function setExpirationYear($expirationYear)
  8609. {
  8610. $this->expirationYear = $expirationYear;
  8611. }
  8612. public function getExpirationYear()
  8613. {
  8614. return $this->expirationYear;
  8615. }
  8616. public function setLastFourDigits($lastFourDigits)
  8617. {
  8618. $this->lastFourDigits = $lastFourDigits;
  8619. }
  8620. public function getLastFourDigits()
  8621. {
  8622. return $this->lastFourDigits;
  8623. }
  8624. public function setPredefinedBillingAddress($predefinedBillingAddress)
  8625. {
  8626. $this->predefinedBillingAddress = $predefinedBillingAddress;
  8627. }
  8628. public function getPredefinedBillingAddress()
  8629. {
  8630. return $this->predefinedBillingAddress;
  8631. }
  8632. public function setType($type)
  8633. {
  8634. $this->type = $type;
  8635. }
  8636. public function getType()
  8637. {
  8638. return $this->type;
  8639. }
  8640. }
  8641. class Google_Service_ShoppingContent_Weight extends Google_Model
  8642. {
  8643. protected $internal_gapi_mappings = array(
  8644. );
  8645. public $unit;
  8646. public $value;
  8647. public function setUnit($unit)
  8648. {
  8649. $this->unit = $unit;
  8650. }
  8651. public function getUnit()
  8652. {
  8653. return $this->unit;
  8654. }
  8655. public function setValue($value)
  8656. {
  8657. $this->value = $value;
  8658. }
  8659. public function getValue()
  8660. {
  8661. return $this->value;
  8662. }
  8663. }