protected function addPaymentProfileData(\SimpleXMLElement $data)
    {
        // This order is important. Payment profiles should come in this order only
        $req = $data->addChild('paymentProfile');
        $this->addBillingData($req);
        $req->customerPaymentProfileId = $this->getCustomerPaymentProfileId();
    }
protected function addPaymentProfileData(\SimpleXMLElement $data)
    {
        // This order is important. Payment profiles should come in this order only
        $req = $data->addChild('paymentProfile');
        $this->addBillingData($req);
        $req->customerPaymentProfileId = $this->getCustomerPaymentProfileId();
    }
protected function addPaymentProfileData ( \ SimpleXMLElement $ data ) { // This order is important. Payment profiles should come in this order only $ req = $ data -> addChild ( 'paymentProfile' ) ; $ this -> addBillingData ( $ req ) ; $ req -> customerPaymentProfileId = $ this -> getCustomerPaymentProfileId ( ) ; }
Adds payment profile to the specified xml element

@param \SimpleXMLElement $data
Adds payment profile to the specified xml element