PayPal\Api\Invoice::setAttachments PHP Method

setAttachments() public method

List of files attached to the invoice.
public setAttachments ( FileAttachment[] $attachments )
$attachments FileAttachment[]
    public function setAttachments($attachments)
    {
        $this->attachments = $attachments;
        return $this;
    }