PayPal\Api\Invoice::setCustom PHP Méthode

setCustom() public méthode

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;
    }