1 | <?php |
||
7 | class Price extends USPSLookup |
||
8 | { |
||
9 | /** |
||
10 | * Check the price on package delivery depending on method. Available methods include: |
||
11 | * First Class,First Class Commercial, First Class HFP Commercial,Priority,Priority Commercial |
||
12 | * Priority Cpp,Priority HFP Commercial, Priority HFP CPP,Priority Mail Express,Priority Mail Express Commercial |
||
13 | * Priority Mail Express CPP,Priority Mail Express Sh, Priority Mail Express Sh Commercial, Priority Mail Express HFP |
||
14 | * Priority Mail Express HFP Commercial, Priority Mail Express HFP CPP, Priority Mail Cubic, Retail Ground, Media, Library, All, Online,Plus,BPM |
||
15 | * @param $to |
||
16 | * @param $from |
||
17 | * @param $pounds |
||
18 | * @param $ounces |
||
19 | * @param $service |
||
20 | * @return \SimpleXMLElement |
||
21 | */ |
||
22 | public static function getRate(int $to,int $from,int $pounds,int $ounces,string $service): object |
||
39 | } |
||
40 |