src/SprykerEco/Zed/Payone/Business/Payment/MethodMapper/CreditCardPseudo.php 2 locations
|
@@ 55-66 (lines=12) @@
|
| 52 |
|
* |
| 53 |
|
* @return \SprykerEco\Zed\Payone\Business\Api\Request\Container\CaptureContainer |
| 54 |
|
*/ |
| 55 |
|
public function mapPaymentToCapture(SpyPaymentPayone $paymentEntity) |
| 56 |
|
{ |
| 57 |
|
$paymentDetailEntity = $paymentEntity->getSpyPaymentPayoneDetail(); |
| 58 |
|
|
| 59 |
|
$captureContainer = new CaptureContainer(); |
| 60 |
|
$captureContainer->setAmount($paymentDetailEntity->getAmount()); |
| 61 |
|
$captureContainer->setCurrency($this->getStandardParameter()->getCurrency()); |
| 62 |
|
$captureContainer->setTxid($paymentEntity->getTransactionId()); |
| 63 |
|
$captureContainer->setSequenceNumber($this->getNextSequenceNumber($paymentEntity->getTransactionId())); |
| 64 |
|
|
| 65 |
|
return $captureContainer; |
| 66 |
|
} |
| 67 |
|
|
| 68 |
|
/** |
| 69 |
|
* @param \Orm\Zed\Payone\Persistence\SpyPaymentPayone $paymentEntity |
|
@@ 132-142 (lines=11) @@
|
| 129 |
|
* |
| 130 |
|
* @return \SprykerEco\Zed\Payone\Business\Api\Request\Container\DebitContainer |
| 131 |
|
*/ |
| 132 |
|
public function mapPaymentToDebit(SpyPaymentPayone $paymentEntity) |
| 133 |
|
{ |
| 134 |
|
$debitContainer = new DebitContainer(); |
| 135 |
|
|
| 136 |
|
$debitContainer->setTxid($paymentEntity->getTransactionId()); |
| 137 |
|
$debitContainer->setSequenceNumber($this->getNextSequenceNumber($paymentEntity->getTransactionId())); |
| 138 |
|
$debitContainer->setCurrency($this->getStandardParameter()->getCurrency()); |
| 139 |
|
$debitContainer->setAmount($paymentEntity->getSpyPaymentPayoneDetail()->getAmount()); |
| 140 |
|
|
| 141 |
|
return $debitContainer; |
| 142 |
|
} |
| 143 |
|
|
| 144 |
|
/** |
| 145 |
|
* @param \Orm\Zed\Payone\Persistence\SpyPaymentPayone $paymentEntity |
src/SprykerEco/Zed/Payone/Business/Payment/MethodMapper/DirectDebit.php 2 locations
|
@@ 86-97 (lines=12) @@
|
| 83 |
|
* |
| 84 |
|
* @return \SprykerEco\Zed\Payone\Business\Api\Request\Container\CaptureContainer |
| 85 |
|
*/ |
| 86 |
|
public function mapPaymentToCapture(SpyPaymentPayone $paymentEntity) |
| 87 |
|
{ |
| 88 |
|
$paymentDetailEntity = $paymentEntity->getSpyPaymentPayoneDetail(); |
| 89 |
|
|
| 90 |
|
$captureContainer = new CaptureContainer(); |
| 91 |
|
$captureContainer->setAmount($paymentDetailEntity->getAmount()); |
| 92 |
|
$captureContainer->setCurrency($this->getStandardParameter()->getCurrency()); |
| 93 |
|
$captureContainer->setTxid($paymentEntity->getTransactionId()); |
| 94 |
|
$captureContainer->setSequenceNumber($this->getNextSequenceNumber($paymentEntity->getTransactionId())); |
| 95 |
|
|
| 96 |
|
return $captureContainer; |
| 97 |
|
} |
| 98 |
|
|
| 99 |
|
/** |
| 100 |
|
* @param \Orm\Zed\Payone\Persistence\SpyPaymentPayone $paymentEntity |
|
@@ 104-114 (lines=11) @@
|
| 101 |
|
* |
| 102 |
|
* @return \SprykerEco\Zed\Payone\Business\Api\Request\Container\DebitContainer |
| 103 |
|
*/ |
| 104 |
|
public function mapPaymentToDebit(SpyPaymentPayone $paymentEntity) |
| 105 |
|
{ |
| 106 |
|
$debitContainer = new DebitContainer(); |
| 107 |
|
|
| 108 |
|
$debitContainer->setTxid($paymentEntity->getTransactionId()); |
| 109 |
|
$debitContainer->setSequenceNumber($this->getNextSequenceNumber($paymentEntity->getTransactionId())); |
| 110 |
|
$debitContainer->setCurrency($this->getStandardParameter()->getCurrency()); |
| 111 |
|
$debitContainer->setAmount($paymentEntity->getSpyPaymentPayoneDetail()->getAmount()); |
| 112 |
|
|
| 113 |
|
return $debitContainer; |
| 114 |
|
} |
| 115 |
|
|
| 116 |
|
/** |
| 117 |
|
* @param \Generated\Shared\Transfer\PayoneBankAccountCheckTransfer $bankAccountCheckTransfer |
src/SprykerEco/Zed/Payone/Business/Payment/MethodMapper/EWallet.php 2 locations
|
@@ 53-64 (lines=12) @@
|
| 50 |
|
* |
| 51 |
|
* @return \SprykerEco\Zed\Payone\Business\Api\Request\Container\CaptureContainer |
| 52 |
|
*/ |
| 53 |
|
public function mapPaymentToCapture(SpyPaymentPayone $paymentEntity) |
| 54 |
|
{ |
| 55 |
|
$paymentDetailEntity = $paymentEntity->getSpyPaymentPayoneDetail(); |
| 56 |
|
|
| 57 |
|
$captureContainer = new CaptureContainer(); |
| 58 |
|
$captureContainer->setAmount($paymentDetailEntity->getAmount()); |
| 59 |
|
$captureContainer->setCurrency($this->getStandardParameter()->getCurrency()); |
| 60 |
|
$captureContainer->setTxid($paymentEntity->getTransactionId()); |
| 61 |
|
$captureContainer->setSequenceNumber($this->getNextSequenceNumber($paymentEntity->getTransactionId())); |
| 62 |
|
|
| 63 |
|
return $captureContainer; |
| 64 |
|
} |
| 65 |
|
|
| 66 |
|
/** |
| 67 |
|
* @param \Orm\Zed\Payone\Persistence\SpyPaymentPayone $paymentEntity |
|
@@ 113-123 (lines=11) @@
|
| 110 |
|
* |
| 111 |
|
* @return \SprykerEco\Zed\Payone\Business\Api\Request\Container\DebitContainer |
| 112 |
|
*/ |
| 113 |
|
public function mapPaymentToDebit(SpyPaymentPayone $paymentEntity) |
| 114 |
|
{ |
| 115 |
|
$debitContainer = new DebitContainer(); |
| 116 |
|
|
| 117 |
|
$debitContainer->setTxid($paymentEntity->getTransactionId()); |
| 118 |
|
$debitContainer->setSequenceNumber($this->getNextSequenceNumber($paymentEntity->getTransactionId())); |
| 119 |
|
$debitContainer->setCurrency($this->getStandardParameter()->getCurrency()); |
| 120 |
|
$debitContainer->setAmount($paymentEntity->getSpyPaymentPayoneDetail()->getAmount()); |
| 121 |
|
|
| 122 |
|
return $debitContainer; |
| 123 |
|
} |
| 124 |
|
|
| 125 |
|
/** |
| 126 |
|
* @param \Orm\Zed\Payone\Persistence\SpyPaymentPayone $paymentEntity |
src/SprykerEco/Zed/Payone/Business/Payment/MethodMapper/GenericPayment.php 2 locations
|
@@ 173-184 (lines=12) @@
|
| 170 |
|
* |
| 171 |
|
* @return \SprykerEco\Zed\Payone\Business\Api\Request\Container\CaptureContainer |
| 172 |
|
*/ |
| 173 |
|
public function mapPaymentToCapture(SpyPaymentPayone $paymentEntity) |
| 174 |
|
{ |
| 175 |
|
$paymentDetailEntity = $paymentEntity->getSpyPaymentPayoneDetail(); |
| 176 |
|
|
| 177 |
|
$captureContainer = new CaptureContainer(); |
| 178 |
|
$captureContainer->setAmount($paymentDetailEntity->getAmount()); |
| 179 |
|
$captureContainer->setCurrency($this->getStandardParameter()->getCurrency()); |
| 180 |
|
$captureContainer->setTxid($paymentEntity->getTransactionId()); |
| 181 |
|
$captureContainer->setSequenceNumber($this->getNextSequenceNumber($paymentEntity->getTransactionId())); |
| 182 |
|
|
| 183 |
|
return $captureContainer; |
| 184 |
|
} |
| 185 |
|
|
| 186 |
|
/** |
| 187 |
|
* @param \Orm\Zed\Payone\Persistence\SpyPaymentPayone $paymentEntity |
|
@@ 191-201 (lines=11) @@
|
| 188 |
|
* |
| 189 |
|
* @return \SprykerEco\Zed\Payone\Business\Api\Request\Container\DebitContainer |
| 190 |
|
*/ |
| 191 |
|
public function mapPaymentToDebit(SpyPaymentPayone $paymentEntity) |
| 192 |
|
{ |
| 193 |
|
$debitContainer = new DebitContainer(); |
| 194 |
|
|
| 195 |
|
$debitContainer->setTxid($paymentEntity->getTransactionId()); |
| 196 |
|
$debitContainer->setSequenceNumber($this->getNextSequenceNumber($paymentEntity->getTransactionId())); |
| 197 |
|
$debitContainer->setCurrency($this->getStandardParameter()->getCurrency()); |
| 198 |
|
$debitContainer->setAmount($paymentEntity->getSpyPaymentPayoneDetail()->getAmount()); |
| 199 |
|
|
| 200 |
|
return $debitContainer; |
| 201 |
|
} |
| 202 |
|
|
| 203 |
|
/** |
| 204 |
|
* @param \Orm\Zed\Payone\Persistence\SpyPaymentPayone $paymentEntity |
src/SprykerEco/Zed/Payone/Business/Payment/MethodMapper/Invoice.php 1 location
|
@@ 150-160 (lines=11) @@
|
| 147 |
|
* |
| 148 |
|
* @return \SprykerEco\Zed\Payone\Business\Api\Request\Container\DebitContainer |
| 149 |
|
*/ |
| 150 |
|
public function mapPaymentToDebit(SpyPaymentPayone $paymentEntity) |
| 151 |
|
{ |
| 152 |
|
$debitContainer = new DebitContainer(); |
| 153 |
|
|
| 154 |
|
$debitContainer->setTxid($paymentEntity->getTransactionId()); |
| 155 |
|
$debitContainer->setSequenceNumber($this->getNextSequenceNumber($paymentEntity->getTransactionId())); |
| 156 |
|
$debitContainer->setCurrency($this->getStandardParameter()->getCurrency()); |
| 157 |
|
$debitContainer->setAmount($paymentEntity->getSpyPaymentPayoneDetail()->getAmount()); |
| 158 |
|
|
| 159 |
|
return $debitContainer; |
| 160 |
|
} |
| 161 |
|
|
| 162 |
|
/** |
| 163 |
|
* @param \Generated\Shared\Transfer\PayoneGetInvoiceTransfer $getInvoiceTransfer |
src/SprykerEco/Zed/Payone/Business/Payment/MethodMapper/OnlineBankTransfer.php 2 locations
|
@@ 54-65 (lines=12) @@
|
| 51 |
|
* |
| 52 |
|
* @return \SprykerEco\Zed\Payone\Business\Api\Request\Container\CaptureContainer |
| 53 |
|
*/ |
| 54 |
|
public function mapPaymentToCapture(SpyPaymentPayone $paymentEntity) |
| 55 |
|
{ |
| 56 |
|
$paymentDetailEntity = $paymentEntity->getSpyPaymentPayoneDetail(); |
| 57 |
|
|
| 58 |
|
$captureContainer = new CaptureContainer(); |
| 59 |
|
$captureContainer->setAmount($paymentDetailEntity->getAmount()); |
| 60 |
|
$captureContainer->setCurrency($this->getStandardParameter()->getCurrency()); |
| 61 |
|
$captureContainer->setTxid($paymentEntity->getTransactionId()); |
| 62 |
|
$captureContainer->setSequenceNumber($this->getNextSequenceNumber($paymentEntity->getTransactionId())); |
| 63 |
|
|
| 64 |
|
return $captureContainer; |
| 65 |
|
} |
| 66 |
|
|
| 67 |
|
/** |
| 68 |
|
* @param \Orm\Zed\Payone\Persistence\SpyPaymentPayone $paymentEntity |
|
@@ 111-121 (lines=11) @@
|
| 108 |
|
* |
| 109 |
|
* @return \SprykerEco\Zed\Payone\Business\Api\Request\Container\DebitContainer |
| 110 |
|
*/ |
| 111 |
|
public function mapPaymentToDebit(SpyPaymentPayone $paymentEntity) |
| 112 |
|
{ |
| 113 |
|
$debitContainer = new DebitContainer(); |
| 114 |
|
|
| 115 |
|
$debitContainer->setTxid($paymentEntity->getTransactionId()); |
| 116 |
|
$debitContainer->setSequenceNumber($this->getNextSequenceNumber($paymentEntity->getTransactionId())); |
| 117 |
|
$debitContainer->setCurrency($this->getStandardParameter()->getCurrency()); |
| 118 |
|
$debitContainer->setAmount($paymentEntity->getSpyPaymentPayoneDetail()->getAmount()); |
| 119 |
|
|
| 120 |
|
return $debitContainer; |
| 121 |
|
} |
| 122 |
|
|
| 123 |
|
/** |
| 124 |
|
* @param \Orm\Zed\Payone\Persistence\SpyPaymentPayone $paymentEntity |
src/SprykerEco/Zed/Payone/Business/Payment/MethodMapper/Prepayment.php 2 locations
|
@@ 52-63 (lines=12) @@
|
| 49 |
|
* |
| 50 |
|
* @return \SprykerEco\Zed\Payone\Business\Api\Request\Container\CaptureContainer |
| 51 |
|
*/ |
| 52 |
|
public function mapPaymentToCapture(SpyPaymentPayone $paymentEntity) |
| 53 |
|
{ |
| 54 |
|
$paymentDetailEntity = $paymentEntity->getSpyPaymentPayoneDetail(); |
| 55 |
|
|
| 56 |
|
$captureContainer = new CaptureContainer(); |
| 57 |
|
$captureContainer->setAmount($paymentDetailEntity->getAmount()); |
| 58 |
|
$captureContainer->setCurrency($this->getStandardParameter()->getCurrency()); |
| 59 |
|
$captureContainer->setTxid($paymentEntity->getTransactionId()); |
| 60 |
|
$captureContainer->setSequenceNumber($this->getNextSequenceNumber($paymentEntity->getTransactionId())); |
| 61 |
|
|
| 62 |
|
return $captureContainer; |
| 63 |
|
} |
| 64 |
|
|
| 65 |
|
/** |
| 66 |
|
* @param \Orm\Zed\Payone\Persistence\SpyPaymentPayone $paymentEntity |
|
@@ 108-118 (lines=11) @@
|
| 105 |
|
* |
| 106 |
|
* @return \SprykerEco\Zed\Payone\Business\Api\Request\Container\DebitContainer |
| 107 |
|
*/ |
| 108 |
|
public function mapPaymentToDebit(SpyPaymentPayone $paymentEntity) |
| 109 |
|
{ |
| 110 |
|
$debitContainer = new DebitContainer(); |
| 111 |
|
|
| 112 |
|
$debitContainer->setTxid($paymentEntity->getTransactionId()); |
| 113 |
|
$debitContainer->setSequenceNumber($this->getNextSequenceNumber($paymentEntity->getTransactionId())); |
| 114 |
|
$debitContainer->setCurrency($this->getStandardParameter()->getCurrency()); |
| 115 |
|
$debitContainer->setAmount($paymentEntity->getSpyPaymentPayoneDetail()->getAmount()); |
| 116 |
|
|
| 117 |
|
return $debitContainer; |
| 118 |
|
} |
| 119 |
|
|
| 120 |
|
/** |
| 121 |
|
* @param \Orm\Zed\Payone\Persistence\SpyPaymentPayone $paymentEntity |
src/SprykerEco/Zed/Payone/Business/Payment/MethodMapper/SecurityInvoice.php 1 location
|
@@ 149-159 (lines=11) @@
|
| 146 |
|
* |
| 147 |
|
* @return \SprykerEco\Zed\Payone\Business\Api\Request\Container\DebitContainer |
| 148 |
|
*/ |
| 149 |
|
public function mapPaymentToDebit(SpyPaymentPayone $paymentEntity) |
| 150 |
|
{ |
| 151 |
|
$debitContainer = new DebitContainer(); |
| 152 |
|
|
| 153 |
|
$debitContainer->setTxid($paymentEntity->getTransactionId()); |
| 154 |
|
$debitContainer->setSequenceNumber($this->getNextSequenceNumber($paymentEntity->getTransactionId())); |
| 155 |
|
$debitContainer->setCurrency($this->getStandardParameter()->getCurrency()); |
| 156 |
|
$debitContainer->setAmount($paymentEntity->getSpyPaymentPayoneDetail()->getAmount()); |
| 157 |
|
|
| 158 |
|
return $debitContainer; |
| 159 |
|
} |
| 160 |
|
|
| 161 |
|
/** |
| 162 |
|
* @param \Generated\Shared\Transfer\PayoneGetSecurityInvoiceTransfer $getSecurityInvoiceTransfer |