Stripe Shipping Rate Database Service

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

The Stripe Shipping Rate database service is what handles the insertion, retrieval, updating, and deletion of the Shipping Rates within the database.

You can access the database service by injecting IStripeShippingRateDatabaseService which can be found within the namespace UmbCheckout.Stripe.Interfaces

GetShippingRates

Gets the Shipping Rates

Task<IEnumerable<ShippingRate>> GetShippingRates();

GetShippingRate

Gets a specified Shipping Rate

Parameters:

NameDetail

key

Task<ShippingRate?> GetShippingRate(Guid key);

GetShippingRate

Gets a specified Shipping Rate

Parameters:

NameDetail

value

Task<ShippingRate?> GetShippingRate(string value);

UpdateShippingRate

Creates a Shipping Rate

Parameters:

NameDetail

shippingRate

Task<ShippingRate?> CreateShippingRate(ShippingRate shippingRate);

UpdateShippingRate

Updates a specified Shipping Rate

Parameters:

NameDetail

shippingRate

Task<ShippingRate?> UpdateShippingRate(ShippingRate shippingRate);

DeleteShippingRate

Deletes a specified Shipping Rate

Parameters:

NameDetail

key

Task<bool> DeleteShippingRate(Guid key);

Last updated