Stripe Shipping Rate Database Service
A service which handles getting the Stripe Shipping Rates from the database
Last updated
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
Gets the Shipping Rates
Task<IEnumerable<ShippingRate>> GetShippingRates();Gets a specified Shipping Rate
Parameters:
key
Key of the Stripe Shipping Rate
Task<ShippingRate?> GetShippingRate(Guid key);Gets a specified Shipping Rate
Parameters:
value
StripeId of the Stripe Shipping Rate
Task<ShippingRate?> GetShippingRate(string value);Creates a Shipping Rate
Parameters:
shippingRate
The Stripe Shipping Rate
Updates a specified Shipping Rate
Parameters:
shippingRate
The Stripe Shipping Rate
Deletes a specified Shipping Rate
Parameters:
key
Key of the Stripe Shipping Rate
Last updated
Task<ShippingRate?> CreateShippingRate(ShippingRate shippingRate);Task<ShippingRate?> UpdateShippingRate(ShippingRate shippingRate);Task<bool> DeleteShippingRate(Guid key);