CustomerHistoryEntryDto
in package
Class CustomerHistoryEntryDto
Tags
Table of Contents
- $customerId : int
- $date : DateTimeImmutable
- $payload : array<string|int, mixed>
- $type : string
- create() : CustomerHistoryEntryDto
- customerId() : int
- date() : DateTimeImmutable
- payload() : array<string|int, mixed>
- type() : string
- __construct() : mixed
Properties
$customerId
private
int
$customerId
$date
private
DateTimeImmutable
$date
$payload
private
array<string|int, mixed>
$payload
$type
private
string
$type
Methods
create()
public
static create(int $customerId, array<string|int, mixed> $payload, string $type, DateTimeImmutable $date) : CustomerHistoryEntryDto
Parameters
- $customerId : int
- $payload : array<string|int, mixed>
- $type : string
- $date : DateTimeImmutable
Return values
CustomerHistoryEntryDto —customerId()
public
customerId() : int
Return values
int —date()
public
date() : DateTimeImmutable
Return values
DateTimeImmutable —payload()
public
payload() : array<string|int, mixed>
Return values
array<string|int, mixed> —type()
public
type() : string
Return values
string —__construct()
private
__construct(int $customerId, array<string|int, mixed> $payload, string $type, DateTimeImmutable $date) : mixed
Parameters
- $customerId : int
- $payload : array<string|int, mixed>
- $type : string
- $date : DateTimeImmutable