billing_v1

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: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Invoices_GetInvoice_FullMethodName        = "/billing.v1.Invoices/GetInvoice"
	Invoices_ListInvoices_FullMethodName      = "/billing.v1.Invoices/ListInvoices"
	Invoices_GetInvoiceReceipt_FullMethodName = "/billing.v1.Invoices/GetInvoiceReceipt"
	Invoices_GetInvoicePDF_FullMethodName     = "/billing.v1.Invoices/GetInvoicePDF"
)
View Source
const (
	Items_CreateItem_FullMethodName = "/billing.v1.Items/CreateItem"
	Items_UpdateItem_FullMethodName = "/billing.v1.Items/UpdateItem"
	Items_DeleteItem_FullMethodName = "/billing.v1.Items/DeleteItem"
	Items_GetItem_FullMethodName    = "/billing.v1.Items/GetItem"
	Items_ListItems_FullMethodName  = "/billing.v1.Items/ListItems"
)
View Source
const (
	Payments_CreatePayment_FullMethodName      = "/billing.v1.Payments/CreatePayment"
	Payments_Complete3DS_FullMethodName        = "/billing.v1.Payments/Complete3DS"
	Payments_GetPaymentStatus_FullMethodName   = "/billing.v1.Payments/GetPaymentStatus"
	Payments_CancelSubscription_FullMethodName = "/billing.v1.Payments/CancelSubscription"
	Payments_CheckWebhook_FullMethodName       = "/billing.v1.Payments/CheckWebhook"
	Payments_PaymentWebhook_FullMethodName     = "/billing.v1.Payments/PaymentWebhook"
	Payments_RecurrentWebhook_FullMethodName   = "/billing.v1.Payments/RecurrentWebhook"
	Payments_PaymentCallback_FullMethodName    = "/billing.v1.Payments/PaymentCallback"
)
View Source
const (
	Products_CreateProduct_FullMethodName = "/billing.v1.Products/CreateProduct"
	Products_UpdateProduct_FullMethodName = "/billing.v1.Products/UpdateProduct"
	Products_DeleteProduct_FullMethodName = "/billing.v1.Products/DeleteProduct"
	Products_GetProduct_FullMethodName    = "/billing.v1.Products/GetProduct"
	Products_ListProducts_FullMethodName  = "/billing.v1.Products/ListProducts"
)
View Source
const (
	Subscriptions_GetSubscription_FullMethodName       = "/billing.v1.Subscriptions/GetSubscription"
	Subscriptions_ListSubscriptions_FullMethodName     = "/billing.v1.Subscriptions/ListSubscriptions"
	Subscriptions_GetSubscriptionStatus_FullMethodName = "/billing.v1.Subscriptions/GetSubscriptionStatus"
)
View Source
const (
	AppleStore_ProcessServerNotification_FullMethodName = "/billing.v1.AppleStore/ProcessServerNotification"
)

Variables

View Source
var (
	ErrorReason_name = map[int32]string{
		0:  "INTERNAL",
		1:  "GRPC_CONNECTION",
		2:  "SERVICE_FAILED",
		3:  "DATABASE_QUERY",
		4:  "FORBIDDEN",
		5:  "EMPTY_ACTOR_ID",
		6:  "EMPTY_TENANT_ID",
		7:  "EMPTY_APP_ID",
		10: "INVALID_REQUEST",
		11: "UNAUTHORIZED",
		14: "NOT_FOUND",
	}
	ErrorReason_value = map[string]int32{
		"INTERNAL":        0,
		"GRPC_CONNECTION": 1,
		"SERVICE_FAILED":  2,
		"DATABASE_QUERY":  3,
		"FORBIDDEN":       4,
		"EMPTY_ACTOR_ID":  5,
		"EMPTY_TENANT_ID": 6,
		"EMPTY_APP_ID":    7,
		"INVALID_REQUEST": 10,
		"UNAUTHORIZED":    11,
		"NOT_FOUND":       14,
	}
)

Enum value maps for ErrorReason.

View Source
var AppleStore_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "billing.v1.AppleStore",
	HandlerType: (*AppleStoreServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ProcessServerNotification",
			Handler:    _AppleStore_ProcessServerNotification_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/billing/v1/apple_store.proto",
}

AppleStore_ServiceDesc is the grpc.ServiceDesc for AppleStore service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_api_billing_v1_apple_store_proto protoreflect.FileDescriptor
View Source
var File_api_billing_v1_errors_proto protoreflect.FileDescriptor
View Source
var File_api_billing_v1_invoices_proto protoreflect.FileDescriptor
View Source
var File_api_billing_v1_items_proto protoreflect.FileDescriptor
View Source
var File_api_billing_v1_models_proto protoreflect.FileDescriptor
View Source
var File_api_billing_v1_payments_proto protoreflect.FileDescriptor
View Source
var File_api_billing_v1_products_proto protoreflect.FileDescriptor
View Source
var File_api_billing_v1_subscription_proto protoreflect.FileDescriptor
View Source
var Invoices_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "billing.v1.Invoices",
	HandlerType: (*InvoicesServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetInvoice",
			Handler:    _Invoices_GetInvoice_Handler,
		},
		{
			MethodName: "ListInvoices",
			Handler:    _Invoices_ListInvoices_Handler,
		},
		{
			MethodName: "GetInvoiceReceipt",
			Handler:    _Invoices_GetInvoiceReceipt_Handler,
		},
		{
			MethodName: "GetInvoicePDF",
			Handler:    _Invoices_GetInvoicePDF_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/billing/v1/invoices.proto",
}

Invoices_ServiceDesc is the grpc.ServiceDesc for Invoices service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Items_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "billing.v1.Items",
	HandlerType: (*ItemsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateItem",
			Handler:    _Items_CreateItem_Handler,
		},
		{
			MethodName: "UpdateItem",
			Handler:    _Items_UpdateItem_Handler,
		},
		{
			MethodName: "DeleteItem",
			Handler:    _Items_DeleteItem_Handler,
		},
		{
			MethodName: "GetItem",
			Handler:    _Items_GetItem_Handler,
		},
		{
			MethodName: "ListItems",
			Handler:    _Items_ListItems_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/billing/v1/items.proto",
}

Items_ServiceDesc is the grpc.ServiceDesc for Items service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Payments_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "billing.v1.Payments",
	HandlerType: (*PaymentsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreatePayment",
			Handler:    _Payments_CreatePayment_Handler,
		},
		{
			MethodName: "Complete3DS",
			Handler:    _Payments_Complete3DS_Handler,
		},
		{
			MethodName: "GetPaymentStatus",
			Handler:    _Payments_GetPaymentStatus_Handler,
		},
		{
			MethodName: "CancelSubscription",
			Handler:    _Payments_CancelSubscription_Handler,
		},
		{
			MethodName: "CheckWebhook",
			Handler:    _Payments_CheckWebhook_Handler,
		},
		{
			MethodName: "PaymentWebhook",
			Handler:    _Payments_PaymentWebhook_Handler,
		},
		{
			MethodName: "RecurrentWebhook",
			Handler:    _Payments_RecurrentWebhook_Handler,
		},
		{
			MethodName: "PaymentCallback",
			Handler:    _Payments_PaymentCallback_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/billing/v1/payments.proto",
}

Payments_ServiceDesc is the grpc.ServiceDesc for Payments service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Products_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "billing.v1.Products",
	HandlerType: (*ProductsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateProduct",
			Handler:    _Products_CreateProduct_Handler,
		},
		{
			MethodName: "UpdateProduct",
			Handler:    _Products_UpdateProduct_Handler,
		},
		{
			MethodName: "DeleteProduct",
			Handler:    _Products_DeleteProduct_Handler,
		},
		{
			MethodName: "GetProduct",
			Handler:    _Products_GetProduct_Handler,
		},
		{
			MethodName: "ListProducts",
			Handler:    _Products_ListProducts_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/billing/v1/products.proto",
}

Products_ServiceDesc is the grpc.ServiceDesc for Products service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Subscriptions_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "billing.v1.Subscriptions",
	HandlerType: (*SubscriptionsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetSubscription",
			Handler:    _Subscriptions_GetSubscription_Handler,
		},
		{
			MethodName: "ListSubscriptions",
			Handler:    _Subscriptions_ListSubscriptions_Handler,
		},
		{
			MethodName: "GetSubscriptionStatus",
			Handler:    _Subscriptions_GetSubscriptionStatus_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/billing/v1/subscription.proto",
}

Subscriptions_ServiceDesc is the grpc.ServiceDesc for Subscriptions service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func ErrorDatabaseQuery

func ErrorDatabaseQuery(format string, args ...interface{}) *errors.Error

func ErrorEmptyActorId

func ErrorEmptyActorId(format string, args ...interface{}) *errors.Error

func ErrorEmptyAppId

func ErrorEmptyAppId(format string, args ...interface{}) *errors.Error

func ErrorEmptyTenantId

func ErrorEmptyTenantId(format string, args ...interface{}) *errors.Error

func ErrorForbidden

func ErrorForbidden(format string, args ...interface{}) *errors.Error

func ErrorGrpcConnection

func ErrorGrpcConnection(format string, args ...interface{}) *errors.Error

func ErrorInternal

func ErrorInternal(format string, args ...interface{}) *errors.Error

Set the error code separately for an enumeration.

func ErrorInvalidRequest

func ErrorInvalidRequest(format string, args ...interface{}) *errors.Error

func ErrorNotFound

func ErrorNotFound(format string, args ...interface{}) *errors.Error

func ErrorServiceFailed

func ErrorServiceFailed(format string, args ...interface{}) *errors.Error

func ErrorUnauthorized

func ErrorUnauthorized(format string, args ...interface{}) *errors.Error

func IsDatabaseQuery

func IsDatabaseQuery(err error) bool

func IsEmptyActorId

func IsEmptyActorId(err error) bool

func IsEmptyAppId

func IsEmptyAppId(err error) bool

func IsEmptyTenantId

func IsEmptyTenantId(err error) bool

func IsForbidden

func IsForbidden(err error) bool

func IsGrpcConnection

func IsGrpcConnection(err error) bool

func IsInternal

func IsInternal(err error) bool

Set the error code separately for an enumeration.

func IsInvalidRequest

func IsInvalidRequest(err error) bool

func IsNotFound

func IsNotFound(err error) bool

func IsServiceFailed

func IsServiceFailed(err error) bool

func IsUnauthorized

func IsUnauthorized(err error) bool

func RegisterAppleStoreServer

func RegisterAppleStoreServer(s grpc.ServiceRegistrar, srv AppleStoreServer)

func RegisterInvoicesServer

func RegisterInvoicesServer(s grpc.ServiceRegistrar, srv InvoicesServer)

func RegisterItemsServer

func RegisterItemsServer(s grpc.ServiceRegistrar, srv ItemsServer)

func RegisterPaymentsServer

func RegisterPaymentsServer(s grpc.ServiceRegistrar, srv PaymentsServer)

func RegisterProductsServer

func RegisterProductsServer(s grpc.ServiceRegistrar, srv ProductsServer)

func RegisterSubscriptionsServer

func RegisterSubscriptionsServer(s grpc.ServiceRegistrar, srv SubscriptionsServer)

Types

type AppleStoreClient

