PayPal\Api\Details::setHandlingFee PHP Method

setHandlingFee() public method

Amount being charged for the handling fee. Only supported when the payment_method is set to paypal.
public setHandlingFee ( string | double $handling_fee )
$handling_fee string | double
    public function setHandlingFee($handling_fee)
    {
        NumericValidator::validate($handling_fee, "Handling Fee");
        $handling_fee = FormatConverter::formatToPrice($handling_fee);
        $this->handling_fee = $handling_fee;
        return $this;
    }