for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace AcquiroPay\Models\Entities;
use DateTime;
class Payment extends Entity
{
/**
* @var int
*/
private $productId;
private $merchantId;
* @var DateTime
private $date;
* @var string
private $code;
private $cf;
private $okUrl;
private $koUrl;
private $cbUrl;
* @return int
public function getProductId(): int
return $this->productId;
}
* @param int $productId
public function setProductId(int $productId)
$this->productId = $productId;
public function getMerchantId(): int
return $this->merchantId;
* @param int $merchantId
public function setMerchantId(int $merchantId)
$this->merchantId = $merchantId;
* @return string
public function getCode(): string
return $this->code;
* @param string $code
public function setCode(string $code)
$this->code = $code;
public function getCf(): ?string
return $this->cf;
* @param string $cf
public function setCf(?string $cf)
$this->cf = $cf;
public function getOkUrl(): ?string
return $this->okUrl;
* @param string $okUrl
public function setOkUrl(?string $okUrl)
$this->okUrl = $okUrl;
public function getKoUrl(): ?string
return $this->koUrl;
* @param string $koUrl
public function setKoUrl(?string $koUrl)
$this->koUrl = $koUrl;
public function getCbUrl(): ?string
return $this->cbUrl;
* @param string $cbUrl
public function setCbUrl(?string $cbUrl)
$this->cbUrl = $cbUrl;
* @return DateTime
public function getDate(): DateTime
return $this->date;
* @param DateTime $date
public function setDate(DateTime $date)
$this->date = $date;