public class DeliveryPrice extends Object
| Modifier and Type | Method and 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) |
public static DeliveryPrice getInstance(ContentContext ctx, File file) throws Exception
Exceptionpublic static DeliveryPrice getInstance(ContentContext ctx) throws Exception
Exceptionpublic void reset(ContentContext ctx)
public double getPrice(double weight,
String zone)
public static void main(String[] args)
Copyright © 2012-2018. All Rights Reserved.