Basket
extends Base
in package
Implement basket response object
Tags
Table of Contents
- $ : string
- $ : string
- $ : string
- $ : int|float
- $ : int|float
- $ : int
- $ : string
- $ : string
- $ : string
- $ : string|null
- $ : string
- $ : string|null
- $ : bool
- $ : bool
- $ : array<string|int, mixed>|null
- $ : array<string|int, mixed>|null
- $ : string|null
- $ : string|null
- $ : string|null
- $ : string|null
- $ : string
- $ : int|string
- $article_ids : null|array<string|int, mixed>
- $articles : array<string|int, mixed>
- $bill_address : string
- $bills : array<string|int, mixed>
- $contact_person : string
- $id : null|int|string
- The primary key
- $in_trail : bool
- $trail_end : int
- $type : string|null
- The object type
- $_date_format : string
- Pointer to date format of system
- $dynamics : array<string|int, mixed>
- __construct() : mixed
- General constructor.
- __get() : mixed|null
- Magic getter to avoid "PHP 8.2: Dynamic Properties are deprecated"
- __isset() : bool
- Magic check to avoid "PHP 8.2: Dynamic Properties are deprecated"
- __set() : void
- Magic setter to avoid "PHP 8.2: Dynamic Properties are deprecated"
- jsonSerialize() : array<string|int, mixed>
- patchExtra() : void
Properties
$
public
string
$
name
$
public
string
$
title
$
public
string
$
__type
$
public
int|float
$
price
$
public
int|float
$
price_net
$
public
int
$
billnumber
$
public
string
$
status
$
public
string
$
delivery
$
public
string
$
payment
$
public
string|null
$
payment_method Extended payment method details
$
public
string
$
billaddress
$
public
string|null
$
created Creation date
$
public
bool
$
has_recurring Has recurring subscription articles
$
public
bool
$
has_refunds Has refunds linked
$
public
array<string|int, mixed>|null
$
article_ids The basket articles
$
public
array<string|int, mixed>|null
$
campaign_ids The linked voucher campaign ids
$
public
string|null
$
comment The comment given by user
$
public
string|null
$
owner_id Reference to the owners id
$
public
string|null
$
affiliate_id Reference to our affiliate
$
public
string|null
$
status_change_date Last status transition date
$
public
string
$
type
$
public
int|string
$
id
$article_ids
public
null|array<string|int, mixed>
$article_ids
$articles
public
array<string|int, mixed>
$articles
= []
$bill_address
public
string
$bill_address
Billing address without owner name
$bills
public
array<string|int, mixed>
$bills
= []
$contact_person
public
string
$contact_person
The contact person full name
$id
The primary key
public
null|int|string
$id
= null
$in_trail
public
bool
$in_trail
Is in trail period
$trail_end
public
int
$trail_end
Trail end timestamp, rough calculation
$type
The object type
public
string|null
$type
= null
$_date_format
Pointer to date format of system
protected
string
$_date_format
= FAA_DATE_SHORT
$dynamics
private
array<string|int, mixed>
$dynamics
= array()
Methods
__construct()
General constructor.
public
__construct(object $doc[, string|null $language = null ]) : mixed
Parameters
- $doc : object
-
The search response object
- $language : string|null = null
Return values
mixed —__get()
Magic getter to avoid "PHP 8.2: Dynamic Properties are deprecated"
public
__get( $name) : mixed|null
Parameters
Return values
mixed|null —__isset()
Magic check to avoid "PHP 8.2: Dynamic Properties are deprecated"
public
__isset( $name) : bool
Parameters
Return values
bool —__set()
Magic setter to avoid "PHP 8.2: Dynamic Properties are deprecated"
public
__set( $name, $value) : void
Parameters
Return values
void —jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed> —patchExtra()
protected
patchExtra(object $doc, array<string|int, mixed>|null $extra) : void
Parameters
- $doc : object
- $extra : array<string|int, mixed>|null