Files
ticketbeast/app/Billing/Charge.php
2018-01-29 13:13:29 -05:00

29 lines
412 B
PHP

<?php
namespace App\Billing;
class Charge
{
private $data;
public function __construct($data)
{
$this->data = $data;
}
public function amount()
{
return $this->data['amount'];
}
public function cardLastFour()
{
return $this->data['card_last_four'];
}
public function destination()
{
return $this->data['destination'];
}
}