DropOffPoint
extends AbstractApiObject
in package
DropOffPoint class
Tags
Table of Contents
- $id : id
- $required : required
- $drop_off_point_id : string
- Identifier for where the shipment should be dropped off.
- $type : string
- The type of the dropoff location.
- __construct() : void
- DropOffPoint constructor.
- get_drop_off_point_id() : string
- Getter method for drop off point id.
- get_id() : string|null
- Getter method for id.
- get_required_fields() : array<string|int, mixed>
- Getter method for id.
- get_type() : string
- Getter method for type.
- set_drop_off_point_id() : void
- Setter method for drop off point id.
- set_id() : void
- Setter method for id.
- set_type() : void
- Setter method for type.
- to_array() : array<string|int, mixed>
- Getter method for parameter array.
- to_string() : string
- Getter method for string representation.
Properties
$id
protected
id
$id
$required
protected
required
$required
$drop_off_point_id
Identifier for where the shipment should be dropped off.
private
string
$drop_off_point_id
$type
The type of the dropoff location.
private
string
$type
Tags
Methods
__construct()
DropOffPoint constructor.
public
__construct([string $type = DropOffPointType::PARCEL_SHOP ][, string $drop_off_point_id = null ]) : void
Parameters
- $type : string = DropOffPointType::PARCEL_SHOP
- $drop_off_point_id : string = null
Tags
Return values
void —get_drop_off_point_id()
Getter method for drop off point id.
public
get_drop_off_point_id() : string
Return values
string —The drop off point id.
get_id()
Getter method for id.
public
get_id() : string|null
Return values
string|null —The id.
get_required_fields()
Getter method for id.
public
get_required_fields() : array<string|int, mixed>
Return values
array<string|int, mixed> —The id.
get_type()
Getter method for type.
public
get_type() : string
Return values
string —The type.
set_drop_off_point_id()
Setter method for drop off point id.
public
set_drop_off_point_id(string $id) : void
Parameters
- $id : string
-
The drop off point id to set.
Return values
void —set_id()
Setter method for id.
public
set_id(string $id) : void
Parameters
- $id : string
-
The id to set.
Return values
void —set_type()
Setter method for type.
public
set_type(string $type) : void
Parameters
- $type : string
-
The type to set.
Tags
Return values
void —to_array()
Getter method for parameter array.
public
to_array() : array<string|int, mixed>
Return values
array<string|int, mixed> —The class object as array.
to_string()
Getter method for string representation.
public
to_string() : string
Return values
string —The object as string representation.
