src/GatewayAPI/Responses/CancelResult.cs
/// <summary>
/// Parse response from GatewayAPI into Result
/// </summary>
/// <param name="response"></param>
/// <returns></returns>
Parse response from GatewayAPI into Result
Parse response from GatewayAPI into Result
public static CancelResult ParseResponse(int messageId, HttpStatusCode status)
        {
            return new CancelResult
            {
                MessageId = messageId,
                Status = ((int)status != 204 ? "failed" : "success")
            };            
        }
public static CancelResult ParseResponse ( int messageId , HttpStatusCode status ) { return new CancelResult { MessageId = messageId , Status = ( ( int ) status != 204 ? " " : " " ) } ; }
Parse response from GatewayAPI into Result
Parse response from GatewayAPI into Result
None
messageId
int
status
HttpStatusCode
response
None