name property
String
get
name
Gets the name of the transaction type as a string.
Returns:
- "auth" for PaymentSdkTransactionType.AUTH
- "register" for PaymentSdkTransactionType.REGISTER
- "sale" for PaymentSdkTransactionType.SALE (default)
Implementation
String get name {
switch (this) {
case PaymentSdkTransactionType.AUTH:
return "auth";
case PaymentSdkTransactionType.REGISTER:
return "register";
default:
return "sale";
}
}