This repository has been archived on 2026-04-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
PayPal-PHP-SDK/lib/PayPal/Api/ItemList.php
2013-05-29 14:37:22 +05:30

62 lines
1.2 KiB
PHP

<?php
namespace PayPal\Api;
use PayPal\Common\PPModel;
class ItemList extends PPModel {
/**
* List of items.
* @array
* @param PayPal\Api\Item $items
*/
public function setItems($items) {
$this->items = $items;
return $this;
}
/**
* List of items.
* @return PayPal\Api\Item
*/
public function getItems() {
return $this->items;
}
/**
* Shipping address.
* @param PayPal\Api\ShippingAddress $shipping_address
*/
public function setShippingAddress($shipping_address) {
$this->shipping_address = $shipping_address;
return $this;
}
/**
* Shipping address.
* @return PayPal\Api\ShippingAddress
*/
public function getShippingAddress() {
return $this->shipping_address;
}
/**
* Shipping address.
* @param PayPal\Api\ShippingAddress $shipping_address
* @deprecated. Instead use setShippingAddress
*/
public function setShipping_address($shipping_address) {
$this->shipping_address = $shipping_address;
return $this;
}
/**
* Shipping address.
* @return PayPal\Api\ShippingAddress
* @deprecated. Instead use getShippingAddress
*/
public function getShipping_address() {
return $this->shipping_address;
}
}