private function PayPalBasic::setPaymentId in PayPal for Payment 2.0.x
Same name and namespace in other branches
- 8 src/Plugin/Payment/Method/PayPalBasic.php \Drupal\paypal_payment\Plugin\Payment\Method\PayPalBasic::setPaymentId()
Parameters
$paymentId:
Throws
\Drupal\Core\Entity\EntityStorageException
1 call to PayPalBasic::setPaymentId()
- PayPalBasic::doExecutePayment in src/
Plugin/ Payment/ Method/ PayPalBasic.php
File
- src/
Plugin/ Payment/ Method/ PayPalBasic.php, line 57
Class
- PayPalBasic
- Abstract class for PayPal payment methods.
Namespace
Drupal\paypal_payment\Plugin\Payment\MethodCode
private function setPaymentId($paymentId) {
$this->configuration['paymentID'] = $paymentId;
$this
->getPayment()
->save();
}