toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case OfferingTransactionType.purchase:
      return 'PURCHASE';
    case OfferingTransactionType.renew:
      return 'RENEW';
    case OfferingTransactionType.system:
      return 'SYSTEM';
  }
}