-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #341 from Adyen/develop
Release 3.9.0
- Loading branch information
Showing
63 changed files
with
2,303 additions
and
968 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,261 @@ | ||
<?php declare(strict_types=1); | ||
/** | ||
* ###### | ||
* ###### | ||
* ############ ####( ###### #####. ###### ############ ############ | ||
* ############# #####( ###### #####. ###### ############# ############# | ||
* ###### #####( ###### #####. ###### ##### ###### ##### ###### | ||
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### | ||
* ###### ###### #####( ###### #####. ###### ##### ##### ###### | ||
* ############# ############# ############# ############# ##### ###### | ||
* ############ ############ ############# ############ ##### ###### | ||
* ###### | ||
* ############# | ||
* ############ | ||
* | ||
* Adyen Payment Module | ||
* | ||
* Copyright (c) 2022 Adyen N.V. | ||
* This file is open source and available under the MIT license. | ||
* See the LICENSE file for more info. | ||
* | ||
* Author: Adyen <[email protected]> | ||
*/ | ||
|
||
namespace Adyen\Shopware\Entity\AdyenPayment; | ||
|
||
use Shopware\Core\Framework\DataAbstractionLayer\Entity; | ||
use Shopware\Core\Framework\DataAbstractionLayer\EntityIdTrait; | ||
|
||
class AdyenPaymentEntity extends Entity | ||
{ | ||
use EntityIdTrait; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
protected $pspreference; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
protected $originalReference; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
protected $merchantReference; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
protected $merchantOrderReference; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
protected $orderTransactionId; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
protected $paymentMethod; | ||
|
||
/** | ||
* @var int | ||
*/ | ||
protected $amountValue; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
protected $amountCurrency; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
protected $additionalData; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
protected $captureMode; | ||
|
||
/** | ||
* @var \DateTimeInterface|null | ||
*/ | ||
protected $createdAt; | ||
|
||
/** | ||
* @var \DateTimeInterface|null | ||
*/ | ||
protected $updatedAt; | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getPspreference(): string | ||
{ | ||
return $this->pspreference; | ||
} | ||
|
||
/** | ||
* @param string $pspreference | ||
*/ | ||
public function setPspreference(string $pspreference): void | ||
{ | ||
$this->pspreference = $pspreference; | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getOriginalReference(): string | ||
{ | ||
return $this->originalReference; | ||
} | ||
|
||
/** | ||
* @param string $originalReference | ||
*/ | ||
public function setOriginalReference(string $originalReference): void | ||
{ | ||
$this->originalReference = $originalReference; | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getMerchantReference(): string | ||
{ | ||
return $this->merchantReference; | ||
} | ||
|
||
/** | ||
* @param string $merchantReference | ||
*/ | ||
public function setMerchantReference(string $merchantReference): void | ||
{ | ||
$this->merchantReference = $merchantReference; | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getMerchantOrderReference(): string | ||
{ | ||
return $this->merchantOrderReference; | ||
} | ||
|
||
/** | ||
* @param string $merchantOrderReference | ||
*/ | ||
public function setMerchantOrderReference(string $merchantOrderReference): void | ||
{ | ||
$this->merchantOrderReference = $merchantOrderReference; | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getOrderTransactionId(): string | ||
{ | ||
return $this->orderTransactionId; | ||
} | ||
|
||
/** | ||
* @param int $orderTransactionId | ||
*/ | ||
public function setEventCode(int $orderTransactionId): void | ||
{ | ||
$this->orderTransactionId = $orderTransactionId; | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getPaymentMethod(): string | ||
{ | ||
return $this->paymentMethod; | ||
} | ||
|
||
/** | ||
* @param string $paymentMethod | ||
*/ | ||
public function setPaymentMethod(string $paymentMethod): void | ||
{ | ||
$this->paymentMethod = $paymentMethod; | ||
} | ||
|
||
/** | ||
* @return int | ||
*/ | ||
public function getAmountValue(): int | ||
{ | ||
return $this->amountValue; | ||
} | ||
|
||
/** | ||
* @param int $amountValue | ||
*/ | ||
public function setAmountValue(int $amountValue): void | ||
{ | ||
$this->amountValue = $amountValue; | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getAmountCurrency(): string | ||
{ | ||
return $this->amountCurrency; | ||
} | ||
|
||
/** | ||
* @param string $amountCurrency | ||
*/ | ||
public function setAmountCurrency(string $amountCurrency): void | ||
{ | ||
$this->amountCurrency = $amountCurrency; | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getAdditionalData(): string | ||
{ | ||
return $this->additionalData; | ||
} | ||
|
||
/** | ||
* @param string $additionalData | ||
*/ | ||
public function setAdditionalData(string $additionalData): void | ||
{ | ||
$this->additionalData = $additionalData; | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getCaptureMode(): string | ||
{ | ||
return $this->captureMode; | ||
} | ||
|
||
/** | ||
* @param string $captureMode | ||
*/ | ||
public function setCaptureMode(string $captureMode): void | ||
{ | ||
$this->captureMode = $captureMode; | ||
} | ||
|
||
/** | ||
* @return \DateTimeInterface|null | ||
*/ | ||
public function getCreatedAt(): ?\DateTimeInterface | ||
{ | ||
return $this->createdAt; | ||
} | ||
} |
Oops, something went wrong.