예제 #1
0
        public static Refund GetRefund()
        {
            var refund = new Refund();

            refund.capture_id     = "101";
            refund.id             = "102";
            refund.parent_payment = "103";
            refund.sale_id        = "104";
            refund.state          = "COMPLETED";
            refund.amount         = AmountTest.GetAmount();
            refund.create_time    = TestingUtil.GetCurrentDateISO(-1);
            refund.links          = LinksTest.GetLinksList();
            return(refund);
        }
예제 #2
0
 public static String GetCurrentDateISO()
 {
     return(TestingUtil.GetCurrentDateISO(0));
 }