Inttegro PHP SDK

Customer extends DomainValue
in package

FinalYes

Immutable base for Inttegro domain values.

Table of Contents

Properties

$balance  : array<string, CustomerBalanceValue>
$billingAddress  : CustomerAddress|null
$createdAt  : string
$customData  : array<string, string>|null
$emailAddress  : string|null
$guest  : bool
$id  : string
$name  : string
$phoneNumber  : string|null
$reference  : string|null
$shippingAddress  : CustomerAddress|null
$suffix  : string|null
$title  : string|null
$updatedAt  : string|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

$createdAt read-only

public string $createdAt

$customData read-only

public array<string, string>|null $customData

$emailAddress read-only

public string|null $emailAddress

$guest read-only

public bool $guest

$id read-only

public string $id

$name read-only

public string $name

$phoneNumber read-only

public string|null $phoneNumber

$reference read-only

public string|null $reference

$suffix read-only

public string|null $suffix

$title read-only

public string|null $title

$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