toValue method
Implementation
String toValue() {
switch (this) {
case ShippingOption.secondDay:
return 'SECOND_DAY';
case ShippingOption.nextDay:
return 'NEXT_DAY';
case ShippingOption.express:
return 'EXPRESS';
case ShippingOption.standard:
return 'STANDARD';
}
}