mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Improve dockblock
This commit is contained in:
parent
090287f0f0
commit
fb0725df77
1 changed files with 5 additions and 3 deletions
|
@ -9,16 +9,18 @@ declare(strict_types=1);
|
|||
|
||||
namespace WooCommerce\PayPalCommerce\Vaulting;
|
||||
|
||||
use WC_Payment_Token;
|
||||
|
||||
/**
|
||||
* Class PaymentTokenHelper
|
||||
*/
|
||||
class PaymentTokenHelper {
|
||||
|
||||
/**
|
||||
* Checks if given PayPal token exist as WC Payment Token.
|
||||
* Checks if given token exist as WC Payment Token.
|
||||
*
|
||||
* @param array $wc_tokens WC Payment Tokens.
|
||||
* @param string $token_id PayPal Token ID.
|
||||
* @param WC_Payment_Token[] $wc_tokens WC Payment Tokens.
|
||||
* @param string $token_id Payment Token ID.
|
||||
* @return bool
|
||||
*/
|
||||
public function token_exist( array $wc_tokens, string $token_id ): bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue