JmiWareParam.php 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  1. <?php
  2. namespace KplOpenWfpJmiwareEditWare;
  3. class JmiWareParam{
  4. private $params=array();
  5. function __construct(){
  6. $this->params["@type"]="com.jd.kpl.JmiWareParam";
  7. }
  8. private $opName;
  9. public function setOpName($opName){
  10. $this->params['opName'] = $opName;
  11. }
  12. public function getOpName(){
  13. return $this->opName;
  14. }
  15. private $opIp;
  16. public function setOpIp($opIp){
  17. $this->params['opIp'] = $opIp;
  18. }
  19. public function getOpIp(){
  20. return $this->opIp;
  21. }
  22. private $sourceId;
  23. public function setSourceId($sourceId){
  24. $this->params['sourceId'] = $sourceId;
  25. }
  26. public function getSourceId(){
  27. return $this->sourceId;
  28. }
  29. private $uuid;
  30. public function setUuid($uuid){
  31. $this->params['uuid'] = $uuid;
  32. }
  33. public function getUuid(){
  34. return $this->uuid;
  35. }
  36. private $port;
  37. public function setPort($port){
  38. $this->params['port'] = $port;
  39. }
  40. public function getPort(){
  41. return $this->port;
  42. }
  43. private $jWareId;
  44. public function setJWareId($jWareId){
  45. $this->params['jWareId'] = $jWareId;
  46. }
  47. public function getJWareId(){
  48. return $this->jWareId;
  49. }
  50. private $catId;
  51. public function setCatId($catId){
  52. $this->params['catId'] = $catId;
  53. }
  54. public function getCatId(){
  55. return $this->catId;
  56. }
  57. private $venderId;
  58. public function setVenderId($venderId){
  59. $this->params['venderId'] = $venderId;
  60. }
  61. public function getVenderId(){
  62. return $this->venderId;
  63. }
  64. private $shopId;
  65. public function setShopId($shopId){
  66. $this->params['shopId'] = $shopId;
  67. }
  68. public function getShopId(){
  69. return $this->shopId;
  70. }
  71. private $title;
  72. public function setTitle($title){
  73. $this->params['title'] = $title;
  74. }
  75. public function getTitle(){
  76. return $this->title;
  77. }
  78. private $subTitle;
  79. public function setSubTitle($subTitle){
  80. $this->params['subTitle'] = $subTitle;
  81. }
  82. public function getSubTitle(){
  83. return $this->subTitle;
  84. }
  85. private $marketPrice;
  86. public function setMarketPrice($marketPrice){
  87. $this->params['marketPrice'] = $marketPrice;
  88. }
  89. public function getMarketPrice(){
  90. return $this->marketPrice;
  91. }
  92. private $price;
  93. public function setPrice($price){
  94. $this->params['price'] = $price;
  95. }
  96. public function getPrice(){
  97. return $this->price;
  98. }
  99. private $outerId;
  100. public function setOuterId($outerId){
  101. $this->params['outerId'] = $outerId;
  102. }
  103. public function getOuterId(){
  104. return $this->outerId;
  105. }
  106. private $quantity;
  107. public function setQuantity($quantity){
  108. $this->params['quantity'] = $quantity;
  109. }
  110. public function getQuantity(){
  111. return $this->quantity;
  112. }
  113. private $logo;
  114. public function setLogo($logo){
  115. $this->params['logo'] = $logo;
  116. }
  117. public function getLogo(){
  118. return $this->logo;
  119. }
  120. private $operateType;
  121. public function setOperateType($operateType){
  122. $this->params['operateType'] = $operateType;
  123. }
  124. public function getOperateType(){
  125. return $this->operateType;
  126. }
  127. private $note;
  128. public function setNote($note){
  129. $this->params['note'] = $note;
  130. }
  131. public function getNote(){
  132. return $this->note;
  133. }
  134. private $wareImages;
  135. public function setWareImages($wareImages){
  136. $size = count($wareImages);
  137. for ($i=0; $i<$size; $i++){
  138. $wareImages [$i] = $wareImages [$i] ->getInstance();
  139. }
  140. $this->params['wareImages'] = $wareImages;
  141. }
  142. private $features;
  143. public function setFeatures($features){
  144. $this->params['features'] = $features ->getInstance();
  145. }
  146. private $url;
  147. public function setUrl($url){
  148. $this->params['url'] = $url;
  149. }
  150. public function getUrl(){
  151. return $this->url;
  152. }
  153. private $urlWord;
  154. public function setUrlWord($urlWord){
  155. $this->params['urlWord'] = $urlWord;
  156. }
  157. public function getUrlWord(){
  158. return $this->urlWord;
  159. }
  160. private $onlineTime;
  161. public function setOnlineTime($onlineTime){
  162. $this->params['onlineTime'] = $onlineTime;
  163. }
  164. public function getOnlineTime(){
  165. return $this->onlineTime;
  166. }
  167. private $offlineTime;
  168. public function setOfflineTime($offlineTime){
  169. $this->params['offlineTime'] = $offlineTime;
  170. }
  171. public function getOfflineTime(){
  172. return $this->offlineTime;
  173. }
  174. private $appNote;
  175. public function setAppNote($appNote){
  176. $this->params['appNote'] = $appNote;
  177. }
  178. public function getAppNote(){
  179. return $this->appNote;
  180. }
  181. private $shopCategory;
  182. public function setShopCategory($shopCategory){
  183. $this->params['shopCategory'] = $shopCategory;
  184. }
  185. public function getShopCategory(){
  186. return $this->shopCategory;
  187. }
  188. private $wareSettingList;
  189. public function setWareSettingList($wareSettingList){
  190. $size = count($wareSettingList);
  191. for ($i=0; $i<$size; $i++){
  192. $wareSettingList [$i] = $wareSettingList [$i] ->getInstance();
  193. }
  194. $this->params['wareSettingList'] = $wareSettingList;
  195. }
  196. private $categorySettingList;
  197. public function setCategorySettingList($categorySettingList){
  198. $size = count($categorySettingList);
  199. for ($i=0; $i<$size; $i++){
  200. $categorySettingList [$i] = $categorySettingList [$i] ->getInstance();
  201. }
  202. $this->params['categorySettingList'] = $categorySettingList;
  203. }
  204. private $skus;
  205. public function setSkus($skus){
  206. $size = count($skus);
  207. for ($i=0; $i<$size; $i++){
  208. $skus [$i] = $skus [$i] ->getInstance();
  209. }
  210. $this->params['skus'] = $skus;
  211. }
  212. function getInstance(){
  213. return $this->params;
  214. }
  215. }
  216. ?>