jsonShippingTypes.add(JSONEscapeObject);
}
JSONEscapeObject JSONEscapeObject = new JSONEscapeObject();
JSONEscapeObject.put("shippingRegions", jsonShippingRegions);
JSONEscapeObject.put("shippingTypes", jsonShippingTypes);
form.setJsonShippingTypes(JSONEscapeObject.toHtmlString());
}
private ShippingRate findRate(ShippingMethod shippingMethod, ShippingRegion shippingRegion, ShippingType shippingType, User user) throws Exception {
EntityManager em = JpaConnection.getInstance().getCurrentEntityManager();
ShippingRate shippingRate = null;