Acid.PuntoPagos.Sdk.Dtos.NotificationTransactionDto.GenerateResponse C# (CSharp) Method

GenerateResponse() public method

Get the json response for send to PuntoPagos.
public GenerateResponse ( ) : string
return string
        public string GenerateResponse()
        {
            return "{" + string.Format("\"respuesta\":\"{0}\",\"token\":\"{1}\"", WithError ? "99" : "00", Token) + "}";
        }