Beispiel #1
0
        public static BankAccount GetBankAccount()
        {
            var bankAccount = new BankAccount();

            bankAccount.account_name        = "Test Account";
            bankAccount.account_number      = "01234567890123456789";
            bankAccount.account_number_type = "BBAN";
            bankAccount.account_type        = "CHECKING";
            bankAccount.check_type          = "PERSONAL";
            bankAccount.billing_address     = AddressTest.GetAddress();
            bankAccount.links = LinksTest.GetLinksList();
            return(bankAccount);
        }
Beispiel #2
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          = "Approved";
            refund.amount         = AmountTest.GetAmount();
            refund.create_time    = "2013-01-17T18:12:02.347Z";
            refund.links          = LinksTest.GetLinksList();
            return(refund);
        }
Beispiel #3
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);
        }