*/
public ShippingRestrictions createShippingRestrictions(
AllowedAreasType allowedAreas, ExcludedAreasType excludedAreas)
throws ProtocolException {
try {
ShippingRestrictions restrict = _objectFact.createShippingRestrictions();
restrict.setAllowedAreas(allowedAreas);
restrict.setExcludedAreas(excludedAreas);
return restrict;
} catch (JAXBException jaxbEx) {
throw new ProtocolException(jaxbEx.getMessage());
}
}