service

package
v1.99.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2026 License: MIT Imports: 14 Imported by: 0

README

Service

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is service providers.

Functions

Types

type AppleStoreService

type AppleStoreService struct {
	v1.UnimplementedAppleStoreServer
	// contains filtered or unexported fields
}

func NewAppleStoreService

func NewAppleStoreService(uc *biz.AppleStoreUsecase) *AppleStoreService

func (*AppleStoreService) ProcessServerNotification

func (s *AppleStoreService) ProcessServerNotification(
	ctx context.Context, req *v1.ProcessServerNotificationRequest,
) (*utils_v1.EmptyReply, error)

type InvoiceService

type InvoiceService struct {
	v1.UnimplementedInvoicesServer
	// contains filtered or unexported fields
}

func NewInvoiceService

func NewInvoiceService(uc *biz.InvoicesUseCase) *InvoiceService

func (*InvoiceService) GetInvoice

func (s *InvoiceService) GetInvoice(ctx context.Context, req *v1.GetInvoiceRequest) (*v1.InvoiceReply, error)

func (*InvoiceService) GetInvoicePDF

func (*InvoiceService) GetInvoiceReceipt

func (*InvoiceService) ListInvoices

type ItemService

type ItemService struct {
	v1.UnimplementedItemsServer
	// contains filtered or unexported fields
}

func NewItemService

func NewItemService(uc *biz.ItemUseCase) *ItemService

func (*ItemService) CreateItem

func (s *ItemService) CreateItem(ctx context.Context, req *v1.CreateItemRequest) (*v1.ItemReply, error)

func (*ItemService) DeleteItem

func (s *ItemService) DeleteItem(ctx context.Context, req *v1.ItemRequest) (*utils_v1.EmptyReply, error)

func (*ItemService) GetItem

func (s *ItemService) GetItem(ctx context.Context, req *v1.ItemRequest) (*v1.ItemReply, error)

func (*ItemService) ListItems

func (s *ItemService) ListItems(ctx context.Context, req *v1.ListItemsRequest) (*v1.ListItemsReply, error)

func (*ItemService) UpdateItem

func (s *ItemService) UpdateItem(ctx context.Context, req *v1.UpdateItemRequest) (*v1.ItemReply, error)

type PaymentsService

type PaymentsService struct {
	v1.UnimplementedPaymentsServer
	// contains filtered or unexported fields
}

func NewPaymentsService

func NewPaymentsService(
	uc *biz.PaymentUseCase,
) *PaymentsService

func (*PaymentsService) CancelSubscription

func (s *PaymentsService) CancelSubscription(
	ctx context.Context, req *v1.CancelSubscriptionRequest,
) (*utils_v1.EmptyReply, error)

func (*PaymentsService) CheckWebhook

func (s *PaymentsService) CheckWebhook(ctx context.Context, req *v1.WebhookPayload) (*v1.WebhookResponse, error)

func (*PaymentsService) Complete3DS

func (*PaymentsService) CreatePayment

func (*PaymentsService) GetPaymentStatus

func (*PaymentsService) PaymentCallback

func (s *PaymentsService) PaymentCallback(
	ctx context.Context, req *v1.PaymentCallbackRequest,
) (*utils_v1.EmptyReply, error)

PaymentCallback handles legacy OVP callbacks (no-op).

func (*PaymentsService) PaymentWebhook

func (s *PaymentsService) PaymentWebhook(ctx context.Context, req *v1.WebhookPayload) (*v1.WebhookResponse, error)

func (*PaymentsService) RecurrentWebhook

func (s *PaymentsService) RecurrentWebhook(ctx context.Context, req *v1.WebhookPayload) (*v1.WebhookResponse, error)

type ProductService

type ProductService struct {
	v1.UnimplementedProductsServer
	// contains filtered or unexported fields
}

func NewProductService

func NewProductService(uc *biz.ProductUseCase) *ProductService

func (*ProductService) CreateProduct

func (s *ProductService) CreateProduct(ctx context.Context, req *v1.CreateProductRequest) (*v1.ProductReply, error)

func (*ProductService) DeleteProduct

func (s *ProductService) DeleteProduct(ctx context.Context, req *v1.DeleteProductRequest) (
	*utils_v1.EmptyReply, error,
)

func (*ProductService) GetProduct

func (s *ProductService) GetProduct(ctx context.Context, req *v1.GetProductRequest) (*v1.ProductReply, error)

func (*ProductService) ListProducts

func (*ProductService) UpdateProduct

func (s *ProductService) UpdateProduct(ctx context.Context, req *v1.UpdateProductRequest) (*v1.ProductReply, error)

type SubscriptionService

type SubscriptionService struct {
	v1.UnimplementedSubscriptionsServer
	// contains filtered or unexported fields
}

func NewSubscriptionService

func NewSubscriptionService(uc *biz.SubscriptionsUseCase) *SubscriptionService

func (*SubscriptionService) GetSubscription

func (*SubscriptionService) GetSubscriptionStatus

func (*SubscriptionService) ListSubscriptions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL