for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Cakasim\Payone\Sdk\Api\Message\Payment\Parameter;
/**
* Implements getter and setter for the currency API request parameter.
*
* @author Fabian Böttcher <[email protected]>
* @since 0.1.0
*/
trait Currency
{
* @inheritDoc
public function getCurrency(): ?string
return $this->parameters['currency'] ?? null;
}
* Sets the currency.
* @param string $currency The transaction ID.
* @return $this
public function setCurrency(string $currency): self
$this->parameters['currency'] = $currency;
parameters
return $this;