| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- <?php
- namespace Com\Pdd\Pop\Sdk\Api\Request;
- use Com\Pdd\Pop\Sdk\PopBaseHttpRequest;
- use Com\Pdd\Pop\Sdk\PopBaseJsonEntity;
- class PddTicketOrderRefundNotifycationRequest extends PopBaseHttpRequest
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(String, "order_no")
- */
- private $orderNo;
- /**
- * @JsonProperty(Long, "refund_amount")
- */
- private $refundAmount;
- /**
- * @JsonProperty(String, "reject_reason")
- */
- private $rejectReason;
- /**
- * @JsonProperty(String, "serial_no")
- */
- private $serialNo;
- /**
- * @JsonProperty(Integer, "status")
- */
- private $status;
- protected function setUserParams(&$params)
- {
- $this->setUserParam($params, "order_no", $this->orderNo);
- $this->setUserParam($params, "refund_amount", $this->refundAmount);
- $this->setUserParam($params, "reject_reason", $this->rejectReason);
- $this->setUserParam($params, "serial_no", $this->serialNo);
- $this->setUserParam($params, "status", $this->status);
- }
- public function getVersion()
- {
- return "V1";
- }
- public function getDataType()
- {
- return "JSON";
- }
- public function getType()
- {
- return "pdd.ticket.order.refund.notifycation";
- }
- public function setOrderNo($orderNo)
- {
- $this->orderNo = $orderNo;
- }
- public function setRefundAmount($refundAmount)
- {
- $this->refundAmount = $refundAmount;
- }
- public function setRejectReason($rejectReason)
- {
- $this->rejectReason = $rejectReason;
- }
- public function setSerialNo($serialNo)
- {
- $this->serialNo = $serialNo;
- }
- public function setStatus($status)
- {
- $this->status = $status;
- }
- }
|