暂无描述

OrderShipment.php 2.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <?php
  2. /*
  3. * Copyright 2014 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. class Google_Service_ShoppingContent_OrderShipment extends Google_Collection
  18. {
  19. protected $collection_key = 'lineItems';
  20. public $carrier;
  21. public $creationDate;
  22. public $deliveryDate;
  23. public $id;
  24. protected $lineItemsType = 'Google_Service_ShoppingContent_OrderShipmentLineItemShipment';
  25. protected $lineItemsDataType = 'array';
  26. public $status;
  27. public $trackingId;
  28. public function setCarrier($carrier)
  29. {
  30. $this->carrier = $carrier;
  31. }
  32. public function getCarrier()
  33. {
  34. return $this->carrier;
  35. }
  36. public function setCreationDate($creationDate)
  37. {
  38. $this->creationDate = $creationDate;
  39. }
  40. public function getCreationDate()
  41. {
  42. return $this->creationDate;
  43. }
  44. public function setDeliveryDate($deliveryDate)
  45. {
  46. $this->deliveryDate = $deliveryDate;
  47. }
  48. public function getDeliveryDate()
  49. {
  50. return $this->deliveryDate;
  51. }
  52. public function setId($id)
  53. {
  54. $this->id = $id;
  55. }
  56. public function getId()
  57. {
  58. return $this->id;
  59. }
  60. /**
  61. * @param Google_Service_ShoppingContent_OrderShipmentLineItemShipment
  62. */
  63. public function setLineItems($lineItems)
  64. {
  65. $this->lineItems = $lineItems;
  66. }
  67. /**
  68. * @return Google_Service_ShoppingContent_OrderShipmentLineItemShipment
  69. */
  70. public function getLineItems()
  71. {
  72. return $this->lineItems;
  73. }
  74. public function setStatus($status)
  75. {
  76. $this->status = $status;
  77. }
  78. public function getStatus()
  79. {
  80. return $this->status;
  81. }
  82. public function setTrackingId($trackingId)
  83. {
  84. $this->trackingId = $trackingId;
  85. }
  86. public function getTrackingId()
  87. {
  88. return $this->trackingId;
  89. }
  90. }