lib/avatax/client/fundingrequests.rb in avatax-22.6.1 vs lib/avatax/client/fundingrequests.rb in avatax-22.7.0

- old
+ new

@@ -22,13 +22,15 @@ # # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. # * This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.*Firm Managed* (for accounts managed by a firm): ARA, ARAManaged. # Swagger Name: AvaTaxClient # @param id [Integer] The unique ID number of this funding request + # @param businessUnit [String] The company's business unit (See POABusinessUnit::* for a list of allowable values) + # @param subscriptionType [String] The company's subscription type (See POASubscriptionType::* for a list of allowable values) # @return [Object] - def activate_funding_request(id) path = "/api/v2/fundingrequests/#{id}/widget" - get(path, {}, "22.6.1") end + def activate_funding_request(id, options={}) path = "/api/v2/fundingrequests/#{id}/widget" + get(path, options, "22.7.0") end # Retrieve status about a funding setup request # # This API is available by invitation only. # Companies that use the Avalara Managed Returns or the SST Certified Service Provider services are @@ -45,11 +47,13 @@ # # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin. # * This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.*Firm Managed* (for accounts managed by a firm): ARA, ARAManaged. # Swagger Name: AvaTaxClient # @param id [Integer] The unique ID number of this funding request + # @param businessUnit [String] The company's business unit (See POABusinessUnit::* for a list of allowable values) + # @param subscriptionType [String] The company's subscription type (See POASubscriptionType::* for a list of allowable values) # @return [Object] - def funding_request_status(id) path = "/api/v2/fundingrequests/#{id}" - get(path, {}, "22.6.1") end + def funding_request_status(id, options={}) path = "/api/v2/fundingrequests/#{id}" + get(path, options, "22.7.0") end end end end \ No newline at end of file