Class StkStatusQueryRequest

java.lang.Object
io.github.openpaydev.mpesa.core.models.StkStatusQueryRequest

public final class StkStatusQueryRequest extends Object
Represents the internal request payload for the M-Pesa STK Push Status Query API.

This class is an internal model and is not intended to be used directly by the SDK consumer. The MpesaClient creates and populates this object.

  • Method Details

    • builder

    • getBusinessShortCode

      public String getBusinessShortCode()
      The organization's short code (Paybill or Till Number) used to identify the business.
    • getPassword

      public String getPassword()
      The Base64 encoded password, generated from the business short code, passkey, and timestamp.
    • getTimestamp

      public String getTimestamp()
      The timestamp of the request in the format yyyyMMddHHmmss.
    • getCheckoutRequestID

      public String getCheckoutRequestID()
      The unique ID generated by the M-Pesa system for the original STK Push request, which is to be queried.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object