/// <summary>Retrieves a summary of the actual data that posted to the general ledger in an account.</summary>
 /// <param name="fields">Specifies how the data should be grouped.</param>
 /// <param name="filters">Specify the filtering criteria.</param>
 /// <param name="pageIndex">Specify the page to be returned.</param>
 /// <returns></returns>
 public virtual GetPostingTransactionSummaryResult GetPostingTransactionSummary
 (
     PostingTransactionSummaryField fields,
     PostingTransactionSummaryFilter filters,
     int pageIndex
 )
 {
     return(InvokeService <GetPostingTransactionSummaryResult>(new object[]
     {
         fields,
         filters,
         pageIndex,
     },
                                                               "getPostingTransactionSummary"));
 }
        public virtual async System.Threading.Tasks.Task <GetPostingTransactionSummaryResult> getPostingTransactionSummaryAsync(PostingTransactionSummaryField fields, PostingTransactionSummaryFilter filters, int pageIndex, string operationId)
        {
            var request = new getPostingTransactionSummaryRequest()
            {
                passport        = passport,
                tokenPassport   = tokenPassport,
                applicationInfo = applicationInfo,
                partnerInfo     = partnerInfo,
                preferences     = preferences,
                fields          = fields,
                filters         = filters,
                pageIndex       = pageIndex,
                operationId     = operationId,
            };
            var response = await((NetSuitePortType)this).getPostingTransactionSummaryAsync(request);

            return(response.getPostingTransactionSummaryResult);
        }