43 lines
3.0 KiB
Go
43 lines
3.0 KiB
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.29.0
|
|
|
|
package stripe
|
|
|
|
import (
|
|
"context"
|
|
"database/sql"
|
|
)
|
|
|
|
type Querier interface {
|
|
GetCustomerMappingByBillingAccountID(ctx context.Context, billingAccountID string) (CustomerMapping, error)
|
|
GetCustomerMappingByStripeCustomerID(ctx context.Context, stripeCustomerID sql.NullString) (CustomerMapping, error)
|
|
GetInvoiceMappingByInvoiceID(ctx context.Context, invoiceID string) (InvoiceMapping, error)
|
|
GetInvoiceMappingByStripeID(ctx context.Context, stripeInvoiceID sql.NullString) (InvoiceMapping, error)
|
|
GetPaymentMappingByStripePaymentIntentID(ctx context.Context, stripePaymentIntentID sql.NullString) (PaymentMapping, error)
|
|
GetPaymentMethodMappingByPaymentMethodID(ctx context.Context, paymentMethodID string) (PaymentMethodMapping, error)
|
|
GetPaymentMethodMappingByStripeID(ctx context.Context, stripePaymentMethodID sql.NullString) (PaymentMethodMapping, error)
|
|
GetPriceMappingByPriceID(ctx context.Context, priceID string) (PriceMapping, error)
|
|
GetPriceMappingByStripeID(ctx context.Context, stripePriceID sql.NullString) (PriceMapping, error)
|
|
GetProductMappingByProductID(ctx context.Context, productID string) (ProductMapping, error)
|
|
GetProductMappingByStripeID(ctx context.Context, stripeProductID sql.NullString) (ProductMapping, error)
|
|
GetSubscriptionItemMappingByItemID(ctx context.Context, subscriptionItemID string) (SubscriptionItemMapping, error)
|
|
GetSubscriptionItemMappingByStripeID(ctx context.Context, stripeSubscriptionItemID sql.NullString) (SubscriptionItemMapping, error)
|
|
GetSubscriptionMappingByStripeID(ctx context.Context, stripeSubscriptionID sql.NullString) (SubscriptionMapping, error)
|
|
GetSubscriptionMappingBySubscriptionID(ctx context.Context, subscriptionID string) (SubscriptionMapping, error)
|
|
InsertInvoiceMapping(ctx context.Context, arg InsertInvoiceMappingParams) (InvoiceMapping, error)
|
|
InsertPaymentMapping(ctx context.Context, arg InsertPaymentMappingParams) (PaymentMapping, error)
|
|
MarkPriceMappingDeleted(ctx context.Context, priceID string) error
|
|
MarkProductMappingDeleted(ctx context.Context, productID string) error
|
|
UpdateCustomerMappingSyncStatus(ctx context.Context, arg UpdateCustomerMappingSyncStatusParams) error
|
|
UpdateSubscriptionMappingSyncStatus(ctx context.Context, arg UpdateSubscriptionMappingSyncStatusParams) error
|
|
UpsertCustomerMapping(ctx context.Context, arg UpsertCustomerMappingParams) (CustomerMapping, error)
|
|
UpsertPaymentMethodMapping(ctx context.Context, arg UpsertPaymentMethodMappingParams) (PaymentMethodMapping, error)
|
|
UpsertPriceMapping(ctx context.Context, arg UpsertPriceMappingParams) (PriceMapping, error)
|
|
UpsertProductMapping(ctx context.Context, arg UpsertProductMappingParams) (ProductMapping, error)
|
|
UpsertSubscriptionItemMapping(ctx context.Context, arg UpsertSubscriptionItemMappingParams) (SubscriptionItemMapping, error)
|
|
UpsertSubscriptionMapping(ctx context.Context, arg UpsertSubscriptionMappingParams) (SubscriptionMapping, error)
|
|
}
|
|
|
|
var _ Querier = (*Queries)(nil)
|