Skip to content
This repository was archived by the owner on May 16, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions src/Transaction/ValueObject/Transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
* "gatewayID",
* "currency",
* "customerEmail",
* "language",
* "customerNRB",
* "taxCountry",
* "customerIP",
Expand Down Expand Up @@ -103,6 +104,14 @@ class Transaction extends AbstractValueObject implements SerializableInterface,
*/
protected $customerEmail;

/**
* Selection of the language in which the content will be presented in the system.
*
* @var string
* @Type("string")
*/
protected $language;

/**
* Transaction customer bank account number.
*
Expand Down Expand Up @@ -346,6 +355,14 @@ public function getCustomerEmail(): string
return $this->customerEmail;
}

/**
* @return string
*/
public function getLanguage(): string
{
return $this->language;
}

/**
* @return string
*/
Expand Down