class AmzSpApi::FulfillmentInboundApiModel::TransportStatus

Constants

CONFIRMED
CONFIRMING
ERROR
ERROR_IN_VOIDING
ERROR_ON_CONFIRMING
ERROR_ON_ESTIMATING
ESTIMATED
ESTIMATING
VOIDED
VOIDING
WORKING

Public Instance Methods

build_from_hash(value) click to toggle source

Builds the enum from string @param [String] The enum value in the form of the string @return [String] The enum value

# File lib/fulfillment-inbound-api-model/models/transport_status.rb, line 31
def build_from_hash(value)
  constantValues = TransportStatus.constants.select { |c| TransportStatus::const_get(c) == value }
  raise "Invalid ENUM value #{value} for class #TransportStatus" if constantValues.empty?
  value
end