toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ShippingLabelStatus.inProgress:
      return 'InProgress';
    case ShippingLabelStatus.timedOut:
      return 'TimedOut';
    case ShippingLabelStatus.succeeded:
      return 'Succeeded';
    case ShippingLabelStatus.failed:
      return 'Failed';
  }
}