All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.com.antcloud.api.ato.v1_0.model.OrderMsgInfo Maven / Gradle / Ivy

//
//  Copyright (c) 2020-present antgroup.com, https://www.antgroup.com
//
//  Licensed under the Apache License, Version 2.0 (the "License");
//  you may not use this file except in compliance with the License.
//  You may obtain a copy of the License at
//
//  http://www.apache.org/licenses/LICENSE-2.0
//
//  Unless required by applicable law or agreed to in writing, software
//  distributed under the License is distributed on an "AS IS" BASIS,
//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//  See the License for the specific language governing permissions and
//  limitations under the License.
//
//
package cn.com.antcloud.api.ato.v1_0.model;

import java.lang.Long;
import java.lang.String;
import java.util.Date;
import javax.validation.constraints.NotNull;

/**
 * 订单消息结构体 */
public class OrderMsgInfo {
  @NotNull
  private String orderId;

  @NotNull
  private String msgId;

  @NotNull
  private String msgPublishType;

  @NotNull
  private Date msgCreateTime;

  @NotNull
  private String msgStatus;

  @NotNull
  private Long msgRetryTime;

  @NotNull
  private String msgContent;

  @NotNull
  private String msgCallbackUrl;

  @NotNull
  private String newMsgCallbackUrl;

  /**
   * 订单id
   */
  public String getOrderId() {
    return this.orderId;
  }

  /**
   * 订单id
   */
  public void setOrderId(String orderId) {
    this.orderId = orderId;
  }

  /**
   * 消息ID
   */
  public String getMsgId() {
    return this.msgId;
  }

  /**
   * 消息ID
   */
  public void setMsgId(String msgId) {
    this.msgId = msgId;
  }

  /**
   * 消息类型
   */
  public String getMsgPublishType() {
    return this.msgPublishType;
  }

  /**
   * 消息类型
   */
  public void setMsgPublishType(String msgPublishType) {
    this.msgPublishType = msgPublishType;
  }

  /**
   * 消息创建时间
   */
  public Date getMsgCreateTime() {
    return this.msgCreateTime;
  }

  /**
   * 消息创建时间
   */
  public void setMsgCreateTime(Date msgCreateTime) {
    this.msgCreateTime = msgCreateTime;
  }

  /**
   * 消息投递状态 SUCCESS 成功 FAIL 失败 WAIT 等待投递重试 */
  public String getMsgStatus() {
    return this.msgStatus;
  }

  /**
   * 消息投递状态 SUCCESS 成功 FAIL 失败 WAIT 等待投递重试 */
  public void setMsgStatus(String msgStatus) {
    this.msgStatus = msgStatus;
  }

  /**
   * 消息重投次数
   */
  public Long getMsgRetryTime() {
    return this.msgRetryTime;
  }

  /**
   * 消息重投次数
   */
  public void setMsgRetryTime(Long msgRetryTime) {
    this.msgRetryTime = msgRetryTime;
  }

  /**
   * 消息体内容 */
  public String getMsgContent() {
    return this.msgContent;
  }

  /**
   * 消息体内容 */
  public void setMsgContent(String msgContent) {
    this.msgContent = msgContent;
  }

  /**
   * 消息回调地址 */
  public String getMsgCallbackUrl() {
    return this.msgCallbackUrl;
  }

  /**
   * 消息回调地址 */
  public void setMsgCallbackUrl(String msgCallbackUrl) {
    this.msgCallbackUrl = msgCallbackUrl;
  }

  /**
   * 新回调地址 */
  public String getNewMsgCallbackUrl() {
    return this.newMsgCallbackUrl;
  }

  /**
   * 新回调地址 */
  public void setNewMsgCallbackUrl(String newMsgCallbackUrl) {
    this.newMsgCallbackUrl = newMsgCallbackUrl;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy