Showing 36 of 52 total issues
File Transaction.cs
has 997 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
using System.Threading;
using MaxiPago.DataContract;
using MaxiPago.DataContract.Transactional;
namespace MaxiPago.Gateway
Method Sale
has 37 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string merchantId,
string merchantKey,
string referenceNum,
decimal chargeTotal,
string creditCardNumber,
Method Auth
has 37 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string merchantId,
string merchantKey,
string referenceNum,
decimal chargeTotal,
string creditCardNumber,
Class CommandRequest
has 32 methods (exceeds 20 allowed). Consider refactoring. Open
Open
[Serializable]
[XmlRoot(ElementName = "request")]
public class CommandRequest
{
/// <summary>
Method PaySavingCreditCardAutomatically
has 32 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string operation,
string merchantId,
string merchantKey,
string referenceNum,
decimal chargeTotal,
Method Auth
has 31 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string merchantId,
string merchantKey,
string referenceNum,
decimal chargeTotal,
string creditCardNumber,
Method Sale
has 31 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string merchantId,
string merchantKey,
string referenceNum,
decimal chargeTotal,
string creditCardNumber,
Method FillRequestBase
has 20 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string operation,
string merchantId,
string merchantKey,
string referenceNum,
decimal chargeTotal,
Method Recurring
has 20 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string merchantId,
string merchantKey,
string referenceNum,
decimal chargeTotal,
string creditCardNumber,
Method PaySavingCreditCardAutomatically
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private ResponseBase PaySavingCreditCardAutomatically(
string operation,
string merchantId,
string merchantKey,
string referenceNum,
Method Boleto
has 19 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string merchantId,
string merchantKey,
string referenceNum,
decimal chargeTotal,
string processorId,
Method Sale
has 19 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string merchantId,
string merchantKey,
string referenceNum,
decimal chargeTotal,
string creditCardNumber,
Method Auth
has 19 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string merchantId,
string merchantKey,
string referenceNum,
decimal chargeTotal,
string creditCardNumber,
Method AddCardOnFile
has 19 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string merchantId,
string merchantKey,
string customerId,
string creditCardNumber,
string expirationMonth,
Method Recurring
has 17 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string merchantId,
string merchantKey,
string referenceNum,
decimal chargeTotal,
string customerId,
Method Auth
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public ResponseBase Auth(
string merchantId,
string merchantKey,
string referenceNum,
decimal chargeTotal,
Method Sale
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public ResponseBase Sale(
string merchantId,
string merchantKey,
string referenceNum,
decimal chargeTotal,
Method UpdateConsumer
has 16 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string merchantId,
string merchantKey,
string customerId,
string customerIdExt,
string firstName,
Method PayWithToken
has 15 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string operation,
string merchantId,
string merchantKey,
string referenceNum,
decimal chargeTotal,
Method FillRecurringBase
has 15 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string merchantId,
string merchantKey,
string referenceNum,
decimal chargeTotal,
string processorId,