PayPal\Api\Order::setUpdateTime PHP Method

setUpdateTime() public method

Time the resource was last updated in UTC ISO8601 format.
public setUpdateTime ( string $update_time )
$update_time string
    public function setUpdateTime($update_time)
    {
        $this->update_time = $update_time;
        return $this;
    }

Usage Example

Example #1
0
 public static function createOrder()
 {
     $order = new Order();
     $order->setId(self::$id);
     $order->setCreateTime(self::$createTime);
     $order->setUpdateTime(self::$updateTime);
     $order->setState(self::$state);
     $order->setAmount(AmountTest::createAmount());
     return $order;
 }