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:

Task<ShippingRate?> GetShippingRate(Guid key);

GetShippingRate

Gets a specified Shipping Rate

Parameters:

Task<ShippingRate?> GetShippingRate(string value);

UpdateShippingRate

Creates a Shipping Rate

Parameters:

Task<ShippingRate?> CreateShippingRate(ShippingRate shippingRate);

UpdateShippingRate

Updates a specified Shipping Rate

Parameters:

Task<ShippingRate?> UpdateShippingRate(ShippingRate shippingRate);

DeleteShippingRate

Deletes a specified Shipping Rate

Parameters:

Task<bool> DeleteShippingRate(Guid key);

Last updated