class AmzSpApi::FulfillmentOutboundApiModel::EventCode

Constants

N101
N102
N201
N202
N203
N204
N205
N206
N301
N302
N304
N306
N307
N308
N309
N401
N402
N403
N404
N405
N406
N407
N408
N409
N411
N412
N413
N414
N415
N416
N417
N418
N419

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-outbound-api-model/models/event_code.rb, line 53
def build_from_hash(value)
  constantValues = EventCode.constants.select { |c| EventCode::const_get(c) == value }
  raise "Invalid ENUM value #{value} for class #EventCode" if constantValues.empty?
  value
end