PayPal\PayPalAPI\GetBillingAgreementCustomerDetailsReq::toXMLString PHP Method

toXMLString() public method

public toXMLString ( )
    public function toXMLString()
    {
        $str = '';
        $str .= '<ns:GetBillingAgreementCustomerDetailsReq>';
        if ($this->GetBillingAgreementCustomerDetailsRequest != null) {
            $str .= '<ns:GetBillingAgreementCustomerDetailsRequest>';
            $str .= $this->GetBillingAgreementCustomerDetailsRequest->toXMLString();
            $str .= '</ns:GetBillingAgreementCustomerDetailsRequest>';
        }
        $str .= '</ns:GetBillingAgreementCustomerDetailsReq>';
        return $str;
    }
GetBillingAgreementCustomerDetailsReq