You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

43 lines
1.0 KiB

using System.Xml.Serialization;
using BWP.ABCClient.Common;
namespace BWP.ABCClient.B2B
{
[XmlRoot(ElementName = "MSG")]
public class QueryTrnxRequest : MessageBase
{
public MessageContent Message { get; set; }
public static QueryTrnxRequest New()
{
return new QueryTrnxRequest {
Message = new MessageContent {
Merchant = new MerchantContent {
ECMerchantType = "B2B",
MerchantID = string.Empty
},
TrxRequest = new TrxRequestContent {
TrxType = TrxType.QueryTrnx,
MerchantTrnxNo = string.Empty,
MerchantRemarks = string.Empty
}
},
SignatureAlgorithm = "SHA1withRSA",
Signature = string.Empty
};
}
public class MessageContent
{
public MerchantContent Merchant { get; set; }
public TrxRequestContent TrxRequest { get; set; }
}
public class TrxRequestContent
{
public string TrxType { get; set; }
public string MerchantTrnxNo { get; set; }
public string MerchantRemarks { get; set; }
}
}
}