using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
///
/// KoubeiTradeTicketTicketcodeUseModel Data Structure.
///
[Serializable]
public class KoubeiTradeTicketTicketcodeUseModel : AopObject
{
///
/// 凭证码类型,INTERNAL_CODE(内部凭证码),EXTERNAL_CODE(外部凭证码),默认INTERNAL_CODE,外部券场景必填
///
[XmlElement("code_type")]
public string CodeType { get; set; }
///
/// 业务发生时间,默认为接口调用时间
///
[XmlElement("gmt_biz")]
public string GmtBiz { get; set; }
///
/// 口碑订单号,使用外部凭证码核销时必填
///
[XmlElement("order_no")]
public string OrderNo { get; set; }
///
/// 核销份数,次卡业务必填、非次卡业务选填, 非次卡场景表示核销同一订单下的同类凭证的个数
///
[XmlElement("quantity")]
public string Quantity { get; set; }
///
/// 外部请求号,支持英文字母和数字,由开发者自行定义(不允许重复)
///
[XmlElement("request_id")]
public string RequestId { get; set; }
///
/// 口碑门店id
///
[XmlElement("shop_id")]
public string ShopId { get; set; }
///
/// 门店id类型,INTERNAL_SHOP(内部店铺id),EXTERNAL_SHOP(外部店铺id),默认INTERNAL_SHOP
///
[XmlElement("shop_type")]
public string ShopType { get; set; }
///
/// 凭证码,包括内部凭证码和外部凭证码,内部凭证码为12位,纯数字,且唯一不重复
///
[XmlElement("ticket_code")]
public string TicketCode { get; set; }
}
}