Documentation

OrderDto
in package
implements JsonSerializable

PayU Order Data Transfer Object class.

Interfaces, Classes, Traits and Enums

JsonSerializable

Table of Contents

$buyer  : BuyerDto|null
$continueUrl  : string|null
$currencyCode  : string
$customerIp  : string
$description  : string
$extOrderId  : string
$merchantPosId  : string|null
$notifyUrl  : string|null
$orderId  : string|null
$products  : array<string|int, mixed>
$statementDescription  : string|null
$status  : string|null
$totalAmount  : string
$validityTime  : int|null
$visibleDescription  : string|null
__construct()  : mixed
getInternalStatusName()  : string|null
jsonSerialize()  : mixed
{@inheritDoc}

Properties

$continueUrl

public string|null $continueUrl = null

Address for redirecting the customer after payment is completed

$currencyCode

public string $currencyCode

Currency code compliant with ISO 4217

$customerIp

public string $customerIp

Customer ip address

$description

public string $description

Order description

$extOrderId

public string $extOrderId

External/CRM order id

$merchantPosId

public string|null $merchantPosId = null

Merchant POS id

$notifyUrl

public string|null $notifyUrl = null

Callback url for order status changes notifications

$orderId

public string|null $orderId = null

PayU order id

$products

public array<string|int, mixed> $products

$statementDescription

public string|null $statementDescription = null

Payment recipient name followed by payment description (order ID, ticket number etc) visible on card statement (max. 22 chars)

$totalAmount

public string $totalAmount

Total price of the order in pennies

$validityTime

public int|null $validityTime = null

Payment link expiry time in seconds

$visibleDescription

public string|null $visibleDescription = null

Description visible on PayU payment page

Methods

__construct()

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

getInternalStatusName()

public getInternalStatusName() : string|null
Return values
string|null

jsonSerialize()

{@inheritDoc}

public jsonSerialize() : mixed
Return values
mixed

        

Search results