setFee() public method

Fee charged by PayPal. In case of a refund, this is the fee amount refunded to the original receipient of the payment.
public setFee ( string | double $fee )
$fee string | double
Exemplo n.º 1
0
 public static function createAmountDetails()
 {
     $amountDetails = new Details();
     $amountDetails->setSubtotal(self::$subtotal);
     $amountDetails->setTax(self::$tax);
     $amountDetails->setShipping(self::$shipping);
     $amountDetails->setFee(self::$fee);
     return $amountDetails;
 }