PayPal\Api\Invoice::setAllowPartialPayment PHP Method

setAllowPartialPayment() public method

Indicates whether the invoice allows a partial payment. If set to false, invoice must be paid in full. If set to true, the invoice allows partial payments. Default is false.
public setAllowPartialPayment ( boolean $allow_partial_payment )
$allow_partial_payment boolean
    public function setAllowPartialPayment($allow_partial_payment)
    {
        $this->allow_partial_payment = $allow_partial_payment;
        return $this;
    }