type AppleStoreClient interface {
	ProcessServerNotification(ctx context.Context, in *ProcessServerNotificationRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error)
}

AppleStoreClient is the client API for AppleStore service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAppleStoreClient

func NewAppleStoreClient(cc grpc.ClientConnInterface) AppleStoreClient

type AppleStoreServer

type AppleStoreServer interface {
	ProcessServerNotification(context.Context, *ProcessServerNotificationRequest) (*v1.EmptyReply, error)
	// contains filtered or unexported methods
}

AppleStoreServer is the server API for AppleStore service. All implementations must embed UnimplementedAppleStoreServer for forward compatibility.

type Bundle

type Bundle struct {
	Id     int64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ItemId int64   `protobuf:"varint,2,opt,name=itemId,proto3" json:"itemId,omitempty"`
	Amount float64 `protobuf:"fixed64,3,opt,name=amount,proto3" json:"amount,omitempty"`
	Item   *Item   `protobuf:"bytes,4,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*Bundle) Descriptor deprecated

func (*Bundle) Descriptor() ([]byte, []int)

Deprecated: Use Bundle.ProtoReflect.Descriptor instead.

func (*Bundle) GetAmount

func (x *Bundle) GetAmount() float64

func (*Bundle) GetId

func (x *Bundle) GetId() int64

func (*Bundle) GetItem

func (x *Bundle) GetItem() *Item

func (*Bundle) GetItemId

func (x *Bundle) GetItemId() int64

func (*Bundle) ProtoMessage

func (*Bundle) ProtoMessage()

func (*Bundle) ProtoReflect

func (x *Bundle) ProtoReflect() protoreflect.Message

func (*Bundle) Reset

func (x *Bundle) Reset()

func (*Bundle) String

func (x *Bundle) String() string

type BundleDto

type BundleDto struct {
	ItemId int64   `protobuf:"varint,1,opt,name=itemId,proto3" json:"itemId,omitempty"`
	Amount float64 `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*BundleDto) Descriptor deprecated

func (*BundleDto) Descriptor() ([]byte, []int)

Deprecated: Use BundleDto.ProtoReflect.Descriptor instead.

func (*BundleDto) GetAmount

func (x *BundleDto) GetAmount() float64

func (*BundleDto) GetItemId

func (x *BundleDto) GetItemId() int64

func (*BundleDto) ProtoMessage

func (*BundleDto) ProtoMessage()

func (*BundleDto) ProtoReflect

func (x *BundleDto) ProtoReflect() protoreflect.Message

func (*BundleDto) Reset

func (x *BundleDto) Reset()

func (*BundleDto) String

func (x *BundleDto) String() string

type CancelSubscriptionRequest

type CancelSubscriptionRequest struct {
	UserId         int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
	SubscriptionId int64 `protobuf:"varint,2,opt,name=subscriptionId,proto3" json:"subscriptionId,omitempty"`
	// contains filtered or unexported fields
}

func (*CancelSubscriptionRequest) Descriptor deprecated

func (*CancelSubscriptionRequest) Descriptor() ([]byte, []int)

Deprecated: Use CancelSubscriptionRequest.ProtoReflect.Descriptor instead.

func (*CancelSubscriptionRequest) GetSubscriptionId

func (x *CancelSubscriptionRequest) GetSubscriptionId() int64

func (*CancelSubscriptionRequest) GetUserId

func (x *CancelSubscriptionRequest) GetUserId() int64

func (*CancelSubscriptionRequest) ProtoMessage

func (*CancelSubscriptionRequest) ProtoMessage()

func (*CancelSubscriptionRequest) ProtoReflect

func (*CancelSubscriptionRequest) Reset

func (x *CancelSubscriptionRequest) Reset()

func (*CancelSubscriptionRequest) String

func (x *CancelSubscriptionRequest) String() string

type Complete3DSRequest

type Complete3DSRequest struct {
	TransactionId int64  `protobuf:"varint,1,opt,name=transactionId,proto3" json:"transactionId,omitempty"`
	PaRes         string `protobuf:"bytes,2,opt,name=paRes,proto3" json:"paRes,omitempty"`
	// contains filtered or unexported fields
}

func (*Complete3DSRequest) Descriptor deprecated

func (*Complete3DSRequest) Descriptor() ([]byte, []int)

Deprecated: Use Complete3DSRequest.ProtoReflect.Descriptor instead.

func (*Complete3DSRequest) GetPaRes

func (x *Complete3DSRequest) GetPaRes() string

func (*Complete3DSRequest) GetTransactionId

func (x *Complete3DSRequest) GetTransactionId() int64

func (*Complete3DSRequest) ProtoMessage

func (*Complete3DSRequest) ProtoMessage()

func (*Complete3DSRequest) ProtoReflect

func (x *Complete3DSRequest) ProtoReflect() protoreflect.Message

func (*Complete3DSRequest) Reset

func (x *Complete3DSRequest) Reset()

func (*Complete3DSRequest) String

func (x *Complete3DSRequest) String() string

type Complete3DSResponse

type Complete3DSResponse struct {
	Success   bool    `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Token     *string `protobuf:"bytes,2,opt,name=token,proto3,oneof" json:"token,omitempty"`
	InvoiceId *int64  `protobuf:"varint,3,opt,name=invoiceId,proto3,oneof" json:"invoiceId,omitempty"`
	// contains filtered or unexported fields
}

func (*Complete3DSResponse) Descriptor deprecated

func (*Complete3DSResponse) Descriptor() ([]byte, []int)

Deprecated: Use Complete3DSResponse.ProtoReflect.Descriptor instead.

func (*Complete3DSResponse) GetInvoiceId

func (x *Complete3DSResponse) GetInvoiceId() int64

func (*Complete3DSResponse) GetSuccess

func (x *Complete3DSResponse) GetSuccess() bool

func (*Complete3DSResponse) GetToken

func (x *Complete3DSResponse) GetToken() string

func (*Complete3DSResponse) ProtoMessage

func (*Complete3DSResponse) ProtoMessage()

func (*Complete3DSResponse) ProtoReflect

func (x *Complete3DSResponse) ProtoReflect() protoreflect.Message

func (*Complete3DSResponse) Reset

func (x *Complete3DSResponse) Reset()

func (*Complete3DSResponse) String

func (x *Complete3DSResponse) String() string

type CreateItemRequest

type CreateItemRequest struct {
	Item *ItemDto `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateItemRequest) Descriptor deprecated

