toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case CopyProductStatus.succeeded:
      return 'SUCCEEDED';
    case CopyProductStatus.inProgress:
      return 'IN_PROGRESS';
    case CopyProductStatus.failed:
      return 'FAILED';
  }
}