MpesaB2B.buyGoods constructor

MpesaB2B.buyGoods(
  1. Mpesa mpesa, {
  2. required String shortCode,
  3. required double amount,
  4. required String remarks,
  5. required String queueTimeOutURL,
  6. required String resultURL,
})

Implementation

MpesaB2B.buyGoods(
  this.mpesa, {
  required this.shortCode,
  required this.amount,
  required this.remarks,
  required this.queueTimeOutURL,
  required this.resultURL,
}) {
  commandID = BbCommandId.BusinessBuyGoods;
  identifierType = IdentifierType.TillNumber;
}