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 DeliveryPrice
getInstance(ContentContext ctx)
static DeliveryPrice
getInstance(ContentContext ctx, File file)
double
getPrice(double weight, String zone)
List<String>
getZone()
static void
main(String[] args)
void
reset(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)
-
-