📄 unsubscribeservicereq.java
字号:
package com.khan.sms.provision;
/**
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2006</p>
*
* <p>Company: </p>
*
* @author not attributable
* @version 1.0
*/
/**反向订购接口*/
public class UnSubscribeServiceReq extends AbstractSoapData{
/**消息类型*/
String MsgType ="UnSubscribeServiceReq";
/**该接口消息的版本号,本次所有的接口消息的版本都为“1.5.0”*/
String Version ="1.5.0";
/**发送方的地址*/
String Send_Address ="<DeviceType>400</DeviceType>" + "<DeviceID>919239</DeviceID>" ;
/**接收方的地址*/
String Dest_Address ="<DeviceType>0</DeviceType>" + "<DeviceID>0011</DeviceID>";
/**计费用户标识*/
String FeeUser_ID ="";
/**使用用户标识
当计费用户和使用用户为同个用户的时候,
FeeUser_ID和DestUser_ID的值为相同,
否则填为不同的用户
*/
String DestUser_ID ="";
/**服务标识*/
String Service_ID ="";
/**订购特征参数,订购业务需要携带的参数,可以携带文本/多媒体的相关信息*/
String FeatureStr ="";
public UnSubscribeServiceReq(String MsgType, String Version, String FeeUser_ID, String DestUser_ID, String Service_ID, String FeatureStr, String TransactionID){
this.MsgType =MsgType;
this.Version =Version;
this.FeeUser_ID =FeeUser_ID;
this.DestUser_ID =DestUser_ID;
this.Service_ID =Service_ID;
this.FeatureStr =FeatureStr;
this.TransactionID =TransactionID;
}
protected String BuildSoap() {
return "<UnSubscribeServiceReq xmlns=\"http://www.monternet.com/dsmp/schemas/\">"
+"<Version>"+Version+"</Version>" +
"<MsgType>"+MsgType+"</MsgType>" +
"<Send_Address>"+Send_Address+"</Send_Address>" +
"<Dest_Address>"+Dest_Address+"</Dest_Address>" +
"<FeeUser_ID><UserIDType>1</UserIDType><MSISDN>"+FeeUser_ID+"</MSISDN><PseudoCode /></FeeUser_ID>" +
"<DestUser_ID><UserIDType>1</UserIDType><MSISDN>"+DestUser_ID+"</MSISDN><PseudoCode /></DestUser_ID>" +
"<Service_ID>" +
"<ServiceIDType>1</ServiceIDType>" +
"<SPID>919239</SPID>" +
"<SPServiceID>"+Service_ID+"</SPServiceID>" +
"<AccessNo />" +
"<FeatureStr />" +
"</Service_ID>" +
"<FeatureStr />" +
"</UnSubscribeServiceReq>";
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -