Inttegro PHP SDK

CustomData extends CustomDataValue
in package

FinalYes

Merchant-defined string values returned with an Inttegro resource.

Table of Contents

Methods

__construct()  : mixed
count()  : int
fromArray()  : self
getIterator()  : Traversable<string, mixed>
jsonSerialize()  : array<string, mixed>
offsetExists()  : bool
offsetGet()  : mixed
offsetSet()  : void
offsetUnset()  : void
toArray()  : array<string, mixed>
with()  : static
Returns a new collection with one key set.
without()  : static
Returns a new collection without one key or pending change.

Methods

__construct()

public __construct([array<string, mixed> $values = [] ]) : mixed
Parameters
$values : array<string, mixed> = []

fromArray()

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

getIterator()

public getIterator() : Traversable<string, mixed>
Return values
Traversable<string, mixed>

jsonSerialize()

public jsonSerialize() : array<string, mixed>
Return values
array<string, 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>

with()

Returns a new collection with one key set.

public with(string $key, mixed $value) : static
Parameters
$key : string
$value : mixed
Return values
static

without()

Returns a new collection without one key or pending change.

public without(string $key) : static
Parameters
$key : string
Return values
static
On this page

Search results