name property

String get name

Gets the name of the transaction type as a string.

Returns:

Implementation

String get name {
  switch (this) {
    case PaymentSdkTransactionType.AUTH:
      return "auth";
    case PaymentSdkTransactionType.REGISTER:
      return "register";
    default:
      return "sale";
  }
}