public class UPSQuote extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
UPSQuote.Assessment |
| Constructor and Description |
|---|
UPSQuote(UPSServiceType serviceType,
double price) |
| Modifier and Type | Method and Description |
|---|---|
static UPSQuote |
add(UPSQuote quote1,
UPSQuote quote2,
int quote2Multiplier) |
static UPSQuote.Assessment |
assesValidUPSMethod(String method) |
double |
getPrice() |
UPSServiceType |
getServiceType() |
static boolean |
isUPSShippingMethod(String method) |
static UPSQuote[] |
toArray(ArrayList<? extends UPSQuote> found) |
String |
toString() |
public UPSQuote(UPSServiceType serviceType, double price)
public double getPrice()
public UPSServiceType getServiceType()
public static boolean isUPSShippingMethod(String method)
public static UPSQuote.Assessment assesValidUPSMethod(String method)
Copyright © 2018. All rights reserved.