Package org.javlo.module.ecom
Class DeliveryPrice
- java.lang.Object
-
- org.javlo.module.ecom.DeliveryPrice
-
public class DeliveryPrice extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeliveryPricegetInstance(ContentContext ctx)static DeliveryPricegetInstance(ContentContext ctx, File file)doublegetPrice(double weight, String zone)List<String>getZone()static voidmain(String[] args)voidreset(ContentContext ctx)
-
-
-
Method Detail
-
getInstance
public static DeliveryPrice getInstance(ContentContext ctx, File file) throws Exception
- Throws:
Exception
-
getInstance
public static DeliveryPrice getInstance(ContentContext ctx) throws Exception
- Throws:
Exception
-
reset
public void reset(ContentContext ctx)
-
getPrice
public double getPrice(double weight, String zone)
-
main
public static void main(String[] args)
-
-