public function createCustomer($paymentType, $customerId, $payment, $additional = [])
    {
        $this->integrityCheck();
        $createCustomerRes = $this->mpay24Sdk->createCustomer($paymentType, $customerId, $payment, $additional);
        $this->recordedLastMessageExchange('CreateCustomer');

        return $createCustomerRes;
    }
public function createCustomer($paymentType, $customerId, $payment, $additional = [])
    {
        $this->integrityCheck();
        $createCustomerRes = $this->mpay24Sdk->createCustomer($paymentType, $customerId, $payment, $additional);
        $this->recordedLastMessageExchange('CreateCustomer');

        return $createCustomerRes;
    }
public function createCustomer ( $ paymentType , $ customerId , $ payment , $ additional = [ ] ) { $ this -> integrityCheck ( ) ; $ createCustomerRes = $ this -> mpay24Sdk -> createCustomer ( $ paymentType , $ customerId , $ payment , $ additional ) ; $ this -> recordedLastMessageExchange ( 'CreateCustomer' ) ; return $ createCustomerRes ; }
Create a customer for recurring payments

@param string $paymentType The payment type which will be used for the payment (CC or TOKEN)
@param        $customerId
@param        $payment
@param        $additional

@return Responses\CreateCustomerResponse
Create a customer for recurring payments