Stripe Tax Rate Database Service
A service which handles getting the Stripe Tax Rates from the database
Last updated
A service which handles getting the Stripe Tax Rates from the database
This feature requires a paid license
The Stripe database service is what handles the insertion, retrieval, updating, and deletion of the Tax Rates within the database.
You can access the database service by injecting IStripeTaxRateDatabaseService which can be found within the namespace UmbCheckout.Stripe.Addons.Interfaces
Gets the Tax Rates
Task<IEnumerable<TaxRate>> GetTaxRates();Gets a specified Tax Rate
Parameters:
key
Key of the Stripe Tax Rate
Task<TaxRate?> GetTaxRate(Guid key);Gets a specified Tax Rate
Parameters:
value
StripeId of the Stripe Tax Rate
Task<TaxRate?> GetTaxRate(string value);Creates a Tax Rate
Parameters:
taxRate
The Stripe Tax Rate
Updates a specified Tax Rate
Parameters:
taxRate
The Stripe Tax Rate
DeleteTaxRate
Deletes a specified Tax Rate
Parameters:
key
Key of the Stripe Tax Rate
Last updated
Task<TaxRate?> CreateTaxRate(TaxRate taxRate);Task<TaxRate?> UpdateTaxRate(TaxRate taxRate);Task<bool> DeleteTaxRate(Guid key);