Class C2bRegisterUrlRequest
java.lang.Object
io.github.openpaydev.mpesa.core.models.C2bRegisterUrlRequest
Represents the request payload for registering the C2B confirmation and validation URLs.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleanThe URL that receives the confirmation of a successful transaction.The default action to be taken if the validation URL is unreachable.The short code of the organization receiving the payment.The URL that M-Pesa hits to validate the transaction before processing it.inthashCode()toString()
-
Method Details
-
builder
-
toBuilder
-
getShortCode
The short code of the organization receiving the payment. -
getResponseType
The default action to be taken if the validation URL is unreachable. M-Pesa will either complete or cancel the transaction. -
getConfirmationUrl
The URL that receives the confirmation of a successful transaction. This URL is hit after the transaction is completed. -
getValidationUrl
The URL that M-Pesa hits to validate the transaction before processing it. Your system should respond to this callback to either accept or reject the payment. -
equals
-
hashCode
public int hashCode() -
toString
-