public function withCustomer($telephone, $email = null, $sendEmail = false)
    {
        $this->customer = [
            'telephoneNumber' => $telephone,
            'email' => $email,
            'sendEmail' => $sendEmail ? 1 : 0,
        ];

        return $this;
    }
public function withCustomer($telephone, $email = null, $sendEmail = false)
    {
        $this->customer = [
            'telephoneNumber' => $telephone,
            'email' => $email,
            'sendEmail' => $sendEmail ? 1 : 0,
        ];

        return $this;
    }
public function withCustomer ( $ telephone , $ email = null , $ sendEmail = false ) { $ this -> customer = [ 'telephoneNumber' => $ telephone , 'email' => $ email , 'sendEmail' => $ sendEmail ? 1 : 0 , ] ; return $ this ; }
Set the customer details to be used during the transaction.

@param $telephone
@param null $email
@param bool $sendEmail
@return $this
Set the customer details to be used during the transaction .