| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- <?php
- namespace UnionOpenExchangeMediaOrderSync;
- class MediaOrder{
- private $params=array();
- function __construct(){
- $this->params["@type"]="com.jd.union.open.gateway.api.dto.exchange.MediaOrder";
- }
-
- private $orderType;
-
- public function setOrderType($orderType){
- $this->params['orderType'] = $orderType;
- }
- public function getOrderType(){
- return $this->orderType;
- }
-
- private $orderContentList;
-
- public function setOrderContentList($orderContentList){
- $size = count($orderContentList);
- for ($i=0; $i<$size; $i++){
- $orderContentList [$i] = $orderContentList [$i] ->getInstance();
- }
- $this->params['orderContentList'] = $orderContentList;
- }
-
-
- private $orderId;
-
- public function setOrderId($orderId){
- $this->params['orderId'] = $orderId;
- }
- public function getOrderId(){
- return $this->orderId;
- }
-
- private $orderStatus;
-
- public function setOrderStatus($orderStatus){
- $this->params['orderStatus'] = $orderStatus;
- }
- public function getOrderStatus(){
- return $this->orderStatus;
- }
-
- private $orderPrice;
-
- public function setOrderPrice($orderPrice){
- $this->params['orderPrice'] = $orderPrice;
- }
- public function getOrderPrice(){
- return $this->orderPrice;
- }
-
- private $cancelReason;
-
- public function setCancelReason($cancelReason){
- $this->params['cancelReason'] = $cancelReason;
- }
- public function getCancelReason(){
- return $this->cancelReason;
- }
-
- private $taskId;
-
- public function setTaskId($taskId){
- $this->params['taskId'] = $taskId;
- }
- public function getTaskId(){
- return $this->taskId;
- }
-
- private $balancePrice;
-
- public function setBalancePrice($balancePrice){
- $this->params['balancePrice'] = $balancePrice;
- }
- public function getBalancePrice(){
- return $this->balancePrice;
- }
-
- private $orderName;
-
- public function setOrderName($orderName){
- $this->params['orderName'] = $orderName;
- }
- public function getOrderName(){
- return $this->orderName;
- }
-
- private $balanceStatus;
-
- public function setBalanceStatus($balanceStatus){
- $this->params['balanceStatus'] = $balanceStatus;
- }
- public function getBalanceStatus(){
- return $this->balanceStatus;
- }
-
- private $orderTime;
-
- public function setOrderTime($orderTime){
- $this->params['orderTime'] = $orderTime;
- }
- public function getOrderTime(){
- return $this->orderTime;
- }
-
- private $compensatePrice;
-
- public function setCompensatePrice($compensatePrice){
- $this->params['compensatePrice'] = $compensatePrice;
- }
- public function getCompensatePrice(){
- return $this->compensatePrice;
- }
-
- function getInstance(){
- return $this->params;
- }
- }
- ?>
|