public function addInscriptionInfo(
        $serviceId,
        $rut,
        $firstName,
        $lastName1,
        $lastName2,
        $clientEmail,
        $phoneNumber,
        $expirationDate,
        $commerceMail,
        $uf = false
    ) {
        $detail = new DetailInput();
        $detail->serviceId = $serviceId;
        $detail->cardHolderId = $rut;
        $detail->cardHolderName = $firstName;
        $detail->cardHolderLastName1 = $lastName1;
        $detail->cardHolderLastName2 = $lastName2;
        $detail->cardHolderMail = $clientEmail;
        $detail->cellPhoneNumber = $phoneNumber;
        $detail->expirationDate = $expirationDate;
        $detail->commerceMail = $commerceMail;
        $detail->ufFlag = $uf;

        $this->inscriptionInformation = $detail;

        return $this;
    }
public function addInscriptionInfo(
        $serviceId,
        $rut,
        $firstName,
        $lastName1,
        $lastName2,
        $clientEmail,
        $phoneNumber,
        $expirationDate,
        $commerceMail,
        $uf = false
    ) {
        $detail = new DetailInput();
        $detail->serviceId = $serviceId;
        $detail->cardHolderId = $rut;
        $detail->cardHolderName = $firstName;
        $detail->cardHolderLastName1 = $lastName1;
        $detail->cardHolderLastName2 = $lastName2;
        $detail->cardHolderMail = $clientEmail;
        $detail->cellPhoneNumber = $phoneNumber;
        $detail->expirationDate = $expirationDate;
        $detail->commerceMail = $commerceMail;
        $detail->ufFlag = $uf;

        $this->inscriptionInformation = $detail;

        return $this;
    }
public function addInscriptionInfo ( $ serviceId , $ rut , $ firstName , $ lastName1 , $ lastName2 , $ clientEmail , $ phoneNumber , $ expirationDate , $ commerceMail , $ uf = false ) { $ detail = new DetailInput ( ) ; $ detail -> serviceId = $ serviceId ; $ detail -> cardHolderId = $ rut ; $ detail -> cardHolderName = $ firstName ; $ detail -> cardHolderLastName1 = $ lastName1 ; $ detail -> cardHolderLastName2 = $ lastName2 ; $ detail -> cardHolderMail = $ clientEmail ; $ detail -> cellPhoneNumber = $ phoneNumber ; $ detail -> expirationDate = $ expirationDate ; $ detail -> commerceMail = $ commerceMail ; $ detail -> ufFlag = $ uf ; $ this -> inscriptionInformation = $ detail ; return $ this ; }
Add customer and subscription information

@param string $serviceId Service identifier
@param string $rut Customer's national identifier number
@param string $firstName Customer's names
@param string $lastName1 Customer's paternal surname
@param string $lastName2 Customer's maternal surname
@param string $clientEmail Customer's e-mail
@param string $phoneNumber Customer's phone number
@param string $expirationDate Expiry date of the subscription
@param string $commerceMail Commerce e-mail
@param bool $uf Indicates if the payment is made in UF
@return $this
Add customer and subscription information