MpesaB2B.paybill constructor
MpesaB2B.paybill(- Mpesa mpesa,
- {required String shortCode,
- required double amount,
- required String? accountReference,
- required String queueTimeOutURL,
- required String resultURL}
)
Implementation
MpesaB2B.paybill(
this.mpesa, {
required this.shortCode,
required this.amount,
required this.remarks,
required this.accountReference,
required this.queueTimeOutURL,
required this.resultURL,
}) {
commandID = BbCommandId.BusinessPayBill;
identifierType = IdentifierType.OrganizationShortCode;
}