vendor/store.shopware.com/adyenpaymentshopware6/src/Struct/AdyenContextDataStruct.php line 29

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. /**
  3.  *                       ######
  4.  *                       ######
  5.  * ############    ####( ######  #####. ######  ############   ############
  6.  * #############  #####( ######  #####. ######  #############  #############
  7.  *        ######  #####( ######  #####. ######  #####  ######  #####  ######
  8.  * ###### ######  #####( ######  #####. ######  #####  #####   #####  ######
  9.  * ###### ######  #####( ######  #####. ######  #####          #####  ######
  10.  * #############  #############  #############  #############  #####  ######
  11.  *  ############   ############  #############   ############  #####  ######
  12.  *                                      ######
  13.  *                               #############
  14.  *                               ############
  15.  *
  16.  * Adyen Payment Module
  17.  *
  18.  * Copyright (c) 2021 Adyen B.V.
  19.  * This file is open source and available under the MIT license.
  20.  * See the LICENSE file for more info.
  21.  *
  22.  * Author: Adyen <shopware@adyen.com>
  23.  */
  24. namespace Adyen\Shopware\Struct;
  25. use Shopware\Core\Framework\Struct\Struct;
  26. class AdyenContextDataStruct extends Struct
  27. {
  28.     /**
  29.      * @var string|null
  30.      */
  31.     protected $clientKey null;
  32.     /**
  33.      * @var string|null
  34.      */
  35.     protected $environment null;
  36.     /**
  37.      * @var bool
  38.      */
  39.     protected $hasPaymentStateData false;
  40.     public function getClientKey(): ?string
  41.     {
  42.         return $this->clientKey;
  43.     }
  44.     public function setClientKey(?string $clientKey): void
  45.     {
  46.         $this->clientKey $clientKey;
  47.     }
  48.     public function getEnvironment(): ?string
  49.     {
  50.         return $this->environment;
  51.     }
  52.     public function setEnvironment(?string $environment): void
  53.     {
  54.         $this->environment $environment;
  55.     }
  56.     public function isHasPaymentStateData(): bool
  57.     {
  58.         return $this->hasPaymentStateData;
  59.     }
  60.     public function setHasPaymentStateData(bool $hasPaymentStateData): void
  61.     {
  62.         $this->hasPaymentStateData $hasPaymentStateData;
  63.     }
  64. }