mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Add payments method to the PurchaseUnit.php
This commit is contained in:
parent
1cbcd8af72
commit
5ce264a508
1 changed files with 4 additions and 0 deletions
|
@ -90,6 +90,10 @@ class PurchaseUnit
|
|||
return $this->payee;
|
||||
}
|
||||
|
||||
public function payments() : ?Payments {
|
||||
return $this->payments;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Item[]
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue