fromInt static method

EPaymentMethodGroup fromInt(
  1. int group
)

Implementation

static EPaymentMethodGroup fromInt(int group) {
  switch (group) {
    case 24:
      return EPaymentMethodGroup.mobileMoney;
    case 25:
      return EPaymentMethodGroup.creditCard;
    case 29:
      return EPaymentMethodGroup.ewallet;
    default:
      return EPaymentMethodGroup
          .mobileMoney; // Default to a safe value if unknown status
  }
}