Api\ServiceType\ApiService::CreateBillingAgreement PHP Method

CreateBillingAgreement() public method

Method to call the operation originally named CreateBillingAgreement Meta informations extracted from the WSDL - SOAPHeaderNames : RequesterCredentials - SOAPHeaderNamespaces : urn:ebay:api:PayPalAPI - SOAPHeaderTypes : \Api\StructType\ApiCustomSecurityHeaderType - SOAPHeaders : required
public CreateBillingAgreement ( Api\StructType\ApiCreateBillingAgreementReq $createBillingAgreementRequest ) : Api\StructType\ApiCreateBillingAgreementResponseType | boolean
$createBillingAgreementRequest Api\StructType\ApiCreateBillingAgreementReq
return Api\StructType\ApiCreateBillingAgreementResponseType | boolean
    public function CreateBillingAgreement(\Api\StructType\ApiCreateBillingAgreementReq $createBillingAgreementRequest)
    {
        try {
            $this->setResult(self::getSoapClient()->CreateBillingAgreement($createBillingAgreementRequest));
            return $this->getResult();
        } catch (\SoapFault $soapFault) {
            $this->saveLastError(__METHOD__, $soapFault);
            return false;
        }
    }
ApiService