forked from LiveCarta/PayPal-PHP-SDK
Update payments API to v1.9
This commit is contained in:
committed by
jaypatel512 and sdcoffey
parent
7c5ea8b997
commit
c2947ff409
@@ -7,14 +7,14 @@ use PayPal\Common\PayPalModel;
|
||||
/**
|
||||
* Class ItemList
|
||||
*
|
||||
* Items and related shipping address within a transaction.
|
||||
* List of items being paid for.
|
||||
*
|
||||
* @package PayPal\Api
|
||||
*
|
||||
* @property \PayPal\Api\Item[] items
|
||||
* @property \PayPal\Api\Item[] items
|
||||
* @property \PayPal\Api\ShippingAddress shipping_address
|
||||
* @property string shipping_method
|
||||
* @property string shipping_phone_number
|
||||
* @property string shipping_method
|
||||
* @property string shipping_phone_number
|
||||
*/
|
||||
class ItemList extends PayPalModel
|
||||
{
|
||||
@@ -22,7 +22,7 @@ class ItemList extends PayPalModel
|
||||
* List of items.
|
||||
*
|
||||
* @param \PayPal\Api\Item[] $items
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setItems($items)
|
||||
@@ -72,10 +72,10 @@ class ItemList extends PayPalModel
|
||||
}
|
||||
|
||||
/**
|
||||
* Shipping address, if different than the payer address.
|
||||
* Shipping address.
|
||||
*
|
||||
* @param \PayPal\Api\ShippingAddress $shipping_address
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setShippingAddress($shipping_address)
|
||||
@@ -85,7 +85,7 @@ class ItemList extends PayPalModel
|
||||
}
|
||||
|
||||
/**
|
||||
* Shipping address, if different than the payer address.
|
||||
* Shipping address.
|
||||
*
|
||||
* @return \PayPal\Api\ShippingAddress
|
||||
*/
|
||||
@@ -98,7 +98,7 @@ class ItemList extends PayPalModel
|
||||
* Shipping method used for this payment like USPSParcel etc.
|
||||
*
|
||||
* @param string $shipping_method
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setShippingMethod($shipping_method)
|
||||
@@ -121,7 +121,7 @@ class ItemList extends PayPalModel
|
||||
* Allows merchant's to share payer’s contact number with PayPal for the current payment. Final contact number of payer associated with the transaction might be same as shipping_phone_number or different based on Payer’s action on PayPal. The phone number must be represented in its canonical international format, as defined by the E.164 numbering plan
|
||||
*
|
||||
* @param string $shipping_phone_number
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setShippingPhoneNumber($shipping_phone_number)
|
||||
|
||||
Reference in New Issue
Block a user