You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yanzong/extend/suning-sdk-php/request/operasale/ChanneluserCreateRequest.php

282 lines
5.4 KiB

<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2018-12-27
*/
class ChanneluserCreateRequest extends SuningRequest{
/**
*
*/
private $address;
/**
*
*/
private $channelCode;
/**
*
*/
private $contractPhone;
/**
*
*/
private $countyCode;
/**
*
*/
private $custName;
/**
*
*/
private $fee;
/**
*
*/
private $iccid;
/**
*
*/
private $idCardNum;
/**
*
*/
private $idType;
/**
*
*/
private $imsi;
/**
*
*/
private $mainOfferId;
/**
*
*/
private $opId;
/**
*
*/
private $orgId;
/**
*
*/
private $phoneNumber;
/**
*
*/
private $regionCode;
/**
*
*/
private $systemNo;
/**
*
*/
private $transactionID;
public function getAddress() {
return $this->address;
}
public function setAddress($address) {
$this->address = $address;
$this->apiParams["address"] = $address;
}
public function getChannelCode() {
return $this->channelCode;
}
public function setChannelCode($channelCode) {
$this->channelCode = $channelCode;
$this->apiParams["channelCode"] = $channelCode;
}
public function getContractPhone() {
return $this->contractPhone;
}
public function setContractPhone($contractPhone) {
$this->contractPhone = $contractPhone;
$this->apiParams["contractPhone"] = $contractPhone;
}
public function getCountyCode() {
return $this->countyCode;
}
public function setCountyCode($countyCode) {
$this->countyCode = $countyCode;
$this->apiParams["countyCode"] = $countyCode;
}
public function getCustName() {
return $this->custName;
}
public function setCustName($custName) {
$this->custName = $custName;
$this->apiParams["custName"] = $custName;
}
public function getFee() {
return $this->fee;
}
public function setFee($fee) {
$this->fee = $fee;
$this->apiParams["fee"] = $fee;
}
public function getIccid() {
return $this->iccid;
}
public function setIccid($iccid) {
$this->iccid = $iccid;
$this->apiParams["iccid"] = $iccid;
}
public function getIdCardNum() {
return $this->idCardNum;
}
public function setIdCardNum($idCardNum) {
$this->idCardNum = $idCardNum;
$this->apiParams["idCardNum"] = $idCardNum;
}
public function getIdType() {
return $this->idType;
}
public function setIdType($idType) {
$this->idType = $idType;
$this->apiParams["idType"] = $idType;
}
public function getImsi() {
return $this->imsi;
}
public function setImsi($imsi) {
$this->imsi = $imsi;
$this->apiParams["imsi"] = $imsi;
}
public function getMainOfferId() {
return $this->mainOfferId;
}
public function setMainOfferId($mainOfferId) {
$this->mainOfferId = $mainOfferId;
$this->apiParams["mainOfferId"] = $mainOfferId;
}
public function getOpId() {
return $this->opId;
}
public function setOpId($opId) {
$this->opId = $opId;
$this->apiParams["opId"] = $opId;
}
public function getOrgId() {
return $this->orgId;
}
public function setOrgId($orgId) {
$this->orgId = $orgId;
$this->apiParams["orgId"] = $orgId;
}
public function getPhoneNumber() {
return $this->phoneNumber;
}
public function setPhoneNumber($phoneNumber) {
$this->phoneNumber = $phoneNumber;
$this->apiParams["phoneNumber"] = $phoneNumber;
}
public function getRegionCode() {
return $this->regionCode;
}
public function setRegionCode($regionCode) {
$this->regionCode = $regionCode;
$this->apiParams["regionCode"] = $regionCode;
}
public function getSystemNo() {
return $this->systemNo;
}
public function setSystemNo($systemNo) {
$this->systemNo = $systemNo;
$this->apiParams["systemNo"] = $systemNo;
}
public function getTransactionID() {
return $this->transactionID;
}
public function setTransactionID($transactionID) {
$this->transactionID = $transactionID;
$this->apiParams["transactionID"] = $transactionID;
}
public function getApiMethodName(){
return 'suning.operasale.channeluser.create';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->address, 'address');
RequestCheckUtil::checkNotNull($this->channelCode, 'channelCode');
RequestCheckUtil::checkNotNull($this->countyCode, 'countyCode');
RequestCheckUtil::checkNotNull($this->custName, 'custName');
RequestCheckUtil::checkNotNull($this->fee, 'fee');
RequestCheckUtil::checkNotNull($this->iccid, 'iccid');
RequestCheckUtil::checkNotNull($this->idCardNum, 'idCardNum');
RequestCheckUtil::checkNotNull($this->idType, 'idType');
RequestCheckUtil::checkNotNull($this->imsi, 'imsi');
RequestCheckUtil::checkNotNull($this->mainOfferId, 'mainOfferId');
RequestCheckUtil::checkNotNull($this->opId, 'opId');
RequestCheckUtil::checkNotNull($this->orgId, 'orgId');
RequestCheckUtil::checkNotNull($this->phoneNumber, 'phoneNumber');
RequestCheckUtil::checkNotNull($this->regionCode, 'regionCode');
RequestCheckUtil::checkNotNull($this->systemNo, 'systemNo');
RequestCheckUtil::checkNotNull($this->transactionID, 'transactionID');
}
public function getBizName(){
return "createChanneluser";
}
}
?>