/// <summary> /// Set the gateway transaction order by criteria for the report. /// </summary> /// <param name="orderBy">Order by property</param> /// <param name="direction">Order by direction</param> /// <returns>TResult</returns> public TransactionReportBuilder <TResult> OrderBy(TransactionSortProperty orderBy, SortDirection direction = SortDirection.Ascending) { TransactionOrderBy = orderBy; TransactionOrder = direction; return(this); }
/// <summary> /// Set the gateway order by criteria for the report. /// </summary> /// <param name="orderProperty">Order by property</param> /// <param name="orderDirection">Order by direction</param> /// <returns>TResult</returns> public TransactionReportBuilder <TResult> OrderBy(TransactionSortProperty orderProperty, SortDirection orderDirection = SortDirection.Ascending) { OrderProperty = orderProperty; OrderDirection = orderDirection; return(this); }