Documentation

BuyerDto
in package
implements JsonSerializable

PayU buyer Data Transfer Object class.

Interfaces, Classes, Traits and Enums

JsonSerializable

Table of Contents

$email  : string|null
$firstName  : string|null
$lastName  : string|null
$phone  : string|null
__construct()  : mixed
Construct.
jsonSerialize()  : mixed
{@inheritDoc}

Properties

$email

private string|null $email

Customer email

$firstName

private string|null $firstName

Customer first name

$lastName

private string|null $lastName

Customer last name

$phone

private string|null $phone

Customer phone

Methods

__construct()

Construct.

public __construct(array<string|int, mixed> $buyerData) : mixed
Parameters
$buyerData : array<string|int, mixed>
Return values
mixed

jsonSerialize()

{@inheritDoc}

public jsonSerialize() : mixed
Return values
mixed

        

Search results