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
$activity read-only
public
PurchaseIntentActivity|null
$activity
$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
$merchant read-only
public
PurchaseIntentMerchant|null
$merchant
$price read-only
public
PurchaseIntentPrice|null
$price
$product read-only
public
PurchaseIntentProduct|null
$product
$quantity read-only
public
PurchaseIntentQuantity
$quantity
$status read-only
public
string
$status
$updatedAt read-only
public
string|null
$updatedAt
$usage read-only
public
PurchaseIntentUsage
$usage
$variantSet read-only
public
PurchaseIntentVariantSet|null
$variantSet
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
boolfromArray()
public
static fromArray(array<string, mixed> $data) : static
Parameters
- $data : array<string, mixed>
Return values
staticjsonSerialize()
public
jsonSerialize() : mixed
offsetExists()
public
offsetExists(mixed $offset) : bool
Parameters
- $offset : mixed
Return values
booloffsetGet()
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>