<?php


namespace Easymailing\App\Model;


class Order
{
    public $id;
    public $resourceId;
    public $currency;
    public $currencyExchangeRate;
    public $orderTotal;
    public $taxTotal;
    public $discountTotal;
    public $shippingTotal;
    public $checkoutUrl;
    public $status;
    public $orderNumber;
    public $trackingNumber;
    public $trackingCarrier;
    public $trackingUrl;
    public $abandonedCartAt;
    public $processedAt;
    public $cancelledAt;
    public $campaignHash;
    public $orderItems;
    public $customer;
    public $createdAt;
    public $updatedAt;

	public function __toString()
	{
		return (string) $this->orderNumber;
	}

	public function getResourceId()
    {
        return $this->resourceId;
    }
}
