class AmzSpApi::FulfillmentInboundApiModel::BarcodeInstruction

Constants

CAN_USE_ORIGINAL_BARCODE
MUST_PROVIDE_SELLER_SKU
REQUIRES_FNSKU_LABEL

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/barcode_instruction.rb, line 23
def build_from_hash(value)
  constantValues = BarcodeInstruction.constants.select { |c| BarcodeInstruction::const_get(c) == value }
  raise "Invalid ENUM value #{value} for class #BarcodeInstruction" if constantValues.empty?
  value
end