Methods summary
public
string
|
|
public
string
|
|
protected
|
|
protected
array|string
|
|
protected
array|string
|
|
protected
string
|
#
sendRequest( string $url, string $request = '' )
Parameters
- $url
string $url
- $request
string $request
Returns
string
Throws
|
protected
string
|
|
protected
string
|
|
protected
string
|
|
public
array
|
#
requestedAddressFields( )
Array of required address fields.
Array of required address fields.
Returns
array В качестве ключа должно быть название поля
[country|region|city|street|zip], в качестве значения
массив с необязательными параметрами - required
=> bool переопределяет глобальную настройку
- hidden => bool делает поле скрытым - value => string
определяет значение поля - cost => bool
требуется для расчета доставки
Overrides
|
protected
string
|
|
public
|
|
protected static
|
|