Subscription on a contact

on calling this i get thefollowing error
$this->infusionsoft->invoices()->addRecurringOrder($contactID, $AllowDuplicate, $subscriptionID, $quantity, $price, $taxable, $merchantAccountID, $creditCardID, $affiliateID, $trialPeriod);

{“meta”:{“status”:“error”,“errors”:[{“message”:“No method matching arguments: java.lang.String, java.lang.String, java.lang.Boolean, java.lang.String, java.lang.Integer, java.lang.String, java.lang.Boolean, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer”,“code”:500,“file”:“/var/www/html/tfycore/vendor/infusionsoft/php-sdk/src/Infusionsoft/Http/InfusionsoftSerializer.php”,“line”:34}]}}

found the solution