class AmzSpApi::FulfillmentOutboundApiModel::ReturnItemDisposition
Constants
- CARRIER_DAMAGED
- CUSTOMER_DAMAGED
- DEFECTIVE
- FULFILLER_DAMAGED
- SELLABLE
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/return_item_disposition.rb, line 25 def build_from_hash(value) constantValues = ReturnItemDisposition.constants.select { |c| ReturnItemDisposition::const_get(c) == value } raise "Invalid ENUM value #{value} for class #ReturnItemDisposition" if constantValues.empty? value end