Method |
Description |
|
getFee ( ) : string |
Fee charged by PayPal. In case of a refund, this is the fee amount refunded to the original receipient of the payment. |
|
getGiftWrap ( ) : string |
Amount being charged as gift wrap fee. |
|
getHandlingFee ( ) : string |
Amount being charged for the handling fee. Only supported when the payment_method is set to paypal. |
|
getInsurance ( ) : string |
Amount being charged for the insurance fee. Only supported when the payment_method is set to paypal. |
|
getShipping ( ) : string |
Amount charged for shipping. 10 characters max with support for 2 decimal places. |
|
getShippingDiscount ( ) : string |
Amount being discounted for the shipping fee. Only supported when the payment_method is set to paypal. |
|
getSubtotal ( ) : string |
Amount of the subtotal of the items. **Required** if line items are specified. 10 characters max, with support for 2 decimal places. |
|
getTax ( ) : string |
Amount charged for tax. 10 characters max with support for 2 decimal places. |
|
setFee ( string | double $fee ) |
Fee charged by PayPal. In case of a refund, this is the fee amount refunded to the original receipient of the payment. |
|
setGiftWrap ( string | double $gift_wrap ) |
Amount being charged as gift wrap fee. |
|
setHandlingFee ( string | double $handling_fee ) |
Amount being charged for the handling fee. Only supported when the payment_method is set to paypal. |
|
setInsurance ( string | double $insurance ) |
Amount being charged for the insurance fee. Only supported when the payment_method is set to paypal. |
|
setShipping ( string | double $shipping ) |
Amount charged for shipping. 10 characters max with support for 2 decimal places. |
|
setShippingDiscount ( string | double $shipping_discount ) |
Amount being discounted for the shipping fee. Only supported when the payment_method is set to paypal. |
|
setSubtotal ( string | double $subtotal ) |
Amount of the subtotal of the items. **Required** if line items are specified. 10 characters max, with support for 2 decimal places. |
|
setTax ( string | double $tax ) |
Amount charged for tax. 10 characters max with support for 2 decimal places. |
|