toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SuppressionListReason.bounce:
      return 'BOUNCE';
    case SuppressionListReason.complaint:
      return 'COMPLAINT';
  }
}