← All changes
|
inc/freemius/includes/entities/class-fs-billing.php
+94
-94
4.3.8
→
4.3.17
View file →
| @@ -1,95 +1,95 @@ | ||
| 1 | -<?php | |
| 2 | - /** | |
| 3 | - * @package Freemius for EDD Add-On | |
| 4 | - * @copyright Copyright (c) 2016, Freemius, Inc. | |
| 5 | - * @license https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 | |
| 6 | - * @since 1.0.0 | |
| 7 | - */ | |
| 8 | - | |
| 9 | - if ( ! defined( 'ABSPATH' ) ) { | |
| 10 | - exit; | |
| 11 | - } | |
| 12 | - | |
| 13 | - class FS_Billing extends FS_Entity { | |
| 14 | - | |
| 15 | - #region Properties | |
| 16 | - | |
| 17 | - /** | |
| 18 | - * @var int | |
| 19 | - */ | |
| 20 | - public $entity_id; | |
| 21 | - /** | |
| 22 | - * @var string (Enum) Linked entity type. One of: developer, plugin, user, install | |
| 23 | - */ | |
| 24 | - public $entity_type; | |
| 25 | - /** | |
| 26 | - * @var string | |
| 27 | - */ | |
| 28 | - public $business_name; | |
| 29 | - /** | |
| 30 | - * @var string | |
| 31 | - */ | |
| 32 | - public $first; | |
| 33 | - /** | |
| 34 | - * @var string | |
| 35 | - */ | |
| 36 | - public $last; | |
| 37 | - /** | |
| 38 | - * @var string | |
| 39 | - */ | |
| 40 | - public $email; | |
| 41 | - /** | |
| 42 | - * @var string | |
| 43 | - */ | |
| 44 | - public $phone; | |
| 45 | - /** | |
| 46 | - * @var string | |
| 47 | - */ | |
| 48 | - public $website; | |
| 49 | - /** | |
| 50 | - * @var string Tax or VAT ID. | |
| 51 | - */ | |
| 52 | - public $tax_id; | |
| 53 | - /** | |
| 54 | - * @var string | |
| 55 | - */ | |
| 56 | - public $address_street; | |
| 57 | - /** | |
| 58 | - * @var string | |
| 59 | - */ | |
| 60 | - public $address_apt; | |
| 61 | - /** | |
| 62 | - * @var string | |
| 63 | - */ | |
| 64 | - public $address_city; | |
| 65 | - /** | |
| 66 | - * @var string | |
| 67 | - */ | |
| 68 | - public $address_country; | |
| 69 | - /** | |
| 70 | - * @var string Two chars country code. | |
| 71 | - */ | |
| 72 | - public $address_country_code; | |
| 73 | - /** | |
| 74 | - * @var string | |
| 75 | - */ | |
| 76 | - public $address_state; | |
| 77 | - /** | |
| 78 | - * @var number Numeric ZIP code (cab be with leading zeros). | |
| 79 | - */ | |
| 80 | - public $address_zip; | |
| 81 | - | |
| 82 | - #endregion Properties | |
| 83 | - | |
| 84 | - | |
| 85 | - /** | |
| 86 | - * @param object|bool $event | |
| 87 | - */ | |
| 88 | - function __construct( $event = false ) { | |
| 89 | - parent::__construct( $event ); | |
| 90 | - } | |
| 91 | - | |
| 92 | - static function get_type() { | |
| 93 | - return 'billing'; | |
| 94 | - } | |
| 1 | +<?php | |
| 2 | + /** | |
| 3 | + * @package Freemius for EDD Add-On | |
| 4 | + * @copyright Copyright (c) 2016, Freemius, Inc. | |
| 5 | + * @license https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 | |
| 6 | + * @since 1.0.0 | |
| 7 | + */ | |
| 8 | + | |
| 9 | + if ( ! defined( 'ABSPATH' ) ) { | |
| 10 | + exit; | |
| 11 | + } | |
| 12 | + | |
| 13 | + class FS_Billing extends FS_Entity { | |
| 14 | + | |
| 15 | + #region Properties | |
| 16 | + | |
| 17 | + /** | |
| 18 | + * @var int | |
| 19 | + */ | |
| 20 | + public $entity_id; | |
| 21 | + /** | |
| 22 | + * @var string (Enum) Linked entity type. One of: developer, plugin, user, install | |
| 23 | + */ | |
| 24 | + public $entity_type; | |
| 25 | + /** | |
| 26 | + * @var string | |
| 27 | + */ | |
| 28 | + public $business_name; | |
| 29 | + /** | |
| 30 | + * @var string | |
| 31 | + */ | |
| 32 | + public $first; | |
| 33 | + /** | |
| 34 | + * @var string | |
| 35 | + */ | |
| 36 | + public $last; | |
| 37 | + /** | |
| 38 | + * @var string | |
| 39 | + */ | |
| 40 | + public $email; | |
| 41 | + /** | |
| 42 | + * @var string | |
| 43 | + */ | |
| 44 | + public $phone; | |
| 45 | + /** | |
| 46 | + * @var string | |
| 47 | + */ | |
| 48 | + public $website; | |
| 49 | + /** | |
| 50 | + * @var string Tax or VAT ID. | |
| 51 | + */ | |
| 52 | + public $tax_id; | |
| 53 | + /** | |
| 54 | + * @var string | |
| 55 | + */ | |
| 56 | + public $address_street; | |
| 57 | + /** | |
| 58 | + * @var string | |
| 59 | + */ | |
| 60 | + public $address_apt; | |
| 61 | + /** | |
| 62 | + * @var string | |
| 63 | + */ | |
| 64 | + public $address_city; | |
| 65 | + /** | |
| 66 | + * @var string | |
| 67 | + */ | |
| 68 | + public $address_country; | |
| 69 | + /** | |
| 70 | + * @var string Two chars country code. | |
| 71 | + */ | |
| 72 | + public $address_country_code; | |
| 73 | + /** | |
| 74 | + * @var string | |
| 75 | + */ | |
| 76 | + public $address_state; | |
| 77 | + /** | |
| 78 | + * @var number Numeric ZIP code (cab be with leading zeros). | |
| 79 | + */ | |
| 80 | + public $address_zip; | |
| 81 | + | |
| 82 | + #endregion Properties | |
| 83 | + | |
| 84 | + | |
| 85 | + /** | |
| 86 | + * @param object|bool $event | |
| 87 | + */ | |
| 88 | + function __construct( $event = false ) { | |
| 89 | + parent::__construct( $event ); | |
| 90 | + } | |
| 91 | + | |
| 92 | + static function get_type() { | |
| 93 | + return 'billing'; | |
| 94 | + } | |
| 95 | 95 | } |