diff --git a/src/Customer.php b/src/Customer.php new file mode 100644 index 0000000..141ac70 --- /dev/null +++ b/src/Customer.php @@ -0,0 +1,71 @@ +id = $params['id'] ?? null; + $this->email = $params['email'] ?? null; + $this->phone = $params['phone'] ?? null; + $this->note = $params['note'] ?? null; + } + + /** + * Create a new Customer instance. + * + * @param array $params + * + * @return \CraigPaul\Moneris\Customer + */ + public static function create(array $params = []) + { + return new static($params); + } +} \ No newline at end of file