Inttegro PHP SDK

PurchaseIntent extends DomainValue
in package

FinalYes

Immutable base for Inttegro domain values.

Table of Contents

Properties

$activity  : PurchaseIntentActivity|null
$allowVariants  : bool
$applicationId  : string
$createdAt  : string
$expiresAt  : string|null
$id  : string
$inactiveAt  : string|null
$merchant  : PurchaseIntentMerchant|null
$price  : PurchaseIntentPrice|null
$product  : PurchaseIntentProduct|null
$quantity  : PurchaseIntentQuantity
$status  : string
$updatedAt  : string|null
$usage  : PurchaseIntentUsage
$variantSet  : PurchaseIntentVariantSet|null

Methods

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

Properties

$allowVariants read-only

public bool $allowVariants

$applicationId read-only

public string $applicationId

$createdAt read-only

public string $createdAt

$expiresAt read-only

public string|null $expiresAt

$id read-only

public string $id

$inactiveAt read-only

public string|null $inactiveAt

$status read-only

public string $status

$updatedAt read-only

public string|null $updatedAt

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