Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2/**
3 * @package    brianhenryie/bh-wp-bitcoin-gateway
4 */
5
6namespace BrianHenryIE\WP_Bitcoin_Gateway\API\Model\Wallet;
7
8enum Bitcoin_Address_Status: string {
9
10    /**
11     * Probably brand new and unchecked.
12     */
13    case UNKNOWN = 'unknown';
14
15    /**
16     * New and no order id assigned.
17     */
18    case UNUSED = 'unused';
19
20    /**
21     * Assigned to an order, payment incomplete.
22     */
23    case ASSIGNED = 'assigned';
24
25    /**
26     * Transactions present and no order id, or and order id assigned and payment complete.
27     */
28    case USED = 'used';
29
30    // Inherent WordPress status.
31    case TRASH   = 'trash';
32    case DRAFT   = 'draft';
33    case PUBLISH = 'publish';
34    case ALL     = 'all';
35}