guibranco/MaxiPago-SDK-dotnet

View on GitHub

Showing 36 of 52 total issues

Method AddConsumer has 15 arguments (exceeds 4 allowed). Consider refactoring.
Open

            string merchantId,
            string merchantKey,
            string customerIdExt,
            string firstName,
            string lastName,
Severity: Major
Found in Src/MaxiPago/Gateway/Api.cs - About 1 hr to fix

    Method Sale has 14 arguments (exceeds 4 allowed). Consider refactoring.
    Open

                string merchantId,
                string merchantKey,
                string referenceNum,
                decimal chargeTotal,
                string processorId,
    Severity: Major
    Found in Src/MaxiPago/Gateway/Transaction.cs - About 1 hr to fix

      Method Auth has 14 arguments (exceeds 4 allowed). Consider refactoring.
      Open

                  string merchantId,
                  string merchantKey,
                  string referenceNum,
                  decimal chargeTotal,
                  string processorId,
      Severity: Major
      Found in Src/MaxiPago/Gateway/Transaction.cs - About 1 hr to fix

        Method FillRequestBase has 42 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                private void FillRequestBase(
                    string operation,
                    string merchantId,
                    string merchantKey,
                    string referenceNum,
        Severity: Minor
        Found in Src/MaxiPago/Gateway/Transaction.cs - About 1 hr to fix

          Method PayWithToken has 39 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                  private ResponseBase PayWithToken(
                      string operation,
                      string merchantId,
                      string merchantKey,
                      string referenceNum,
          Severity: Minor
          Found in Src/MaxiPago/Gateway/Transaction.cs - About 1 hr to fix

            Method GetTransactionDetailReport has 12 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                        string merchantId,
                        string merchantKey,
                        string period,
                        string pageSize,
                        string startDate,
            Severity: Major
            Found in Src/MaxiPago/Gateway/Report.cs - About 1 hr to fix

              Method Auth has 36 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                      public ResponseBase Auth(
                          string merchantId,
                          string merchantKey,
                          string referenceNum,
                          decimal chargeTotal,
              Severity: Minor
              Found in Src/MaxiPago/Gateway/Transaction.cs - About 1 hr to fix

                Method Sale has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                        public ResponseBase Sale(
                            string merchantId,
                            string merchantKey,
                            string referenceNum,
                            decimal chargeTotal,
                Severity: Minor
                Found in Src/MaxiPago/Gateway/Transaction.cs - About 1 hr to fix

                  Method Boleto has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                          public ResponseBase Boleto(
                              string merchantId,
                              string merchantKey,
                              string referenceNum,
                              decimal chargeTotal,
                  Severity: Minor
                  Found in Src/MaxiPago/Gateway/Transaction.cs - About 1 hr to fix

                    Method FillRecurringBase has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                            private void FillRecurringBase(
                                string merchantId,
                                string merchantKey,
                                string referenceNum,
                                decimal chargeTotal,
                    Severity: Minor
                    Found in Src/MaxiPago/Gateway/Transaction.cs - About 1 hr to fix

                      Method Recurring has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                              public ResponseBase Recurring(
                                  string merchantId,
                                  string merchantKey,
                                  string referenceNum,
                                  decimal chargeTotal,
                      Severity: Minor
                      Found in Src/MaxiPago/Gateway/Transaction.cs - About 1 hr to fix

                        Method GetUrl has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                                private static string GetUrl<T>(T request, string environment)
                                {
                                    switch (environment)
                                    {
                                        case "LIVE":
                        Severity: Minor
                        Found in Src/MaxiPago/Gateway/Utils.cs - About 1 hr to fix

                          Method AddCardOnFile has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                                  public ApiResponse AddCardOnFile(
                                      string merchantId,
                                      string merchantKey,
                                      string customerId,
                                      string creditCardNumber,
                          Severity: Minor
                          Found in Src/MaxiPago/Gateway/Api.cs - About 1 hr to fix

                            Method OnlineDebit has 8 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                                        string merchantId,
                                        string merchantKey,
                                        string referenceNum,
                                        decimal chargeTotal,
                                        string processorId,
                            Severity: Major
                            Found in Src/MaxiPago/Gateway/Transaction.cs - About 1 hr to fix

                              Method Capture has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                          string merchantId,
                                          string merchantKey,
                                          string orderID,
                                          string referenceNum,
                                          decimal chargeTotal
                              Severity: Minor
                              Found in Src/MaxiPago/Gateway/Transaction.cs - About 35 mins to fix

                                Method Return has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                            string merchantId,
                                            string merchantKey,
                                            string orderID,
                                            string referenceNum,
                                            decimal chargeTotal
                                Severity: Minor
                                Found in Src/MaxiPago/Gateway/Transaction.cs - About 35 mins to fix
                                  Severity
                                  Category
                                  Status
                                  Source
                                  Language