org.sdn.api.service.business.request.ship.BusinessShipSingleNotifyReqDTO Maven / Gradle / Ivy
package org.sdn.api.service.business.request.ship;
import org.sdn.api.service.business.response.ship.CommonShipResponseDTO;
import org.sdn.api.utils.ObjectToMap;
import org.sdn.api.constants.OpenApiConstants;
import org.sdn.api.request.OpenRequest;
import java.util.Date;
import java.util.Map;
/**
* 业务订购关系单个通知更新
*
* @author:fulong
* @create:2018/11/19 11:11.
*/
public class BusinessShipSingleNotifyReqDTO extends OpenRequest {
/**
* 光口号
*/
private String loid;
/**
* 业务编码
*/
private String businessCode;
/**
* 业务名称
*/
private String businessName;
/**
* businessAction
*/
private String businessAction;
/**
* APP操作类型 O:开启 S:暂停
*/
private String opAction;
/**
* 业务状态 - 1 正常 2 待下发 3 暂停成功 4 失败 5 订购成功 6 待取消
*/
private Integer businessStatus;
/**
* 分组ID
*/
private String groupId;
/**
* 用户id account表id
*/
private String accountId;
/**
* 基础业务订购关系为用户中心的sdn_cust_info的ID
*/
private String custInfoId;
/**
* 区域编码 从用户中心cust_info表中查询
*/
private String areaCode;
/**
* 套餐编码
*/
private String skuCode;
/**
* 套餐时长 单位为毫秒
*/
private Long skuDuration;
/**
* 过期时间点(时间戳) 计算方式:当前时间+SKU中配置的过期时间,单位(毫秒)
*/
private Long expirePoint;
/**
* 操作时间(业务操作时间,辅助业务已加速时长计算。根据具体业务逻辑进行该值的更新)
*/
private Date opTime;
/**
* 显示隐藏 1:显示 0:隐藏(也可用于deviceready时控制业务下发)
*/
private Integer status;
/**
* 业务描述信息
*/
private String description;
@Override
public String getApiMethodName() {
return "businessCenter.business.ship.sdkNotify";
}
@Override
public Class getResponseClass() {
return CommonShipResponseDTO.class;
}
@Override
public Map getMapParams() {
return ObjectToMap.toMap(this);
}
@Override
public String getRequestMethod() {
return OpenApiConstants.REQUEST_METHOD;
}
public String getLoid() {
return loid;
}
public void setLoid(String loid) {
this.loid = loid;
}
public String getBusinessCode() {
return businessCode;
}
public void setBusinessCode(String businessCode) {
this.businessCode = businessCode;
}
public String getBusinessName() {
return businessName;
}
public void setBusinessName(String businessName) {
this.businessName = businessName;
}
public String getBusinessAction() {
return businessAction;
}
public void setBusinessAction(String businessAction) {
this.businessAction = businessAction;
}
public String getOpAction() {
return opAction;
}
public void setOpAction(String opAction) {
this.opAction = opAction;
}
public Integer getBusinessStatus() {
return businessStatus;
}
public void setBusinessStatus(Integer businessStatus) {
this.businessStatus = businessStatus;
}
public String getGroupId() {
return groupId;
}
public void setGroupId(String groupId) {
this.groupId = groupId;
}
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public String getCustInfoId() {
return custInfoId;
}
public void setCustInfoId(String custInfoId) {
this.custInfoId = custInfoId;
}
public String getAreaCode() {
return areaCode;
}
public void setAreaCode(String areaCode) {
this.areaCode = areaCode;
}
public String getSkuCode() {
return skuCode;
}
public void setSkuCode(String skuCode) {
this.skuCode = skuCode;
}
public Long getSkuDuration() {
return skuDuration;
}
public void setSkuDuration(Long skuDuration) {
this.skuDuration = skuDuration;
}
public Long getExpirePoint() {
return expirePoint;
}
public void setExpirePoint(Long expirePoint) {
this.expirePoint = expirePoint;
}
public Date getOpTime() {
return opTime;
}
public void setOpTime(Date opTime) {
this.opTime = opTime;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
@Override
public String toString() {
return "BusinessShipSingleUpdateDTO{" +
", loid='" + loid + '\'' +
", businessCode='" + businessCode + '\'' +
", businessName='" + businessName + '\'' +
", businessAction='" + businessAction + '\'' +
", opAction='" + opAction + '\'' +
", businessStatus=" + businessStatus +
", groupId='" + groupId + '\'' +
", accountId='" + accountId + '\'' +
", custInfoId='" + custInfoId + '\'' +
", areaCode='" + areaCode + '\'' +
", skuCode='" + skuCode + '\'' +
", skuDuration=" + skuDuration +
", expirePoint=" + expirePoint +
", opTime=" + opTime +
", status=" + status +
", description='" + description + '\'' +
'}';
}
}