| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- <?php
- namespace Com\Pdd\Pop\Sdk\Api\Request;
- use Com\Pdd\Pop\Sdk\PopBaseHttpRequest;
- use Com\Pdd\Pop\Sdk\PopBaseJsonEntity;
- class PddVirtualMobileChargeNotifyRequest extends PopBaseHttpRequest
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddVirtualMobileChargeNotifyRequest_ChargeCertiItem>, "charge_certi")
- */
- private $chargeCerti;
- /**
- * @JsonProperty(String, "order_sn")
- */
- private $orderSn;
- /**
- * @JsonProperty(String, "outer_order_sn")
- */
- private $outerOrderSn;
- /**
- * @JsonProperty(String, "status")
- */
- private $status;
- protected function setUserParams(&$params)
- {
- $this->setUserParam($params, "charge_certi", $this->chargeCerti);
- $this->setUserParam($params, "order_sn", $this->orderSn);
- $this->setUserParam($params, "outer_order_sn", $this->outerOrderSn);
- $this->setUserParam($params, "status", $this->status);
- }
- public function getVersion()
- {
- return "V1";
- }
- public function getDataType()
- {
- return "JSON";
- }
- public function getType()
- {
- return "pdd.virtual.mobile.charge.notify";
- }
- public function setChargeCerti($chargeCerti)
- {
- $this->chargeCerti = $chargeCerti;
- }
- public function setOrderSn($orderSn)
- {
- $this->orderSn = $orderSn;
- }
- public function setOuterOrderSn($outerOrderSn)
- {
- $this->outerOrderSn = $outerOrderSn;
- }
- public function setStatus($status)
- {
- $this->status = $status;
- }
- }
- class PddVirtualMobileChargeNotifyRequest_ChargeCertiItem extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(Long, "charge_certi_amount")
- */
- private $chargeCertiAmount;
- /**
- * @JsonProperty(String, "charge_certi_date")
- */
- private $chargeCertiDate;
- /**
- * @JsonProperty(String, "charge_certi_mobile")
- */
- private $chargeCertiMobile;
- /**
- * @JsonProperty(String, "charge_certi_mobile_tail")
- */
- private $chargeCertiMobileTail;
- /**
- * @JsonProperty(String, "charge_certi_order_sn")
- */
- private $chargeCertiOrderSn;
- /**
- * @JsonProperty(String, "charge_certi_text")
- */
- private $chargeCertiText;
- /**
- * @JsonProperty(String, "merchant_outer_id")
- */
- private $merchantOuterId;
- public function setChargeCertiAmount($chargeCertiAmount)
- {
- $this->chargeCertiAmount = $chargeCertiAmount;
- }
- public function setChargeCertiDate($chargeCertiDate)
- {
- $this->chargeCertiDate = $chargeCertiDate;
- }
- public function setChargeCertiMobile($chargeCertiMobile)
- {
- $this->chargeCertiMobile = $chargeCertiMobile;
- }
- public function setChargeCertiMobileTail($chargeCertiMobileTail)
- {
- $this->chargeCertiMobileTail = $chargeCertiMobileTail;
- }
- public function setChargeCertiOrderSn($chargeCertiOrderSn)
- {
- $this->chargeCertiOrderSn = $chargeCertiOrderSn;
- }
- public function setChargeCertiText($chargeCertiText)
- {
- $this->chargeCertiText = $chargeCertiText;
- }
- public function setMerchantOuterId($merchantOuterId)
- {
- $this->merchantOuterId = $merchantOuterId;
- }
- }
|