@@ -7,275 +7,275 @@ |
||
| 7 | 7 | class PddFlightChangeApplyRequest extends PopBaseHttpRequest |
| 8 | 8 | { |
| 9 | 9 | public function __construct() |
| 10 | - { |
|
| 11 | - |
|
| 12 | - } |
|
| 13 | - /** |
|
| 14 | - * @JsonProperty(String, "trace_id") |
|
| 15 | - */ |
|
| 16 | - private $traceId; |
|
| 17 | - |
|
| 18 | - /** |
|
| 19 | - * @JsonProperty(String, "sub_trace_id") |
|
| 20 | - */ |
|
| 21 | - private $subTraceId; |
|
| 22 | - |
|
| 23 | - /** |
|
| 24 | - * @JsonProperty(String, "out_order_no") |
|
| 25 | - */ |
|
| 26 | - private $outOrderNo; |
|
| 27 | - |
|
| 28 | - /** |
|
| 29 | - * @JsonProperty(String, "parent_travel_sn") |
|
| 30 | - */ |
|
| 31 | - private $parentTravelSn; |
|
| 32 | - |
|
| 33 | - /** |
|
| 34 | - * @JsonProperty(String, "change_date") |
|
| 35 | - */ |
|
| 36 | - private $changeDate; |
|
| 37 | - |
|
| 38 | - /** |
|
| 39 | - * @JsonProperty(String, "attachment_path") |
|
| 40 | - */ |
|
| 41 | - private $attachmentPath; |
|
| 42 | - |
|
| 43 | - /** |
|
| 44 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightChangeApplyRequest_PassengerInfoListItem>, "passenger_info_list") |
|
| 45 | - */ |
|
| 46 | - private $passengerInfoList; |
|
| 47 | - |
|
| 48 | - /** |
|
| 49 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightChangeApplyRequest_FlightInfoListItem>, "flight_info_list") |
|
| 50 | - */ |
|
| 51 | - private $flightInfoList; |
|
| 52 | - |
|
| 53 | - protected function setUserParams(&$params) |
|
| 54 | - { |
|
| 55 | - $this->setUserParam($params, "trace_id", $this->traceId); |
|
| 56 | - $this->setUserParam($params, "sub_trace_id", $this->subTraceId); |
|
| 57 | - $this->setUserParam($params, "out_order_no", $this->outOrderNo); |
|
| 58 | - $this->setUserParam($params, "parent_travel_sn", $this->parentTravelSn); |
|
| 59 | - $this->setUserParam($params, "change_date", $this->changeDate); |
|
| 60 | - $this->setUserParam($params, "attachment_path", $this->attachmentPath); |
|
| 61 | - $this->setUserParam($params, "passenger_info_list", $this->passengerInfoList); |
|
| 62 | - $this->setUserParam($params, "flight_info_list", $this->flightInfoList); |
|
| 63 | - |
|
| 64 | - } |
|
| 65 | - |
|
| 66 | - public function getVersion() |
|
| 67 | - { |
|
| 68 | - return "V1"; |
|
| 69 | - } |
|
| 70 | - |
|
| 71 | - public function getDataType() |
|
| 72 | - { |
|
| 73 | - return "JSON"; |
|
| 74 | - } |
|
| 75 | - |
|
| 76 | - public function getType() |
|
| 77 | - { |
|
| 78 | - return "pdd.flight.change.apply"; |
|
| 79 | - } |
|
| 80 | - |
|
| 81 | - public function setTraceId($traceId) |
|
| 82 | - { |
|
| 83 | - $this->traceId = $traceId; |
|
| 84 | - } |
|
| 85 | - |
|
| 86 | - public function setSubTraceId($subTraceId) |
|
| 87 | - { |
|
| 88 | - $this->subTraceId = $subTraceId; |
|
| 89 | - } |
|
| 90 | - |
|
| 91 | - public function setOutOrderNo($outOrderNo) |
|
| 92 | - { |
|
| 93 | - $this->outOrderNo = $outOrderNo; |
|
| 94 | - } |
|
| 95 | - |
|
| 96 | - public function setParentTravelSn($parentTravelSn) |
|
| 97 | - { |
|
| 98 | - $this->parentTravelSn = $parentTravelSn; |
|
| 99 | - } |
|
| 100 | - |
|
| 101 | - public function setChangeDate($changeDate) |
|
| 102 | - { |
|
| 103 | - $this->changeDate = $changeDate; |
|
| 104 | - } |
|
| 105 | - |
|
| 106 | - public function setAttachmentPath($attachmentPath) |
|
| 107 | - { |
|
| 108 | - $this->attachmentPath = $attachmentPath; |
|
| 109 | - } |
|
| 110 | - |
|
| 111 | - public function setPassengerInfoList($passengerInfoList) |
|
| 112 | - { |
|
| 113 | - $this->passengerInfoList = $passengerInfoList; |
|
| 114 | - } |
|
| 115 | - |
|
| 116 | - public function setFlightInfoList($flightInfoList) |
|
| 117 | - { |
|
| 118 | - $this->flightInfoList = $flightInfoList; |
|
| 119 | - } |
|
| 10 | + { |
|
| 11 | + |
|
| 12 | + } |
|
| 13 | + /** |
|
| 14 | + * @JsonProperty(String, "trace_id") |
|
| 15 | + */ |
|
| 16 | + private $traceId; |
|
| 17 | + |
|
| 18 | + /** |
|
| 19 | + * @JsonProperty(String, "sub_trace_id") |
|
| 20 | + */ |
|
| 21 | + private $subTraceId; |
|
| 22 | + |
|
| 23 | + /** |
|
| 24 | + * @JsonProperty(String, "out_order_no") |
|
| 25 | + */ |
|
| 26 | + private $outOrderNo; |
|
| 27 | + |
|
| 28 | + /** |
|
| 29 | + * @JsonProperty(String, "parent_travel_sn") |
|
| 30 | + */ |
|
| 31 | + private $parentTravelSn; |
|
| 32 | + |
|
| 33 | + /** |
|
| 34 | + * @JsonProperty(String, "change_date") |
|
| 35 | + */ |
|
| 36 | + private $changeDate; |
|
| 37 | + |
|
| 38 | + /** |
|
| 39 | + * @JsonProperty(String, "attachment_path") |
|
| 40 | + */ |
|
| 41 | + private $attachmentPath; |
|
| 42 | + |
|
| 43 | + /** |
|
| 44 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightChangeApplyRequest_PassengerInfoListItem>, "passenger_info_list") |
|
| 45 | + */ |
|
| 46 | + private $passengerInfoList; |
|
| 47 | + |
|
| 48 | + /** |
|
| 49 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightChangeApplyRequest_FlightInfoListItem>, "flight_info_list") |
|
| 50 | + */ |
|
| 51 | + private $flightInfoList; |
|
| 52 | + |
|
| 53 | + protected function setUserParams(&$params) |
|
| 54 | + { |
|
| 55 | + $this->setUserParam($params, "trace_id", $this->traceId); |
|
| 56 | + $this->setUserParam($params, "sub_trace_id", $this->subTraceId); |
|
| 57 | + $this->setUserParam($params, "out_order_no", $this->outOrderNo); |
|
| 58 | + $this->setUserParam($params, "parent_travel_sn", $this->parentTravelSn); |
|
| 59 | + $this->setUserParam($params, "change_date", $this->changeDate); |
|
| 60 | + $this->setUserParam($params, "attachment_path", $this->attachmentPath); |
|
| 61 | + $this->setUserParam($params, "passenger_info_list", $this->passengerInfoList); |
|
| 62 | + $this->setUserParam($params, "flight_info_list", $this->flightInfoList); |
|
| 63 | + |
|
| 64 | + } |
|
| 65 | + |
|
| 66 | + public function getVersion() |
|
| 67 | + { |
|
| 68 | + return "V1"; |
|
| 69 | + } |
|
| 70 | + |
|
| 71 | + public function getDataType() |
|
| 72 | + { |
|
| 73 | + return "JSON"; |
|
| 74 | + } |
|
| 75 | + |
|
| 76 | + public function getType() |
|
| 77 | + { |
|
| 78 | + return "pdd.flight.change.apply"; |
|
| 79 | + } |
|
| 80 | + |
|
| 81 | + public function setTraceId($traceId) |
|
| 82 | + { |
|
| 83 | + $this->traceId = $traceId; |
|
| 84 | + } |
|
| 85 | + |
|
| 86 | + public function setSubTraceId($subTraceId) |
|
| 87 | + { |
|
| 88 | + $this->subTraceId = $subTraceId; |
|
| 89 | + } |
|
| 90 | + |
|
| 91 | + public function setOutOrderNo($outOrderNo) |
|
| 92 | + { |
|
| 93 | + $this->outOrderNo = $outOrderNo; |
|
| 94 | + } |
|
| 95 | + |
|
| 96 | + public function setParentTravelSn($parentTravelSn) |
|
| 97 | + { |
|
| 98 | + $this->parentTravelSn = $parentTravelSn; |
|
| 99 | + } |
|
| 100 | + |
|
| 101 | + public function setChangeDate($changeDate) |
|
| 102 | + { |
|
| 103 | + $this->changeDate = $changeDate; |
|
| 104 | + } |
|
| 105 | + |
|
| 106 | + public function setAttachmentPath($attachmentPath) |
|
| 107 | + { |
|
| 108 | + $this->attachmentPath = $attachmentPath; |
|
| 109 | + } |
|
| 110 | + |
|
| 111 | + public function setPassengerInfoList($passengerInfoList) |
|
| 112 | + { |
|
| 113 | + $this->passengerInfoList = $passengerInfoList; |
|
| 114 | + } |
|
| 115 | + |
|
| 116 | + public function setFlightInfoList($flightInfoList) |
|
| 117 | + { |
|
| 118 | + $this->flightInfoList = $flightInfoList; |
|
| 119 | + } |
|
| 120 | 120 | |
| 121 | 121 | } |
| 122 | 122 | |
| 123 | 123 | class PddFlightChangeApplyRequest_PassengerInfoListItem extends PopBaseJsonEntity |
| 124 | 124 | { |
| 125 | 125 | |
| 126 | - public function __construct() |
|
| 127 | - { |
|
| 128 | - |
|
| 129 | - } |
|
| 130 | - |
|
| 131 | - /** |
|
| 132 | - * @JsonProperty(String, "passenger_type") |
|
| 133 | - */ |
|
| 134 | - private $passengerType; |
|
| 135 | - |
|
| 136 | - /** |
|
| 137 | - * @JsonProperty(String, "name") |
|
| 138 | - */ |
|
| 139 | - private $name; |
|
| 140 | - |
|
| 141 | - /** |
|
| 142 | - * @JsonProperty(String, "identity_type") |
|
| 143 | - */ |
|
| 144 | - private $identityType; |
|
| 145 | - |
|
| 146 | - /** |
|
| 147 | - * @JsonProperty(String, "identity_no") |
|
| 148 | - */ |
|
| 149 | - private $identityNo; |
|
| 150 | - |
|
| 151 | - /** |
|
| 152 | - * @JsonProperty(String, "travel_sn") |
|
| 153 | - */ |
|
| 154 | - private $travelSn; |
|
| 155 | - |
|
| 156 | - /** |
|
| 157 | - * @JsonProperty(String, "ticket_no") |
|
| 158 | - */ |
|
| 159 | - private $ticketNo; |
|
| 160 | - |
|
| 161 | - /** |
|
| 162 | - * @JsonProperty(String, "old_travel_sn") |
|
| 163 | - */ |
|
| 164 | - private $oldTravelSn; |
|
| 165 | - |
|
| 166 | - public function setPassengerType($passengerType) |
|
| 167 | - { |
|
| 168 | - $this->passengerType = $passengerType; |
|
| 169 | - } |
|
| 170 | - |
|
| 171 | - public function setName($name) |
|
| 172 | - { |
|
| 173 | - $this->name = $name; |
|
| 174 | - } |
|
| 175 | - |
|
| 176 | - public function setIdentityType($identityType) |
|
| 177 | - { |
|
| 178 | - $this->identityType = $identityType; |
|
| 179 | - } |
|
| 180 | - |
|
| 181 | - public function setIdentityNo($identityNo) |
|
| 182 | - { |
|
| 183 | - $this->identityNo = $identityNo; |
|
| 184 | - } |
|
| 185 | - |
|
| 186 | - public function setTravelSn($travelSn) |
|
| 187 | - { |
|
| 188 | - $this->travelSn = $travelSn; |
|
| 189 | - } |
|
| 190 | - |
|
| 191 | - public function setTicketNo($ticketNo) |
|
| 192 | - { |
|
| 193 | - $this->ticketNo = $ticketNo; |
|
| 194 | - } |
|
| 195 | - |
|
| 196 | - public function setOldTravelSn($oldTravelSn) |
|
| 197 | - { |
|
| 198 | - $this->oldTravelSn = $oldTravelSn; |
|
| 199 | - } |
|
| 126 | + public function __construct() |
|
| 127 | + { |
|
| 128 | + |
|
| 129 | + } |
|
| 130 | + |
|
| 131 | + /** |
|
| 132 | + * @JsonProperty(String, "passenger_type") |
|
| 133 | + */ |
|
| 134 | + private $passengerType; |
|
| 135 | + |
|
| 136 | + /** |
|
| 137 | + * @JsonProperty(String, "name") |
|
| 138 | + */ |
|
| 139 | + private $name; |
|
| 140 | + |
|
| 141 | + /** |
|
| 142 | + * @JsonProperty(String, "identity_type") |
|
| 143 | + */ |
|
| 144 | + private $identityType; |
|
| 145 | + |
|
| 146 | + /** |
|
| 147 | + * @JsonProperty(String, "identity_no") |
|
| 148 | + */ |
|
| 149 | + private $identityNo; |
|
| 150 | + |
|
| 151 | + /** |
|
| 152 | + * @JsonProperty(String, "travel_sn") |
|
| 153 | + */ |
|
| 154 | + private $travelSn; |
|
| 155 | + |
|
| 156 | + /** |
|
| 157 | + * @JsonProperty(String, "ticket_no") |
|
| 158 | + */ |
|
| 159 | + private $ticketNo; |
|
| 160 | + |
|
| 161 | + /** |
|
| 162 | + * @JsonProperty(String, "old_travel_sn") |
|
| 163 | + */ |
|
| 164 | + private $oldTravelSn; |
|
| 165 | + |
|
| 166 | + public function setPassengerType($passengerType) |
|
| 167 | + { |
|
| 168 | + $this->passengerType = $passengerType; |
|
| 169 | + } |
|
| 170 | + |
|
| 171 | + public function setName($name) |
|
| 172 | + { |
|
| 173 | + $this->name = $name; |
|
| 174 | + } |
|
| 175 | + |
|
| 176 | + public function setIdentityType($identityType) |
|
| 177 | + { |
|
| 178 | + $this->identityType = $identityType; |
|
| 179 | + } |
|
| 180 | + |
|
| 181 | + public function setIdentityNo($identityNo) |
|
| 182 | + { |
|
| 183 | + $this->identityNo = $identityNo; |
|
| 184 | + } |
|
| 185 | + |
|
| 186 | + public function setTravelSn($travelSn) |
|
| 187 | + { |
|
| 188 | + $this->travelSn = $travelSn; |
|
| 189 | + } |
|
| 190 | + |
|
| 191 | + public function setTicketNo($ticketNo) |
|
| 192 | + { |
|
| 193 | + $this->ticketNo = $ticketNo; |
|
| 194 | + } |
|
| 195 | + |
|
| 196 | + public function setOldTravelSn($oldTravelSn) |
|
| 197 | + { |
|
| 198 | + $this->oldTravelSn = $oldTravelSn; |
|
| 199 | + } |
|
| 200 | 200 | |
| 201 | 201 | } |
| 202 | 202 | |
| 203 | 203 | class PddFlightChangeApplyRequest_FlightInfoListItem extends PopBaseJsonEntity |
| 204 | 204 | { |
| 205 | 205 | |
| 206 | - public function __construct() |
|
| 207 | - { |
|
| 208 | - |
|
| 209 | - } |
|
| 210 | - |
|
| 211 | - /** |
|
| 212 | - * @JsonProperty(String, "flight_no") |
|
| 213 | - */ |
|
| 214 | - private $flightNo; |
|
| 215 | - |
|
| 216 | - /** |
|
| 217 | - * @JsonProperty(Integer, "segment_no") |
|
| 218 | - */ |
|
| 219 | - private $segmentNo; |
|
| 220 | - |
|
| 221 | - /** |
|
| 222 | - * @JsonProperty(Integer, "sequence_no") |
|
| 223 | - */ |
|
| 224 | - private $sequenceNo; |
|
| 225 | - |
|
| 226 | - /** |
|
| 227 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightChangeApplyRequest_FlightInfoListItemCabinInfoListItem>, "cabin_info_list") |
|
| 228 | - */ |
|
| 229 | - private $cabinInfoList; |
|
| 230 | - |
|
| 231 | - public function setFlightNo($flightNo) |
|
| 232 | - { |
|
| 233 | - $this->flightNo = $flightNo; |
|
| 234 | - } |
|
| 235 | - |
|
| 236 | - public function setSegmentNo($segmentNo) |
|
| 237 | - { |
|
| 238 | - $this->segmentNo = $segmentNo; |
|
| 239 | - } |
|
| 240 | - |
|
| 241 | - public function setSequenceNo($sequenceNo) |
|
| 242 | - { |
|
| 243 | - $this->sequenceNo = $sequenceNo; |
|
| 244 | - } |
|
| 245 | - |
|
| 246 | - public function setCabinInfoList($cabinInfoList) |
|
| 247 | - { |
|
| 248 | - $this->cabinInfoList = $cabinInfoList; |
|
| 249 | - } |
|
| 206 | + public function __construct() |
|
| 207 | + { |
|
| 208 | + |
|
| 209 | + } |
|
| 210 | + |
|
| 211 | + /** |
|
| 212 | + * @JsonProperty(String, "flight_no") |
|
| 213 | + */ |
|
| 214 | + private $flightNo; |
|
| 215 | + |
|
| 216 | + /** |
|
| 217 | + * @JsonProperty(Integer, "segment_no") |
|
| 218 | + */ |
|
| 219 | + private $segmentNo; |
|
| 220 | + |
|
| 221 | + /** |
|
| 222 | + * @JsonProperty(Integer, "sequence_no") |
|
| 223 | + */ |
|
| 224 | + private $sequenceNo; |
|
| 225 | + |
|
| 226 | + /** |
|
| 227 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightChangeApplyRequest_FlightInfoListItemCabinInfoListItem>, "cabin_info_list") |
|
| 228 | + */ |
|
| 229 | + private $cabinInfoList; |
|
| 230 | + |
|
| 231 | + public function setFlightNo($flightNo) |
|
| 232 | + { |
|
| 233 | + $this->flightNo = $flightNo; |
|
| 234 | + } |
|
| 235 | + |
|
| 236 | + public function setSegmentNo($segmentNo) |
|
| 237 | + { |
|
| 238 | + $this->segmentNo = $segmentNo; |
|
| 239 | + } |
|
| 240 | + |
|
| 241 | + public function setSequenceNo($sequenceNo) |
|
| 242 | + { |
|
| 243 | + $this->sequenceNo = $sequenceNo; |
|
| 244 | + } |
|
| 245 | + |
|
| 246 | + public function setCabinInfoList($cabinInfoList) |
|
| 247 | + { |
|
| 248 | + $this->cabinInfoList = $cabinInfoList; |
|
| 249 | + } |
|
| 250 | 250 | |
| 251 | 251 | } |
| 252 | 252 | |
| 253 | 253 | class PddFlightChangeApplyRequest_FlightInfoListItemCabinInfoListItem extends PopBaseJsonEntity |
| 254 | 254 | { |
| 255 | 255 | |
| 256 | - public function __construct() |
|
| 257 | - { |
|
| 256 | + public function __construct() |
|
| 257 | + { |
|
| 258 | 258 | |
| 259 | - } |
|
| 259 | + } |
|
| 260 | 260 | |
| 261 | - /** |
|
| 262 | - * @JsonProperty(String, "passenger_type") |
|
| 263 | - */ |
|
| 264 | - private $passengerType; |
|
| 261 | + /** |
|
| 262 | + * @JsonProperty(String, "passenger_type") |
|
| 263 | + */ |
|
| 264 | + private $passengerType; |
|
| 265 | 265 | |
| 266 | - /** |
|
| 267 | - * @JsonProperty(String, "sub_class") |
|
| 268 | - */ |
|
| 269 | - private $subClass; |
|
| 266 | + /** |
|
| 267 | + * @JsonProperty(String, "sub_class") |
|
| 268 | + */ |
|
| 269 | + private $subClass; |
|
| 270 | 270 | |
| 271 | - public function setPassengerType($passengerType) |
|
| 272 | - { |
|
| 273 | - $this->passengerType = $passengerType; |
|
| 274 | - } |
|
| 271 | + public function setPassengerType($passengerType) |
|
| 272 | + { |
|
| 273 | + $this->passengerType = $passengerType; |
|
| 274 | + } |
|
| 275 | 275 | |
| 276 | - public function setSubClass($subClass) |
|
| 277 | - { |
|
| 278 | - $this->subClass = $subClass; |
|
| 279 | - } |
|
| 276 | + public function setSubClass($subClass) |
|
| 277 | + { |
|
| 278 | + $this->subClass = $subClass; |
|
| 279 | + } |
|
| 280 | 280 | |
| 281 | 281 | } |
@@ -7,129 +7,129 @@ |
||
| 7 | 7 | class PddAdApiUnitCreativeCreateRequest extends PopBaseHttpRequest |
| 8 | 8 | { |
| 9 | 9 | public function __construct() |
| 10 | - { |
|
| 11 | - |
|
| 12 | - } |
|
| 13 | - /** |
|
| 14 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreativeCreateRequest_AdCreativeCreateMessage, "adCreativeCreateMessage") |
|
| 15 | - */ |
|
| 16 | - private $adCreativeCreateMessage; |
|
| 17 | - |
|
| 18 | - /** |
|
| 19 | - * @JsonProperty(Long, "adId") |
|
| 20 | - */ |
|
| 21 | - private $adId; |
|
| 22 | - |
|
| 23 | - protected function setUserParams(&$params) |
|
| 24 | - { |
|
| 25 | - $this->setUserParam($params, "adCreativeCreateMessage", $this->adCreativeCreateMessage); |
|
| 26 | - $this->setUserParam($params, "adId", $this->adId); |
|
| 27 | - |
|
| 28 | - } |
|
| 29 | - |
|
| 30 | - public function getVersion() |
|
| 31 | - { |
|
| 32 | - return "V1"; |
|
| 33 | - } |
|
| 34 | - |
|
| 35 | - public function getDataType() |
|
| 36 | - { |
|
| 37 | - return "JSON"; |
|
| 38 | - } |
|
| 39 | - |
|
| 40 | - public function getType() |
|
| 41 | - { |
|
| 42 | - return "pdd.ad.api.unit.creative.create"; |
|
| 43 | - } |
|
| 44 | - |
|
| 45 | - public function setAdCreativeCreateMessage($adCreativeCreateMessage) |
|
| 46 | - { |
|
| 47 | - $this->adCreativeCreateMessage = $adCreativeCreateMessage; |
|
| 48 | - } |
|
| 49 | - |
|
| 50 | - public function setAdId($adId) |
|
| 51 | - { |
|
| 52 | - $this->adId = $adId; |
|
| 53 | - } |
|
| 10 | + { |
|
| 11 | + |
|
| 12 | + } |
|
| 13 | + /** |
|
| 14 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreativeCreateRequest_AdCreativeCreateMessage, "adCreativeCreateMessage") |
|
| 15 | + */ |
|
| 16 | + private $adCreativeCreateMessage; |
|
| 17 | + |
|
| 18 | + /** |
|
| 19 | + * @JsonProperty(Long, "adId") |
|
| 20 | + */ |
|
| 21 | + private $adId; |
|
| 22 | + |
|
| 23 | + protected function setUserParams(&$params) |
|
| 24 | + { |
|
| 25 | + $this->setUserParam($params, "adCreativeCreateMessage", $this->adCreativeCreateMessage); |
|
| 26 | + $this->setUserParam($params, "adId", $this->adId); |
|
| 27 | + |
|
| 28 | + } |
|
| 29 | + |
|
| 30 | + public function getVersion() |
|
| 31 | + { |
|
| 32 | + return "V1"; |
|
| 33 | + } |
|
| 34 | + |
|
| 35 | + public function getDataType() |
|
| 36 | + { |
|
| 37 | + return "JSON"; |
|
| 38 | + } |
|
| 39 | + |
|
| 40 | + public function getType() |
|
| 41 | + { |
|
| 42 | + return "pdd.ad.api.unit.creative.create"; |
|
| 43 | + } |
|
| 44 | + |
|
| 45 | + public function setAdCreativeCreateMessage($adCreativeCreateMessage) |
|
| 46 | + { |
|
| 47 | + $this->adCreativeCreateMessage = $adCreativeCreateMessage; |
|
| 48 | + } |
|
| 49 | + |
|
| 50 | + public function setAdId($adId) |
|
| 51 | + { |
|
| 52 | + $this->adId = $adId; |
|
| 53 | + } |
|
| 54 | 54 | |
| 55 | 55 | } |
| 56 | 56 | |
| 57 | 57 | class PddAdApiUnitCreativeCreateRequest_AdCreativeCreateMessage extends PopBaseJsonEntity |
| 58 | 58 | { |
| 59 | 59 | |
| 60 | - public function __construct() |
|
| 61 | - { |
|
| 60 | + public function __construct() |
|
| 61 | + { |
|
| 62 | 62 | |
| 63 | - } |
|
| 63 | + } |
|
| 64 | 64 | |
| 65 | - /** |
|
| 66 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreativeCreateRequest_AdCreativeCreateMessageAdImageVOListItem>, "adImageVOList") |
|
| 67 | - */ |
|
| 68 | - private $adImageVOList; |
|
| 65 | + /** |
|
| 66 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreativeCreateRequest_AdCreativeCreateMessageAdImageVOListItem>, "adImageVOList") |
|
| 67 | + */ |
|
| 68 | + private $adImageVOList; |
|
| 69 | 69 | |
| 70 | - /** |
|
| 71 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreativeCreateRequest_AdCreativeCreateMessageAdTextVOListItem>, "adTextVOList") |
|
| 72 | - */ |
|
| 73 | - private $adTextVOList; |
|
| 70 | + /** |
|
| 71 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreativeCreateRequest_AdCreativeCreateMessageAdTextVOListItem>, "adTextVOList") |
|
| 72 | + */ |
|
| 73 | + private $adTextVOList; |
|
| 74 | 74 | |
| 75 | - /** |
|
| 76 | - * @JsonProperty(Long, "creativeSpecificationId") |
|
| 77 | - */ |
|
| 78 | - private $creativeSpecificationId; |
|
| 75 | + /** |
|
| 76 | + * @JsonProperty(Long, "creativeSpecificationId") |
|
| 77 | + */ |
|
| 78 | + private $creativeSpecificationId; |
|
| 79 | 79 | |
| 80 | - public function setAdImageVOList($adImageVOList) |
|
| 81 | - { |
|
| 82 | - $this->adImageVOList = $adImageVOList; |
|
| 83 | - } |
|
| 80 | + public function setAdImageVOList($adImageVOList) |
|
| 81 | + { |
|
| 82 | + $this->adImageVOList = $adImageVOList; |
|
| 83 | + } |
|
| 84 | 84 | |
| 85 | - public function setAdTextVOList($adTextVOList) |
|
| 86 | - { |
|
| 87 | - $this->adTextVOList = $adTextVOList; |
|
| 88 | - } |
|
| 85 | + public function setAdTextVOList($adTextVOList) |
|
| 86 | + { |
|
| 87 | + $this->adTextVOList = $adTextVOList; |
|
| 88 | + } |
|
| 89 | 89 | |
| 90 | - public function setCreativeSpecificationId($creativeSpecificationId) |
|
| 91 | - { |
|
| 92 | - $this->creativeSpecificationId = $creativeSpecificationId; |
|
| 93 | - } |
|
| 90 | + public function setCreativeSpecificationId($creativeSpecificationId) |
|
| 91 | + { |
|
| 92 | + $this->creativeSpecificationId = $creativeSpecificationId; |
|
| 93 | + } |
|
| 94 | 94 | |
| 95 | 95 | } |
| 96 | 96 | |
| 97 | 97 | class PddAdApiUnitCreativeCreateRequest_AdCreativeCreateMessageAdImageVOListItem extends PopBaseJsonEntity |
| 98 | 98 | { |
| 99 | 99 | |
| 100 | - public function __construct() |
|
| 101 | - { |
|
| 100 | + public function __construct() |
|
| 101 | + { |
|
| 102 | 102 | |
| 103 | - } |
|
| 103 | + } |
|
| 104 | 104 | |
| 105 | - /** |
|
| 106 | - * @JsonProperty(String, "imageUrl") |
|
| 107 | - */ |
|
| 108 | - private $imageUrl; |
|
| 105 | + /** |
|
| 106 | + * @JsonProperty(String, "imageUrl") |
|
| 107 | + */ |
|
| 108 | + private $imageUrl; |
|
| 109 | 109 | |
| 110 | - public function setImageUrl($imageUrl) |
|
| 111 | - { |
|
| 112 | - $this->imageUrl = $imageUrl; |
|
| 113 | - } |
|
| 110 | + public function setImageUrl($imageUrl) |
|
| 111 | + { |
|
| 112 | + $this->imageUrl = $imageUrl; |
|
| 113 | + } |
|
| 114 | 114 | |
| 115 | 115 | } |
| 116 | 116 | |
| 117 | 117 | class PddAdApiUnitCreativeCreateRequest_AdCreativeCreateMessageAdTextVOListItem extends PopBaseJsonEntity |
| 118 | 118 | { |
| 119 | 119 | |
| 120 | - public function __construct() |
|
| 121 | - { |
|
| 120 | + public function __construct() |
|
| 121 | + { |
|
| 122 | 122 | |
| 123 | - } |
|
| 123 | + } |
|
| 124 | 124 | |
| 125 | - /** |
|
| 126 | - * @JsonProperty(String, "text") |
|
| 127 | - */ |
|
| 128 | - private $text; |
|
| 125 | + /** |
|
| 126 | + * @JsonProperty(String, "text") |
|
| 127 | + */ |
|
| 128 | + private $text; |
|
| 129 | 129 | |
| 130 | - public function setText($text) |
|
| 131 | - { |
|
| 132 | - $this->text = $text; |
|
| 133 | - } |
|
| 130 | + public function setText($text) |
|
| 131 | + { |
|
| 132 | + $this->text = $text; |
|
| 133 | + } |
|
| 134 | 134 | |
| 135 | 135 | } |
@@ -7,38 +7,38 @@ |
||
| 7 | 7 | class PddAdApiGoodsQueryGalleryImagesRequest extends PopBaseHttpRequest |
| 8 | 8 | { |
| 9 | 9 | public function __construct() |
| 10 | - { |
|
| 11 | - |
|
| 12 | - } |
|
| 13 | - /** |
|
| 14 | - * @JsonProperty(Long, "goodsId") |
|
| 15 | - */ |
|
| 16 | - private $goodsId; |
|
| 17 | - |
|
| 18 | - protected function setUserParams(&$params) |
|
| 19 | - { |
|
| 20 | - $this->setUserParam($params, "goodsId", $this->goodsId); |
|
| 21 | - |
|
| 22 | - } |
|
| 23 | - |
|
| 24 | - public function getVersion() |
|
| 25 | - { |
|
| 26 | - return "V1"; |
|
| 27 | - } |
|
| 28 | - |
|
| 29 | - public function getDataType() |
|
| 30 | - { |
|
| 31 | - return "JSON"; |
|
| 32 | - } |
|
| 33 | - |
|
| 34 | - public function getType() |
|
| 35 | - { |
|
| 36 | - return "pdd.ad.api.goods.query.gallery.images"; |
|
| 37 | - } |
|
| 38 | - |
|
| 39 | - public function setGoodsId($goodsId) |
|
| 40 | - { |
|
| 41 | - $this->goodsId = $goodsId; |
|
| 42 | - } |
|
| 10 | + { |
|
| 11 | + |
|
| 12 | + } |
|
| 13 | + /** |
|
| 14 | + * @JsonProperty(Long, "goodsId") |
|
| 15 | + */ |
|
| 16 | + private $goodsId; |
|
| 17 | + |
|
| 18 | + protected function setUserParams(&$params) |
|
| 19 | + { |
|
| 20 | + $this->setUserParam($params, "goodsId", $this->goodsId); |
|
| 21 | + |
|
| 22 | + } |
|
| 23 | + |
|
| 24 | + public function getVersion() |
|
| 25 | + { |
|
| 26 | + return "V1"; |
|
| 27 | + } |
|
| 28 | + |
|
| 29 | + public function getDataType() |
|
| 30 | + { |
|
| 31 | + return "JSON"; |
|
| 32 | + } |
|
| 33 | + |
|
| 34 | + public function getType() |
|
| 35 | + { |
|
| 36 | + return "pdd.ad.api.goods.query.gallery.images"; |
|
| 37 | + } |
|
| 38 | + |
|
| 39 | + public function setGoodsId($goodsId) |
|
| 40 | + { |
|
| 41 | + $this->goodsId = $goodsId; |
|
| 42 | + } |
|
| 43 | 43 | |
| 44 | 44 | } |
@@ -7,318 +7,318 @@ |
||
| 7 | 7 | class PddDdkOauthRpPromUrlGenerateRequest extends PopBaseHttpRequest |
| 8 | 8 | { |
| 9 | 9 | public function __construct() |
| 10 | - { |
|
| 11 | - |
|
| 12 | - } |
|
| 13 | - /** |
|
| 14 | - * @JsonProperty(Integer, "channel_type") |
|
| 15 | - */ |
|
| 16 | - private $channelType; |
|
| 17 | - |
|
| 18 | - /** |
|
| 19 | - * @JsonProperty(String, "custom_parameters") |
|
| 20 | - */ |
|
| 21 | - private $customParameters; |
|
| 22 | - |
|
| 23 | - /** |
|
| 24 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddDdkOauthRpPromUrlGenerateRequest_DiyLotteryParam, "diy_lottery_param") |
|
| 25 | - */ |
|
| 26 | - private $diyLotteryParam; |
|
| 27 | - |
|
| 28 | - /** |
|
| 29 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddDdkOauthRpPromUrlGenerateRequest_DiyRedPacketParam, "diy_red_packet_param") |
|
| 30 | - */ |
|
| 31 | - private $diyRedPacketParam; |
|
| 32 | - |
|
| 33 | - /** |
|
| 34 | - * @JsonProperty(Boolean, "generate_qq_app") |
|
| 35 | - */ |
|
| 36 | - private $generateQqApp; |
|
| 37 | - |
|
| 38 | - /** |
|
| 39 | - * @JsonProperty(Boolean, "generate_schema_url") |
|
| 40 | - */ |
|
| 41 | - private $generateSchemaUrl; |
|
| 42 | - |
|
| 43 | - /** |
|
| 44 | - * @JsonProperty(Boolean, "generate_short_url") |
|
| 45 | - */ |
|
| 46 | - private $generateShortUrl; |
|
| 47 | - |
|
| 48 | - /** |
|
| 49 | - * @JsonProperty(Boolean, "generate_we_app") |
|
| 50 | - */ |
|
| 51 | - private $generateWeApp; |
|
| 52 | - |
|
| 53 | - /** |
|
| 54 | - * @JsonProperty(List<String>, "p_id_list") |
|
| 55 | - */ |
|
| 56 | - private $pIdList; |
|
| 57 | - |
|
| 58 | - /** |
|
| 59 | - * @JsonProperty(Long, "amount") |
|
| 60 | - */ |
|
| 61 | - private $amount; |
|
| 62 | - |
|
| 63 | - /** |
|
| 64 | - * @JsonProperty(Long, "scratch_card_amount") |
|
| 65 | - */ |
|
| 66 | - private $scratchCardAmount; |
|
| 67 | - |
|
| 68 | - protected function setUserParams(&$params) |
|
| 69 | - { |
|
| 70 | - $this->setUserParam($params, "channel_type", $this->channelType); |
|
| 71 | - $this->setUserParam($params, "custom_parameters", $this->customParameters); |
|
| 72 | - $this->setUserParam($params, "diy_lottery_param", $this->diyLotteryParam); |
|
| 73 | - $this->setUserParam($params, "diy_red_packet_param", $this->diyRedPacketParam); |
|
| 74 | - $this->setUserParam($params, "generate_qq_app", $this->generateQqApp); |
|
| 75 | - $this->setUserParam($params, "generate_schema_url", $this->generateSchemaUrl); |
|
| 76 | - $this->setUserParam($params, "generate_short_url", $this->generateShortUrl); |
|
| 77 | - $this->setUserParam($params, "generate_we_app", $this->generateWeApp); |
|
| 78 | - $this->setUserParam($params, "p_id_list", $this->pIdList); |
|
| 79 | - $this->setUserParam($params, "amount", $this->amount); |
|
| 80 | - $this->setUserParam($params, "scratch_card_amount", $this->scratchCardAmount); |
|
| 81 | - |
|
| 82 | - } |
|
| 83 | - |
|
| 84 | - public function getVersion() |
|
| 85 | - { |
|
| 86 | - return "V1"; |
|
| 87 | - } |
|
| 88 | - |
|
| 89 | - public function getDataType() |
|
| 90 | - { |
|
| 91 | - return "JSON"; |
|
| 92 | - } |
|
| 93 | - |
|
| 94 | - public function getType() |
|
| 95 | - { |
|
| 96 | - return "pdd.ddk.oauth.rp.prom.url.generate"; |
|
| 97 | - } |
|
| 98 | - |
|
| 99 | - public function setChannelType($channelType) |
|
| 100 | - { |
|
| 101 | - $this->channelType = $channelType; |
|
| 102 | - } |
|
| 103 | - |
|
| 104 | - public function setCustomParameters($customParameters) |
|
| 105 | - { |
|
| 106 | - $this->customParameters = $customParameters; |
|
| 107 | - } |
|
| 108 | - |
|
| 109 | - public function setDiyLotteryParam($diyLotteryParam) |
|
| 110 | - { |
|
| 111 | - $this->diyLotteryParam = $diyLotteryParam; |
|
| 112 | - } |
|
| 113 | - |
|
| 114 | - public function setDiyRedPacketParam($diyRedPacketParam) |
|
| 115 | - { |
|
| 116 | - $this->diyRedPacketParam = $diyRedPacketParam; |
|
| 117 | - } |
|
| 118 | - |
|
| 119 | - public function setGenerateQqApp($generateQqApp) |
|
| 120 | - { |
|
| 121 | - $this->generateQqApp = $generateQqApp; |
|
| 122 | - } |
|
| 123 | - |
|
| 124 | - public function setGenerateSchemaUrl($generateSchemaUrl) |
|
| 125 | - { |
|
| 126 | - $this->generateSchemaUrl = $generateSchemaUrl; |
|
| 127 | - } |
|
| 128 | - |
|
| 129 | - public function setGenerateShortUrl($generateShortUrl) |
|
| 130 | - { |
|
| 131 | - $this->generateShortUrl = $generateShortUrl; |
|
| 132 | - } |
|
| 133 | - |
|
| 134 | - public function setGenerateWeApp($generateWeApp) |
|
| 135 | - { |
|
| 136 | - $this->generateWeApp = $generateWeApp; |
|
| 137 | - } |
|
| 138 | - |
|
| 139 | - public function setPIdList($pIdList) |
|
| 140 | - { |
|
| 141 | - $this->pIdList = $pIdList; |
|
| 142 | - } |
|
| 143 | - |
|
| 144 | - public function setAmount($amount) |
|
| 145 | - { |
|
| 146 | - $this->amount = $amount; |
|
| 147 | - } |
|
| 148 | - |
|
| 149 | - public function setScratchCardAmount($scratchCardAmount) |
|
| 150 | - { |
|
| 151 | - $this->scratchCardAmount = $scratchCardAmount; |
|
| 152 | - } |
|
| 10 | + { |
|
| 11 | + |
|
| 12 | + } |
|
| 13 | + /** |
|
| 14 | + * @JsonProperty(Integer, "channel_type") |
|
| 15 | + */ |
|
| 16 | + private $channelType; |
|
| 17 | + |
|
| 18 | + /** |
|
| 19 | + * @JsonProperty(String, "custom_parameters") |
|
| 20 | + */ |
|
| 21 | + private $customParameters; |
|
| 22 | + |
|
| 23 | + /** |
|
| 24 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddDdkOauthRpPromUrlGenerateRequest_DiyLotteryParam, "diy_lottery_param") |
|
| 25 | + */ |
|
| 26 | + private $diyLotteryParam; |
|
| 27 | + |
|
| 28 | + /** |
|
| 29 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddDdkOauthRpPromUrlGenerateRequest_DiyRedPacketParam, "diy_red_packet_param") |
|
| 30 | + */ |
|
| 31 | + private $diyRedPacketParam; |
|
| 32 | + |
|
| 33 | + /** |
|
| 34 | + * @JsonProperty(Boolean, "generate_qq_app") |
|
| 35 | + */ |
|
| 36 | + private $generateQqApp; |
|
| 37 | + |
|
| 38 | + /** |
|
| 39 | + * @JsonProperty(Boolean, "generate_schema_url") |
|
| 40 | + */ |
|
| 41 | + private $generateSchemaUrl; |
|
| 42 | + |
|
| 43 | + /** |
|
| 44 | + * @JsonProperty(Boolean, "generate_short_url") |
|
| 45 | + */ |
|
| 46 | + private $generateShortUrl; |
|
| 47 | + |
|
| 48 | + /** |
|
| 49 | + * @JsonProperty(Boolean, "generate_we_app") |
|
| 50 | + */ |
|
| 51 | + private $generateWeApp; |
|
| 52 | + |
|
| 53 | + /** |
|
| 54 | + * @JsonProperty(List<String>, "p_id_list") |
|
| 55 | + */ |
|
| 56 | + private $pIdList; |
|
| 57 | + |
|
| 58 | + /** |
|
| 59 | + * @JsonProperty(Long, "amount") |
|
| 60 | + */ |
|
| 61 | + private $amount; |
|
| 62 | + |
|
| 63 | + /** |
|
| 64 | + * @JsonProperty(Long, "scratch_card_amount") |
|
| 65 | + */ |
|
| 66 | + private $scratchCardAmount; |
|
| 67 | + |
|
| 68 | + protected function setUserParams(&$params) |
|
| 69 | + { |
|
| 70 | + $this->setUserParam($params, "channel_type", $this->channelType); |
|
| 71 | + $this->setUserParam($params, "custom_parameters", $this->customParameters); |
|
| 72 | + $this->setUserParam($params, "diy_lottery_param", $this->diyLotteryParam); |
|
| 73 | + $this->setUserParam($params, "diy_red_packet_param", $this->diyRedPacketParam); |
|
| 74 | + $this->setUserParam($params, "generate_qq_app", $this->generateQqApp); |
|
| 75 | + $this->setUserParam($params, "generate_schema_url", $this->generateSchemaUrl); |
|
| 76 | + $this->setUserParam($params, "generate_short_url", $this->generateShortUrl); |
|
| 77 | + $this->setUserParam($params, "generate_we_app", $this->generateWeApp); |
|
| 78 | + $this->setUserParam($params, "p_id_list", $this->pIdList); |
|
| 79 | + $this->setUserParam($params, "amount", $this->amount); |
|
| 80 | + $this->setUserParam($params, "scratch_card_amount", $this->scratchCardAmount); |
|
| 81 | + |
|
| 82 | + } |
|
| 83 | + |
|
| 84 | + public function getVersion() |
|
| 85 | + { |
|
| 86 | + return "V1"; |
|
| 87 | + } |
|
| 88 | + |
|
| 89 | + public function getDataType() |
|
| 90 | + { |
|
| 91 | + return "JSON"; |
|
| 92 | + } |
|
| 93 | + |
|
| 94 | + public function getType() |
|
| 95 | + { |
|
| 96 | + return "pdd.ddk.oauth.rp.prom.url.generate"; |
|
| 97 | + } |
|
| 98 | + |
|
| 99 | + public function setChannelType($channelType) |
|
| 100 | + { |
|
| 101 | + $this->channelType = $channelType; |
|
| 102 | + } |
|
| 103 | + |
|
| 104 | + public function setCustomParameters($customParameters) |
|
| 105 | + { |
|
| 106 | + $this->customParameters = $customParameters; |
|
| 107 | + } |
|
| 108 | + |
|
| 109 | + public function setDiyLotteryParam($diyLotteryParam) |
|
| 110 | + { |
|
| 111 | + $this->diyLotteryParam = $diyLotteryParam; |
|
| 112 | + } |
|
| 113 | + |
|
| 114 | + public function setDiyRedPacketParam($diyRedPacketParam) |
|
| 115 | + { |
|
| 116 | + $this->diyRedPacketParam = $diyRedPacketParam; |
|
| 117 | + } |
|
| 118 | + |
|
| 119 | + public function setGenerateQqApp($generateQqApp) |
|
| 120 | + { |
|
| 121 | + $this->generateQqApp = $generateQqApp; |
|
| 122 | + } |
|
| 123 | + |
|
| 124 | + public function setGenerateSchemaUrl($generateSchemaUrl) |
|
| 125 | + { |
|
| 126 | + $this->generateSchemaUrl = $generateSchemaUrl; |
|
| 127 | + } |
|
| 128 | + |
|
| 129 | + public function setGenerateShortUrl($generateShortUrl) |
|
| 130 | + { |
|
| 131 | + $this->generateShortUrl = $generateShortUrl; |
|
| 132 | + } |
|
| 133 | + |
|
| 134 | + public function setGenerateWeApp($generateWeApp) |
|
| 135 | + { |
|
| 136 | + $this->generateWeApp = $generateWeApp; |
|
| 137 | + } |
|
| 138 | + |
|
| 139 | + public function setPIdList($pIdList) |
|
| 140 | + { |
|
| 141 | + $this->pIdList = $pIdList; |
|
| 142 | + } |
|
| 143 | + |
|
| 144 | + public function setAmount($amount) |
|
| 145 | + { |
|
| 146 | + $this->amount = $amount; |
|
| 147 | + } |
|
| 148 | + |
|
| 149 | + public function setScratchCardAmount($scratchCardAmount) |
|
| 150 | + { |
|
| 151 | + $this->scratchCardAmount = $scratchCardAmount; |
|
| 152 | + } |
|
| 153 | 153 | |
| 154 | 154 | } |
| 155 | 155 | |
| 156 | 156 | class PddDdkOauthRpPromUrlGenerateRequest_DiyLotteryParam extends PopBaseJsonEntity |
| 157 | 157 | { |
| 158 | 158 | |
| 159 | - public function __construct() |
|
| 160 | - { |
|
| 159 | + public function __construct() |
|
| 160 | + { |
|
| 161 | 161 | |
| 162 | - } |
|
| 162 | + } |
|
| 163 | 163 | |
| 164 | - /** |
|
| 165 | - * @JsonProperty(Integer, "opt_id") |
|
| 166 | - */ |
|
| 167 | - private $optId; |
|
| 164 | + /** |
|
| 165 | + * @JsonProperty(Integer, "opt_id") |
|
| 166 | + */ |
|
| 167 | + private $optId; |
|
| 168 | 168 | |
| 169 | - /** |
|
| 170 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddDdkOauthRpPromUrlGenerateRequest_DiyLotteryParamRangeItemsItem>, "range_items") |
|
| 171 | - */ |
|
| 172 | - private $rangeItems; |
|
| 169 | + /** |
|
| 170 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddDdkOauthRpPromUrlGenerateRequest_DiyLotteryParamRangeItemsItem>, "range_items") |
|
| 171 | + */ |
|
| 172 | + private $rangeItems; |
|
| 173 | 173 | |
| 174 | - public function setOptId($optId) |
|
| 175 | - { |
|
| 176 | - $this->optId = $optId; |
|
| 177 | - } |
|
| 174 | + public function setOptId($optId) |
|
| 175 | + { |
|
| 176 | + $this->optId = $optId; |
|
| 177 | + } |
|
| 178 | 178 | |
| 179 | - public function setRangeItems($rangeItems) |
|
| 180 | - { |
|
| 181 | - $this->rangeItems = $rangeItems; |
|
| 182 | - } |
|
| 179 | + public function setRangeItems($rangeItems) |
|
| 180 | + { |
|
| 181 | + $this->rangeItems = $rangeItems; |
|
| 182 | + } |
|
| 183 | 183 | |
| 184 | 184 | } |
| 185 | 185 | |
| 186 | 186 | class PddDdkOauthRpPromUrlGenerateRequest_DiyLotteryParamRangeItemsItem extends PopBaseJsonEntity |
| 187 | 187 | { |
| 188 | 188 | |
| 189 | - public function __construct() |
|
| 190 | - { |
|
| 189 | + public function __construct() |
|
| 190 | + { |
|
| 191 | 191 | |
| 192 | - } |
|
| 192 | + } |
|
| 193 | 193 | |
| 194 | - /** |
|
| 195 | - * @JsonProperty(Long, "range_from") |
|
| 196 | - */ |
|
| 197 | - private $rangeFrom; |
|
| 194 | + /** |
|
| 195 | + * @JsonProperty(Long, "range_from") |
|
| 196 | + */ |
|
| 197 | + private $rangeFrom; |
|
| 198 | 198 | |
| 199 | - /** |
|
| 200 | - * @JsonProperty(Integer, "range_id") |
|
| 201 | - */ |
|
| 202 | - private $rangeId; |
|
| 199 | + /** |
|
| 200 | + * @JsonProperty(Integer, "range_id") |
|
| 201 | + */ |
|
| 202 | + private $rangeId; |
|
| 203 | 203 | |
| 204 | - /** |
|
| 205 | - * @JsonProperty(Long, "range_to") |
|
| 206 | - */ |
|
| 207 | - private $rangeTo; |
|
| 204 | + /** |
|
| 205 | + * @JsonProperty(Long, "range_to") |
|
| 206 | + */ |
|
| 207 | + private $rangeTo; |
|
| 208 | 208 | |
| 209 | - public function setRangeFrom($rangeFrom) |
|
| 210 | - { |
|
| 211 | - $this->rangeFrom = $rangeFrom; |
|
| 212 | - } |
|
| 209 | + public function setRangeFrom($rangeFrom) |
|
| 210 | + { |
|
| 211 | + $this->rangeFrom = $rangeFrom; |
|
| 212 | + } |
|
| 213 | 213 | |
| 214 | - public function setRangeId($rangeId) |
|
| 215 | - { |
|
| 216 | - $this->rangeId = $rangeId; |
|
| 217 | - } |
|
| 214 | + public function setRangeId($rangeId) |
|
| 215 | + { |
|
| 216 | + $this->rangeId = $rangeId; |
|
| 217 | + } |
|
| 218 | 218 | |
| 219 | - public function setRangeTo($rangeTo) |
|
| 220 | - { |
|
| 221 | - $this->rangeTo = $rangeTo; |
|
| 222 | - } |
|
| 219 | + public function setRangeTo($rangeTo) |
|
| 220 | + { |
|
| 221 | + $this->rangeTo = $rangeTo; |
|
| 222 | + } |
|
| 223 | 223 | |
| 224 | 224 | } |
| 225 | 225 | |
| 226 | 226 | class PddDdkOauthRpPromUrlGenerateRequest_DiyRedPacketParam extends PopBaseJsonEntity |
| 227 | 227 | { |
| 228 | 228 | |
| 229 | - public function __construct() |
|
| 230 | - { |
|
| 231 | - |
|
| 232 | - } |
|
| 233 | - |
|
| 234 | - /** |
|
| 235 | - * @JsonProperty(List<Long>, "amount_probability") |
|
| 236 | - */ |
|
| 237 | - private $amountProbability; |
|
| 238 | - |
|
| 239 | - /** |
|
| 240 | - * @JsonProperty(Boolean, "dis_text") |
|
| 241 | - */ |
|
| 242 | - private $disText; |
|
| 243 | - |
|
| 244 | - /** |
|
| 245 | - * @JsonProperty(Boolean, "not_show_background") |
|
| 246 | - */ |
|
| 247 | - private $notShowBackground; |
|
| 248 | - |
|
| 249 | - /** |
|
| 250 | - * @JsonProperty(Integer, "opt_id") |
|
| 251 | - */ |
|
| 252 | - private $optId; |
|
| 253 | - |
|
| 254 | - /** |
|
| 255 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddDdkOauthRpPromUrlGenerateRequest_DiyRedPacketParamRangeItemsItem>, "range_items") |
|
| 256 | - */ |
|
| 257 | - private $rangeItems; |
|
| 258 | - |
|
| 259 | - public function setAmountProbability($amountProbability) |
|
| 260 | - { |
|
| 261 | - $this->amountProbability = $amountProbability; |
|
| 262 | - } |
|
| 263 | - |
|
| 264 | - public function setDisText($disText) |
|
| 265 | - { |
|
| 266 | - $this->disText = $disText; |
|
| 267 | - } |
|
| 268 | - |
|
| 269 | - public function setNotShowBackground($notShowBackground) |
|
| 270 | - { |
|
| 271 | - $this->notShowBackground = $notShowBackground; |
|
| 272 | - } |
|
| 273 | - |
|
| 274 | - public function setOptId($optId) |
|
| 275 | - { |
|
| 276 | - $this->optId = $optId; |
|
| 277 | - } |
|
| 278 | - |
|
| 279 | - public function setRangeItems($rangeItems) |
|
| 280 | - { |
|
| 281 | - $this->rangeItems = $rangeItems; |
|
| 282 | - } |
|
| 229 | + public function __construct() |
|
| 230 | + { |
|
| 231 | + |
|
| 232 | + } |
|
| 233 | + |
|
| 234 | + /** |
|
| 235 | + * @JsonProperty(List<Long>, "amount_probability") |
|
| 236 | + */ |
|
| 237 | + private $amountProbability; |
|
| 238 | + |
|
| 239 | + /** |
|
| 240 | + * @JsonProperty(Boolean, "dis_text") |
|
| 241 | + */ |
|
| 242 | + private $disText; |
|
| 243 | + |
|
| 244 | + /** |
|
| 245 | + * @JsonProperty(Boolean, "not_show_background") |
|
| 246 | + */ |
|
| 247 | + private $notShowBackground; |
|
| 248 | + |
|
| 249 | + /** |
|
| 250 | + * @JsonProperty(Integer, "opt_id") |
|
| 251 | + */ |
|
| 252 | + private $optId; |
|
| 253 | + |
|
| 254 | + /** |
|
| 255 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddDdkOauthRpPromUrlGenerateRequest_DiyRedPacketParamRangeItemsItem>, "range_items") |
|
| 256 | + */ |
|
| 257 | + private $rangeItems; |
|
| 258 | + |
|
| 259 | + public function setAmountProbability($amountProbability) |
|
| 260 | + { |
|
| 261 | + $this->amountProbability = $amountProbability; |
|
| 262 | + } |
|
| 263 | + |
|
| 264 | + public function setDisText($disText) |
|
| 265 | + { |
|
| 266 | + $this->disText = $disText; |
|
| 267 | + } |
|
| 268 | + |
|
| 269 | + public function setNotShowBackground($notShowBackground) |
|
| 270 | + { |
|
| 271 | + $this->notShowBackground = $notShowBackground; |
|
| 272 | + } |
|
| 273 | + |
|
| 274 | + public function setOptId($optId) |
|
| 275 | + { |
|
| 276 | + $this->optId = $optId; |
|
| 277 | + } |
|
| 278 | + |
|
| 279 | + public function setRangeItems($rangeItems) |
|
| 280 | + { |
|
| 281 | + $this->rangeItems = $rangeItems; |
|
| 282 | + } |
|
| 283 | 283 | |
| 284 | 284 | } |
| 285 | 285 | |
| 286 | 286 | class PddDdkOauthRpPromUrlGenerateRequest_DiyRedPacketParamRangeItemsItem extends PopBaseJsonEntity |
| 287 | 287 | { |
| 288 | 288 | |
| 289 | - public function __construct() |
|
| 290 | - { |
|
| 291 | - |
|
| 292 | - } |
|
| 293 | - |
|
| 294 | - /** |
|
| 295 | - * @JsonProperty(Long, "range_from") |
|
| 296 | - */ |
|
| 297 | - private $rangeFrom; |
|
| 298 | - |
|
| 299 | - /** |
|
| 300 | - * @JsonProperty(Integer, "range_id") |
|
| 301 | - */ |
|
| 302 | - private $rangeId; |
|
| 303 | - |
|
| 304 | - /** |
|
| 305 | - * @JsonProperty(Long, "range_to") |
|
| 306 | - */ |
|
| 307 | - private $rangeTo; |
|
| 308 | - |
|
| 309 | - public function setRangeFrom($rangeFrom) |
|
| 310 | - { |
|
| 311 | - $this->rangeFrom = $rangeFrom; |
|
| 312 | - } |
|
| 313 | - |
|
| 314 | - public function setRangeId($rangeId) |
|
| 315 | - { |
|
| 316 | - $this->rangeId = $rangeId; |
|
| 317 | - } |
|
| 318 | - |
|
| 319 | - public function setRangeTo($rangeTo) |
|
| 320 | - { |
|
| 321 | - $this->rangeTo = $rangeTo; |
|
| 322 | - } |
|
| 289 | + public function __construct() |
|
| 290 | + { |
|
| 291 | + |
|
| 292 | + } |
|
| 293 | + |
|
| 294 | + /** |
|
| 295 | + * @JsonProperty(Long, "range_from") |
|
| 296 | + */ |
|
| 297 | + private $rangeFrom; |
|
| 298 | + |
|
| 299 | + /** |
|
| 300 | + * @JsonProperty(Integer, "range_id") |
|
| 301 | + */ |
|
| 302 | + private $rangeId; |
|
| 303 | + |
|
| 304 | + /** |
|
| 305 | + * @JsonProperty(Long, "range_to") |
|
| 306 | + */ |
|
| 307 | + private $rangeTo; |
|
| 308 | + |
|
| 309 | + public function setRangeFrom($rangeFrom) |
|
| 310 | + { |
|
| 311 | + $this->rangeFrom = $rangeFrom; |
|
| 312 | + } |
|
| 313 | + |
|
| 314 | + public function setRangeId($rangeId) |
|
| 315 | + { |
|
| 316 | + $this->rangeId = $rangeId; |
|
| 317 | + } |
|
| 318 | + |
|
| 319 | + public function setRangeTo($rangeTo) |
|
| 320 | + { |
|
| 321 | + $this->rangeTo = $rangeTo; |
|
| 322 | + } |
|
| 323 | 323 | |
| 324 | 324 | } |
@@ -7,243 +7,243 @@ |
||
| 7 | 7 | class PddKttGroupCreateRequest extends PopBaseHttpRequest |
| 8 | 8 | { |
| 9 | 9 | public function __construct() |
| 10 | - { |
|
| 11 | - |
|
| 12 | - } |
|
| 13 | - /** |
|
| 14 | - * @JsonProperty(Long, "end_time") |
|
| 15 | - */ |
|
| 16 | - private $endTime; |
|
| 17 | - |
|
| 18 | - /** |
|
| 19 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddKttGroupCreateRequest_GoodsListItem>, "goods_list") |
|
| 20 | - */ |
|
| 21 | - private $goodsList; |
|
| 22 | - |
|
| 23 | - /** |
|
| 24 | - * @JsonProperty(String, "isv_no") |
|
| 25 | - */ |
|
| 26 | - private $isvNo; |
|
| 27 | - |
|
| 28 | - /** |
|
| 29 | - * @JsonProperty(Integer, "is_save_preview") |
|
| 30 | - */ |
|
| 31 | - private $isSavePreview; |
|
| 32 | - |
|
| 33 | - /** |
|
| 34 | - * @JsonProperty(Long, "start_time") |
|
| 35 | - */ |
|
| 36 | - private $startTime; |
|
| 37 | - |
|
| 38 | - /** |
|
| 39 | - * @JsonProperty(String, "title") |
|
| 40 | - */ |
|
| 41 | - private $title; |
|
| 42 | - |
|
| 43 | - protected function setUserParams(&$params) |
|
| 44 | - { |
|
| 45 | - $this->setUserParam($params, "end_time", $this->endTime); |
|
| 46 | - $this->setUserParam($params, "goods_list", $this->goodsList); |
|
| 47 | - $this->setUserParam($params, "isv_no", $this->isvNo); |
|
| 48 | - $this->setUserParam($params, "is_save_preview", $this->isSavePreview); |
|
| 49 | - $this->setUserParam($params, "start_time", $this->startTime); |
|
| 50 | - $this->setUserParam($params, "title", $this->title); |
|
| 51 | - |
|
| 52 | - } |
|
| 53 | - |
|
| 54 | - public function getVersion() |
|
| 55 | - { |
|
| 56 | - return "V1"; |
|
| 57 | - } |
|
| 58 | - |
|
| 59 | - public function getDataType() |
|
| 60 | - { |
|
| 61 | - return "JSON"; |
|
| 62 | - } |
|
| 63 | - |
|
| 64 | - public function getType() |
|
| 65 | - { |
|
| 66 | - return "pdd.ktt.group.create"; |
|
| 67 | - } |
|
| 68 | - |
|
| 69 | - public function setEndTime($endTime) |
|
| 70 | - { |
|
| 71 | - $this->endTime = $endTime; |
|
| 72 | - } |
|
| 73 | - |
|
| 74 | - public function setGoodsList($goodsList) |
|
| 75 | - { |
|
| 76 | - $this->goodsList = $goodsList; |
|
| 77 | - } |
|
| 78 | - |
|
| 79 | - public function setIsvNo($isvNo) |
|
| 80 | - { |
|
| 81 | - $this->isvNo = $isvNo; |
|
| 82 | - } |
|
| 83 | - |
|
| 84 | - public function setIsSavePreview($isSavePreview) |
|
| 85 | - { |
|
| 86 | - $this->isSavePreview = $isSavePreview; |
|
| 87 | - } |
|
| 88 | - |
|
| 89 | - public function setStartTime($startTime) |
|
| 90 | - { |
|
| 91 | - $this->startTime = $startTime; |
|
| 92 | - } |
|
| 93 | - |
|
| 94 | - public function setTitle($title) |
|
| 95 | - { |
|
| 96 | - $this->title = $title; |
|
| 97 | - } |
|
| 10 | + { |
|
| 11 | + |
|
| 12 | + } |
|
| 13 | + /** |
|
| 14 | + * @JsonProperty(Long, "end_time") |
|
| 15 | + */ |
|
| 16 | + private $endTime; |
|
| 17 | + |
|
| 18 | + /** |
|
| 19 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddKttGroupCreateRequest_GoodsListItem>, "goods_list") |
|
| 20 | + */ |
|
| 21 | + private $goodsList; |
|
| 22 | + |
|
| 23 | + /** |
|
| 24 | + * @JsonProperty(String, "isv_no") |
|
| 25 | + */ |
|
| 26 | + private $isvNo; |
|
| 27 | + |
|
| 28 | + /** |
|
| 29 | + * @JsonProperty(Integer, "is_save_preview") |
|
| 30 | + */ |
|
| 31 | + private $isSavePreview; |
|
| 32 | + |
|
| 33 | + /** |
|
| 34 | + * @JsonProperty(Long, "start_time") |
|
| 35 | + */ |
|
| 36 | + private $startTime; |
|
| 37 | + |
|
| 38 | + /** |
|
| 39 | + * @JsonProperty(String, "title") |
|
| 40 | + */ |
|
| 41 | + private $title; |
|
| 42 | + |
|
| 43 | + protected function setUserParams(&$params) |
|
| 44 | + { |
|
| 45 | + $this->setUserParam($params, "end_time", $this->endTime); |
|
| 46 | + $this->setUserParam($params, "goods_list", $this->goodsList); |
|
| 47 | + $this->setUserParam($params, "isv_no", $this->isvNo); |
|
| 48 | + $this->setUserParam($params, "is_save_preview", $this->isSavePreview); |
|
| 49 | + $this->setUserParam($params, "start_time", $this->startTime); |
|
| 50 | + $this->setUserParam($params, "title", $this->title); |
|
| 51 | + |
|
| 52 | + } |
|
| 53 | + |
|
| 54 | + public function getVersion() |
|
| 55 | + { |
|
| 56 | + return "V1"; |
|
| 57 | + } |
|
| 58 | + |
|
| 59 | + public function getDataType() |
|
| 60 | + { |
|
| 61 | + return "JSON"; |
|
| 62 | + } |
|
| 63 | + |
|
| 64 | + public function getType() |
|
| 65 | + { |
|
| 66 | + return "pdd.ktt.group.create"; |
|
| 67 | + } |
|
| 68 | + |
|
| 69 | + public function setEndTime($endTime) |
|
| 70 | + { |
|
| 71 | + $this->endTime = $endTime; |
|
| 72 | + } |
|
| 73 | + |
|
| 74 | + public function setGoodsList($goodsList) |
|
| 75 | + { |
|
| 76 | + $this->goodsList = $goodsList; |
|
| 77 | + } |
|
| 78 | + |
|
| 79 | + public function setIsvNo($isvNo) |
|
| 80 | + { |
|
| 81 | + $this->isvNo = $isvNo; |
|
| 82 | + } |
|
| 83 | + |
|
| 84 | + public function setIsSavePreview($isSavePreview) |
|
| 85 | + { |
|
| 86 | + $this->isSavePreview = $isSavePreview; |
|
| 87 | + } |
|
| 88 | + |
|
| 89 | + public function setStartTime($startTime) |
|
| 90 | + { |
|
| 91 | + $this->startTime = $startTime; |
|
| 92 | + } |
|
| 93 | + |
|
| 94 | + public function setTitle($title) |
|
| 95 | + { |
|
| 96 | + $this->title = $title; |
|
| 97 | + } |
|
| 98 | 98 | |
| 99 | 99 | } |
| 100 | 100 | |
| 101 | 101 | class PddKttGroupCreateRequest_GoodsListItem extends PopBaseJsonEntity |
| 102 | 102 | { |
| 103 | 103 | |
| 104 | - public function __construct() |
|
| 105 | - { |
|
| 106 | - |
|
| 107 | - } |
|
| 108 | - |
|
| 109 | - /** |
|
| 110 | - * @JsonProperty(String, "category_name") |
|
| 111 | - */ |
|
| 112 | - private $categoryName; |
|
| 113 | - |
|
| 114 | - /** |
|
| 115 | - * @JsonProperty(String, "goods_desc") |
|
| 116 | - */ |
|
| 117 | - private $goodsDesc; |
|
| 118 | - |
|
| 119 | - /** |
|
| 120 | - * @JsonProperty(String, "goods_name") |
|
| 121 | - */ |
|
| 122 | - private $goodsName; |
|
| 123 | - |
|
| 124 | - /** |
|
| 125 | - * @JsonProperty(Integer, "limit_buy") |
|
| 126 | - */ |
|
| 127 | - private $limitBuy; |
|
| 128 | - |
|
| 129 | - /** |
|
| 130 | - * @JsonProperty(Long, "market_price") |
|
| 131 | - */ |
|
| 132 | - private $marketPrice; |
|
| 133 | - |
|
| 134 | - /** |
|
| 135 | - * @JsonProperty(List<String>, "pic_url_list") |
|
| 136 | - */ |
|
| 137 | - private $picUrlList; |
|
| 138 | - |
|
| 139 | - /** |
|
| 140 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddKttGroupCreateRequest_GoodsListItemSkuListItem>, "sku_list") |
|
| 141 | - */ |
|
| 142 | - private $skuList; |
|
| 143 | - |
|
| 144 | - public function setCategoryName($categoryName) |
|
| 145 | - { |
|
| 146 | - $this->categoryName = $categoryName; |
|
| 147 | - } |
|
| 148 | - |
|
| 149 | - public function setGoodsDesc($goodsDesc) |
|
| 150 | - { |
|
| 151 | - $this->goodsDesc = $goodsDesc; |
|
| 152 | - } |
|
| 153 | - |
|
| 154 | - public function setGoodsName($goodsName) |
|
| 155 | - { |
|
| 156 | - $this->goodsName = $goodsName; |
|
| 157 | - } |
|
| 158 | - |
|
| 159 | - public function setLimitBuy($limitBuy) |
|
| 160 | - { |
|
| 161 | - $this->limitBuy = $limitBuy; |
|
| 162 | - } |
|
| 163 | - |
|
| 164 | - public function setMarketPrice($marketPrice) |
|
| 165 | - { |
|
| 166 | - $this->marketPrice = $marketPrice; |
|
| 167 | - } |
|
| 168 | - |
|
| 169 | - public function setPicUrlList($picUrlList) |
|
| 170 | - { |
|
| 171 | - $this->picUrlList = $picUrlList; |
|
| 172 | - } |
|
| 173 | - |
|
| 174 | - public function setSkuList($skuList) |
|
| 175 | - { |
|
| 176 | - $this->skuList = $skuList; |
|
| 177 | - } |
|
| 104 | + public function __construct() |
|
| 105 | + { |
|
| 106 | + |
|
| 107 | + } |
|
| 108 | + |
|
| 109 | + /** |
|
| 110 | + * @JsonProperty(String, "category_name") |
|
| 111 | + */ |
|
| 112 | + private $categoryName; |
|
| 113 | + |
|
| 114 | + /** |
|
| 115 | + * @JsonProperty(String, "goods_desc") |
|
| 116 | + */ |
|
| 117 | + private $goodsDesc; |
|
| 118 | + |
|
| 119 | + /** |
|
| 120 | + * @JsonProperty(String, "goods_name") |
|
| 121 | + */ |
|
| 122 | + private $goodsName; |
|
| 123 | + |
|
| 124 | + /** |
|
| 125 | + * @JsonProperty(Integer, "limit_buy") |
|
| 126 | + */ |
|
| 127 | + private $limitBuy; |
|
| 128 | + |
|
| 129 | + /** |
|
| 130 | + * @JsonProperty(Long, "market_price") |
|
| 131 | + */ |
|
| 132 | + private $marketPrice; |
|
| 133 | + |
|
| 134 | + /** |
|
| 135 | + * @JsonProperty(List<String>, "pic_url_list") |
|
| 136 | + */ |
|
| 137 | + private $picUrlList; |
|
| 138 | + |
|
| 139 | + /** |
|
| 140 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddKttGroupCreateRequest_GoodsListItemSkuListItem>, "sku_list") |
|
| 141 | + */ |
|
| 142 | + private $skuList; |
|
| 143 | + |
|
| 144 | + public function setCategoryName($categoryName) |
|
| 145 | + { |
|
| 146 | + $this->categoryName = $categoryName; |
|
| 147 | + } |
|
| 148 | + |
|
| 149 | + public function setGoodsDesc($goodsDesc) |
|
| 150 | + { |
|
| 151 | + $this->goodsDesc = $goodsDesc; |
|
| 152 | + } |
|
| 153 | + |
|
| 154 | + public function setGoodsName($goodsName) |
|
| 155 | + { |
|
| 156 | + $this->goodsName = $goodsName; |
|
| 157 | + } |
|
| 158 | + |
|
| 159 | + public function setLimitBuy($limitBuy) |
|
| 160 | + { |
|
| 161 | + $this->limitBuy = $limitBuy; |
|
| 162 | + } |
|
| 163 | + |
|
| 164 | + public function setMarketPrice($marketPrice) |
|
| 165 | + { |
|
| 166 | + $this->marketPrice = $marketPrice; |
|
| 167 | + } |
|
| 168 | + |
|
| 169 | + public function setPicUrlList($picUrlList) |
|
| 170 | + { |
|
| 171 | + $this->picUrlList = $picUrlList; |
|
| 172 | + } |
|
| 173 | + |
|
| 174 | + public function setSkuList($skuList) |
|
| 175 | + { |
|
| 176 | + $this->skuList = $skuList; |
|
| 177 | + } |
|
| 178 | 178 | |
| 179 | 179 | } |
| 180 | 180 | |
| 181 | 181 | class PddKttGroupCreateRequest_GoodsListItemSkuListItem extends PopBaseJsonEntity |
| 182 | 182 | { |
| 183 | 183 | |
| 184 | - public function __construct() |
|
| 185 | - { |
|
| 186 | - |
|
| 187 | - } |
|
| 188 | - |
|
| 189 | - /** |
|
| 190 | - * @JsonProperty(String, "external_sku_id") |
|
| 191 | - */ |
|
| 192 | - private $externalSkuId; |
|
| 193 | - |
|
| 194 | - /** |
|
| 195 | - * @JsonProperty(Long, "price_in_fen") |
|
| 196 | - */ |
|
| 197 | - private $priceInFen; |
|
| 198 | - |
|
| 199 | - /** |
|
| 200 | - * @JsonProperty(Integer, "quantity_type") |
|
| 201 | - */ |
|
| 202 | - private $quantityType; |
|
| 203 | - |
|
| 204 | - /** |
|
| 205 | - * @JsonProperty(List<Long>, "spec_id_list") |
|
| 206 | - */ |
|
| 207 | - private $specIdList; |
|
| 208 | - |
|
| 209 | - /** |
|
| 210 | - * @JsonProperty(String, "thumb_url") |
|
| 211 | - */ |
|
| 212 | - private $thumbUrl; |
|
| 213 | - |
|
| 214 | - /** |
|
| 215 | - * @JsonProperty(Long, "total_quantity") |
|
| 216 | - */ |
|
| 217 | - private $totalQuantity; |
|
| 218 | - |
|
| 219 | - public function setExternalSkuId($externalSkuId) |
|
| 220 | - { |
|
| 221 | - $this->externalSkuId = $externalSkuId; |
|
| 222 | - } |
|
| 223 | - |
|
| 224 | - public function setPriceInFen($priceInFen) |
|
| 225 | - { |
|
| 226 | - $this->priceInFen = $priceInFen; |
|
| 227 | - } |
|
| 228 | - |
|
| 229 | - public function setQuantityType($quantityType) |
|
| 230 | - { |
|
| 231 | - $this->quantityType = $quantityType; |
|
| 232 | - } |
|
| 233 | - |
|
| 234 | - public function setSpecIdList($specIdList) |
|
| 235 | - { |
|
| 236 | - $this->specIdList = $specIdList; |
|
| 237 | - } |
|
| 238 | - |
|
| 239 | - public function setThumbUrl($thumbUrl) |
|
| 240 | - { |
|
| 241 | - $this->thumbUrl = $thumbUrl; |
|
| 242 | - } |
|
| 243 | - |
|
| 244 | - public function setTotalQuantity($totalQuantity) |
|
| 245 | - { |
|
| 246 | - $this->totalQuantity = $totalQuantity; |
|
| 247 | - } |
|
| 184 | + public function __construct() |
|
| 185 | + { |
|
| 186 | + |
|
| 187 | + } |
|
| 188 | + |
|
| 189 | + /** |
|
| 190 | + * @JsonProperty(String, "external_sku_id") |
|
| 191 | + */ |
|
| 192 | + private $externalSkuId; |
|
| 193 | + |
|
| 194 | + /** |
|
| 195 | + * @JsonProperty(Long, "price_in_fen") |
|
| 196 | + */ |
|
| 197 | + private $priceInFen; |
|
| 198 | + |
|
| 199 | + /** |
|
| 200 | + * @JsonProperty(Integer, "quantity_type") |
|
| 201 | + */ |
|
| 202 | + private $quantityType; |
|
| 203 | + |
|
| 204 | + /** |
|
| 205 | + * @JsonProperty(List<Long>, "spec_id_list") |
|
| 206 | + */ |
|
| 207 | + private $specIdList; |
|
| 208 | + |
|
| 209 | + /** |
|
| 210 | + * @JsonProperty(String, "thumb_url") |
|
| 211 | + */ |
|
| 212 | + private $thumbUrl; |
|
| 213 | + |
|
| 214 | + /** |
|
| 215 | + * @JsonProperty(Long, "total_quantity") |
|
| 216 | + */ |
|
| 217 | + private $totalQuantity; |
|
| 218 | + |
|
| 219 | + public function setExternalSkuId($externalSkuId) |
|
| 220 | + { |
|
| 221 | + $this->externalSkuId = $externalSkuId; |
|
| 222 | + } |
|
| 223 | + |
|
| 224 | + public function setPriceInFen($priceInFen) |
|
| 225 | + { |
|
| 226 | + $this->priceInFen = $priceInFen; |
|
| 227 | + } |
|
| 228 | + |
|
| 229 | + public function setQuantityType($quantityType) |
|
| 230 | + { |
|
| 231 | + $this->quantityType = $quantityType; |
|
| 232 | + } |
|
| 233 | + |
|
| 234 | + public function setSpecIdList($specIdList) |
|
| 235 | + { |
|
| 236 | + $this->specIdList = $specIdList; |
|
| 237 | + } |
|
| 238 | + |
|
| 239 | + public function setThumbUrl($thumbUrl) |
|
| 240 | + { |
|
| 241 | + $this->thumbUrl = $thumbUrl; |
|
| 242 | + } |
|
| 243 | + |
|
| 244 | + public function setTotalQuantity($totalQuantity) |
|
| 245 | + { |
|
| 246 | + $this->totalQuantity = $totalQuantity; |
|
| 247 | + } |
|
| 248 | 248 | |
| 249 | 249 | } |
@@ -7,438 +7,438 @@ |
||
| 7 | 7 | class PddFdsWaybillGetRequest extends PopBaseHttpRequest |
| 8 | 8 | { |
| 9 | 9 | public function __construct() |
| 10 | - { |
|
| 10 | + { |
|
| 11 | 11 | |
| 12 | - } |
|
| 13 | - /** |
|
| 14 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequest, "param_fds_waybill_get_request") |
|
| 15 | - */ |
|
| 16 | - private $paramFdsWaybillGetRequest; |
|
| 12 | + } |
|
| 13 | + /** |
|
| 14 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequest, "param_fds_waybill_get_request") |
|
| 15 | + */ |
|
| 16 | + private $paramFdsWaybillGetRequest; |
|
| 17 | 17 | |
| 18 | - protected function setUserParams(&$params) |
|
| 19 | - { |
|
| 20 | - $this->setUserParam($params, "param_fds_waybill_get_request", $this->paramFdsWaybillGetRequest); |
|
| 18 | + protected function setUserParams(&$params) |
|
| 19 | + { |
|
| 20 | + $this->setUserParam($params, "param_fds_waybill_get_request", $this->paramFdsWaybillGetRequest); |
|
| 21 | 21 | |
| 22 | - } |
|
| 22 | + } |
|
| 23 | 23 | |
| 24 | - public function getVersion() |
|
| 25 | - { |
|
| 26 | - return "V1"; |
|
| 27 | - } |
|
| 24 | + public function getVersion() |
|
| 25 | + { |
|
| 26 | + return "V1"; |
|
| 27 | + } |
|
| 28 | 28 | |
| 29 | - public function getDataType() |
|
| 30 | - { |
|
| 31 | - return "JSON"; |
|
| 32 | - } |
|
| 29 | + public function getDataType() |
|
| 30 | + { |
|
| 31 | + return "JSON"; |
|
| 32 | + } |
|
| 33 | 33 | |
| 34 | - public function getType() |
|
| 35 | - { |
|
| 36 | - return "pdd.fds.waybill.get"; |
|
| 37 | - } |
|
| 34 | + public function getType() |
|
| 35 | + { |
|
| 36 | + return "pdd.fds.waybill.get"; |
|
| 37 | + } |
|
| 38 | 38 | |
| 39 | - public function setParamFdsWaybillGetRequest($paramFdsWaybillGetRequest) |
|
| 40 | - { |
|
| 41 | - $this->paramFdsWaybillGetRequest = $paramFdsWaybillGetRequest; |
|
| 42 | - } |
|
| 39 | + public function setParamFdsWaybillGetRequest($paramFdsWaybillGetRequest) |
|
| 40 | + { |
|
| 41 | + $this->paramFdsWaybillGetRequest = $paramFdsWaybillGetRequest; |
|
| 42 | + } |
|
| 43 | 43 | |
| 44 | 44 | } |
| 45 | 45 | |
| 46 | 46 | class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequest extends PopBaseJsonEntity |
| 47 | 47 | { |
| 48 | 48 | |
| 49 | - public function __construct() |
|
| 50 | - { |
|
| 49 | + public function __construct() |
|
| 50 | + { |
|
| 51 | 51 | |
| 52 | - } |
|
| 52 | + } |
|
| 53 | 53 | |
| 54 | - /** |
|
| 55 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestSender, "sender") |
|
| 56 | - */ |
|
| 57 | - private $sender; |
|
| 54 | + /** |
|
| 55 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestSender, "sender") |
|
| 56 | + */ |
|
| 57 | + private $sender; |
|
| 58 | 58 | |
| 59 | - /** |
|
| 60 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItem>, "trade_order_info_dtos") |
|
| 61 | - */ |
|
| 62 | - private $tradeOrderInfoDtos; |
|
| 59 | + /** |
|
| 60 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItem>, "trade_order_info_dtos") |
|
| 61 | + */ |
|
| 62 | + private $tradeOrderInfoDtos; |
|
| 63 | 63 | |
| 64 | - /** |
|
| 65 | - * @JsonProperty(String, "wp_code") |
|
| 66 | - */ |
|
| 67 | - private $wpCode; |
|
| 64 | + /** |
|
| 65 | + * @JsonProperty(String, "wp_code") |
|
| 66 | + */ |
|
| 67 | + private $wpCode; |
|
| 68 | 68 | |
| 69 | - public function setSender($sender) |
|
| 70 | - { |
|
| 71 | - $this->sender = $sender; |
|
| 72 | - } |
|
| 69 | + public function setSender($sender) |
|
| 70 | + { |
|
| 71 | + $this->sender = $sender; |
|
| 72 | + } |
|
| 73 | 73 | |
| 74 | - public function setTradeOrderInfoDtos($tradeOrderInfoDtos) |
|
| 75 | - { |
|
| 76 | - $this->tradeOrderInfoDtos = $tradeOrderInfoDtos; |
|
| 77 | - } |
|
| 74 | + public function setTradeOrderInfoDtos($tradeOrderInfoDtos) |
|
| 75 | + { |
|
| 76 | + $this->tradeOrderInfoDtos = $tradeOrderInfoDtos; |
|
| 77 | + } |
|
| 78 | 78 | |
| 79 | - public function setWpCode($wpCode) |
|
| 80 | - { |
|
| 81 | - $this->wpCode = $wpCode; |
|
| 82 | - } |
|
| 79 | + public function setWpCode($wpCode) |
|
| 80 | + { |
|
| 81 | + $this->wpCode = $wpCode; |
|
| 82 | + } |
|
| 83 | 83 | |
| 84 | 84 | } |
| 85 | 85 | |
| 86 | 86 | class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestSender extends PopBaseJsonEntity |
| 87 | 87 | { |
| 88 | 88 | |
| 89 | - public function __construct() |
|
| 90 | - { |
|
| 91 | - |
|
| 92 | - } |
|
| 93 | - |
|
| 94 | - /** |
|
| 95 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestSenderAddress, "address") |
|
| 96 | - */ |
|
| 97 | - private $address; |
|
| 98 | - |
|
| 99 | - /** |
|
| 100 | - * @JsonProperty(String, "mobile") |
|
| 101 | - */ |
|
| 102 | - private $mobile; |
|
| 103 | - |
|
| 104 | - /** |
|
| 105 | - * @JsonProperty(String, "name") |
|
| 106 | - */ |
|
| 107 | - private $name; |
|
| 108 | - |
|
| 109 | - /** |
|
| 110 | - * @JsonProperty(String, "phone") |
|
| 111 | - */ |
|
| 112 | - private $phone; |
|
| 113 | - |
|
| 114 | - public function setAddress($address) |
|
| 115 | - { |
|
| 116 | - $this->address = $address; |
|
| 117 | - } |
|
| 118 | - |
|
| 119 | - public function setMobile($mobile) |
|
| 120 | - { |
|
| 121 | - $this->mobile = $mobile; |
|
| 122 | - } |
|
| 123 | - |
|
| 124 | - public function setName($name) |
|
| 125 | - { |
|
| 126 | - $this->name = $name; |
|
| 127 | - } |
|
| 128 | - |
|
| 129 | - public function setPhone($phone) |
|
| 130 | - { |
|
| 131 | - $this->phone = $phone; |
|
| 132 | - } |
|
| 89 | + public function __construct() |
|
| 90 | + { |
|
| 91 | + |
|
| 92 | + } |
|
| 93 | + |
|
| 94 | + /** |
|
| 95 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestSenderAddress, "address") |
|
| 96 | + */ |
|
| 97 | + private $address; |
|
| 98 | + |
|
| 99 | + /** |
|
| 100 | + * @JsonProperty(String, "mobile") |
|
| 101 | + */ |
|
| 102 | + private $mobile; |
|
| 103 | + |
|
| 104 | + /** |
|
| 105 | + * @JsonProperty(String, "name") |
|
| 106 | + */ |
|
| 107 | + private $name; |
|
| 108 | + |
|
| 109 | + /** |
|
| 110 | + * @JsonProperty(String, "phone") |
|
| 111 | + */ |
|
| 112 | + private $phone; |
|
| 113 | + |
|
| 114 | + public function setAddress($address) |
|
| 115 | + { |
|
| 116 | + $this->address = $address; |
|
| 117 | + } |
|
| 118 | + |
|
| 119 | + public function setMobile($mobile) |
|
| 120 | + { |
|
| 121 | + $this->mobile = $mobile; |
|
| 122 | + } |
|
| 123 | + |
|
| 124 | + public function setName($name) |
|
| 125 | + { |
|
| 126 | + $this->name = $name; |
|
| 127 | + } |
|
| 128 | + |
|
| 129 | + public function setPhone($phone) |
|
| 130 | + { |
|
| 131 | + $this->phone = $phone; |
|
| 132 | + } |
|
| 133 | 133 | |
| 134 | 134 | } |
| 135 | 135 | |
| 136 | 136 | class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestSenderAddress extends PopBaseJsonEntity |
| 137 | 137 | { |
| 138 | 138 | |
| 139 | - public function __construct() |
|
| 140 | - { |
|
| 141 | - |
|
| 142 | - } |
|
| 143 | - |
|
| 144 | - /** |
|
| 145 | - * @JsonProperty(String, "city") |
|
| 146 | - */ |
|
| 147 | - private $city; |
|
| 148 | - |
|
| 149 | - /** |
|
| 150 | - * @JsonProperty(String, "country") |
|
| 151 | - */ |
|
| 152 | - private $country; |
|
| 153 | - |
|
| 154 | - /** |
|
| 155 | - * @JsonProperty(String, "detail") |
|
| 156 | - */ |
|
| 157 | - private $detail; |
|
| 158 | - |
|
| 159 | - /** |
|
| 160 | - * @JsonProperty(String, "district") |
|
| 161 | - */ |
|
| 162 | - private $district; |
|
| 163 | - |
|
| 164 | - /** |
|
| 165 | - * @JsonProperty(String, "province") |
|
| 166 | - */ |
|
| 167 | - private $province; |
|
| 168 | - |
|
| 169 | - /** |
|
| 170 | - * @JsonProperty(String, "town") |
|
| 171 | - */ |
|
| 172 | - private $town; |
|
| 173 | - |
|
| 174 | - public function setCity($city) |
|
| 175 | - { |
|
| 176 | - $this->city = $city; |
|
| 177 | - } |
|
| 178 | - |
|
| 179 | - public function setCountry($country) |
|
| 180 | - { |
|
| 181 | - $this->country = $country; |
|
| 182 | - } |
|
| 183 | - |
|
| 184 | - public function setDetail($detail) |
|
| 185 | - { |
|
| 186 | - $this->detail = $detail; |
|
| 187 | - } |
|
| 188 | - |
|
| 189 | - public function setDistrict($district) |
|
| 190 | - { |
|
| 191 | - $this->district = $district; |
|
| 192 | - } |
|
| 193 | - |
|
| 194 | - public function setProvince($province) |
|
| 195 | - { |
|
| 196 | - $this->province = $province; |
|
| 197 | - } |
|
| 198 | - |
|
| 199 | - public function setTown($town) |
|
| 200 | - { |
|
| 201 | - $this->town = $town; |
|
| 202 | - } |
|
| 139 | + public function __construct() |
|
| 140 | + { |
|
| 141 | + |
|
| 142 | + } |
|
| 143 | + |
|
| 144 | + /** |
|
| 145 | + * @JsonProperty(String, "city") |
|
| 146 | + */ |
|
| 147 | + private $city; |
|
| 148 | + |
|
| 149 | + /** |
|
| 150 | + * @JsonProperty(String, "country") |
|
| 151 | + */ |
|
| 152 | + private $country; |
|
| 153 | + |
|
| 154 | + /** |
|
| 155 | + * @JsonProperty(String, "detail") |
|
| 156 | + */ |
|
| 157 | + private $detail; |
|
| 158 | + |
|
| 159 | + /** |
|
| 160 | + * @JsonProperty(String, "district") |
|
| 161 | + */ |
|
| 162 | + private $district; |
|
| 163 | + |
|
| 164 | + /** |
|
| 165 | + * @JsonProperty(String, "province") |
|
| 166 | + */ |
|
| 167 | + private $province; |
|
| 168 | + |
|
| 169 | + /** |
|
| 170 | + * @JsonProperty(String, "town") |
|
| 171 | + */ |
|
| 172 | + private $town; |
|
| 173 | + |
|
| 174 | + public function setCity($city) |
|
| 175 | + { |
|
| 176 | + $this->city = $city; |
|
| 177 | + } |
|
| 178 | + |
|
| 179 | + public function setCountry($country) |
|
| 180 | + { |
|
| 181 | + $this->country = $country; |
|
| 182 | + } |
|
| 183 | + |
|
| 184 | + public function setDetail($detail) |
|
| 185 | + { |
|
| 186 | + $this->detail = $detail; |
|
| 187 | + } |
|
| 188 | + |
|
| 189 | + public function setDistrict($district) |
|
| 190 | + { |
|
| 191 | + $this->district = $district; |
|
| 192 | + } |
|
| 193 | + |
|
| 194 | + public function setProvince($province) |
|
| 195 | + { |
|
| 196 | + $this->province = $province; |
|
| 197 | + } |
|
| 198 | + |
|
| 199 | + public function setTown($town) |
|
| 200 | + { |
|
| 201 | + $this->town = $town; |
|
| 202 | + } |
|
| 203 | 203 | |
| 204 | 204 | } |
| 205 | 205 | |
| 206 | 206 | class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItem extends PopBaseJsonEntity |
| 207 | 207 | { |
| 208 | 208 | |
| 209 | - public function __construct() |
|
| 210 | - { |
|
| 211 | - |
|
| 212 | - } |
|
| 213 | - |
|
| 214 | - /** |
|
| 215 | - * @JsonProperty(String, "logistics_services") |
|
| 216 | - */ |
|
| 217 | - private $logisticsServices; |
|
| 218 | - |
|
| 219 | - /** |
|
| 220 | - * @JsonProperty(String, "object_id") |
|
| 221 | - */ |
|
| 222 | - private $objectId; |
|
| 223 | - |
|
| 224 | - /** |
|
| 225 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemOrderInfo, "order_info") |
|
| 226 | - */ |
|
| 227 | - private $orderInfo; |
|
| 228 | - |
|
| 229 | - /** |
|
| 230 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemPackageInfo, "package_info") |
|
| 231 | - */ |
|
| 232 | - private $packageInfo; |
|
| 233 | - |
|
| 234 | - /** |
|
| 235 | - * @JsonProperty(String, "template_url") |
|
| 236 | - */ |
|
| 237 | - private $templateUrl; |
|
| 238 | - |
|
| 239 | - /** |
|
| 240 | - * @JsonProperty(Long, "user_id") |
|
| 241 | - */ |
|
| 242 | - private $userId; |
|
| 243 | - |
|
| 244 | - public function setLogisticsServices($logisticsServices) |
|
| 245 | - { |
|
| 246 | - $this->logisticsServices = $logisticsServices; |
|
| 247 | - } |
|
| 248 | - |
|
| 249 | - public function setObjectId($objectId) |
|
| 250 | - { |
|
| 251 | - $this->objectId = $objectId; |
|
| 252 | - } |
|
| 253 | - |
|
| 254 | - public function setOrderInfo($orderInfo) |
|
| 255 | - { |
|
| 256 | - $this->orderInfo = $orderInfo; |
|
| 257 | - } |
|
| 258 | - |
|
| 259 | - public function setPackageInfo($packageInfo) |
|
| 260 | - { |
|
| 261 | - $this->packageInfo = $packageInfo; |
|
| 262 | - } |
|
| 263 | - |
|
| 264 | - public function setTemplateUrl($templateUrl) |
|
| 265 | - { |
|
| 266 | - $this->templateUrl = $templateUrl; |
|
| 267 | - } |
|
| 268 | - |
|
| 269 | - public function setUserId($userId) |
|
| 270 | - { |
|
| 271 | - $this->userId = $userId; |
|
| 272 | - } |
|
| 209 | + public function __construct() |
|
| 210 | + { |
|
| 211 | + |
|
| 212 | + } |
|
| 213 | + |
|
| 214 | + /** |
|
| 215 | + * @JsonProperty(String, "logistics_services") |
|
| 216 | + */ |
|
| 217 | + private $logisticsServices; |
|
| 218 | + |
|
| 219 | + /** |
|
| 220 | + * @JsonProperty(String, "object_id") |
|
| 221 | + */ |
|
| 222 | + private $objectId; |
|
| 223 | + |
|
| 224 | + /** |
|
| 225 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemOrderInfo, "order_info") |
|
| 226 | + */ |
|
| 227 | + private $orderInfo; |
|
| 228 | + |
|
| 229 | + /** |
|
| 230 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemPackageInfo, "package_info") |
|
| 231 | + */ |
|
| 232 | + private $packageInfo; |
|
| 233 | + |
|
| 234 | + /** |
|
| 235 | + * @JsonProperty(String, "template_url") |
|
| 236 | + */ |
|
| 237 | + private $templateUrl; |
|
| 238 | + |
|
| 239 | + /** |
|
| 240 | + * @JsonProperty(Long, "user_id") |
|
| 241 | + */ |
|
| 242 | + private $userId; |
|
| 243 | + |
|
| 244 | + public function setLogisticsServices($logisticsServices) |
|
| 245 | + { |
|
| 246 | + $this->logisticsServices = $logisticsServices; |
|
| 247 | + } |
|
| 248 | + |
|
| 249 | + public function setObjectId($objectId) |
|
| 250 | + { |
|
| 251 | + $this->objectId = $objectId; |
|
| 252 | + } |
|
| 253 | + |
|
| 254 | + public function setOrderInfo($orderInfo) |
|
| 255 | + { |
|
| 256 | + $this->orderInfo = $orderInfo; |
|
| 257 | + } |
|
| 258 | + |
|
| 259 | + public function setPackageInfo($packageInfo) |
|
| 260 | + { |
|
| 261 | + $this->packageInfo = $packageInfo; |
|
| 262 | + } |
|
| 263 | + |
|
| 264 | + public function setTemplateUrl($templateUrl) |
|
| 265 | + { |
|
| 266 | + $this->templateUrl = $templateUrl; |
|
| 267 | + } |
|
| 268 | + |
|
| 269 | + public function setUserId($userId) |
|
| 270 | + { |
|
| 271 | + $this->userId = $userId; |
|
| 272 | + } |
|
| 273 | 273 | |
| 274 | 274 | } |
| 275 | 275 | |
| 276 | 276 | class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemOrderInfo extends PopBaseJsonEntity |
| 277 | 277 | { |
| 278 | 278 | |
| 279 | - public function __construct() |
|
| 280 | - { |
|
| 279 | + public function __construct() |
|
| 280 | + { |
|
| 281 | 281 | |
| 282 | - } |
|
| 282 | + } |
|
| 283 | 283 | |
| 284 | - /** |
|
| 285 | - * @JsonProperty(String, "order_channels_type") |
|
| 286 | - */ |
|
| 287 | - private $orderChannelsType; |
|
| 284 | + /** |
|
| 285 | + * @JsonProperty(String, "order_channels_type") |
|
| 286 | + */ |
|
| 287 | + private $orderChannelsType; |
|
| 288 | 288 | |
| 289 | - /** |
|
| 290 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemOrderInfoTradeOrderListItem>, "trade_order_list") |
|
| 291 | - */ |
|
| 292 | - private $tradeOrderList; |
|
| 289 | + /** |
|
| 290 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemOrderInfoTradeOrderListItem>, "trade_order_list") |
|
| 291 | + */ |
|
| 292 | + private $tradeOrderList; |
|
| 293 | 293 | |
| 294 | - public function setOrderChannelsType($orderChannelsType) |
|
| 295 | - { |
|
| 296 | - $this->orderChannelsType = $orderChannelsType; |
|
| 297 | - } |
|
| 294 | + public function setOrderChannelsType($orderChannelsType) |
|
| 295 | + { |
|
| 296 | + $this->orderChannelsType = $orderChannelsType; |
|
| 297 | + } |
|
| 298 | 298 | |
| 299 | - public function setTradeOrderList($tradeOrderList) |
|
| 300 | - { |
|
| 301 | - $this->tradeOrderList = $tradeOrderList; |
|
| 302 | - } |
|
| 299 | + public function setTradeOrderList($tradeOrderList) |
|
| 300 | + { |
|
| 301 | + $this->tradeOrderList = $tradeOrderList; |
|
| 302 | + } |
|
| 303 | 303 | |
| 304 | 304 | } |
| 305 | 305 | |
| 306 | 306 | class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemOrderInfoTradeOrderListItem extends PopBaseJsonEntity |
| 307 | 307 | { |
| 308 | 308 | |
| 309 | - public function __construct() |
|
| 310 | - { |
|
| 309 | + public function __construct() |
|
| 310 | + { |
|
| 311 | 311 | |
| 312 | - } |
|
| 312 | + } |
|
| 313 | 313 | |
| 314 | - /** |
|
| 315 | - * @JsonProperty(String, "mall_mask_id") |
|
| 316 | - */ |
|
| 317 | - private $mallMaskId; |
|
| 314 | + /** |
|
| 315 | + * @JsonProperty(String, "mall_mask_id") |
|
| 316 | + */ |
|
| 317 | + private $mallMaskId; |
|
| 318 | 318 | |
| 319 | - /** |
|
| 320 | - * @JsonProperty(String, "order_mask_sn") |
|
| 321 | - */ |
|
| 322 | - private $orderMaskSn; |
|
| 319 | + /** |
|
| 320 | + * @JsonProperty(String, "order_mask_sn") |
|
| 321 | + */ |
|
| 322 | + private $orderMaskSn; |
|
| 323 | 323 | |
| 324 | - public function setMallMaskId($mallMaskId) |
|
| 325 | - { |
|
| 326 | - $this->mallMaskId = $mallMaskId; |
|
| 327 | - } |
|
| 324 | + public function setMallMaskId($mallMaskId) |
|
| 325 | + { |
|
| 326 | + $this->mallMaskId = $mallMaskId; |
|
| 327 | + } |
|
| 328 | 328 | |
| 329 | - public function setOrderMaskSn($orderMaskSn) |
|
| 330 | - { |
|
| 331 | - $this->orderMaskSn = $orderMaskSn; |
|
| 332 | - } |
|
| 329 | + public function setOrderMaskSn($orderMaskSn) |
|
| 330 | + { |
|
| 331 | + $this->orderMaskSn = $orderMaskSn; |
|
| 332 | + } |
|
| 333 | 333 | |
| 334 | 334 | } |
| 335 | 335 | |
| 336 | 336 | class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemPackageInfo extends PopBaseJsonEntity |
| 337 | 337 | { |
| 338 | 338 | |
| 339 | - public function __construct() |
|
| 340 | - { |
|
| 341 | - |
|
| 342 | - } |
|
| 343 | - |
|
| 344 | - /** |
|
| 345 | - * @JsonProperty(String, "goods_description") |
|
| 346 | - */ |
|
| 347 | - private $goodsDescription; |
|
| 348 | - |
|
| 349 | - /** |
|
| 350 | - * @JsonProperty(String, "id") |
|
| 351 | - */ |
|
| 352 | - private $id; |
|
| 353 | - |
|
| 354 | - /** |
|
| 355 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemPackageInfoItemsItem>, "items") |
|
| 356 | - */ |
|
| 357 | - private $items; |
|
| 358 | - |
|
| 359 | - /** |
|
| 360 | - * @JsonProperty(String, "packaging_description") |
|
| 361 | - */ |
|
| 362 | - private $packagingDescription; |
|
| 363 | - |
|
| 364 | - /** |
|
| 365 | - * @JsonProperty(String, "total_packages_count") |
|
| 366 | - */ |
|
| 367 | - private $totalPackagesCount; |
|
| 368 | - |
|
| 369 | - /** |
|
| 370 | - * @JsonProperty(Integer, "volume") |
|
| 371 | - */ |
|
| 372 | - private $volume; |
|
| 373 | - |
|
| 374 | - /** |
|
| 375 | - * @JsonProperty(Integer, "weight") |
|
| 376 | - */ |
|
| 377 | - private $weight; |
|
| 378 | - |
|
| 379 | - public function setGoodsDescription($goodsDescription) |
|
| 380 | - { |
|
| 381 | - $this->goodsDescription = $goodsDescription; |
|
| 382 | - } |
|
| 383 | - |
|
| 384 | - public function setId($id) |
|
| 385 | - { |
|
| 386 | - $this->id = $id; |
|
| 387 | - } |
|
| 388 | - |
|
| 389 | - public function setItems($items) |
|
| 390 | - { |
|
| 391 | - $this->items = $items; |
|
| 392 | - } |
|
| 393 | - |
|
| 394 | - public function setPackagingDescription($packagingDescription) |
|
| 395 | - { |
|
| 396 | - $this->packagingDescription = $packagingDescription; |
|
| 397 | - } |
|
| 398 | - |
|
| 399 | - public function setTotalPackagesCount($totalPackagesCount) |
|
| 400 | - { |
|
| 401 | - $this->totalPackagesCount = $totalPackagesCount; |
|
| 402 | - } |
|
| 403 | - |
|
| 404 | - public function setVolume($volume) |
|
| 405 | - { |
|
| 406 | - $this->volume = $volume; |
|
| 407 | - } |
|
| 408 | - |
|
| 409 | - public function setWeight($weight) |
|
| 410 | - { |
|
| 411 | - $this->weight = $weight; |
|
| 412 | - } |
|
| 339 | + public function __construct() |
|
| 340 | + { |
|
| 341 | + |
|
| 342 | + } |
|
| 343 | + |
|
| 344 | + /** |
|
| 345 | + * @JsonProperty(String, "goods_description") |
|
| 346 | + */ |
|
| 347 | + private $goodsDescription; |
|
| 348 | + |
|
| 349 | + /** |
|
| 350 | + * @JsonProperty(String, "id") |
|
| 351 | + */ |
|
| 352 | + private $id; |
|
| 353 | + |
|
| 354 | + /** |
|
| 355 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemPackageInfoItemsItem>, "items") |
|
| 356 | + */ |
|
| 357 | + private $items; |
|
| 358 | + |
|
| 359 | + /** |
|
| 360 | + * @JsonProperty(String, "packaging_description") |
|
| 361 | + */ |
|
| 362 | + private $packagingDescription; |
|
| 363 | + |
|
| 364 | + /** |
|
| 365 | + * @JsonProperty(String, "total_packages_count") |
|
| 366 | + */ |
|
| 367 | + private $totalPackagesCount; |
|
| 368 | + |
|
| 369 | + /** |
|
| 370 | + * @JsonProperty(Integer, "volume") |
|
| 371 | + */ |
|
| 372 | + private $volume; |
|
| 373 | + |
|
| 374 | + /** |
|
| 375 | + * @JsonProperty(Integer, "weight") |
|
| 376 | + */ |
|
| 377 | + private $weight; |
|
| 378 | + |
|
| 379 | + public function setGoodsDescription($goodsDescription) |
|
| 380 | + { |
|
| 381 | + $this->goodsDescription = $goodsDescription; |
|
| 382 | + } |
|
| 383 | + |
|
| 384 | + public function setId($id) |
|
| 385 | + { |
|
| 386 | + $this->id = $id; |
|
| 387 | + } |
|
| 388 | + |
|
| 389 | + public function setItems($items) |
|
| 390 | + { |
|
| 391 | + $this->items = $items; |
|
| 392 | + } |
|
| 393 | + |
|
| 394 | + public function setPackagingDescription($packagingDescription) |
|
| 395 | + { |
|
| 396 | + $this->packagingDescription = $packagingDescription; |
|
| 397 | + } |
|
| 398 | + |
|
| 399 | + public function setTotalPackagesCount($totalPackagesCount) |
|
| 400 | + { |
|
| 401 | + $this->totalPackagesCount = $totalPackagesCount; |
|
| 402 | + } |
|
| 403 | + |
|
| 404 | + public function setVolume($volume) |
|
| 405 | + { |
|
| 406 | + $this->volume = $volume; |
|
| 407 | + } |
|
| 408 | + |
|
| 409 | + public function setWeight($weight) |
|
| 410 | + { |
|
| 411 | + $this->weight = $weight; |
|
| 412 | + } |
|
| 413 | 413 | |
| 414 | 414 | } |
| 415 | 415 | |
| 416 | 416 | class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemPackageInfoItemsItem extends PopBaseJsonEntity |
| 417 | 417 | { |
| 418 | 418 | |
| 419 | - public function __construct() |
|
| 420 | - { |
|
| 419 | + public function __construct() |
|
| 420 | + { |
|
| 421 | 421 | |
| 422 | - } |
|
| 422 | + } |
|
| 423 | 423 | |
| 424 | - /** |
|
| 425 | - * @JsonProperty(Integer, "count") |
|
| 426 | - */ |
|
| 427 | - private $count; |
|
| 424 | + /** |
|
| 425 | + * @JsonProperty(Integer, "count") |
|
| 426 | + */ |
|
| 427 | + private $count; |
|
| 428 | 428 | |
| 429 | - /** |
|
| 430 | - * @JsonProperty(String, "name") |
|
| 431 | - */ |
|
| 432 | - private $name; |
|
| 429 | + /** |
|
| 430 | + * @JsonProperty(String, "name") |
|
| 431 | + */ |
|
| 432 | + private $name; |
|
| 433 | 433 | |
| 434 | - public function setCount($count) |
|
| 435 | - { |
|
| 436 | - $this->count = $count; |
|
| 437 | - } |
|
| 434 | + public function setCount($count) |
|
| 435 | + { |
|
| 436 | + $this->count = $count; |
|
| 437 | + } |
|
| 438 | 438 | |
| 439 | - public function setName($name) |
|
| 440 | - { |
|
| 441 | - $this->name = $name; |
|
| 442 | - } |
|
| 439 | + public function setName($name) |
|
| 440 | + { |
|
| 441 | + $this->name = $name; |
|
| 442 | + } |
|
| 443 | 443 | |
| 444 | 444 | } |
@@ -7,38 +7,38 @@ |
||
| 7 | 7 | class PddPopAuthTokenCreateRequest extends PopBaseHttpRequest |
| 8 | 8 | { |
| 9 | 9 | public function __construct() |
| 10 | - { |
|
| 11 | - |
|
| 12 | - } |
|
| 13 | - /** |
|
| 14 | - * @JsonProperty(String, "code") |
|
| 15 | - */ |
|
| 16 | - private $code; |
|
| 17 | - |
|
| 18 | - protected function setUserParams(&$params) |
|
| 19 | - { |
|
| 20 | - $this->setUserParam($params, "code", $this->code); |
|
| 21 | - |
|
| 22 | - } |
|
| 23 | - |
|
| 24 | - public function getVersion() |
|
| 25 | - { |
|
| 26 | - return "V1"; |
|
| 27 | - } |
|
| 28 | - |
|
| 29 | - public function getDataType() |
|
| 30 | - { |
|
| 31 | - return "JSON"; |
|
| 32 | - } |
|
| 33 | - |
|
| 34 | - public function getType() |
|
| 35 | - { |
|
| 36 | - return "pdd.pop.auth.token.create"; |
|
| 37 | - } |
|
| 38 | - |
|
| 39 | - public function setCode($code) |
|
| 40 | - { |
|
| 41 | - $this->code = $code; |
|
| 42 | - } |
|
| 10 | + { |
|
| 11 | + |
|
| 12 | + } |
|
| 13 | + /** |
|
| 14 | + * @JsonProperty(String, "code") |
|
| 15 | + */ |
|
| 16 | + private $code; |
|
| 17 | + |
|
| 18 | + protected function setUserParams(&$params) |
|
| 19 | + { |
|
| 20 | + $this->setUserParam($params, "code", $this->code); |
|
| 21 | + |
|
| 22 | + } |
|
| 23 | + |
|
| 24 | + public function getVersion() |
|
| 25 | + { |
|
| 26 | + return "V1"; |
|
| 27 | + } |
|
| 28 | + |
|
| 29 | + public function getDataType() |
|
| 30 | + { |
|
| 31 | + return "JSON"; |
|
| 32 | + } |
|
| 33 | + |
|
| 34 | + public function getType() |
|
| 35 | + { |
|
| 36 | + return "pdd.pop.auth.token.create"; |
|
| 37 | + } |
|
| 38 | + |
|
| 39 | + public function setCode($code) |
|
| 40 | + { |
|
| 41 | + $this->code = $code; |
|
| 42 | + } |
|
| 43 | 43 | |
| 44 | 44 | } |
@@ -7,49 +7,49 @@ |
||
| 7 | 7 | class PddKttUserSitePagequeryRequest extends PopBaseHttpRequest |
| 8 | 8 | { |
| 9 | 9 | public function __construct() |
| 10 | - { |
|
| 11 | - |
|
| 12 | - } |
|
| 13 | - /** |
|
| 14 | - * @JsonProperty(Integer, "page_no") |
|
| 15 | - */ |
|
| 16 | - private $pageNo; |
|
| 17 | - |
|
| 18 | - /** |
|
| 19 | - * @JsonProperty(Integer, "page_size") |
|
| 20 | - */ |
|
| 21 | - private $pageSize; |
|
| 22 | - |
|
| 23 | - protected function setUserParams(&$params) |
|
| 24 | - { |
|
| 25 | - $this->setUserParam($params, "page_no", $this->pageNo); |
|
| 26 | - $this->setUserParam($params, "page_size", $this->pageSize); |
|
| 27 | - |
|
| 28 | - } |
|
| 29 | - |
|
| 30 | - public function getVersion() |
|
| 31 | - { |
|
| 32 | - return "V1"; |
|
| 33 | - } |
|
| 34 | - |
|
| 35 | - public function getDataType() |
|
| 36 | - { |
|
| 37 | - return "JSON"; |
|
| 38 | - } |
|
| 39 | - |
|
| 40 | - public function getType() |
|
| 41 | - { |
|
| 42 | - return "pdd.ktt.user.site.pagequery"; |
|
| 43 | - } |
|
| 44 | - |
|
| 45 | - public function setPageNo($pageNo) |
|
| 46 | - { |
|
| 47 | - $this->pageNo = $pageNo; |
|
| 48 | - } |
|
| 49 | - |
|
| 50 | - public function setPageSize($pageSize) |
|
| 51 | - { |
|
| 52 | - $this->pageSize = $pageSize; |
|
| 53 | - } |
|
| 10 | + { |
|
| 11 | + |
|
| 12 | + } |
|
| 13 | + /** |
|
| 14 | + * @JsonProperty(Integer, "page_no") |
|
| 15 | + */ |
|
| 16 | + private $pageNo; |
|
| 17 | + |
|
| 18 | + /** |
|
| 19 | + * @JsonProperty(Integer, "page_size") |
|
| 20 | + */ |
|
| 21 | + private $pageSize; |
|
| 22 | + |
|
| 23 | + protected function setUserParams(&$params) |
|
| 24 | + { |
|
| 25 | + $this->setUserParam($params, "page_no", $this->pageNo); |
|
| 26 | + $this->setUserParam($params, "page_size", $this->pageSize); |
|
| 27 | + |
|
| 28 | + } |
|
| 29 | + |
|
| 30 | + public function getVersion() |
|
| 31 | + { |
|
| 32 | + return "V1"; |
|
| 33 | + } |
|
| 34 | + |
|
| 35 | + public function getDataType() |
|
| 36 | + { |
|
| 37 | + return "JSON"; |
|
| 38 | + } |
|
| 39 | + |
|
| 40 | + public function getType() |
|
| 41 | + { |
|
| 42 | + return "pdd.ktt.user.site.pagequery"; |
|
| 43 | + } |
|
| 44 | + |
|
| 45 | + public function setPageNo($pageNo) |
|
| 46 | + { |
|
| 47 | + $this->pageNo = $pageNo; |
|
| 48 | + } |
|
| 49 | + |
|
| 50 | + public function setPageSize($pageSize) |
|
| 51 | + { |
|
| 52 | + $this->pageSize = $pageSize; |
|
| 53 | + } |
|
| 54 | 54 | |
| 55 | 55 | } |
@@ -7,49 +7,49 @@ |
||
| 7 | 7 | class PddDdkOauthOrderDetailGetRequest extends PopBaseHttpRequest |
| 8 | 8 | { |
| 9 | 9 | public function __construct() |
| 10 | - { |
|
| 11 | - |
|
| 12 | - } |
|
| 13 | - /** |
|
| 14 | - * @JsonProperty(String, "order_sn") |
|
| 15 | - */ |
|
| 16 | - private $orderSn; |
|
| 17 | - |
|
| 18 | - /** |
|
| 19 | - * @JsonProperty(Integer, "query_order_type") |
|
| 20 | - */ |
|
| 21 | - private $queryOrderType; |
|
| 22 | - |
|
| 23 | - protected function setUserParams(&$params) |
|
| 24 | - { |
|
| 25 | - $this->setUserParam($params, "order_sn", $this->orderSn); |
|
| 26 | - $this->setUserParam($params, "query_order_type", $this->queryOrderType); |
|
| 27 | - |
|
| 28 | - } |
|
| 29 | - |
|
| 30 | - public function getVersion() |
|
| 31 | - { |
|
| 32 | - return "V1"; |
|
| 33 | - } |
|
| 34 | - |
|
| 35 | - public function getDataType() |
|
| 36 | - { |
|
| 37 | - return "JSON"; |
|
| 38 | - } |
|
| 39 | - |
|
| 40 | - public function getType() |
|
| 41 | - { |
|
| 42 | - return "pdd.ddk.oauth.order.detail.get"; |
|
| 43 | - } |
|
| 44 | - |
|
| 45 | - public function setOrderSn($orderSn) |
|
| 46 | - { |
|
| 47 | - $this->orderSn = $orderSn; |
|
| 48 | - } |
|
| 49 | - |
|
| 50 | - public function setQueryOrderType($queryOrderType) |
|
| 51 | - { |
|
| 52 | - $this->queryOrderType = $queryOrderType; |
|
| 53 | - } |
|
| 10 | + { |
|
| 11 | + |
|
| 12 | + } |
|
| 13 | + /** |
|
| 14 | + * @JsonProperty(String, "order_sn") |
|
| 15 | + */ |
|
| 16 | + private $orderSn; |
|
| 17 | + |
|
| 18 | + /** |
|
| 19 | + * @JsonProperty(Integer, "query_order_type") |
|
| 20 | + */ |
|
| 21 | + private $queryOrderType; |
|
| 22 | + |
|
| 23 | + protected function setUserParams(&$params) |
|
| 24 | + { |
|
| 25 | + $this->setUserParam($params, "order_sn", $this->orderSn); |
|
| 26 | + $this->setUserParam($params, "query_order_type", $this->queryOrderType); |
|
| 27 | + |
|
| 28 | + } |
|
| 29 | + |
|
| 30 | + public function getVersion() |
|
| 31 | + { |
|
| 32 | + return "V1"; |
|
| 33 | + } |
|
| 34 | + |
|
| 35 | + public function getDataType() |
|
| 36 | + { |
|
| 37 | + return "JSON"; |
|
| 38 | + } |
|
| 39 | + |
|
| 40 | + public function getType() |
|
| 41 | + { |
|
| 42 | + return "pdd.ddk.oauth.order.detail.get"; |
|
| 43 | + } |
|
| 44 | + |
|
| 45 | + public function setOrderSn($orderSn) |
|
| 46 | + { |
|
| 47 | + $this->orderSn = $orderSn; |
|
| 48 | + } |
|
| 49 | + |
|
| 50 | + public function setQueryOrderType($queryOrderType) |
|
| 51 | + { |
|
| 52 | + $this->queryOrderType = $queryOrderType; |
|
| 53 | + } |
|
| 54 | 54 | |
| 55 | 55 | } |