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
@@ -28,7 +28,7 @@ class Details extends PayPalModel
|
||||
* Amount of the subtotal of the items. **Required** if line items are specified. 10 characters max, with support for 2 decimal places.
|
||||
*
|
||||
* @param string|double $subtotal
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSubtotal($subtotal)
|
||||
@@ -53,7 +53,7 @@ class Details extends PayPalModel
|
||||
* Amount charged for shipping. 10 characters max with support for 2 decimal places.
|
||||
*
|
||||
* @param string|double $shipping
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setShipping($shipping)
|
||||
@@ -78,7 +78,7 @@ class Details extends PayPalModel
|
||||
* Amount charged for tax. 10 characters max with support for 2 decimal places.
|
||||
*
|
||||
* @param string|double $tax
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTax($tax)
|
||||
@@ -103,7 +103,7 @@ class Details extends PayPalModel
|
||||
* Amount being charged for the handling fee. Only supported when the `payment_method` is set to `paypal`.
|
||||
*
|
||||
* @param string|double $handling_fee
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setHandlingFee($handling_fee)
|
||||
@@ -128,7 +128,7 @@ class Details extends PayPalModel
|
||||
* Amount being discounted for the shipping fee. Only supported when the `payment_method` is set to `paypal`.
|
||||
*
|
||||
* @param string|double $shipping_discount
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setShippingDiscount($shipping_discount)
|
||||
@@ -153,7 +153,7 @@ class Details extends PayPalModel
|
||||
* Amount being charged for the insurance fee. Only supported when the `payment_method` is set to `paypal`.
|
||||
*
|
||||
* @param string|double $insurance
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInsurance($insurance)
|
||||
@@ -178,7 +178,7 @@ class Details extends PayPalModel
|
||||
* Amount being charged as gift wrap fee.
|
||||
*
|
||||
* @param string|double $gift_wrap
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setGiftWrap($gift_wrap)
|
||||
@@ -203,7 +203,7 @@ class Details extends PayPalModel
|
||||
* Fee charged by PayPal. In case of a refund, this is the fee amount refunded to the original receipient of the payment.
|
||||
*
|
||||
* @param string|double $fee
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setFee($fee)
|
||||
|
||||
Reference in New Issue
Block a user