PayPal\Api\Invoice::setCustom PHP Method

setCustom() public method

The custom amount to apply on an invoice. If you include a label, the amount cannot be empty.
public setCustom ( CustomAmount $custom )
$custom CustomAmount
    public function setCustom($custom)
    {
        $this->custom = $custom;
        return $this;
    }