From 2e4350fcef6128b256683cdf78c672a814d0b044 Mon Sep 17 00:00:00 2001 From: Jonathan Wenger Date: Mon, 8 Jul 2024 16:01:49 -0700 Subject: [PATCH] Fix github issue 214 --- src/TransactionBuilder.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/TransactionBuilder.php b/src/TransactionBuilder.php index ae78ab1..8777ed7 100644 --- a/src/TransactionBuilder.php +++ b/src/TransactionBuilder.php @@ -134,6 +134,18 @@ public function withBusinessIdentificationNo($no) return $this; } + /** + * Set a customer email + * + * @param string email + * @return TransactionBuilder + */ + public function withEmail($email) + { + $this->_model['email'] = $email; + return $this; + } + /** * Set client application customer or usage type *