PayPal\Api\PaymentDetail::setDate PHP Method

setDate() public method

The date when the invoice was paid. The date format is *yyyy*-*MM*-*dd* *z* as defined in Internet Date/Time Format.
public setDate ( string $date )
$date string
    public function setDate($date)
    {
        $this->date = $date;
        return $this;
    }