diff --git a/src/Transaction/ValueObject/Transaction.php b/src/Transaction/ValueObject/Transaction.php index c129b70..6da1c05 100644 --- a/src/Transaction/ValueObject/Transaction.php +++ b/src/Transaction/ValueObject/Transaction.php @@ -20,6 +20,7 @@ * "gatewayID", * "currency", * "customerEmail", + * "language", * "customerNRB", * "taxCountry", * "customerIP", @@ -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. * @@ -346,6 +355,14 @@ public function getCustomerEmail(): string return $this->customerEmail; } + /** + * @return string + */ + public function getLanguage(): string + { + return $this->language; + } + /** * @return string */