githubEdit

Stripe Tax Rate Database Service

A service which handles getting the Stripe Tax Rates from the database

circle-info

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

GetTaxRates

Gets the Tax Rates

Task<IEnumerable<TaxRate>> GetTaxRates();

GetTaxRate

Gets a specified Tax Rate

Parameters:

Name
Detail

key

Key of the Stripe Tax Rate

Task<TaxRate?> GetTaxRate(Guid key);

GetTaxRate

Gets a specified Tax Rate

Parameters:

Name
Detail

value

StripeId of the Stripe Tax Rate

Task<TaxRate?> GetTaxRate(string value);

CreateTaxRate

Creates a Tax Rate

Parameters:

Name
Detail

taxRate

The Stripe Tax Rate

UpdateTaxRate

Updates a specified Tax Rate

Parameters:

Name
Detail

taxRate

The Stripe Tax Rate

DeleteTaxRate

Deletes a specified Tax Rate

Parameters:

Name
Detail

key

Key of the Stripe Tax Rate

Last updated