toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case InventoryQueryOperatorType.equal:
      return 'Equal';
    case InventoryQueryOperatorType.notEqual:
      return 'NotEqual';
    case InventoryQueryOperatorType.beginWith:
      return 'BeginWith';
    case InventoryQueryOperatorType.lessThan:
      return 'LessThan';
    case InventoryQueryOperatorType.greaterThan:
      return 'GreaterThan';
    case InventoryQueryOperatorType.exists:
      return 'Exists';
  }
}