ea38da66dc02c4128b38b21832e949b904acb95f
[WP-Plugins/glm-member-db.git] /
1 <?php
2 namespace PayPal\Api;
3
4 use PayPal\Common\PPModel;
5
6 class ItemList extends PPModel {
7         /**
8          * List of items.
9          * @array
10          * @param PayPal\Api\Item $items
11          */
12         public function setItems($items) {
13                 $this->items = $items;
14                 return $this;
15         }
16
17         /**
18          * List of items.
19          * @return PayPal\Api\Item
20          */
21         public function getItems() {
22                 return $this->items;
23         }
24
25
26         /**
27          * Shipping address.
28          * @param PayPal\Api\ShippingAddress $shipping_address
29          */
30         public function setShippingAddress($shipping_address) {
31                 $this->shipping_address = $shipping_address;
32                 return $this;
33         }
34
35         /**
36          * Shipping address.
37          * @return PayPal\Api\ShippingAddress
38          */
39         public function getShippingAddress() {
40                 return $this->shipping_address;
41         }
42
43         /**
44          * Shipping address.
45          * @param PayPal\Api\ShippingAddress $shipping_address
46          * @deprecated. Instead use setShippingAddress
47          */
48         public function setShipping_address($shipping_address) {
49                 $this->shipping_address = $shipping_address;
50                 return $this;
51         }
52         /**
53          * Shipping address.
54          * @return PayPal\Api\ShippingAddress
55          * @deprecated. Instead use getShippingAddress
56          */
57         public function getShipping_address() {
58                 return $this->shipping_address;
59         }
60
61 }