1 | <?php |
||
19 | class Rate extends ObjectInformation |
||
20 | { |
||
21 | use ReadableAttributes { |
||
22 | mayHaveAsString as public getShipment; |
||
23 | mayHaveAsArray as public getAttributes; |
||
24 | mayHaveAsFloat as public getAmountLocal; |
||
25 | mayHaveAsString as public getCurrencyLocal; |
||
26 | mayHaveAsFloat as public getAmount; |
||
27 | mayHaveAsString as public getCurrency; |
||
28 | mayHaveAsString as public getProvider; |
||
29 | mayHaveAsString as public getServicelevelName; |
||
30 | mayHaveAsString as public getServicelevelTerms; |
||
31 | mayHaveAsInt as public getDays; |
||
32 | mayHaveAsBoolean as public getTrackable; |
||
33 | mayHaveAsBoolean as public getInsurance; |
||
34 | mayHaveAsFloat as public getInsuranceAmountLocal; |
||
35 | mayHaveAsString as public getInsuranceCurrencyLocal; |
||
36 | mayHaveAsFloat as public getInsuranceAmount; |
||
37 | mayHaveAsString as public getInsuranceCurrency; |
||
38 | mayHaveAsString as public getCarrierAccount; |
||
39 | mayHaveAsString as public getDurationTerms; |
||
40 | mayHaveAsArray as public getMessages; |
||
41 | mayHaveAsString as public getProviderImage_75; |
||
42 | mayHaveAsString as public getProviderImage_200; |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * Description is not found in Shippo API doc, but this key is returned in fact. |
||
47 | * |
||
48 | * @return mixed|null |
||
49 | */ |
||
50 | public function getAvailableShippo() |
||
54 | |||
55 | /** |
||
56 | * Description is not found in Shippo API doc, but this key is returned in fact. |
||
57 | * |
||
58 | * @return mixed|null |
||
59 | */ |
||
60 | public function getOutboundEndpoint() |
||
64 | |||
65 | /** |
||
66 | * Description is not found in Shippo API doc, but this key is returned in fact. |
||
67 | * |
||
68 | * @return mixed|null |
||
69 | */ |
||
70 | public function getInboundEndpoint() |
||
74 | |||
75 | /** |
||
76 | * Description is not found in Shippo API doc, but this key is returned in fact. |
||
77 | * |
||
78 | * @return mixed|null |
||
79 | */ |
||
80 | public function getArrivesBy() |
||
84 | |||
85 | /** |
||
86 | * Description is not found in Shippo API doc, but this key is returned in fact. |
||
87 | * |
||
88 | * @return mixed|null |
||
89 | */ |
||
90 | public function getDeliveryAttempts() |
||
94 | } |
||
95 |
Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.