class AmzSpApi::FulfillmentInboundApiModel::SellerFreightClass
Constants
- N100
- N110
- N125
- N150
- N175
- N200
- N250
- N300
- N400
- N50
- N500
- N55
- N60
- N65
- N70
- N775
- N85
- N925
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/seller_freight_class.rb, line 38 def build_from_hash(value) constantValues = SellerFreightClass.constants.select { |c| SellerFreightClass::const_get(c) == value } raise "Invalid ENUM value #{value} for class #SellerFreightClass" if constantValues.empty? value end