NewGaoKaoApi/PaymentSDK/AliPay/Domain/PayModeModel.cs

73 lines
2.0 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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