Wishlist
extends ResourceModel
in package
Tags
Table of Contents
- $customer_id : int
- The ID the customer to which the wishlist belongs.
- $id : int
- Wishlist ID, provided after creating a wishlist with a POST.
- $is_public : bool
- Whether the wishlist is available to the public.
- $items : array<string|int, WishlistItem>
- $name : string
- The name of the wishlist.
- $token : string
- The token of the wishlist. This is created internally within BigCommerce.
- __construct() : mixed
- jsonSerialize() : array<string|int, mixed>
Properties
$customer_id
The ID the customer to which the wishlist belongs.
public
int
$customer_id
Tags
$id
Wishlist ID, provided after creating a wishlist with a POST.
public
int
$id
Tags
$is_public
Whether the wishlist is available to the public.
public
bool
$is_public
Tags
$items
public
array<string|int, WishlistItem>
$items
Array of wishlist items.
Tags
$name
The name of the wishlist.
public
string
$name
Tags
$token
The token of the wishlist. This is created internally within BigCommerce.
public
string
$token
The wishlist ID is to be used for external apps. Read-Only.
Tags
Methods
__construct()
public
__construct([stdClass|null $optionObject = null ]) : mixed
Parameters
- $optionObject : stdClass|null = null
Tags
Return values
mixed —jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>