33 lines
No EOL
495 B
PHP
33 lines
No EOL
495 B
PHP
<?php
|
|
namespace App\Services\Payment;
|
|
|
|
|
|
use App\Models\ShoppingOrder;
|
|
use App\Models\ShoppingOrderMargin;
|
|
use App\Models\UserCreditMargin;
|
|
use App\Services\Util;
|
|
use Carbon\Carbon;
|
|
|
|
class UserCredits
|
|
{
|
|
public $email;
|
|
public $first_name;
|
|
public $last_name;
|
|
public $user_id;
|
|
public $items;
|
|
public $total;
|
|
|
|
|
|
public function __construct()
|
|
{
|
|
$this->items = [];
|
|
}
|
|
|
|
|
|
public function addItem($entry){
|
|
$this->items[] = $entry;
|
|
}
|
|
|
|
|
|
|
|
} |