Enums aren't used
Opened this issue · 0 comments
nolanamy commented
A number of enums
are defined – for example, in sections/fulfillment.js, we have:
const enums = {
ResponseGroups() {
return new Enum(['Basic', 'Detailed']);
},
ShippingSpeedCategories() {
return new Enum(['Standard', 'Expedited', 'Priority']);
},
FulfillmentPolicies() {
return new Enum(['FillOrKill', 'FillAll', 'FillAllAvailable']);
}
};
– but none are used. Would require grabbing the section's enums
in api.js, passing into AmazonMwsRequest
, and handling enum types in getValueForParam
in request.js