Inttegro PHP SDK

PurchaseIntentVariant extends DomainValue
in package

FinalYes

Immutable base for Inttegro domain values.

Table of Contents

Properties

$active  : bool
$position  : int|null
$price  : PurchaseIntentPrice|null
$product  : PurchaseIntentProduct|null
$productId  : string
$variantValues  : array<string, string>

Methods

__construct()  : mixed
__get()  : mixed
__isset()  : bool
fromArray()  : static
jsonSerialize()  : mixed
offsetExists()  : bool
offsetGet()  : mixed
offsetSet()  : void
offsetUnset()  : void
toArray()  : array<string, mixed>

Properties

$active read-only

public bool $active

$position read-only

public int|null $position

$productId read-only

public string $productId

$variantValues read-only

public array<string, string> $variantValues

Methods

__construct()

public __construct(array<string, mixed> $data) : mixed
Parameters
$data : array<string, mixed>

__get()

public __get(string $name) : mixed
Parameters
$name : string

__isset()

public __isset(string $name) : bool
Parameters
$name : string
Return values
bool

fromArray()

public static fromArray(array<string, mixed> $data) : static
Parameters
$data : array<string, mixed>
Return values
static

jsonSerialize()

public jsonSerialize() : mixed

offsetExists()

public offsetExists(mixed $offset) : bool
Parameters
$offset : mixed
Return values
bool

offsetGet()

public offsetGet(mixed $offset) : mixed
Parameters
$offset : mixed

offsetSet()

public offsetSet(mixed $offset, mixed $value) : void
Parameters
$offset : mixed
$value : mixed

offsetUnset()

public offsetUnset(mixed $offset) : void
Parameters
$offset : mixed

toArray()

public toArray() : array<string, mixed>
Return values
array<string, mixed>
On this page

Search results