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)); }
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)); }