class AmzSpApi::FulfillmentOutboundApiModel::AdditionalLocationInfo

Constants

AS_INSTRUCTED
CARPORT
CUSTOMER_PICKUP
DECK
DOOR_PERSON
FRONT_DESK
FRONT_DOOR
GARAGE
GUARD
MAILBOX
MAIL_ROOM
MAIL_SLOT
MC_BOY
MC_GIRL
MC_MAN
MC_WOMAN
NEIGHBOR
OFFICE
OUTBUILDING
PATIO
PORCH
REAR_DOOR
RECEIVER
RECEPTIONIST
SECURE_LOCATION
SIDE_DOOR

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