Merge branch 'support-invoice-apis'

Merge in invoicing support and samples demonstrating use
This commit is contained in:
Avi Das
2014-04-29 10:51:28 -05:00
64 changed files with 6255 additions and 93 deletions

View File

@@ -2,10 +2,12 @@
namespace PayPal\Api;
use PayPal\Common\PPModel;
use PayPal\Rest\ApiContext;
class ItemList extends PPModel {
/**
* List of items.
*
* @array
* @param PayPal\Api\Item $items
*/
@@ -16,6 +18,7 @@ class ItemList extends PPModel {
/**
* List of items.
*
* @return PayPal\Api\Item
*/
public function getItems() {
@@ -25,6 +28,7 @@ class ItemList extends PPModel {
/**
* Shipping address.
*
* @param PayPal\Api\ShippingAddress $shipping_address
*/
public function setShippingAddress($shipping_address) {
@@ -34,6 +38,7 @@ class ItemList extends PPModel {
/**
* Shipping address.
*
* @return PayPal\Api\ShippingAddress
*/
public function getShippingAddress() {
@@ -42,6 +47,7 @@ class ItemList extends PPModel {
/**
* Shipping address.
*
* @param PayPal\Api\ShippingAddress $shipping_address
* @deprecated. Instead use setShippingAddress
*/
@@ -51,6 +57,7 @@ class ItemList extends PPModel {
}
/**
* Shipping address.
*
* @return PayPal\Api\ShippingAddress
* @deprecated. Instead use getShippingAddress
*/