Method: Update’s a tokens default status in the database. Used for quickly looping through tokens and setting their statuses instead of creating a bunch of objects.
Source: includes/data-stores/class-wc-payment-token-data-store.php:361
Method: Returns metadata for a specific payment token.
Source: includes/data-stores/class-wc-payment-token-data-store.php:328
Method: Get a token’s type by ID.
Source: includes/data-stores/class-wc-payment-token-data-store.php:339
Method: Read extra data associated with the token (like last4 digits of a card for expiry dates).
Source: includes/data-stores/class-wc-payment-token-data-store.php:184
Method: Saves extra token data as meta.
Source: includes/data-stores/class-wc-payment-token-data-store.php:201
Method: Returns an array of objects (stdObject) matching specific token criteria.
Source: includes/data-stores/class-wc-payment-token-data-store.php:235
Method: Returns an stdObject of a token for a user’s default token.
Source: includes/data-stores/class-wc-payment-token-data-store.php:293
Method: Returns an stdObject of a token.
Source: includes/data-stores/class-wc-payment-token-data-store.php:311
Method: Create a new payment token in the database.
Source: includes/data-stores/class-wc-payment-token-data-store.php:42
Method: Update a payment token.
Source: includes/data-stores/class-wc-payment-token-data-store.php:86