public function PaymentStorageInterface::loadByRemoteId in Commerce Core 8.2
Loads the payment for the given remote ID.
Parameters
string $remote_id: The remote ID.
Return value
\Drupal\commerce_payment\Entity\PaymentInterface|null The payment, or NULL if none found.
1 method overrides PaymentStorageInterface::loadByRemoteId()
- PaymentStorage::loadByRemoteId in modules/
payment/ src/ PaymentStorage.php - Loads the payment for the given remote ID.
File
- modules/
payment/ src/ PaymentStorageInterface.php, line 22
Class
- PaymentStorageInterface
- Defines the interface for payment storage.
Namespace
Drupal\commerce_paymentCode
public function loadByRemoteId($remote_id);