Class StkStatusQueryRequest.StkStatusQueryRequestBuilder
java.lang.Object
io.github.openpaydev.mpesa.core.models.StkStatusQueryRequest.StkStatusQueryRequestBuilder
- Enclosing class:
- StkStatusQueryRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()businessShortCode(String businessShortCode) The organization's short code (Paybill or Till Number) used to identify the business.checkoutRequestID(String checkoutRequestID) The unique ID generated by the M-Pesa system for the original STK Push request, which is to be queried.The Base64 encoded password, generated from the business short code, passkey, and timestamp.The timestamp of the request in the format yyyyMMddHHmmss.toString()
-
Method Details
-
businessShortCode
public StkStatusQueryRequest.StkStatusQueryRequestBuilder businessShortCode(String businessShortCode) The organization's short code (Paybill or Till Number) used to identify the business.- Returns:
this.
-
password
The Base64 encoded password, generated from the business short code, passkey, and timestamp.- Returns:
this.
-
timestamp
The timestamp of the request in the format yyyyMMddHHmmss.- Returns:
this.
-
checkoutRequestID
public StkStatusQueryRequest.StkStatusQueryRequestBuilder checkoutRequestID(String checkoutRequestID) The unique ID generated by the M-Pesa system for the original STK Push request, which is to be queried.- Returns:
this.
-
build
-
toString
-