mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 12:25:15 +08:00
Add DocBlocks for autocomplete
This commit is contained in:
parent
d1bd60b5a7
commit
f482bbfc26
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,7 @@ use Inpsyde\PayPalCommerce\ApiClient\Entity\Authorization;
|
|||
use Inpsyde\PayPalCommerce\ApiClient\Entity\AuthorizationStatus;
|
||||
use Inpsyde\PayPalCommerce\ApiClient\Entity\Order;
|
||||
use Inpsyde\PayPalCommerce\ApiClient\Entity\OrderStatus;
|
||||
use Inpsyde\PayPalCommerce\ApiClient\Entity\PurchaseUnit;
|
||||
use Inpsyde\PayPalCommerce\ApiClient\Exception\RuntimeException;
|
||||
use Inpsyde\PayPalCommerce\ApiClient\Factory\OrderFactory;
|
||||
use Inpsyde\PayPalCommerce\ApiClient\Repository\CartRepository;
|
||||
|
@ -130,6 +131,9 @@ class WcGateway extends WcGatewayBase implements WcGatewayInterface
|
|||
}
|
||||
|
||||
foreach ($order->purchaseUnits() as $purchaseUnit) {
|
||||
/**
|
||||
* @var PurchaseUnit $purchaseUnit
|
||||
*/
|
||||
foreach ($purchaseUnit->payments()->authorizations() as $authorization) {
|
||||
/**
|
||||
* @var Authorization $authorization;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue