CartEntity.php
3 years ago
OrderEntity.php
2 months ago
OrderFactory.php
2 months ago
OrderMode.php
3 years ago
OrderStatus.php
3 years ago
OrderType.php
3 years ago
index.php
3 years ago
CartEntity.php
45 lines
| 1 | <?php |
| 2 | |
| 3 | namespace ProfilePress\Core\Membership\Models\Order; |
| 4 | |
| 5 | |
| 6 | class CartEntity |
| 7 | { |
| 8 | public $plan_id; |
| 9 | |
| 10 | public $change_plan_sub_id; |
| 11 | |
| 12 | public $prorated_price; |
| 13 | |
| 14 | public $sub_total; |
| 15 | |
| 16 | public $coupon_code; |
| 17 | |
| 18 | public $discount_amount; |
| 19 | |
| 20 | public $discount_percentage; |
| 21 | |
| 22 | public $tax_rate; |
| 23 | |
| 24 | public $tax_rate_decimal; |
| 25 | |
| 26 | public $tax_amount; |
| 27 | |
| 28 | public $total; |
| 29 | |
| 30 | // recurring vars |
| 31 | |
| 32 | public $initial_amount; |
| 33 | |
| 34 | public $initial_tax; |
| 35 | |
| 36 | public $initial_tax_rate; |
| 37 | |
| 38 | public $recurring_tax_rate; |
| 39 | |
| 40 | public $recurring_amount; |
| 41 | |
| 42 | public $recurring_tax; |
| 43 | |
| 44 | public $expiration_date; |
| 45 | } |