* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0 */ namespace PrestaShop\Module\PrestashopCheckout\PayPal\PaymentToken\Query; use PrestaShop\Module\PrestashopCheckout\Customer\ValueObject\CustomerId; use PrestaShop\Module\PrestashopCheckout\PayPal\PaymentToken\Entity\PaymentToken; class GetCustomerPaymentTokensQueryResult { /** * @var array */ private $paymentTokens; /** * @var CustomerId */ private $customerId; /** * @var int */ private $totalItems; /** * @var int */ private $totalPages; /** * @param PaymentToken[] $paymentTokens * @param CustomerId $customerId * @param int $totalItems * @param int $totalPages */ public function __construct(array $paymentTokens, CustomerId $customerId, $totalItems, $totalPages) { $this->paymentTokens = $paymentTokens; $this->customerId = $customerId; $this->totalItems = $totalItems; $this->totalPages = $totalPages; } /** * @return PaymentToken[] */ public function getPaymentTokens() { return $this->paymentTokens; } /** * @return CustomerId */ public function getCustomerId() { return $this->customerId; } /** * @return int */ public function getTotalItems() { return $this->totalItems; } /** * @return int */ public function getTotalPages() { return $this->totalPages; } }