func (*CreateItemRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateItemRequest.ProtoReflect.Descriptor instead.

func (*CreateItemRequest) GetItem

func (x *CreateItemRequest) GetItem() *ItemDto

func (*CreateItemRequest) ProtoMessage

func (*CreateItemRequest) ProtoMessage()

func (*CreateItemRequest) ProtoReflect

func (x *CreateItemRequest) ProtoReflect() protoreflect.Message

func (*CreateItemRequest) Reset

func (x *CreateItemRequest) Reset()

func (*CreateItemRequest) String

func (x *CreateItemRequest) String() string

type CreatePaymentRequest

type CreatePaymentRequest struct {
	ProductId            int64   `protobuf:"varint,1,opt,name=productId,proto3" json:"productId,omitempty"`
	Amount               *int64  `protobuf:"varint,2,opt,name=amount,proto3,oneof" json:"amount,omitempty"`
	CardCryptogramPacket string  `protobuf:"bytes,3,opt,name=cardCryptogramPacket,proto3" json:"cardCryptogramPacket,omitempty"`
	IpAddress            string  `protobuf:"bytes,4,opt,name=ipAddress,proto3" json:"ipAddress,omitempty"`
	Name                 *string `protobuf:"bytes,5,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Email                *string `protobuf:"bytes,6,opt,name=email,proto3,oneof" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePaymentRequest) Descriptor deprecated

func (*CreatePaymentRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreatePaymentRequest.ProtoReflect.Descriptor instead.

func (*CreatePaymentRequest) GetAmount

func (x *CreatePaymentRequest) GetAmount() int64

func (*CreatePaymentRequest) GetCardCryptogramPacket

func (x *CreatePaymentRequest) GetCardCryptogramPacket() string

func (*CreatePaymentRequest) GetEmail

func (x *CreatePaymentRequest) GetEmail() string

func (*CreatePaymentRequest) GetIpAddress

func (x *CreatePaymentRequest) GetIpAddress() string

func (*CreatePaymentRequest) GetName

func (x *CreatePaymentRequest) GetName() string

func (*CreatePaymentRequest) GetProductId

func (x *CreatePaymentRequest) GetProductId() int64

func (*CreatePaymentRequest) ProtoMessage

func (*CreatePaymentRequest) ProtoMessage()

func (*CreatePaymentRequest) ProtoReflect

func (x *CreatePaymentRequest) ProtoReflect() protoreflect.Message

func (*CreatePaymentRequest) Reset

func (x *CreatePaymentRequest) Reset()

func (*CreatePaymentRequest) String

func (x *CreatePaymentRequest) String() string

type CreatePaymentResponse

type CreatePaymentResponse struct {
	InvoiceId int64 `protobuf:"varint,1,opt,name=invoiceId,proto3" json:"invoiceId,omitempty"`
	Success   bool  `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
	// 3DS fields (populated when 3DS is required)
	TransactionId *int64  `protobuf:"varint,3,opt,name=transactionId,proto3,oneof" json:"transactionId,omitempty"`
	PaReq         *string `protobuf:"bytes,4,opt,name=paReq,proto3,oneof" json:"paReq,omitempty"`
	AcsUrl        *string `protobuf:"bytes,5,opt,name=acsUrl,proto3,oneof" json:"acsUrl,omitempty"`
	// Card token (populated on immediate success)
	Token *string `protobuf:"bytes,6,opt,name=token,proto3,oneof" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePaymentResponse) Descriptor deprecated

func (*CreatePaymentResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreatePaymentResponse.ProtoReflect.Descriptor instead.

func (*CreatePaymentResponse) GetAcsUrl

func (x *CreatePaymentResponse) GetAcsUrl() string

func (*CreatePaymentResponse) GetInvoiceId

func (x *CreatePaymentResponse) GetInvoiceId() int64

func (*CreatePaymentResponse) GetPaReq

func (x *CreatePaymentResponse) GetPaReq() string

func (*CreatePaymentResponse) GetSuccess

func (x *CreatePaymentResponse) GetSuccess() bool

func (*CreatePaymentResponse) GetToken

func (x *CreatePaymentResponse) GetToken() string

func (*CreatePaymentResponse) GetTransactionId

func (x *CreatePaymentResponse) GetTransactionId() int64

func (*CreatePaymentResponse) ProtoMessage

func (*CreatePaymentResponse) ProtoMessage()

func (*CreatePaymentResponse) ProtoReflect

func (x *CreatePaymentResponse) ProtoReflect() protoreflect.Message

func (*CreatePaymentResponse) Reset

func (x *CreatePaymentResponse) Reset()

func (*CreatePaymentResponse) String

func (x *CreatePaymentResponse) String() string

type CreateProductRequest

type CreateProductRequest struct {
	Product *ProductDto `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateProductRequest) Descriptor deprecated

func (*CreateProductRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateProductRequest.ProtoReflect.Descriptor instead.

func (*CreateProductRequest) GetProduct

func (x *CreateProductRequest) GetProduct() *ProductDto

func (*CreateProductRequest) ProtoMessage

func (*CreateProductRequest) ProtoMessage()

func (*CreateProductRequest) ProtoReflect

func (x *CreateProductRequest) ProtoReflect() protoreflect.Message

func (*CreateProductRequest) Reset

func (x *CreateProductRequest) Reset()

func (*CreateProductRequest) String

func (x *CreateProductRequest) String() string

type DeleteProductRequest

type DeleteProductRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteProductRequest) Descriptor deprecated

func (*DeleteProductRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteProductRequest.ProtoReflect.Descriptor instead.

func (*DeleteProductRequest) GetId

func (x *DeleteProductRequest) GetId() int64

func (*DeleteProductRequest) ProtoMessage

func (*DeleteProductRequest) ProtoMessage()

func (*DeleteProductRequest) ProtoReflect

func (x *DeleteProductRequest) ProtoReflect() protoreflect.Message

func (*DeleteProductRequest) Reset

func (x *DeleteProductRequest) Reset()

func (*DeleteProductRequest) String

func (x *DeleteProductRequest) String() string

type ErrorReason

type ErrorReason int32
const (
	// Set the error code separately for an enumeration.
	ErrorReason_INTERNAL        ErrorReason = 0
	ErrorReason_GRPC_CONNECTION ErrorReason = 1
	ErrorReason_SERVICE_FAILED  ErrorReason = 2
	ErrorReason_DATABASE_QUERY  ErrorReason = 3
	ErrorReason_FORBIDDEN       ErrorReason = 4
	ErrorReason_EMPTY_ACTOR_ID  ErrorReason = 5
	ErrorReason_EMPTY_TENANT_ID ErrorReason = 6
	ErrorReason_EMPTY_APP_ID    ErrorReason = 7
	ErrorReason_INVALID_REQUEST ErrorReason = 10
	ErrorReason_UNAUTHORIZED    ErrorReason = 11
	ErrorReason_NOT_FOUND       ErrorReason = 14
)

func (ErrorReason) Descriptor

func (ErrorReason) Enum

func (x ErrorReason) Enum() *ErrorReason

func (ErrorReason) EnumDescriptor deprecated

func (ErrorReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use ErrorReason.Descriptor instead.

func (ErrorReason) Number

func (x ErrorReason) Number() protoreflect.EnumNumber

func (ErrorReason) String

func (x ErrorReason) String() string

func (ErrorReason) Type

func (*ErrorReason) UnmarshalJSON deprecated

func (x *ErrorReason) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type GetInvoiceReceiptRequest

type GetInvoiceReceiptRequest struct {
	InvoiceId int64 `protobuf:"varint,1,opt,name=invoiceId,proto3" json:"invoiceId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetInvoiceReceiptRequest) Descriptor deprecated

func (*GetInvoiceReceiptRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetInvoiceReceiptRequest.ProtoReflect.Descriptor instead.

func (*GetInvoiceReceiptRequest) GetInvoiceId

func (x *GetInvoiceReceiptRequest) GetInvoiceId() int64

func (*GetInvoiceReceiptRequest) ProtoMessage

func (*GetInvoiceReceiptRequest) ProtoMessage()

func (*GetInvoiceReceiptRequest) ProtoReflect

func (x *GetInvoiceReceiptRequest) ProtoReflect() protoreflect.Message

func (*GetInvoiceReceiptRequest) Reset

func (x *GetInvoiceReceiptRequest) Reset()

func (*GetInvoiceReceiptRequest) String

func (x *GetInvoiceReceiptRequest) String() string

type GetInvoiceRequest

type GetInvoiceRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetInvoiceRequest) Descriptor deprecated

func (*GetInvoiceRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetInvoiceRequest.ProtoReflect.Descriptor instead.

func (*GetInvoiceRequest) GetId

func (x *GetInvoiceRequest) GetId() int64

func (*GetInvoiceRequest) ProtoMessage

func (*GetInvoiceRequest) ProtoMessage()

func (*GetInvoiceRequest) ProtoReflect

func (x *GetInvoiceRequest) ProtoReflect() protoreflect.Message

func (*GetInvoiceRequest) Reset

func (x *GetInvoiceRequest) Reset()

func (*GetInvoiceRequest) String

func (x *GetInvoiceRequest) String() string

type GetPaymentStatusRequest

type GetPaymentStatusRequest struct {
	TransactionId int64 `protobuf:"varint,1,opt,name=transactionId,proto3" json:"transactionId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPaymentStatusRequest) Descriptor deprecated

func (*GetPaymentStatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPaymentStatusRequest.ProtoReflect.Descriptor instead.

func (*GetPaymentStatusRequest) GetTransactionId

func (x *GetPaymentStatusRequest) GetTransactionId() int64

func (*GetPaymentStatusRequest) ProtoMessage

func (*GetPaymentStatusRequest) ProtoMessage()

func (*GetPaymentStatusRequest) ProtoReflect

func (x *GetPaymentStatusRequest) ProtoReflect() protoreflect.Message

func (*GetPaymentStatusRequest) Reset

func (x *GetPaymentStatusRequest) Reset()

func (*GetPaymentStatusRequest) String

func (x *GetPaymentStatusRequest) String() string

type GetPaymentStatusResponse

type GetPaymentStatusResponse struct {
	Found       bool   `protobuf:"varint,1,opt,name=found,proto3" json:"found,omitempty"`
	Status      string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	InvoiceId   int64  `protobuf:"varint,3,opt,name=invoiceId,proto3" json:"invoiceId,omitempty"`
	ProductId   int64  `protobuf:"varint,4,opt,name=productId,proto3" json:"productId,omitempty"`
	ProductName string `protobuf:"bytes,5,opt,name=productName,proto3" json:"productName,omitempty"`
	Price       string `protobuf:"bytes,6,opt,name=price,proto3" json:"price,omitempty"`
	Currency    string `protobuf:"bytes,7,opt,name=currency,proto3" json:"currency,omitempty"`
	PaidAt      string `protobuf:"bytes,8,opt,name=paidAt,proto3" json:"paidAt,omitempty"`
	PaidTill    string `protobuf:"bytes,9,opt,name=paidTill,proto3" json:"paidTill,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPaymentStatusResponse) Descriptor deprecated

func (*GetPaymentStatusResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetPaymentStatusResponse.ProtoReflect.Descriptor instead.

func (*GetPaymentStatusResponse) GetCurrency

func (x *GetPaymentStatusResponse) GetCurrency() string

func (*GetPaymentStatusResponse) GetFound

func (x *GetPaymentStatusResponse) GetFound() bool

func (*GetPaymentStatusResponse) GetInvoiceId

func (x *GetPaymentStatusResponse) GetInvoiceId() int64

func (*GetPaymentStatusResponse) GetPaidAt

func (x *GetPaymentStatusResponse) GetPaidAt() string

func (*GetPaymentStatusResponse) GetPaidTill

func (x *GetPaymentStatusResponse) GetPaidTill() string

func (*GetPaymentStatusResponse) GetPrice

func (x *GetPaymentStatusResponse) GetPrice() string

func (*GetPaymentStatusResponse) GetProductId

func (x *GetPaymentStatusResponse) GetProductId() int64

func (*GetPaymentStatusResponse) GetProductName

func (x *GetPaymentStatusResponse) GetProductName() string

func (*GetPaymentStatusResponse) GetStatus

func (x *GetPaymentStatusResponse) GetStatus() string

func (*GetPaymentStatusResponse) ProtoMessage

func (*GetPaymentStatusResponse) ProtoMessage()

func (*GetPaymentStatusResponse) ProtoReflect

func (x *GetPaymentStatusResponse) ProtoReflect() protoreflect.Message

func (*GetPaymentStatusResponse) Reset

func (x *GetPaymentStatusResponse) Reset()

func (*GetPaymentStatusResponse) String

func (x *GetPaymentStatusResponse) String() string

type GetProductRequest

type GetProductRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProductRequest) Descriptor deprecated

func (*GetProductRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetProductRequest.ProtoReflect.Descriptor instead.

func (*GetProductRequest) GetId

func (x *GetProductRequest) GetId() int64

func (*GetProductRequest) ProtoMessage

func (*GetProductRequest) ProtoMessage()

func (*GetProductRequest) ProtoReflect

func (x *GetProductRequest) ProtoReflect() protoreflect.Message

func (*GetProductRequest) Reset

func (x *GetProductRequest) Reset()

func (*GetProductRequest) String

func (x *GetProductRequest) String() string

type GetSubscriptionRequest

type GetSubscriptionRequest struct {
	SubscriptionId int64 `protobuf:"varint,1,opt,name=subscriptionId,proto3" json:"subscriptionId,omitempty"`
	WithInvoices   bool  `protobuf:"varint,2,opt,name=withInvoices,proto3" json:"withInvoices,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSubscriptionRequest) Descriptor deprecated

func (*GetSubscriptionRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSubscriptionRequest.ProtoReflect.Descriptor instead.

func (*GetSubscriptionRequest) GetSubscriptionId

func (x *GetSubscriptionRequest) GetSubscriptionId() int64

func (*GetSubscriptionRequest) GetWithInvoices

func (x *GetSubscriptionRequest) GetWithInvoices() bool

func (*GetSubscriptionRequest) ProtoMessage

func (*GetSubscriptionRequest) ProtoMessage()

func (*GetSubscriptionRequest) ProtoReflect

func (x *GetSubscriptionRequest) ProtoReflect() protoreflect.Message

func (*GetSubscriptionRequest) Reset

func (x *GetSubscriptionRequest) Reset()

func (*GetSubscriptionRequest) String

func (x *GetSubscriptionRequest) String() string

type GetSubscriptionStatusRequest

type GetSubscriptionStatusRequest struct {
	// contains filtered or unexported fields
}

func (*GetSubscriptionStatusRequest) Descriptor deprecated

func (*GetSubscriptionStatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSubscriptionStatusRequest.ProtoReflect.Descriptor instead.

func (*GetSubscriptionStatusRequest) ProtoMessage

func (*GetSubscriptionStatusRequest) ProtoMessage()

func (*GetSubscriptionStatusRequest) ProtoReflect

func (*GetSubscriptionStatusRequest) Reset

func (x *GetSubscriptionStatusRequest) Reset()

func (*GetSubscriptionStatusRequest) String

type Invoice

type Invoice struct {
	Id                      int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId                  int64  `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
	TenantId                int64  `protobuf:"varint,3,opt,name=tenantId,proto3" json:"tenantId,omitempty"`
	AppId                   string `protobuf:"bytes,4,opt,name=appId,proto3" json:"appId,omitempty"`
	ProductId               int64  `protobuf:"varint,5,opt,name=productId,proto3" json:"productId,omitempty"`
	Amount                  int64  `protobuf:"varint,6,opt,name=amount,proto3" json:"amount,omitempty"`
	Price                   string `protobuf:"bytes,7,opt,name=price,proto3" json:"price,omitempty"`
	Currency                string `protobuf:"bytes,8,opt,name=currency,proto3" json:"currency,omitempty"`
	PaidAt                  string `protobuf:"bytes,9,opt,name=paidAt,proto3" json:"paidAt,omitempty"`
	PaidTill                string `protobuf:"bytes,10,opt,name=paidTill,proto3" json:"paidTill,omitempty"`
	Revoked                 bool   `protobuf:"varint,11,opt,name=revoked,proto3" json:"revoked,omitempty"`
	RevokedAt               string `protobuf:"bytes,12,opt,name=revokedAt,proto3" json:"revokedAt,omitempty"`
	IsRevokedProcessed      bool   `protobuf:"varint,13,opt,name=isRevokedProcessed,proto3" json:"isRevokedProcessed,omitempty"`
	IsPaidAtProcessed       bool   `protobuf:"varint,14,opt,name=isPaidAtProcessed,proto3" json:"isPaidAtProcessed,omitempty"`
	IsPaidTillProcessed     bool   `protobuf:"varint,15,opt,name=isPaidTillProcessed,proto3" json:"isPaidTillProcessed,omitempty"`
	SubscriptionId          int64  `protobuf:"varint,16,opt,name=subscriptionId,proto3" json:"subscriptionId,omitempty"`
	AppleStoreTransactionId string `protobuf:"bytes,17,opt,name=appleStoreTransactionId,proto3" json:"appleStoreTransactionId,omitempty"`
	// contains filtered or unexported fields
}

func (*Invoice) Descriptor deprecated

func (*Invoice) Descriptor() ([]byte, []int)

Deprecated: Use Invoice.ProtoReflect.Descriptor instead.

func (*Invoice) GetAmount

func (x *Invoice) GetAmount() int64

func (*Invoice) GetAppId

func (x *Invoice) GetAppId() string

func (*Invoice) GetAppleStoreTransactionId

func (x *Invoice) GetAppleStoreTransactionId() string

func (*Invoice) GetCurrency

func (x *Invoice) GetCurrency() string

func (*Invoice) GetId

func (x *Invoice) GetId() int64

func (*Invoice) GetIsPaidAtProcessed

func (x *Invoice) GetIsPaidAtProcessed() bool

func (*Invoice) GetIsPaidTillProcessed

func (x *Invoice) GetIsPaidTillProcessed() bool

func (*Invoice) GetIsRevokedProcessed

func (x *Invoice) GetIsRevokedProcessed() bool

func (*Invoice) GetPaidAt

func (x *Invoice) GetPaidAt() string

func (*Invoice) GetPaidTill

func (x *Invoice) GetPaidTill() string

func (*Invoice) GetPrice

func (x *Invoice) GetPrice() string

func (*Invoice) GetProductId

func (x *Invoice) GetProductId() int64

func (*Invoice) GetRevoked

func (x *Invoice) GetRevoked() bool

func (*Invoice) GetRevokedAt

func (x *Invoice) GetRevokedAt() string

func (*Invoice) GetSubscriptionId

func (x *Invoice) GetSubscriptionId() int64

func (*Invoice) GetTenantId

func (x *Invoice) GetTenantId() int64

func (*Invoice) GetUserId

func (x *Invoice) GetUserId() int64

func (*Invoice) ProtoMessage

func (*Invoice) ProtoMessage()

func (*Invoice) ProtoReflect

func (x *Invoice) ProtoReflect() protoreflect.Message

func (*Invoice) Reset

func (x *Invoice) Reset()

func (*Invoice) String

func (x *Invoice) String() string

type InvoicePDFReply

type InvoicePDFReply struct {
	PdfData  []byte `protobuf:"bytes,1,opt,name=pdfData,proto3" json:"pdfData,omitempty"`
	Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"`
	// contains filtered or unexported fields
}

func (*InvoicePDFReply) Descriptor deprecated

func (*InvoicePDFReply) Descriptor() ([]byte, []int)

Deprecated: Use InvoicePDFReply.ProtoReflect.Descriptor instead.

func (*InvoicePDFReply) GetFilename

func (x *InvoicePDFReply) GetFilename() string

func (*InvoicePDFReply) GetPdfData

func (x *InvoicePDFReply) GetPdfData() []byte

func (*InvoicePDFReply) ProtoMessage

func (*InvoicePDFReply) ProtoMessage()

func (*InvoicePDFReply) ProtoReflect

func (x *InvoicePDFReply) ProtoReflect() protoreflect.Message

func (*InvoicePDFReply) Reset

func (x *InvoicePDFReply) Reset()

func (*InvoicePDFReply) String

func (x *InvoicePDFReply) String() string

type InvoiceReceiptReply

type InvoiceReceiptReply struct {
	InvoiceId   int64  `protobuf:"varint,1,opt,name=invoiceId,proto3" json:"invoiceId,omitempty"`
	InvoiceDate string `protobuf:"bytes,2,opt,name=invoiceDate,proto3" json:"invoiceDate,omitempty"`
	Status      string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	// Product
	ProductName        string `protobuf:"bytes,4,opt,name=productName,proto3" json:"productName,omitempty"`
	ProductDescription string `protobuf:"bytes,5,opt,name=productDescription,proto3" json:"productDescription,omitempty"`
	Quantity           int64  `protobuf:"varint,6,opt,name=quantity,proto3" json:"quantity,omitempty"`
	UnitPrice          string `protobuf:"bytes,7,opt,name=unitPrice,proto3" json:"unitPrice,omitempty"`
	TotalPrice         string `protobuf:"bytes,8,opt,name=totalPrice,proto3" json:"totalPrice,omitempty"`
	Currency           string `protobuf:"bytes,9,opt,name=currency,proto3" json:"currency,omitempty"`
	// Payment
	PaidAt        string `protobuf:"bytes,10,opt,name=paidAt,proto3" json:"paidAt,omitempty"`
	PaidTill      string `protobuf:"bytes,11,opt,name=paidTill,proto3" json:"paidTill,omitempty"`
	CardType      string `protobuf:"bytes,12,opt,name=cardType,proto3" json:"cardType,omitempty"`
	CardLastFour  string `protobuf:"bytes,13,opt,name=cardLastFour,proto3" json:"cardLastFour,omitempty"`
	TransactionId string `protobuf:"bytes,14,opt,name=transactionId,proto3" json:"transactionId,omitempty"`
	// User
	UserId   int64 `protobuf:"varint,15,opt,name=userId,proto3" json:"userId,omitempty"`
	TenantId int64 `protobuf:"varint,16,opt,name=tenantId,proto3" json:"tenantId,omitempty"`
	// contains filtered or unexported fields
}

func (*InvoiceReceiptReply) Descriptor deprecated

func (*InvoiceReceiptReply) Descriptor() ([]byte, []int)

Deprecated: Use InvoiceReceiptReply.ProtoReflect.Descriptor instead.

func (*InvoiceReceiptReply) GetCardLastFour

func (x *InvoiceReceiptReply) GetCardLastFour() string

func (*InvoiceReceiptReply) GetCardType

func (x *InvoiceReceiptReply) GetCardType() string

func (*InvoiceReceiptReply) GetCurrency

func (x *InvoiceReceiptReply) GetCurrency() string

func (*InvoiceReceiptReply) GetInvoiceDate

func (x *InvoiceReceiptReply) GetInvoiceDate() string

func (*InvoiceReceiptReply) GetInvoiceId

func (x *InvoiceReceiptReply) GetInvoiceId() int64

func (*InvoiceReceiptReply) GetPaidAt

func (x *InvoiceReceiptReply) GetPaidAt() string

func (*InvoiceReceiptReply) GetPaidTill

func (x *InvoiceReceiptReply) GetPaidTill() string

func (*InvoiceReceiptReply) GetProductDescription

func (x *InvoiceReceiptReply) GetProductDescription() string

func (*InvoiceReceiptReply) GetProductName

func (x *InvoiceReceiptReply) GetProductName() string

func (*InvoiceReceiptReply) GetQuantity

func (x *InvoiceReceiptReply) GetQuantity() int64

func (*InvoiceReceiptReply) GetStatus

func (x *InvoiceReceiptReply) GetStatus() string

func (*InvoiceReceiptReply) GetTenantId

func (x *InvoiceReceiptReply) GetTenantId() int64

func (*InvoiceReceiptReply) GetTotalPrice

func (x *InvoiceReceiptReply) GetTotalPrice() string

func (*InvoiceReceiptReply) GetTransactionId

func (x *InvoiceReceiptReply) GetTransactionId() string

func (*InvoiceReceiptReply) GetUnitPrice

func (x *InvoiceReceiptReply) GetUnitPrice() string

func (*InvoiceReceiptReply) GetUserId

func (x *InvoiceReceiptReply) GetUserId() int64

func (*InvoiceReceiptReply) ProtoMessage

func (*InvoiceReceiptReply) ProtoMessage()

func (*InvoiceReceiptReply) ProtoReflect

func (x *InvoiceReceiptReply) ProtoReflect() protoreflect.Message

func (*InvoiceReceiptReply) Reset

func (x *InvoiceReceiptReply) Reset()

func (*InvoiceReceiptReply) String

func (x *InvoiceReceiptReply) String() string

type InvoiceReply

type InvoiceReply struct {
	Invoice *Invoice `protobuf:"bytes,1,opt,name=invoice,proto3" json:"invoice,omitempty"`
	// contains filtered or unexported fields
}

func (*InvoiceReply) Descriptor deprecated

func (*InvoiceReply) Descriptor() ([]byte, []int)

Deprecated: Use InvoiceReply.ProtoReflect.Descriptor instead.

func (*InvoiceReply) GetInvoice

func (x *InvoiceReply) GetInvoice() *Invoice

func (*InvoiceReply) ProtoMessage

func (*InvoiceReply) ProtoMessage()

func (*InvoiceReply) ProtoReflect

func (x *InvoiceReply) ProtoReflect() protoreflect.Message

func (*InvoiceReply) Reset

func (x *InvoiceReply) Reset()

func (*InvoiceReply) String

func (x *InvoiceReply) String() string

type InvoicesClient

type InvoicesClient interface {
	GetInvoice(ctx context.Context, in *GetInvoiceRequest, opts ...grpc.CallOption) (*InvoiceReply, error)
	ListInvoices(ctx context.Context, in *ListInvoicesRequest, opts ...grpc.CallOption) (*ListInvoicesReply, error)
	GetInvoiceReceipt(ctx context.Context, in *GetInvoiceReceiptRequest, opts ...grpc.CallOption) (*InvoiceReceiptReply, error)
	GetInvoicePDF(ctx context.Context, in *GetInvoiceReceiptRequest, opts ...grpc.CallOption) (*InvoicePDFReply, error)
}

InvoicesClient is the client API for Invoices service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewInvoicesClient

func NewInvoicesClient(cc grpc.ClientConnInterface) InvoicesClient

type InvoicesServer

type InvoicesServer interface {
	GetInvoice(context.Context, *GetInvoiceRequest) (*InvoiceReply, error)
	ListInvoices(context.Context, *ListInvoicesRequest) (*ListInvoicesReply, error)
	GetInvoiceReceipt(context.Context, *GetInvoiceReceiptRequest) (*InvoiceReceiptReply, error)
	GetInvoicePDF(context.Context, *GetInvoiceReceiptRequest) (*InvoicePDFReply, error)
	// contains filtered or unexported methods
}

InvoicesServer is the server API for Invoices service. All implementations must embed UnimplementedInvoicesServer for forward compatibility.

type Item

type Item struct {
	Id          int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Item) Descriptor deprecated

func (*Item) Descriptor() ([]byte, []int)

Deprecated: Use Item.ProtoReflect.Descriptor instead.

func (*Item) GetDescription

func (x *Item) GetDescription() string

func (*Item) GetId

func (x *Item) GetId() int64

func (*Item) GetName

func (x *Item) GetName() string

func (*Item) ProtoMessage

func (*Item) ProtoMessage()

func (*Item) ProtoReflect

func (x *Item) ProtoReflect() protoreflect.Message

func (*Item) Reset

func (x *Item) Reset()

func (*Item) String

func (x *Item) String() string

type ItemDto

type ItemDto struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*ItemDto) Descriptor deprecated

func (*ItemDto) Descriptor() ([]byte, []int)

Deprecated: Use ItemDto.ProtoReflect.Descriptor instead.

func (*ItemDto) GetDescription

func (x *ItemDto) GetDescription() string

func (*ItemDto) GetName

func (x *ItemDto) GetName() string

func (*ItemDto) ProtoMessage

func (*ItemDto) ProtoMessage()

func (*ItemDto) ProtoReflect

func (x *ItemDto) ProtoReflect() protoreflect.Message

func (*ItemDto) Reset

func (x *ItemDto) Reset()

func (*ItemDto) String

func (x *ItemDto) String() string

type ItemReply

type ItemReply struct {
	Item *Item `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*ItemReply) Descriptor deprecated

func (*ItemReply) Descriptor() ([]byte, []int)

Deprecated: Use ItemReply.ProtoReflect.Descriptor instead.

func (*ItemReply) GetItem

func (x *ItemReply) GetItem() *Item

func (*ItemReply) ProtoMessage

func (*ItemReply) ProtoMessage()

func (*ItemReply) ProtoReflect

func (x *ItemReply) ProtoReflect() protoreflect.Message

func (*ItemReply) Reset

func (x *ItemReply) Reset()

func (*ItemReply) String

func (x *ItemReply) String() string

type ItemRequest

type ItemRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ItemRequest) Descriptor deprecated

func (*ItemRequest) Descriptor() ([]byte, []int)

Deprecated: Use ItemRequest.ProtoReflect.Descriptor instead.

func (*ItemRequest) GetId

func (x *ItemRequest) GetId() int64

func (*ItemRequest) ProtoMessage

func (*ItemRequest) ProtoMessage()

func (*ItemRequest) ProtoReflect

func (x *ItemRequest) ProtoReflect() protoreflect.Message

func (*ItemRequest) Reset

func (x *ItemRequest) Reset()

func (*ItemRequest) String

func (x *ItemRequest) String() string

type ItemsClient

type ItemsClient interface {
	CreateItem(ctx context.Context, in *CreateItemRequest, opts ...grpc.CallOption) (*ItemReply, error)
	UpdateItem(ctx context.Context, in *UpdateItemRequest, opts ...grpc.CallOption) (*ItemReply, error)
	DeleteItem(ctx context.Context, in *ItemRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error)
	GetItem(ctx context.Context, in *ItemRequest, opts ...grpc.CallOption) (*ItemReply, error)
	ListItems(ctx context.Context, in *ListItemsRequest, opts ...grpc.CallOption) (*ListItemsReply, error)
}

ItemsClient is the client API for Items service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewItemsClient

func NewItemsClient(cc grpc.ClientConnInterface) ItemsClient

type ItemsServer

type ItemsServer interface {
	CreateItem(context.Context, *CreateItemRequest) (*ItemReply, error)
	UpdateItem(context.Context, *UpdateItemRequest) (*ItemReply, error)
	DeleteItem(context.Context, *ItemRequest) (*v1.EmptyReply, error)
	GetItem(context.Context, *ItemRequest) (*ItemReply, error)
	ListItems(context.Context, *ListItemsRequest) (*ListItemsReply, error)
	// contains filtered or unexported methods
}

ItemsServer is the server API for Items service. All implementations must embed UnimplementedItemsServer for forward compatibility.

type ListInvoicesReply

type ListInvoicesReply struct {
	Invoices   []*Invoice        `protobuf:"bytes,1,rep,name=invoices,proto3" json:"invoices,omitempty"`
	Pagination *v1.PaginateReply `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListInvoicesReply) Descriptor deprecated

func (*ListInvoicesReply) Descriptor() ([]byte, []int)

Deprecated: Use ListInvoicesReply.ProtoReflect.Descriptor instead.

func (*ListInvoicesReply) GetInvoices

func (x *ListInvoicesReply) GetInvoices() []*Invoice

func (*ListInvoicesReply) GetPagination

func (x *ListInvoicesReply) GetPagination() *v1.PaginateReply

func (*ListInvoicesReply) ProtoMessage

func (*ListInvoicesReply) ProtoMessage()

func (*ListInvoicesReply) ProtoReflect

func (x *ListInvoicesReply) ProtoReflect() protoreflect.Message

func (*ListInvoicesReply) Reset

func (x *ListInvoicesReply) Reset()

func (*ListInvoicesReply) String

func (x *ListInvoicesReply) String() string

type ListInvoicesRequest

type ListInvoicesRequest struct {
	Status         string              `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	ProductId      int64               `protobuf:"varint,2,opt,name=productId,proto3" json:"productId,omitempty"`
	Paid           bool                `protobuf:"varint,3,opt,name=paid,proto3" json:"paid,omitempty"`
	SubscriptionId int64               `protobuf:"varint,4,opt,name=subscriptionId,proto3" json:"subscriptionId,omitempty"`
	Pagination     *v1.PaginateRequest `protobuf:"bytes,5,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListInvoicesRequest) Descriptor deprecated

func (*ListInvoicesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListInvoicesRequest.ProtoReflect.Descriptor instead.

func (*ListInvoicesRequest) GetPagination

func (x *ListInvoicesRequest) GetPagination() *v1.PaginateRequest

func (*ListInvoicesRequest) GetPaid

func (x *ListInvoicesRequest) GetPaid() bool

func (*ListInvoicesRequest) GetProductId

func (x *ListInvoicesRequest) GetProductId() int64

func (*ListInvoicesRequest) GetStatus

func (x *ListInvoicesRequest) GetStatus() string

func (*ListInvoicesRequest) GetSubscriptionId

func (x *ListInvoicesRequest) GetSubscriptionId() int64

func (*ListInvoicesRequest) ProtoMessage

func (*ListInvoicesRequest) ProtoMessage()

func (*ListInvoicesRequest) ProtoReflect

func (x *ListInvoicesRequest) ProtoReflect() protoreflect.Message

func (*ListInvoicesRequest) Reset

func (x *ListInvoicesRequest) Reset()

func (*ListInvoicesRequest) String

func (x *ListInvoicesRequest) String() string

type ListItemsReply

type ListItemsReply struct {
	Items      []*Item           `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Pagination *v1.PaginateReply `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListItemsReply) Descriptor deprecated

func (*ListItemsReply) Descriptor() ([]byte, []int)

Deprecated: Use ListItemsReply.ProtoReflect.Descriptor instead.

func (*ListItemsReply) GetItems

func (x *ListItemsReply) GetItems() []*Item

func (*ListItemsReply) GetPagination

func (x *ListItemsReply) GetPagination() *v1.PaginateReply

func (*ListItemsReply) ProtoMessage

func (*ListItemsReply) ProtoMessage()

func (*ListItemsReply) ProtoReflect

func (x *ListItemsReply) ProtoReflect() protoreflect.Message

func (*ListItemsReply) Reset

func (x *ListItemsReply) Reset()

func (*ListItemsReply) String

func (x *ListItemsReply) String() string

type ListItemsRequest

type ListItemsRequest struct {
	Pagination *v1.PaginateRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListItemsRequest) Descriptor deprecated

func (*ListItemsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListItemsRequest.ProtoReflect.Descriptor instead.

func (*ListItemsRequest) GetPagination

func (x *ListItemsRequest) GetPagination() *v1.PaginateRequest

func (*ListItemsRequest) ProtoMessage

func (*ListItemsRequest) ProtoMessage()

func (*ListItemsRequest) ProtoReflect

func (x *ListItemsRequest) ProtoReflect() protoreflect.Message

func (*ListItemsRequest) Reset

func (x *ListItemsRequest) Reset()

func (*ListItemsRequest) String

func (x *ListItemsRequest) String() string

type ListProductsReply

type ListProductsReply struct {
	Products   []*Product        `protobuf:"bytes,1,rep,name=products,proto3" json:"products,omitempty"`
	Pagination *v1.PaginateReply `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProductsReply) Descriptor deprecated

func (*ListProductsReply) Descriptor() ([]byte, []int)

Deprecated: Use ListProductsReply.ProtoReflect.Descriptor instead.

func (*ListProductsReply) GetPagination

func (x *ListProductsReply) GetPagination() *v1.PaginateReply

func (*ListProductsReply) GetProducts

func (x *ListProductsReply) GetProducts() []*Product

func (*ListProductsReply) ProtoMessage

func (*ListProductsReply) ProtoMessage()

func (*ListProductsReply) ProtoReflect

func (x *ListProductsReply) ProtoReflect() protoreflect.Message

func (*ListProductsReply) Reset

func (x *ListProductsReply) Reset()

func (*ListProductsReply) String

func (x *ListProductsReply) String() string

type ListProductsRequest

type ListProductsRequest struct {
	Pagination *v1.PaginateRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProductsRequest) Descriptor deprecated

func (*ListProductsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListProductsRequest.ProtoReflect.Descriptor instead.

func (*ListProductsRequest) GetPagination

func (x *ListProductsRequest) GetPagination() *v1.PaginateRequest

func (*ListProductsRequest) ProtoMessage

func (*ListProductsRequest) ProtoMessage()

func (*ListProductsRequest) ProtoReflect

func (x *ListProductsRequest) ProtoReflect() protoreflect.Message

func (*ListProductsRequest) Reset

func (x *ListProductsRequest) Reset()

func (*ListProductsRequest) String

func (x *ListProductsRequest) String() string

type ListSubscriptionsReply

type ListSubscriptionsReply struct {
	Subscriptions []*Subscription   `protobuf:"bytes,1,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"`
	Pagination    *v1.PaginateReply `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSubscriptionsReply) Descriptor deprecated

func (*ListSubscriptionsReply) Descriptor() ([]byte, []int)

Deprecated: Use ListSubscriptionsReply.ProtoReflect.Descriptor instead.

func (*ListSubscriptionsReply) GetPagination

func (x *ListSubscriptionsReply) GetPagination() *v1.PaginateReply

func (*ListSubscriptionsReply) GetSubscriptions

func (x *ListSubscriptionsReply) GetSubscriptions() []*Subscription

func (*ListSubscriptionsReply) ProtoMessage

func (*ListSubscriptionsReply) ProtoMessage()

func (*ListSubscriptionsReply) ProtoReflect

func (x *ListSubscriptionsReply) ProtoReflect() protoreflect.Message

func (*ListSubscriptionsReply) Reset

func (x *ListSubscriptionsReply) Reset()

func (*ListSubscriptionsReply) String

func (x *ListSubscriptionsReply) String() string

type ListSubscriptionsRequest

type ListSubscriptionsRequest struct {
	WithInvoices bool                `protobuf:"varint,1,opt,name=withInvoices,proto3" json:"withInvoices,omitempty"`
	Pagination   *v1.PaginateRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSubscriptionsRequest) Descriptor deprecated

func (*ListSubscriptionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListSubscriptionsRequest.ProtoReflect.Descriptor instead.

func (*ListSubscriptionsRequest) GetPagination

func (x *ListSubscriptionsRequest) GetPagination() *v1.PaginateRequest

func (*ListSubscriptionsRequest) GetWithInvoices

func (x *ListSubscriptionsRequest) GetWithInvoices() bool

func (*ListSubscriptionsRequest) ProtoMessage

func (*ListSubscriptionsRequest) ProtoMessage()

func (*ListSubscriptionsRequest) ProtoReflect

func (x *ListSubscriptionsRequest) ProtoReflect() protoreflect.Message

func (*ListSubscriptionsRequest) Reset

func (x *ListSubscriptionsRequest) Reset()

func (*ListSubscriptionsRequest) String

func (x *ListSubscriptionsRequest) String() string

type PayerInfo

type PayerInfo struct {
	PanMasked string `protobuf:"bytes,1,opt,name=panMasked,proto3" json:"panMasked,omitempty"`
	Holder    string `protobuf:"bytes,2,opt,name=holder,proto3" json:"holder,omitempty"`
	Email     string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	Phone     string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"`
	UserToken string `protobuf:"bytes,5,opt,name=userToken,proto3" json:"userToken,omitempty"`
	// contains filtered or unexported fields
}

func (*PayerInfo) Descriptor deprecated

func (*PayerInfo) Descriptor() ([]byte, []int)

Deprecated: Use PayerInfo.ProtoReflect.Descriptor instead.

func (*PayerInfo) GetEmail

func (x *PayerInfo) GetEmail() string

func (*PayerInfo) GetHolder

func (x *PayerInfo) GetHolder() string

func (*PayerInfo) GetPanMasked

func (x *PayerInfo) GetPanMasked() string

func (*PayerInfo) GetPhone

func (x *PayerInfo) GetPhone() string

func (*PayerInfo) GetUserToken

func (x *PayerInfo) GetUserToken() string

func (*PayerInfo) ProtoMessage

func (*PayerInfo) ProtoMessage()

func (*PayerInfo) ProtoReflect

func (x *PayerInfo) ProtoReflect() protoreflect.Message

func (*PayerInfo) Reset

func (x *PayerInfo) Reset()

func (*PayerInfo) String

func (x *PayerInfo) String() string

type PaymentCallbackRequest

type PaymentCallbackRequest struct {
	Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Sign string `protobuf:"bytes,2,opt,name=sign,proto3" json:"sign,omitempty"`
	// contains filtered or unexported fields
}

Legacy OVP callback

func (*PaymentCallbackRequest) Descriptor deprecated

func (*PaymentCallbackRequest) Descriptor() ([]byte, []int)

Deprecated: Use PaymentCallbackRequest.ProtoReflect.Descriptor instead.

func (*PaymentCallbackRequest) GetData

func (x *PaymentCallbackRequest) GetData() string

func (*PaymentCallbackRequest) GetSign

func (x *PaymentCallbackRequest) GetSign() string

func (*PaymentCallbackRequest) ProtoMessage

func (*PaymentCallbackRequest) ProtoMessage()

func (*PaymentCallbackRequest) ProtoReflect

func (x *PaymentCallbackRequest) ProtoReflect() protoreflect.Message

func (*PaymentCallbackRequest) Reset

func (x *PaymentCallbackRequest) Reset()

func (*PaymentCallbackRequest) String

func (x *PaymentCallbackRequest) String() string

type PaymentsClient

type PaymentsClient interface {
	CreatePayment(ctx context.Context, in *CreatePaymentRequest, opts ...grpc.CallOption) (*CreatePaymentResponse, error)
	Complete3DS(ctx context.Context, in *Complete3DSRequest, opts ...grpc.CallOption) (*Complete3DSResponse, error)
	GetPaymentStatus(ctx context.Context, in *GetPaymentStatusRequest, opts ...grpc.CallOption) (*GetPaymentStatusResponse, error)
	CancelSubscription(ctx context.Context, in *CancelSubscriptionRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error)
	CheckWebhook(ctx context.Context, in *WebhookPayload, opts ...grpc.CallOption) (*WebhookResponse, error)
	PaymentWebhook(ctx context.Context, in *WebhookPayload, opts ...grpc.CallOption) (*WebhookResponse, error)
	RecurrentWebhook(ctx context.Context, in *WebhookPayload, opts ...grpc.CallOption) (*WebhookResponse, error)
	// Legacy OVP callback — kept for backward compatibility
	PaymentCallback(ctx context.Context, in *PaymentCallbackRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error)
}

PaymentsClient is the client API for Payments service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewPaymentsClient

func NewPaymentsClient(cc grpc.ClientConnInterface) PaymentsClient

type PaymentsServer

type PaymentsServer interface {
	CreatePayment(context.Context, *CreatePaymentRequest) (*CreatePaymentResponse, error)
	Complete3DS(context.Context, *Complete3DSRequest) (*Complete3DSResponse, error)
	GetPaymentStatus(context.Context, *GetPaymentStatusRequest) (*GetPaymentStatusResponse, error)
	CancelSubscription(context.Context, *CancelSubscriptionRequest) (*v1.EmptyReply, error)
	CheckWebhook(context.Context, *WebhookPayload) (*WebhookResponse, error)
	PaymentWebhook(context.Context, *WebhookPayload) (*WebhookResponse, error)
	RecurrentWebhook(context.Context, *WebhookPayload) (*WebhookResponse, error)
	// Legacy OVP callback — kept for backward compatibility
	PaymentCallback(context.Context, *PaymentCallbackRequest) (*v1.EmptyReply, error)
	// contains filtered or unexported methods
}

PaymentsServer is the server API for Payments service. All implementations must embed UnimplementedPaymentsServer for forward compatibility.

type ProcessServerNotificationRequest

type ProcessServerNotificationRequest struct {
	SignedPayload string `protobuf:"bytes,1,opt,name=signedPayload,proto3" json:"signedPayload,omitempty"`
	// contains filtered or unexported fields
}

func (*ProcessServerNotificationRequest) Descriptor deprecated

func (*ProcessServerNotificationRequest) Descriptor() ([]byte, []int)

Deprecated: Use ProcessServerNotificationRequest.ProtoReflect.Descriptor instead.

func (*ProcessServerNotificationRequest) GetSignedPayload

func (x *ProcessServerNotificationRequest) GetSignedPayload() string

func (*ProcessServerNotificationRequest) ProtoMessage

func (*ProcessServerNotificationRequest) ProtoMessage()

func (*ProcessServerNotificationRequest) ProtoReflect

func (*ProcessServerNotificationRequest) Reset

func (*ProcessServerNotificationRequest) String

type Product

type Product struct {
	Id            int64     `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name          string    `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description   string    `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Price         string    `protobuf:"bytes,4,opt,name=price,proto3" json:"price,omitempty"`
	Currency      string    `protobuf:"bytes,5,opt,name=currency,proto3" json:"currency,omitempty"`
	IsActive      bool      `protobuf:"varint,6,opt,name=isActive,proto3" json:"isActive,omitempty"`
	IsLimited     bool      `protobuf:"varint,7,opt,name=isLimited,proto3" json:"isLimited,omitempty"`
	LimitedTill   *string   `protobuf:"bytes,8,opt,name=limitedTill,proto3,oneof" json:"limitedTill,omitempty"`
	Left          *int64    `protobuf:"varint,9,opt,name=left,proto3,oneof" json:"left,omitempty"`
	IsUnique      bool      `protobuf:"varint,10,opt,name=isUnique,proto3" json:"isUnique,omitempty"`
	UniqueLimit   *int64    `protobuf:"varint,11,opt,name=uniqueLimit,proto3,oneof" json:"uniqueLimit,omitempty"`
	IsExpiring    bool      `protobuf:"varint,12,opt,name=isExpiring,proto3" json:"isExpiring,omitempty"`
	ExpiringTime  *string   `protobuf:"bytes,13,opt,name=expiringTime,proto3,oneof" json:"expiringTime,omitempty"`
	Bundles       []*Bundle `protobuf:"bytes,14,rep,name=bundles,proto3" json:"bundles,omitempty"`
	PaymentModel  string    `protobuf:"bytes,15,opt,name=paymentModel,proto3" json:"paymentModel,omitempty"`
	PaymentPeriod string    `protobuf:"bytes,16,opt,name=paymentPeriod,proto3" json:"paymentPeriod,omitempty"`
	// contains filtered or unexported fields
}

func (*Product) Descriptor deprecated

func (*Product) Descriptor() ([]byte, []int)

Deprecated: Use Product.ProtoReflect.Descriptor instead.

func (*Product) GetBundles

func (x *Product) GetBundles() []*Bundle

func (*Product) GetCurrency

func (x *Product) GetCurrency() string

func (*Product) GetDescription

func (x *Product) GetDescription() string

func (*Product) GetExpiringTime

func (x *Product) GetExpiringTime() string

func (*Product) GetId

func (x *Product) GetId() int64

func (*Product) GetIsActive

func (x *Product) GetIsActive() bool

func (*Product) GetIsExpiring

func (x *Product) GetIsExpiring() bool

func (*Product) GetIsLimited

func (x *Product) GetIsLimited() bool

func (*Product) GetIsUnique

func (x *Product) GetIsUnique() bool

func (*Product) GetLeft

func (x *Product) GetLeft() int64

func (*Product) GetLimitedTill

func (x *Product) GetLimitedTill() string

func (*Product) GetName

func (x *Product) GetName() string

func (*Product) GetPaymentModel

func (x *Product) GetPaymentModel() string

func (*Product) GetPaymentPeriod

func (x *Product) GetPaymentPeriod() string

func (*Product) GetPrice

func (x *Product) GetPrice() string

func (*Product) GetUniqueLimit

func (x *Product) GetUniqueLimit() int64

func (*Product) ProtoMessage

func (*Product) ProtoMessage()

func (*Product) ProtoReflect

func (x *Product) ProtoReflect() protoreflect.Message

func (*Product) Reset

func (x *Product) Reset()

func (*Product) String

func (x *Product) String() string

type ProductDto

type ProductDto struct {
	Name         string       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	AppId        string       `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId,omitempty"`
	Description  string       `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Price        string       `protobuf:"bytes,4,opt,name=price,proto3" json:"price,omitempty"`
	Currency     string       `protobuf:"bytes,5,opt,name=currency,proto3" json:"currency,omitempty"`
	IsActive     bool         `protobuf:"varint,6,opt,name=isActive,proto3" json:"isActive,omitempty"`
	IsLimited    bool         `protobuf:"varint,7,opt,name=isLimited,proto3" json:"isLimited,omitempty"`
	LimitedTill  *string      `protobuf:"bytes,8,opt,name=limitedTill,proto3,oneof" json:"limitedTill,omitempty"`
	Left         *int64       `protobuf:"varint,9,opt,name=left,proto3,oneof" json:"left,omitempty"`
	IsUnique     bool         `protobuf:"varint,10,opt,name=isUnique,proto3" json:"isUnique,omitempty"`
	UniqueLimit  *int64       `protobuf:"varint,11,opt,name=uniqueLimit,proto3,oneof" json:"uniqueLimit,omitempty"`
	IsExpiring   bool         `protobuf:"varint,12,opt,name=isExpiring,proto3" json:"isExpiring,omitempty"`
	ExpiringTime *string      `protobuf:"bytes,13,opt,name=expiringTime,proto3,oneof" json:"expiringTime,omitempty"`
	Bundles      []*BundleDto `protobuf:"bytes,14,rep,name=bundles,proto3" json:"bundles,omitempty"`
	// contains filtered or unexported fields
}

func (*ProductDto) Descriptor deprecated

func (*ProductDto) Descriptor() ([]byte, []int)

Deprecated: Use ProductDto.ProtoReflect.Descriptor instead.

func (*ProductDto) GetAppId

func (x *ProductDto) GetAppId() string

func (*ProductDto) GetBundles

func (x *ProductDto) GetBundles() []*BundleDto

func (*ProductDto) GetCurrency

func (x *ProductDto) GetCurrency() string

func (*ProductDto) GetDescription

func (x *ProductDto) GetDescription() string

func (*ProductDto) GetExpiringTime

func (x *ProductDto) GetExpiringTime() string

func (*ProductDto) GetIsActive

func (x *ProductDto) GetIsActive() bool

func (*ProductDto) GetIsExpiring

func (x *ProductDto) GetIsExpiring() bool

func (*ProductDto) GetIsLimited

func (x *ProductDto) GetIsLimited() bool

func (*ProductDto) GetIsUnique

func (x *ProductDto) GetIsUnique() bool

func (*ProductDto) GetLeft

func (x *ProductDto) GetLeft() int64

func (*ProductDto) GetLimitedTill

func (x *ProductDto) GetLimitedTill() string

func (*ProductDto) GetName

func (x *ProductDto) GetName() string

func (*ProductDto) GetPrice

func (x *ProductDto) GetPrice() string

func (*ProductDto) GetUniqueLimit

func (x *ProductDto) GetUniqueLimit() int64

func (*ProductDto) ProtoMessage

func (*ProductDto) ProtoMessage()

func (*ProductDto) ProtoReflect

func (x *ProductDto) ProtoReflect() protoreflect.Message

func (*ProductDto) Reset

func (x *ProductDto) Reset()

func (*ProductDto) String

func (x *ProductDto) String() string

type ProductReply

type ProductReply struct {
	Product *Product `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"`
	// contains filtered or unexported fields
}

func (*ProductReply) Descriptor deprecated

func (*ProductReply) Descriptor() ([]byte, []int)

Deprecated: Use ProductReply.ProtoReflect.Descriptor instead.

func (*ProductReply) GetProduct

func (x *ProductReply) GetProduct() *Product

func (*ProductReply) ProtoMessage

func (*ProductReply) ProtoMessage()

func (*ProductReply) ProtoReflect

func (x *ProductReply) ProtoReflect() protoreflect.Message

func (*ProductReply) Reset

func (x *ProductReply) Reset()

func (*ProductReply) String

func (x *ProductReply) String() string

type ProductsClient

type ProductsClient interface {
	CreateProduct(ctx context.Context, in *CreateProductRequest, opts ...grpc.CallOption) (*ProductReply, error)
	UpdateProduct(ctx context.Context, in *UpdateProductRequest, opts ...grpc.CallOption) (*ProductReply, error)
	DeleteProduct(ctx context.Context, in *DeleteProductRequest, opts ...grpc.CallOption) (*v1.EmptyReply, error)
	GetProduct(ctx context.Context, in *GetProductRequest, opts ...grpc.CallOption) (*ProductReply, error)
	ListProducts(ctx context.Context, in *ListProductsRequest, opts ...grpc.CallOption) (*ListProductsReply, error)
}

ProductsClient is the client API for Products service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewProductsClient

func NewProductsClient(cc grpc.ClientConnInterface) ProductsClient

type ProductsServer

type ProductsServer interface {
	CreateProduct(context.Context, *CreateProductRequest) (*ProductReply, error)
	UpdateProduct(context.Context, *UpdateProductRequest) (*ProductReply, error)
	DeleteProduct(context.Context, *DeleteProductRequest) (*v1.EmptyReply, error)
	GetProduct(context.Context, *GetProductRequest) (*ProductReply, error)
	ListProducts(context.Context, *ListProductsRequest) (*ListProductsReply, error)
	// contains filtered or unexported methods
}

ProductsServer is the server API for Products service. All implementations must embed UnimplementedProductsServer for forward compatibility.

type RequestRefundRequest

type RequestRefundRequest struct {
	InvoiceId int64  `protobuf:"varint,1,opt,name=invoiceId,proto3" json:"invoiceId,omitempty"`
	Amount    int64  `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Reason    string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestRefundRequest) Descriptor deprecated

func (*RequestRefundRequest) Descriptor() ([]byte, []int)

Deprecated: Use RequestRefundRequest.ProtoReflect.Descriptor instead.

func (*RequestRefundRequest) GetAmount

func (x *RequestRefundRequest) GetAmount() int64

func (*RequestRefundRequest) GetInvoiceId

func (x *RequestRefundRequest) GetInvoiceId() int64

func (*RequestRefundRequest) GetReason

func (x *RequestRefundRequest) GetReason() string

func (*RequestRefundRequest) ProtoMessage

func (*RequestRefundRequest) ProtoMessage()

func (*RequestRefundRequest) ProtoReflect

func (x *RequestRefundRequest) ProtoReflect() protoreflect.Message

func (*RequestRefundRequest) Reset

func (x *RequestRefundRequest) Reset()

func (*RequestRefundRequest) String

func (x *RequestRefundRequest) String() string

type RequestRefundResponse

type RequestRefundResponse struct {
	PaymentUrl string `protobuf:"bytes,1,opt,name=paymentUrl,proto3" json:"paymentUrl,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestRefundResponse) Descriptor deprecated

func (*RequestRefundResponse) Descriptor() ([]byte, []int)

Deprecated: Use RequestRefundResponse.ProtoReflect.Descriptor instead.

func (*RequestRefundResponse) GetPaymentUrl

func (x *RequestRefundResponse) GetPaymentUrl() string

func (*RequestRefundResponse) ProtoMessage

func (*RequestRefundResponse) ProtoMessage()

func (*RequestRefundResponse) ProtoReflect

func (x *RequestRefundResponse) ProtoReflect() protoreflect.Message

func (*RequestRefundResponse) Reset

func (x *RequestRefundResponse) Reset()

func (*RequestRefundResponse) String

func (x *RequestRefundResponse) String() string

type Subscription

type Subscription struct {
	Id        int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId    int64  `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
	TenantId  int64  `protobuf:"varint,3,opt,name=tenantId,proto3" json:"tenantId,omitempty"`
	AppId     string `protobuf:"bytes,4,opt,name=appId,proto3" json:"appId,omitempty"`
	ProductId int64  `protobuf:"varint,5,opt,name=productId,proto3" json:"productId,omitempty"`
	// contains filtered or unexported fields
}

func (*Subscription) Descriptor deprecated

func (*Subscription) Descriptor() ([]byte, []int)

Deprecated: Use Subscription.ProtoReflect.Descriptor instead.

func (*Subscription) GetAppId

func (x *Subscription) GetAppId() string

func (*Subscription) GetId

func (x *Subscription) GetId() int64

func (*Subscription) GetProductId

func (x *Subscription) GetProductId() int64

func (*Subscription) GetTenantId

func (x *Subscription) GetTenantId() int64

func (*Subscription) GetUserId

func (x *Subscription) GetUserId() int64

func (*Subscription) ProtoMessage

func (*Subscription) ProtoMessage()

func (*Subscription) ProtoReflect

func (x *Subscription) ProtoReflect() protoreflect.Message

func (*Subscription) Reset

func (x *Subscription) Reset()

func (*Subscription) String

func (x *Subscription) String() string

type SubscriptionReply

type SubscriptionReply struct {
	Subscription *Subscription `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"`
	// contains filtered or unexported fields
}

func (*SubscriptionReply) Descriptor deprecated

func (*SubscriptionReply) Descriptor() ([]byte, []int)

Deprecated: Use SubscriptionReply.ProtoReflect.Descriptor instead.

func (*SubscriptionReply) GetSubscription

func (x *SubscriptionReply) GetSubscription() *Subscription

func (*SubscriptionReply) ProtoMessage

func (*SubscriptionReply) ProtoMessage()

func (*SubscriptionReply) ProtoReflect

func (x *SubscriptionReply) ProtoReflect() protoreflect.Message

func (*SubscriptionReply) Reset

func (x *SubscriptionReply) Reset()

func (*SubscriptionReply) String

func (x *SubscriptionReply) String() string

type SubscriptionStatusReply

type SubscriptionStatusReply struct {
	HasSubscription bool   `protobuf:"varint,1,opt,name=hasSubscription,proto3" json:"hasSubscription,omitempty"`
	ProductId       int64  `protobuf:"varint,2,opt,name=productId,proto3" json:"productId,omitempty"`
	ProductName     string `protobuf:"bytes,3,opt,name=productName,proto3" json:"productName,omitempty"`
	Status          string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	PaidTill        string `protobuf:"bytes,5,opt,name=paidTill,proto3" json:"paidTill,omitempty"`
	AutoRenew       bool   `protobuf:"varint,6,opt,name=autoRenew,proto3" json:"autoRenew,omitempty"`
	SubscriptionId  int64  `protobuf:"varint,7,opt,name=subscriptionId,proto3" json:"subscriptionId,omitempty"`
	CancelledAt     string `protobuf:"bytes,8,opt,name=cancelledAt,proto3" json:"cancelledAt,omitempty"`
	// contains filtered or unexported fields
}

func (*SubscriptionStatusReply) Descriptor deprecated

func (*SubscriptionStatusReply) Descriptor() ([]byte, []int)

Deprecated: Use SubscriptionStatusReply.ProtoReflect.Descriptor instead.

func (*SubscriptionStatusReply) GetAutoRenew

func (x *SubscriptionStatusReply) GetAutoRenew() bool

func (*SubscriptionStatusReply) GetCancelledAt

func (x *SubscriptionStatusReply) GetCancelledAt() string

func (*SubscriptionStatusReply) GetHasSubscription

func (x *SubscriptionStatusReply) GetHasSubscription() bool

func (*SubscriptionStatusReply) GetPaidTill

func (x *SubscriptionStatusReply) GetPaidTill() string

func (*SubscriptionStatusReply) GetProductId

func (x *SubscriptionStatusReply) GetProductId() int64

func (*SubscriptionStatusReply) GetProductName

func (x *SubscriptionStatusReply) GetProductName() string

func (*SubscriptionStatusReply) GetStatus

func (x *SubscriptionStatusReply) GetStatus() string

func (*SubscriptionStatusReply) GetSubscriptionId

func (x *SubscriptionStatusReply) GetSubscriptionId() int64

func (*SubscriptionStatusReply) ProtoMessage

func (*SubscriptionStatusReply) ProtoMessage()

func (*SubscriptionStatusReply) ProtoReflect

func (x *SubscriptionStatusReply) ProtoReflect() protoreflect.Message

func (*SubscriptionStatusReply) Reset

func (x *SubscriptionStatusReply) Reset()

func (*SubscriptionStatusReply) String

func (x *SubscriptionStatusReply) String() string

type SubscriptionsClient

type SubscriptionsClient interface {
	GetSubscription(ctx context.Context, in *GetSubscriptionRequest, opts ...grpc.CallOption) (*SubscriptionReply, error)
	ListSubscriptions(ctx context.Context, in *ListSubscriptionsRequest, opts ...grpc.CallOption) (*ListSubscriptionsReply, error)
	GetSubscriptionStatus(ctx context.Context, in *GetSubscriptionStatusRequest, opts ...grpc.CallOption) (*SubscriptionStatusReply, error)
}

SubscriptionsClient is the client API for Subscriptions service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type SubscriptionsServer

type SubscriptionsServer interface {
	GetSubscription(context.Context, *GetSubscriptionRequest) (*SubscriptionReply, error)
	ListSubscriptions(context.Context, *ListSubscriptionsRequest) (*ListSubscriptionsReply, error)
	GetSubscriptionStatus(context.Context, *GetSubscriptionStatusRequest) (*SubscriptionStatusReply, error)
	// contains filtered or unexported methods
}

SubscriptionsServer is the server API for Subscriptions service. All implementations must embed UnimplementedSubscriptionsServer for forward compatibility.

type UnimplementedAppleStoreServer

type UnimplementedAppleStoreServer struct{}

UnimplementedAppleStoreServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedAppleStoreServer) ProcessServerNotification

type UnimplementedInvoicesServer

type UnimplementedInvoicesServer struct{}

UnimplementedInvoicesServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedInvoicesServer) GetInvoice

func (UnimplementedInvoicesServer) GetInvoicePDF

func (UnimplementedInvoicesServer) GetInvoiceReceipt

func (UnimplementedInvoicesServer) ListInvoices

type UnimplementedItemsServer

type UnimplementedItemsServer struct{}

UnimplementedItemsServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedItemsServer) CreateItem

func (UnimplementedItemsServer) DeleteItem

func (UnimplementedItemsServer) GetItem

func (UnimplementedItemsServer) ListItems

func (UnimplementedItemsServer) UpdateItem

type UnimplementedPaymentsServer

type UnimplementedPaymentsServer struct{}

UnimplementedPaymentsServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedPaymentsServer) CancelSubscription

func (UnimplementedPaymentsServer) CheckWebhook

func (UnimplementedPaymentsServer) Complete3DS

func (UnimplementedPaymentsServer) CreatePayment

func (UnimplementedPaymentsServer) GetPaymentStatus

func (UnimplementedPaymentsServer) PaymentCallback

func (UnimplementedPaymentsServer) PaymentWebhook

func (UnimplementedPaymentsServer) RecurrentWebhook

type UnimplementedProductsServer

type UnimplementedProductsServer struct{}

UnimplementedProductsServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedProductsServer) CreateProduct

func (UnimplementedProductsServer) DeleteProduct

func (UnimplementedProductsServer) GetProduct

func (UnimplementedProductsServer) ListProducts

func (UnimplementedProductsServer) UpdateProduct

type UnimplementedSubscriptionsServer

type UnimplementedSubscriptionsServer struct{}

UnimplementedSubscriptionsServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedSubscriptionsServer) GetSubscription

func (UnimplementedSubscriptionsServer) GetSubscriptionStatus

func (UnimplementedSubscriptionsServer) ListSubscriptions

type UnsafeAppleStoreServer

type UnsafeAppleStoreServer interface {
	// contains filtered or unexported methods
}

UnsafeAppleStoreServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AppleStoreServer will result in compilation errors.

type UnsafeInvoicesServer

type UnsafeInvoicesServer interface {
	// contains filtered or unexported methods
}

UnsafeInvoicesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InvoicesServer will result in compilation errors.

type UnsafeItemsServer

type UnsafeItemsServer interface {
	// contains filtered or unexported methods
}

UnsafeItemsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ItemsServer will result in compilation errors.

type UnsafePaymentsServer

type UnsafePaymentsServer interface {
	// contains filtered or unexported methods
}

UnsafePaymentsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PaymentsServer will result in compilation errors.

type UnsafeProductsServer

type UnsafeProductsServer interface {
	// contains filtered or unexported methods
}

UnsafeProductsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProductsServer will result in compilation errors.

type UnsafeSubscriptionsServer

type UnsafeSubscriptionsServer interface {
	// contains filtered or unexported methods
}

UnsafeSubscriptionsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SubscriptionsServer will result in compilation errors.

type UpdateItemRequest

type UpdateItemRequest struct {
	Id   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Item *ItemDto `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateItemRequest) Descriptor deprecated

func (*UpdateItemRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateItemRequest.ProtoReflect.Descriptor instead.

func (*UpdateItemRequest) GetId

func (x *UpdateItemRequest) GetId() int64

func (*UpdateItemRequest) GetItem

func (x *UpdateItemRequest) GetItem() *ItemDto

func (*UpdateItemRequest) ProtoMessage

func (*UpdateItemRequest) ProtoMessage()

func (*UpdateItemRequest) ProtoReflect

func (x *UpdateItemRequest) ProtoReflect() protoreflect.Message

func (*UpdateItemRequest) Reset

func (x *UpdateItemRequest) Reset()

func (*UpdateItemRequest) String

func (x *UpdateItemRequest) String() string

type UpdateProductRequest

type UpdateProductRequest struct {
	Id      int64       `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Product *ProductDto `protobuf:"bytes,2,opt,name=product,proto3" json:"product,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateProductRequest) Descriptor deprecated

func (*UpdateProductRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateProductRequest.ProtoReflect.Descriptor instead.

func (*UpdateProductRequest) GetId

func (x *UpdateProductRequest) GetId() int64

func (*UpdateProductRequest) GetProduct

func (x *UpdateProductRequest) GetProduct() *ProductDto

func (*UpdateProductRequest) ProtoMessage

func (*UpdateProductRequest) ProtoMessage()

func (*UpdateProductRequest) ProtoReflect

func (x *UpdateProductRequest) ProtoReflect() protoreflect.Message

func (*UpdateProductRequest) Reset

func (x *UpdateProductRequest) Reset()

func (*UpdateProductRequest) String

func (x *UpdateProductRequest) String() string

type WebhookPayload

type WebhookPayload struct {
	TransactionId  int64   `protobuf:"varint,1,opt,name=transactionId,proto3" json:"transactionId,omitempty"`
	Amount         float64 `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Currency       string  `protobuf:"bytes,3,opt,name=currency,proto3" json:"currency,omitempty"`
	Status         string  `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	InvoiceId      string  `protobuf:"bytes,5,opt,name=invoiceId,proto3" json:"invoiceId,omitempty"`
	AccountId      string  `protobuf:"bytes,6,opt,name=accountId,proto3" json:"accountId,omitempty"`
	Token          string  `protobuf:"bytes,7,opt,name=token,proto3" json:"token,omitempty"`
	SubscriptionId string  `protobuf:"bytes,8,opt,name=subscriptionId,proto3" json:"subscriptionId,omitempty"`
	ReasonCode     int32   `protobuf:"varint,9,opt,name=reasonCode,proto3" json:"reasonCode,omitempty"`
	CardFirstSix   string  `protobuf:"bytes,10,opt,name=cardFirstSix,proto3" json:"cardFirstSix,omitempty"`
	CardLastFour   string  `protobuf:"bytes,11,opt,name=cardLastFour,proto3" json:"cardLastFour,omitempty"`
	CardExpDate    string  `protobuf:"bytes,12,opt,name=cardExpDate,proto3" json:"cardExpDate,omitempty"`
	CardType       string  `protobuf:"bytes,13,opt,name=cardType,proto3" json:"cardType,omitempty"`
	Name           string  `protobuf:"bytes,14,opt,name=name,proto3" json:"name,omitempty"`
	Email          string  `protobuf:"bytes,15,opt,name=email,proto3" json:"email,omitempty"`
	DateTime       string  `protobuf:"bytes,16,opt,name=dateTime,proto3" json:"dateTime,omitempty"`
	OperationType  string  `protobuf:"bytes,17,opt,name=operationType,proto3" json:"operationType,omitempty"`
	// contains filtered or unexported fields
}

TipTopPay webhook — parsed data from BFF (HMAC verified on BFF side)

func (*WebhookPayload) Descriptor deprecated

func (*WebhookPayload) Descriptor() ([]byte, []int)

Deprecated: Use WebhookPayload.ProtoReflect.Descriptor instead.

func (*WebhookPayload) GetAccountId

func (x *WebhookPayload) GetAccountId() string

func (*WebhookPayload) GetAmount

func (x *WebhookPayload) GetAmount() float64

func (*WebhookPayload) GetCardExpDate

func (x *WebhookPayload) GetCardExpDate() string

func (*WebhookPayload) GetCardFirstSix

func (x *WebhookPayload) GetCardFirstSix() string

func (*WebhookPayload) GetCardLastFour

func (x *WebhookPayload) GetCardLastFour() string

func (*WebhookPayload) GetCardType

func (x *WebhookPayload) GetCardType() string

func (*WebhookPayload) GetCurrency

func (x *WebhookPayload) GetCurrency() string

func (*WebhookPayload) GetDateTime

func (x *WebhookPayload) GetDateTime() string

func (*WebhookPayload) GetEmail

func (x *WebhookPayload) GetEmail() string

func (*WebhookPayload) GetInvoiceId

func (x *WebhookPayload) GetInvoiceId() string

func (*WebhookPayload) GetName

func (x *WebhookPayload) GetName() string

func (*WebhookPayload) GetOperationType

func (x *WebhookPayload) GetOperationType() string

func (*WebhookPayload) GetReasonCode

func (x *WebhookPayload) GetReasonCode() int32

func (*WebhookPayload) GetStatus

func (x *WebhookPayload) GetStatus() string

func (*WebhookPayload) GetSubscriptionId

func (x *WebhookPayload) GetSubscriptionId() string

func (*WebhookPayload) GetToken

func (x *WebhookPayload) GetToken() string

func (*WebhookPayload) GetTransactionId

func (x *WebhookPayload) GetTransactionId() int64

func (*WebhookPayload) ProtoMessage

func (*WebhookPayload) ProtoMessage()

func (*WebhookPayload) ProtoReflect

func (x *WebhookPayload) ProtoReflect() protoreflect.Message

func (*WebhookPayload) Reset

func (x *WebhookPayload) Reset()

func (*WebhookPayload) String

func (x *WebhookPayload) String() string

type WebhookResponse

type WebhookResponse struct {
	Code    int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*WebhookResponse) Descriptor deprecated

func (*WebhookResponse) Descriptor() ([]byte, []int)

Deprecated: Use WebhookResponse.ProtoReflect.Descriptor instead.

func (*WebhookResponse) GetCode

func (x *WebhookResponse) GetCode() int32

func (*WebhookResponse) GetMessage

func (x *WebhookResponse) GetMessage() string

func (*WebhookResponse) ProtoMessage

func (*WebhookResponse) ProtoMessage()

func (*WebhookResponse) ProtoReflect

func (x *WebhookResponse) ProtoReflect() protoreflect.Message

func (*WebhookResponse) Reset

func (x *WebhookResponse) Reset()

func (*WebhookResponse) String

func (x *WebhookResponse) String() string

Jump to

Keyboard shortcuts

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