示例#1
0
        public static Payments GetCreditCardStatementsList(long oidCreditCard, bool childs)
        {
            QueryConditions conditions = new QueryConditions
            {
                TarjetaCredito = (oidCreditCard) != 0 ? CreditCardInfo.New(oidCreditCard) : null,
                PaymentType    = ETipoPago.ExtractoTarjeta
            };

            return(GetList(Payment.SELECT(conditions, true), childs));
        }
示例#2
0
        public static PaymentList GetListByVencimientoTarjeta(PaymentInfo pago, bool childs)
        {
            QueryConditions conditions = new QueryConditions
            {
                Payment        = pago,
                FechaAuxIni    = pago.Vencimiento,
                FechaAuxFin    = pago.Vencimiento,
                TarjetaCredito = CreditCardInfo.New(pago.OidTarjetaCredito),
                MedioPago      = EMedioPago.Tarjeta
            };

            return(GetList(Payment.SELECT_VENCIMIENTO_TARJETA_BY_PAGO(conditions), childs));
        }