For the complete documentation index, see llms.txt. This page is also available as Markdown.

Stripe Tax Rate Database Service

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

This feature requires a paid license. On an unlicensed site the service reads and writes nothing.

Reads publish OnStripeTaxRatesLoadedNotification, and saves and deletes publish the cancellable OnStripeTaxRateSavingNotification and OnStripeTaxRateDeletingNotification (see Extending UmbCheckout).

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

GetTaxRatesAsync

Gets the Tax Rates

Task<IEnumerable<TaxRate>> GetTaxRatesAsync(CancellationToken cancellationToken = default);

GetTaxRateAsync

Gets a specified Tax Rate

Parameters:

Name
Detail

key

Key of the Stripe Tax Rate

Task<TaxRate?> GetTaxRateAsync(Guid key, CancellationToken cancellationToken = default);

GetTaxRateAsync

Gets a specified Tax Rate

Parameters:

Name
Detail

value

StripeId of the Stripe Tax Rate

Task<TaxRate?> GetTaxRateAsync(string value, CancellationToken cancellationToken = default);

CreateTaxRateAsync

Creates a Tax Rate

Parameters:

Name
Detail

taxRate

The Stripe Tax Rate

UpdateTaxRateAsync

Updates a specified Tax Rate

Parameters:

Name
Detail

taxRate

The Stripe Tax Rate

DeleteTaxRateAsync

Deletes a specified Tax Rate

Parameters:

Name
Detail

key

Key of the Stripe Tax Rate

Last updated