Class StripeProductService
Namespace: Restaurant.Infrastructure.Adapters.Stripe
Assembly: Restaurant.Infrastructure.dll
public class StripeProductService : IBillingPlatformProductService
Inheritance
object ← StripeProductService
Implements
IBillingPlatformProductService
Inherited Members
object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.MemberwiseClone\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)
Constructors
StripeProductService\(IOptions<StripeOptions\>\)
public StripeProductService(IOptions<StripeOptions> stripeOptions)
Parameters
stripeOptions IOptions < StripeOptions \>
Methods
CreateProductOnPaymentPlatform\(ProductBase, string\)
public Task<RestaurantProductResponse> CreateProductOnPaymentPlatform(ProductBase product, string accountIdentifier)
Parameters
product ProductBase
accountIdentifier string
Returns
Task <RestaurantProductResponse\>
DeleteProductFromPaymentPlatform\(string, string\)
public Task DeleteProductFromPaymentPlatform(string accountIdentifier, string productIdentifier)
Parameters
accountIdentifier string
productIdentifier string
Returns
UpdateProductInfosOnPaymentPlatform\(ProductBase, string, string\)
public Task UpdateProductInfosOnPaymentPlatform(ProductBase product, string accountIdentifier, string productIdentifier)
Parameters
product ProductBase
accountIdentifier string
productIdentifier string
Returns
Last modified: 21 May 2024