All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mpesa_api.wrappers.responses.MpesaGeneralResponse Maven / Gradle / Ivy

Go to download

This library helps java developers to integrate to MPESA APIs easily and fast.

There is a newer version: 1.6-b
Show newest version
package com.mpesa_api.wrappers.responses;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @author eli_muraya on 21/10/2019 .
 */
public class MpesaGeneralResponse extends C2B_Response {

    @JsonProperty("ResponseCode")
    private String responseCode;


    public MpesaGeneralResponse() {
    }

    public MpesaGeneralResponse(String responseCode) {
        this.responseCode = responseCode;
    }

    public MpesaGeneralResponse(String conversationID, String originatorConversationID, String responseDescription, String responseCode) {
        super(conversationID, originatorConversationID, responseDescription);
        this.responseCode = responseCode;
    }

    public String getResponseCode() {
        return responseCode;
    }

    public void setResponseCode(String responseCode) {
        this.responseCode = responseCode;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy