*/
public ShippingMethodsType createFlatRateShipping(String shippingName,
float shippingCost, String currency, ShippingRestrictions shipRestrictions)
throws ProtocolException {
try {
FlatRateShipping flatRate = _objectFact.createFlatRateShipping();
flatRate.setName(shippingName);
flatRate.setPrice(createMoney(shippingCost, currency));
flatRate.setShippingRestrictions(shipRestrictions);
return addShippingMethod(flatRate);
} catch (JAXBException jaxbEx) {
throw new ProtocolException(jaxbEx.getMessage());
}
}