Свойство | Тип | Описание | |
---|---|---|---|
$apiVersion | - the api version used for this type of call | ||
$packages | - list of all addresses added so far |
Метод | Описание | |
---|---|---|
addExtraOption ( string | integer $key, string | integer $value ) | Add other option for International & Insurance. | |
addPackage ( |
Add Package to the stack. | |
getPostFields ( ) : array | returns array of all packages added so far. | |
getRate ( ) : string | Perform the API call. | |
setInternationalCall ( $status ) : array | sets the type of call to perform domestic or international. |
public addPackage ( |
||
$data | ||
$id | string | the address unique id |
public getPostFields ( ) : array | ||
Результат | array |
public setInternationalCall ( $status ) : array | ||
$status | ||
Результат | array |