BcCommandId enum Null safety

BcCommandId.SalaryPayment This supports sending money to both registered BcCommandId.BusinessPayment BusinessPayment: This is a normal business to customer payment, supports only M-PESA registered customers. PromotionPayment PromotionPayment: This is a promotional payment to customers. The M-PESA notification message is a congratulatory message. Supports only M-PESA registered customers.

Constants

BusinessPayment → const BcCommandId
const BcCommandId(1)
PromotionPayment → const BcCommandId
const BcCommandId(2)
SalaryPayment → const BcCommandId
const BcCommandId(0)
values → const List<BcCommandId>

A constant List of the values in this enum, in order of their declaration.

const List<BcCommandId>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited