public void UnarchiveOrderRequestTests() { UnarchiveOrderRequest req = new UnarchiveOrderRequest(ORDER_NUMBER); AutoGen.UnarchiveOrderRequest post = EncodeHelper.Deserialize(req.GetXml()) as AutoGen.UnarchiveOrderRequest; Assert.AreEqual(req.GoogleOrderNumber, post.googleordernumber); req = new UnarchiveOrderRequest(MERCHANT_ID, MERCHANT_KEY, "Sandbox", ORDER_NUMBER); post = EncodeHelper.Deserialize(req.GetXml()) as AutoGen.UnarchiveOrderRequest; }
public override byte[] GetXml() { AutoGen.UnarchiveOrderRequest Req = new AutoGen.UnarchiveOrderRequest(); Req.googleordernumber = _OrderNo; return(EncodeHelper.Serialize(Req)); }
public override byte[] GetXml() { AutoGen.UnarchiveOrderRequest Req = new AutoGen.UnarchiveOrderRequest(); Req.googleordernumber = _OrderNo; return EncodeHelper.Serialize(Req); }