using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
///
/// PayModeModel Data Structure.
///
[Serializable]
public class PayModeModel : AopObject
{
///
/// 是否记账(false:否;true:是)
///
[XmlElement("accounting")]
public bool Accounting { get; set; }
///
/// 是否启用(false:关闭;true:开启)
///
[XmlElement("enabled")]
public bool Enabled { get; set; }
///
/// 固定面额
///
[XmlElement("fixed_amount")]
public string FixedAmount { get; set; }
///
/// 是否固定面额(false:否;true:是)
///
[XmlElement("fixed_switch")]
public bool FixedSwitch { get; set; }
///
/// 计入实收比例
///
[XmlElement("income_ratio")]
public string IncomeRatio { get; set; }
///
/// 支付类型( CASH:现金; BANK_CARD:银行卡; ALIPAY:支付宝; WX:微信; HANGING_ACCOUNT:挂账; FREE_ORDER:免单; VOUCHER:票券; TAKEOUT:外卖; OTHER:其他 )
///
[XmlElement("pay_code")]
public string PayCode { get; set; }
///
/// 支付方式名称
///
[XmlElement("pay_name")]
public string PayName { get; set; }
///
/// 门店id
///
[XmlElement("shop_id")]
public string ShopId { get; set; }
///
/// 支付排序
///
[XmlElement("sort")]
public long Sort { get; set; }
///
/// 是否系统(false:否;true:是)
///
[XmlElement("system")]
public bool System { get; set; }
}
}