PickupPoint
in package
FinalYes
Sanitized pickup point normalized by a driver from the widget payload.
Maps 1:1 to the OrderShipper.pickup_* snapshot. code must carry exactly the identifier
the carrier requires at shipment submission; it differs per driver (see the docblock of
normalizePickupPoint() in each carrier).
Table of Contents
Properties
- $carrier : string
- $city : string
- $code : string
- $country : string
- $name : string
- $raw : string
- $street : string
- $zip : string
Methods
- __construct() : mixed
Properties
$carrier read-only
public
string
$carrier
$city read-only
public
string
$city
$code read-only
public
string
$code
$country read-only
public
string
$country
$name read-only
public
string
$name
$raw read-only
public
string
$raw
$street read-only
public
string
$street
$zip read-only
public
string
$zip
Methods
__construct()
public
__construct(string $carrier, string $code, string $name, string $street, string $city, string $zip, string $country, string $raw) : mixed
Parameters
- $carrier : string
- $code : string
- $name : string
- $street : string
- $city : string
- $zip : string
- $country : string
- $raw : string