<?php
/**
 * TOP API: aliexpress.logistics.redefining.getonlinelogisticsinfo request
 * 
 * @author auto create
 * @since 1.0, 2020.07.01
 */
class AliexpressLogisticsRedefiningGetonlinelogisticsinfoRequest
{
	/** 
	 * domestic tracking number
	 **/
	private $chinaLogisticsId;
	
	/** 
	 * current page
	 **/
	private $currentPage;
	
	/** 
	 * time in YYYY-MM-dd HH:mm:SS
	 **/
	private $gmtCreateEndStr;
	
	/** 
	 * time in YYYY-MM-dd HH:mm:SS
	 **/
	private $gmtCreateStartStr;
	
	/** 
	 * international tracking number
	 **/
	private $internationalLogisticsId;
	
	/** 
	 * logistics order id
	 **/
	private $logisticsOrderId;
	
	/** 
	 * status of the logistics order (INIT, WAIT, PICKUP, PICKUP, WAREHOUSE, WAREHOUSE, REROUTE, WAREHOUSE, WAIT, LOGISTICS, OUT, OUT, SEND, SEND, ORDER, ORDER, CLOSED)
	 **/
	private $logisticsStatus;
	
	/** 
	 * trade order id
	 **/
	private $orderId;
	
	/** 
	 * page size
	 **/
	private $pageSize;
	
	/** 
	 * query express order
	 **/
	private $queryExpressOrder;
	
	private $apiParas = array();
	
	public function setChinaLogisticsId($chinaLogisticsId)
	{
		$this->chinaLogisticsId = $chinaLogisticsId;
		$this->apiParas["china_logistics_id"] = $chinaLogisticsId;
	}

	public function getChinaLogisticsId()
	{
		return $this->chinaLogisticsId;
	}

	public function setCurrentPage($currentPage)
	{
		$this->currentPage = $currentPage;
		$this->apiParas["current_page"] = $currentPage;
	}

	public function getCurrentPage()
	{
		return $this->currentPage;
	}

	public function setGmtCreateEndStr($gmtCreateEndStr)
	{
		$this->gmtCreateEndStr = $gmtCreateEndStr;
		$this->apiParas["gmt_create_end_str"] = $gmtCreateEndStr;
	}

	public function getGmtCreateEndStr()
	{
		return $this->gmtCreateEndStr;
	}

	public function setGmtCreateStartStr($gmtCreateStartStr)
	{
		$this->gmtCreateStartStr = $gmtCreateStartStr;
		$this->apiParas["gmt_create_start_str"] = $gmtCreateStartStr;
	}

	public function getGmtCreateStartStr()
	{
		return $this->gmtCreateStartStr;
	}

	public function setInternationalLogisticsId($internationalLogisticsId)
	{
		$this->internationalLogisticsId = $internationalLogisticsId;
		$this->apiParas["international_logistics_id"] = $internationalLogisticsId;
	}

	public function getInternationalLogisticsId()
	{
		return $this->internationalLogisticsId;
	}

	public function setLogisticsOrderId($logisticsOrderId)
	{
		$this->logisticsOrderId = $logisticsOrderId;
		$this->apiParas["logistics_order_id"] = $logisticsOrderId;
	}

	public function getLogisticsOrderId()
	{
		return $this->logisticsOrderId;
	}

	public function setLogisticsStatus($logisticsStatus)
	{
		$this->logisticsStatus = $logisticsStatus;
		$this->apiParas["logistics_status"] = $logisticsStatus;
	}

	public function getLogisticsStatus()
	{
		return $this->logisticsStatus;
	}

	public function setOrderId($orderId)
	{
		$this->orderId = $orderId;
		$this->apiParas["order_id"] = $orderId;
	}

	public function getOrderId()
	{
		return $this->orderId;
	}

	public function setPageSize($pageSize)
	{
		$this->pageSize = $pageSize;
		$this->apiParas["page_size"] = $pageSize;
	}

	public function getPageSize()
	{
		return $this->pageSize;
	}

	public function setQueryExpressOrder($queryExpressOrder)
	{
		$this->queryExpressOrder = $queryExpressOrder;
		$this->apiParas["query_express_order"] = $queryExpressOrder;
	}

	public function getQueryExpressOrder()
	{
		return $this->queryExpressOrder;
	}

	public function getApiMethodName()
	{
		return "aliexpress.logistics.redefining.getonlinelogisticsinfo";
	}
	
	public function getApiParas()
	{
		return $this->apiParas;
	}
	
	public function check()
	{
		
	}
	
	public function putOtherTextParam($key, $value) {
		$this->apiParas[$key] = $value;
		$this->$key = $value;
	}
}
