invoice_grpc_service

package
v0.0.0-...-80a60a5 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 10 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InvoiceStatus_name = map[int32]string{
		0: "INVOICE_STATUS_NONE",
		1: "INVOICE_STATUS_INITIALIZED",
		2: "INVOICE_STATUS_DUE",
		3: "INVOICE_STATUS_PAID",
		4: "INVOICE_STATUS_VOID",
		5: "INVOICE_STATUS_SCHEDULED",
		6: "INVOICE_STATUS_OVERDUE",
		7: "INVOICE_STATUS_ON_HOLD",
		8: "INVOICE_STATUS_EMPTY",
	}
	InvoiceStatus_value = map[string]int32{
		"INVOICE_STATUS_NONE":        0,
		"INVOICE_STATUS_INITIALIZED": 1,
		"INVOICE_STATUS_DUE":         2,
		"INVOICE_STATUS_PAID":        3,
		"INVOICE_STATUS_VOID":        4,
		"INVOICE_STATUS_SCHEDULED":   5,
		"INVOICE_STATUS_OVERDUE":     6,
		"INVOICE_STATUS_ON_HOLD":     7,
		"INVOICE_STATUS_EMPTY":       8,
	}
)

Enum value maps for InvoiceStatus.

View Source
var (
	InvoiceFieldMask_name = map[int32]string{
		0: "INVOICE_FIELD_NONE",
		1: "INVOICE_FIELD_STATUS",
		2: "INVOICE_FIELD_PAYMENT_LINK",
	}
	InvoiceFieldMask_value = map[string]int32{
		"INVOICE_FIELD_NONE":         0,
		"INVOICE_FIELD_STATUS":       1,
		"INVOICE_FIELD_PAYMENT_LINK": 2,
	}
)

Enum value maps for InvoiceFieldMask.

View Source
var File_invoice_proto protoreflect.FileDescriptor
View Source
var InvoiceGrpcService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "InvoiceGrpcService",
	HandlerType: (*InvoiceGrpcServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "NextPreviewInvoiceForContract",
			Handler:    _InvoiceGrpcService_NextPreviewInvoiceForContract_Handler,
		},
		{
			MethodName: "NewInvoiceForContract",
			Handler:    _InvoiceGrpcService_NewInvoiceForContract_Handler,
		},
		{
			MethodName: "FillInvoice",
			Handler:    _InvoiceGrpcService_FillInvoice_Handler,
		},
		{
			MethodName: "GenerateInvoicePdf",
			Handler:    _InvoiceGrpcService_GenerateInvoicePdf_Handler,
		},
		{
			MethodName: "PdfGeneratedInvoice",
			Handler:    _InvoiceGrpcService_PdfGeneratedInvoice_Handler,
		},
		{
			MethodName: "PayInvoiceNotification",
			Handler:    _InvoiceGrpcService_PayInvoiceNotification_Handler,
		},
		{
			MethodName: "RequestFillInvoice",
			Handler:    _InvoiceGrpcService_RequestFillInvoice_Handler,
		},
		{
			MethodName: "PermanentlyDeleteInitializedInvoice",
			Handler:    _InvoiceGrpcService_PermanentlyDeleteInitializedInvoice_Handler,
		},
		{
			MethodName: "VoidInvoice",
			Handler:    _InvoiceGrpcService_VoidInvoice_Handler,
		},
		{
			MethodName: "RemindInvoiceNotification",
			Handler:    _InvoiceGrpcService_RemindInvoiceNotification_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "invoice.proto",
}

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

Functions

func RegisterInvoiceGrpcServiceServer

func RegisterInvoiceGrpcServiceServer(s grpc.ServiceRegistrar, srv InvoiceGrpcServiceServer)

Types

type FillInvoiceCustomer

type FillInvoiceCustomer struct {
	Name         string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	AddressLine1 string `protobuf:"bytes,2,opt,name=AddressLine1,proto3" json:"AddressLine1,omitempty"`
	AddressLine2 string `protobuf:"bytes,3,opt,name=AddressLine2,proto3" json:"AddressLine2,omitempty"`
	Zip          string `protobuf:"bytes,4,opt,name=Zip,proto3" json:"Zip,omitempty"`
	Locality     string `protobuf:"bytes,5,opt,name=Locality,proto3" json:"Locality,omitempty"`
	Country      string `protobuf:"bytes,6,opt,name=Country,proto3" json:"Country,omitempty"`
	Email        string `protobuf:"bytes,7,opt,name=Email,proto3" json:"Email,omitempty"`
	Region       string `protobuf:"bytes,8,opt,name=Region,proto3" json:"Region,omitempty"`
	// contains filtered or unexported fields
}

func (*FillInvoiceCustomer) Descriptor deprecated

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

Deprecated: Use FillInvoiceCustomer.ProtoReflect.Descriptor instead.

func (*FillInvoiceCustomer) GetAddressLine1

func (x *FillInvoiceCustomer) GetAddressLine1() string

func (*FillInvoiceCustomer) GetAddressLine2

func (x *FillInvoiceCustomer) GetAddressLine2() string

func (*FillInvoiceCustomer) GetCountry

func (x *FillInvoiceCustomer) GetCountry() string

func (*FillInvoiceCustomer) GetEmail

func (x *FillInvoiceCustomer) GetEmail() string

func (*FillInvoiceCustomer) GetLocality

func (x *FillInvoiceCustomer) GetLocality() string

func (*FillInvoiceCustomer) GetName

func (x *FillInvoiceCustomer) GetName() string

func (*FillInvoiceCustomer) GetRegion

func (x *FillInvoiceCustomer) GetRegion() string

func (*FillInvoiceCustomer) GetZip

func (x *FillInvoiceCustomer) GetZip() string

func (*FillInvoiceCustomer) ProtoMessage

func (*FillInvoiceCustomer) ProtoMessage()

func (*FillInvoiceCustomer) ProtoReflect

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

func (*FillInvoiceCustomer) Reset

func (x *FillInvoiceCustomer) Reset()

func (*FillInvoiceCustomer) String

func (x *FillInvoiceCustomer) String() string

type FillInvoiceProvider

type FillInvoiceProvider struct {
	Name                 string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	Email                string `protobuf:"bytes,3,opt,name=Email,proto3" json:"Email,omitempty"`
	AddressLine1         string `protobuf:"bytes,4,opt,name=AddressLine1,proto3" json:"AddressLine1,omitempty"`
	AddressLine2         string `protobuf:"bytes,5,opt,name=AddressLine2,proto3" json:"AddressLine2,omitempty"`
	Zip                  string `protobuf:"bytes,6,opt,name=Zip,proto3" json:"Zip,omitempty"`
	Locality             string `protobuf:"bytes,7,opt,name=Locality,proto3" json:"Locality,omitempty"`
	Country              string `protobuf:"bytes,8,opt,name=Country,proto3" json:"Country,omitempty"`
	LogoRepositoryFileId string `protobuf:"bytes,9,opt,name=LogoRepositoryFileId,proto3" json:"LogoRepositoryFileId,omitempty"`
	Region               string `protobuf:"bytes,10,opt,name=Region,proto3" json:"Region,omitempty"`
	// contains filtered or unexported fields
}

func (*FillInvoiceProvider) Descriptor deprecated

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

Deprecated: Use FillInvoiceProvider.ProtoReflect.Descriptor instead.

func (*FillInvoiceProvider) GetAddressLine1

func (x *FillInvoiceProvider) GetAddressLine1() string

func (*FillInvoiceProvider) GetAddressLine2

func (x *FillInvoiceProvider) GetAddressLine2() string

func (*FillInvoiceProvider) GetCountry

func (x *FillInvoiceProvider) GetCountry() string

func (*FillInvoiceProvider) GetEmail

func (x *FillInvoiceProvider) GetEmail() string

func (*FillInvoiceProvider) GetLocality

func (x *FillInvoiceProvider) GetLocality() string

func (*FillInvoiceProvider) GetLogoRepositoryFileId

func (x *FillInvoiceProvider) GetLogoRepositoryFileId() string

func (*FillInvoiceProvider) GetName

func (x *FillInvoiceProvider) GetName() string

func (*FillInvoiceProvider) GetRegion

func (x *FillInvoiceProvider) GetRegion() string

func (*FillInvoiceProvider) GetZip

func (x *FillInvoiceProvider) GetZip() string

func (*FillInvoiceProvider) ProtoMessage

func (*FillInvoiceProvider) ProtoMessage()

func (*FillInvoiceProvider) ProtoReflect

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

func (*FillInvoiceProvider) Reset

func (x *FillInvoiceProvider) Reset()

func (*FillInvoiceProvider) String

func (x *FillInvoiceProvider) String() string

type FillInvoiceRequest

type FillInvoiceRequest struct {
	Tenant         string  `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	LoggedInUserId string  `protobuf:"bytes,2,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	InvoiceId      string  `protobuf:"bytes,3,opt,name=invoiceId,proto3" json:"invoiceId,omitempty"`
	Amount         float64 `protobuf:"fixed64,4,opt,name=amount,proto3" json:"amount,omitempty"`
	Vat            float64 `protobuf:"fixed64,5,opt,name=vat,proto3" json:"vat,omitempty"`
	// Deprecated: Marked as deprecated in invoice.proto.
	Subtotal      float64                `protobuf:"fixed64,6,opt,name=subtotal,proto3" json:"subtotal,omitempty"`
	Total         float64                `protobuf:"fixed64,7,opt,name=total,proto3" json:"total,omitempty"`
	InvoiceLines  []*InvoiceLine         `protobuf:"bytes,8,rep,name=invoiceLines,proto3" json:"invoiceLines,omitempty"`
	UpdatedAt     *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	AppSource     string                 `protobuf:"bytes,10,opt,name=appSource,proto3" json:"appSource,omitempty"`
	Status        InvoiceStatus          `protobuf:"varint,11,opt,name=status,proto3,enum=InvoiceStatus" json:"status,omitempty"`
	Note          string                 `protobuf:"bytes,12,opt,name=Note,proto3" json:"Note,omitempty"`
	Customer      *FillInvoiceCustomer   `protobuf:"bytes,15,opt,name=Customer,proto3" json:"Customer,omitempty"`
	Provider      *FillInvoiceProvider   `protobuf:"bytes,16,opt,name=Provider,proto3" json:"Provider,omitempty"`
	DryRun        bool                   `protobuf:"varint,17,opt,name=dryRun,proto3" json:"dryRun,omitempty"`
	InvoiceNumber string                 `protobuf:"bytes,18,opt,name=invoiceNumber,proto3" json:"invoiceNumber,omitempty"`
	Preview       bool                   `protobuf:"varint,19,opt,name=preview,proto3" json:"preview,omitempty"`
	// contains filtered or unexported fields
}

func (*FillInvoiceRequest) Descriptor deprecated

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

Deprecated: Use FillInvoiceRequest.ProtoReflect.Descriptor instead.

func (*FillInvoiceRequest) GetAmount

func (x *FillInvoiceRequest) GetAmount() float64

func (*FillInvoiceRequest) GetAppSource

func (x *FillInvoiceRequest) GetAppSource() string

func (*FillInvoiceRequest) GetCustomer

func (x *FillInvoiceRequest) GetCustomer() *FillInvoiceCustomer

func (*FillInvoiceRequest) GetDryRun

func (x *FillInvoiceRequest) GetDryRun() bool

func (*FillInvoiceRequest) GetInvoiceId

func (x *FillInvoiceRequest) GetInvoiceId() string

func (*FillInvoiceRequest) GetInvoiceLines

func (x *FillInvoiceRequest) GetInvoiceLines() []*InvoiceLine

func (*FillInvoiceRequest) GetInvoiceNumber

func (x *FillInvoiceRequest) GetInvoiceNumber() string

func (*FillInvoiceRequest) GetLoggedInUserId

func (x *FillInvoiceRequest) GetLoggedInUserId() string

func (*FillInvoiceRequest) GetNote

func (x *FillInvoiceRequest) GetNote() string

func (*FillInvoiceRequest) GetPreview

func (x *FillInvoiceRequest) GetPreview() bool

func (*FillInvoiceRequest) GetProvider

func (x *FillInvoiceRequest) GetProvider() *FillInvoiceProvider

func (*FillInvoiceRequest) GetStatus

func (x *FillInvoiceRequest) GetStatus() InvoiceStatus

func (*FillInvoiceRequest) GetSubtotal deprecated

func (x *FillInvoiceRequest) GetSubtotal() float64

Deprecated: Marked as deprecated in invoice.proto.

func (*FillInvoiceRequest) GetTenant

func (x *FillInvoiceRequest) GetTenant() string

func (*FillInvoiceRequest) GetTotal

func (x *FillInvoiceRequest) GetTotal() float64

func (*FillInvoiceRequest) GetUpdatedAt

func (x *FillInvoiceRequest) GetUpdatedAt() *timestamppb.Timestamp

func (*FillInvoiceRequest) GetVat

func (x *FillInvoiceRequest) GetVat() float64

func (*FillInvoiceRequest) ProtoMessage

func (*FillInvoiceRequest) ProtoMessage()

func (*FillInvoiceRequest) ProtoReflect

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

func (*FillInvoiceRequest) Reset

func (x *FillInvoiceRequest) Reset()

func (*FillInvoiceRequest) String

func (x *FillInvoiceRequest) String() string

type GenerateInvoicePdfRequest

type GenerateInvoicePdfRequest struct {
	Tenant         string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	LoggedInUserId string `protobuf:"bytes,2,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	InvoiceId      string `protobuf:"bytes,3,opt,name=invoiceId,proto3" json:"invoiceId,omitempty"`
	AppSource      string `protobuf:"bytes,4,opt,name=appSource,proto3" json:"appSource,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateInvoicePdfRequest) Descriptor deprecated

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

Deprecated: Use GenerateInvoicePdfRequest.ProtoReflect.Descriptor instead.

func (*GenerateInvoicePdfRequest) GetAppSource

func (x *GenerateInvoicePdfRequest) GetAppSource() string

func (*GenerateInvoicePdfRequest) GetInvoiceId

func (x *GenerateInvoicePdfRequest) GetInvoiceId() string

func (*GenerateInvoicePdfRequest) GetLoggedInUserId

func (x *GenerateInvoicePdfRequest) GetLoggedInUserId() string

func (*GenerateInvoicePdfRequest) GetTenant

func (x *GenerateInvoicePdfRequest) GetTenant() string

func (*GenerateInvoicePdfRequest) ProtoMessage

func (*GenerateInvoicePdfRequest) ProtoMessage()

func (*GenerateInvoicePdfRequest) ProtoReflect

func (*GenerateInvoicePdfRequest) Reset

func (x *GenerateInvoicePdfRequest) Reset()

func (*GenerateInvoicePdfRequest) String

func (x *GenerateInvoicePdfRequest) String() string

type InvoiceFieldMask

type InvoiceFieldMask int32
const (
	InvoiceFieldMask_INVOICE_FIELD_NONE         InvoiceFieldMask = 0 // No property, ignored by the server
	InvoiceFieldMask_INVOICE_FIELD_STATUS       InvoiceFieldMask = 1
	InvoiceFieldMask_INVOICE_FIELD_PAYMENT_LINK InvoiceFieldMask = 2
)

func (InvoiceFieldMask) Descriptor

func (InvoiceFieldMask) Enum

func (InvoiceFieldMask) EnumDescriptor deprecated

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

Deprecated: Use InvoiceFieldMask.Descriptor instead.

func (InvoiceFieldMask) Number

func (InvoiceFieldMask) String

func (x InvoiceFieldMask) String() string

func (InvoiceFieldMask) Type

type InvoiceGrpcServiceClient

type InvoiceGrpcServiceClient interface {
	NextPreviewInvoiceForContract(ctx context.Context, in *NextPreviewInvoiceForContractRequest, opts ...grpc.CallOption) (*InvoiceIdResponse, error)
	NewInvoiceForContract(ctx context.Context, in *NewInvoiceForContractRequest, opts ...grpc.CallOption) (*InvoiceIdResponse, error)
	FillInvoice(ctx context.Context, in *FillInvoiceRequest, opts ...grpc.CallOption) (*InvoiceIdResponse, error)
	GenerateInvoicePdf(ctx context.Context, in *GenerateInvoicePdfRequest, opts ...grpc.CallOption) (*InvoiceIdResponse, error)
	PdfGeneratedInvoice(ctx context.Context, in *PdfGeneratedInvoiceRequest, opts ...grpc.CallOption) (*InvoiceIdResponse, error)
	PayInvoiceNotification(ctx context.Context, in *PayInvoiceNotificationRequest, opts ...grpc.CallOption) (*InvoiceIdResponse, error)
	RequestFillInvoice(ctx context.Context, in *RequestFillInvoiceRequest, opts ...grpc.CallOption) (*InvoiceIdResponse, error)
	PermanentlyDeleteInitializedInvoice(ctx context.Context, in *PermanentlyDeleteInitializedInvoiceRequest, opts ...grpc.CallOption) (*InvoiceIdResponse, error)
	VoidInvoice(ctx context.Context, in *VoidInvoiceRequest, opts ...grpc.CallOption) (*InvoiceIdResponse, error)
	RemindInvoiceNotification(ctx context.Context, in *RemindInvoiceNotificationRequest, opts ...grpc.CallOption) (*InvoiceIdResponse, error)
}

InvoiceGrpcServiceClient is the client API for InvoiceGrpcService 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 InvoiceGrpcServiceServer

InvoiceGrpcServiceServer is the server API for InvoiceGrpcService service. All implementations should embed UnimplementedInvoiceGrpcServiceServer for forward compatibility

type InvoiceIdResponse

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

func (*InvoiceIdResponse) Descriptor deprecated

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

Deprecated: Use InvoiceIdResponse.ProtoReflect.Descriptor instead.

func (*InvoiceIdResponse) GetId

func (x *InvoiceIdResponse) GetId() string

func (*InvoiceIdResponse) ProtoMessage

func (*InvoiceIdResponse) ProtoMessage()

func (*InvoiceIdResponse) ProtoReflect

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

func (*InvoiceIdResponse) Reset

func (x *InvoiceIdResponse) Reset()

func (*InvoiceIdResponse) String

func (x *InvoiceIdResponse) String() string

type InvoiceLine

type InvoiceLine struct {
	ServiceLineItemId       string            `protobuf:"bytes,1,opt,name=serviceLineItemId,proto3" json:"serviceLineItemId,omitempty"`
	Name                    string            `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Price                   float64           `protobuf:"fixed64,3,opt,name=price,proto3" json:"price,omitempty"`
	Quantity                int64             `protobuf:"varint,4,opt,name=quantity,proto3" json:"quantity,omitempty"`
	Amount                  float64           `protobuf:"fixed64,5,opt,name=amount,proto3" json:"amount,omitempty"`
	Vat                     float64           `protobuf:"fixed64,6,opt,name=vat,proto3" json:"vat,omitempty"`
	Total                   float64           `protobuf:"fixed64,7,opt,name=total,proto3" json:"total,omitempty"`
	BilledType              common.BilledType `protobuf:"varint,8,opt,name=billedType,proto3,enum=BilledType" json:"billedType,omitempty"`
	ServiceLineItemParentId string            `protobuf:"bytes,9,opt,name=serviceLineItemParentId,proto3" json:"serviceLineItemParentId,omitempty"`
	// contains filtered or unexported fields
}

func (*InvoiceLine) Descriptor deprecated

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

Deprecated: Use InvoiceLine.ProtoReflect.Descriptor instead.

func (*InvoiceLine) GetAmount

func (x *InvoiceLine) GetAmount() float64

func (*InvoiceLine) GetBilledType

func (x *InvoiceLine) GetBilledType() common.BilledType

func (*InvoiceLine) GetName

func (x *InvoiceLine) GetName() string

func (*InvoiceLine) GetPrice

func (x *InvoiceLine) GetPrice() float64

func (*InvoiceLine) GetQuantity

func (x *InvoiceLine) GetQuantity() int64

func (*InvoiceLine) GetServiceLineItemId

func (x *InvoiceLine) GetServiceLineItemId() string

func (*InvoiceLine) GetServiceLineItemParentId

func (x *InvoiceLine) GetServiceLineItemParentId() string

func (*InvoiceLine) GetTotal

func (x *InvoiceLine) GetTotal() float64

func (*InvoiceLine) GetVat

func (x *InvoiceLine) GetVat() float64

func (*InvoiceLine) ProtoMessage

func (*InvoiceLine) ProtoMessage()

func (*InvoiceLine) ProtoReflect

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

func (*InvoiceLine) Reset

func (x *InvoiceLine) Reset()

func (*InvoiceLine) String

func (x *InvoiceLine) String() string

type InvoiceStatus

type InvoiceStatus int32
const (
	InvoiceStatus_INVOICE_STATUS_NONE        InvoiceStatus = 0
	InvoiceStatus_INVOICE_STATUS_INITIALIZED InvoiceStatus = 1
	InvoiceStatus_INVOICE_STATUS_DUE         InvoiceStatus = 2
	InvoiceStatus_INVOICE_STATUS_PAID        InvoiceStatus = 3
	InvoiceStatus_INVOICE_STATUS_VOID        InvoiceStatus = 4
	InvoiceStatus_INVOICE_STATUS_SCHEDULED   InvoiceStatus = 5
	InvoiceStatus_INVOICE_STATUS_OVERDUE     InvoiceStatus = 6
	InvoiceStatus_INVOICE_STATUS_ON_HOLD     InvoiceStatus = 7
	InvoiceStatus_INVOICE_STATUS_EMPTY       InvoiceStatus = 8
)

func (InvoiceStatus) Descriptor

func (InvoiceStatus) Enum

func (x InvoiceStatus) Enum() *InvoiceStatus

func (InvoiceStatus) EnumDescriptor deprecated

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

Deprecated: Use InvoiceStatus.Descriptor instead.

func (InvoiceStatus) Number

func (InvoiceStatus) String

func (x InvoiceStatus) String() string

func (InvoiceStatus) Type

type NewInvoiceForContractRequest

type NewInvoiceForContractRequest struct {
	Tenant             string                 `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // mandatory
	LoggedInUserId     string                 `protobuf:"bytes,2,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	ContractId         string                 `protobuf:"bytes,3,opt,name=contractId,proto3" json:"contractId,omitempty"` // mandatory
	DryRun             bool                   `protobuf:"varint,5,opt,name=dryRun,proto3" json:"dryRun,omitempty"`
	CreatedAt          *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	SourceFields       *common.SourceFields   `protobuf:"bytes,8,opt,name=sourceFields,proto3" json:"sourceFields,omitempty"`
	InvoicePeriodStart *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=invoicePeriodStart,proto3" json:"invoicePeriodStart,omitempty"` // mandatory
	InvoicePeriodEnd   *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=invoicePeriodEnd,proto3" json:"invoicePeriodEnd,omitempty"`    // mandatory
	Currency           string                 `protobuf:"bytes,11,opt,name=currency,proto3" json:"currency,omitempty"`                    // mandatory
	// Deprecated: Marked as deprecated in invoice.proto.
	BillingCycle         common.BillingCycle `protobuf:"varint,12,opt,name=billingCycle,proto3,enum=BillingCycle" json:"billingCycle,omitempty"`
	Note                 string              `protobuf:"bytes,13,opt,name=note,proto3" json:"note,omitempty"`
	OffCycle             bool                `protobuf:"varint,14,opt,name=offCycle,proto3" json:"offCycle,omitempty"`
	Postpaid             bool                `protobuf:"varint,15,opt,name=postpaid,proto3" json:"postpaid,omitempty"`
	Preview              bool                `protobuf:"varint,16,opt,name=preview,proto3" json:"preview,omitempty"`
	BillingCycleInMonths int64               `protobuf:"varint,17,opt,name=billingCycleInMonths,proto3" json:"billingCycleInMonths,omitempty"`
	// contains filtered or unexported fields
}

func (*NewInvoiceForContractRequest) Descriptor deprecated

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

Deprecated: Use NewInvoiceForContractRequest.ProtoReflect.Descriptor instead.

func (*NewInvoiceForContractRequest) GetBillingCycle deprecated

func (x *NewInvoiceForContractRequest) GetBillingCycle() common.BillingCycle

Deprecated: Marked as deprecated in invoice.proto.

func (*NewInvoiceForContractRequest) GetBillingCycleInMonths

func (x *NewInvoiceForContractRequest) GetBillingCycleInMonths() int64

func (*NewInvoiceForContractRequest) GetContractId

func (x *NewInvoiceForContractRequest) GetContractId() string

func (*NewInvoiceForContractRequest) GetCreatedAt

func (*NewInvoiceForContractRequest) GetCurrency

func (x *NewInvoiceForContractRequest) GetCurrency() string

func (*NewInvoiceForContractRequest) GetDryRun

func (x *NewInvoiceForContractRequest) GetDryRun() bool

func (*NewInvoiceForContractRequest) GetInvoicePeriodEnd

func (x *NewInvoiceForContractRequest) GetInvoicePeriodEnd() *timestamppb.Timestamp

func (*NewInvoiceForContractRequest) GetInvoicePeriodStart

func (x *NewInvoiceForContractRequest) GetInvoicePeriodStart() *timestamppb.Timestamp

func (*NewInvoiceForContractRequest) GetLoggedInUserId

func (x *NewInvoiceForContractRequest) GetLoggedInUserId() string

func (*NewInvoiceForContractRequest) GetNote

func (x *NewInvoiceForContractRequest) GetNote() string

func (*NewInvoiceForContractRequest) GetOffCycle

func (x *NewInvoiceForContractRequest) GetOffCycle() bool

func (*NewInvoiceForContractRequest) GetPostpaid

func (x *NewInvoiceForContractRequest) GetPostpaid() bool

func (*NewInvoiceForContractRequest) GetPreview

func (x *NewInvoiceForContractRequest) GetPreview() bool

func (*NewInvoiceForContractRequest) GetSourceFields

func (x *NewInvoiceForContractRequest) GetSourceFields() *common.SourceFields

func (*NewInvoiceForContractRequest) GetTenant

func (x *NewInvoiceForContractRequest) GetTenant() string

func (*NewInvoiceForContractRequest) ProtoMessage

func (*NewInvoiceForContractRequest) ProtoMessage()

func (*NewInvoiceForContractRequest) ProtoReflect

func (*NewInvoiceForContractRequest) Reset

func (x *NewInvoiceForContractRequest) Reset()

func (*NewInvoiceForContractRequest) String

type NextPreviewInvoiceForContractRequest

type NextPreviewInvoiceForContractRequest struct {
	Tenant     string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	ContractId string `protobuf:"bytes,2,opt,name=contractId,proto3" json:"contractId,omitempty"`
	AppSource  string `protobuf:"bytes,3,opt,name=appSource,proto3" json:"appSource,omitempty"`
	// contains filtered or unexported fields
}

func (*NextPreviewInvoiceForContractRequest) Descriptor deprecated

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

Deprecated: Use NextPreviewInvoiceForContractRequest.ProtoReflect.Descriptor instead.

func (*NextPreviewInvoiceForContractRequest) GetAppSource

func (x *NextPreviewInvoiceForContractRequest) GetAppSource() string

func (*NextPreviewInvoiceForContractRequest) GetContractId

func (x *NextPreviewInvoiceForContractRequest) GetContractId() string

func (*NextPreviewInvoiceForContractRequest) GetTenant

func (*NextPreviewInvoiceForContractRequest) ProtoMessage

func (*NextPreviewInvoiceForContractRequest) ProtoMessage()

func (*NextPreviewInvoiceForContractRequest) ProtoReflect

func (*NextPreviewInvoiceForContractRequest) Reset

func (*NextPreviewInvoiceForContractRequest) String

type PayInvoiceNotificationRequest

type PayInvoiceNotificationRequest struct {
	Tenant         string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	InvoiceId      string `protobuf:"bytes,2,opt,name=invoiceId,proto3" json:"invoiceId,omitempty"`
	LoggedInUserId string `protobuf:"bytes,3,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	AppSource      string `protobuf:"bytes,4,opt,name=appSource,proto3" json:"appSource,omitempty"`
	// contains filtered or unexported fields
}

func (*PayInvoiceNotificationRequest) Descriptor deprecated

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

Deprecated: Use PayInvoiceNotificationRequest.ProtoReflect.Descriptor instead.

func (*PayInvoiceNotificationRequest) GetAppSource

func (x *PayInvoiceNotificationRequest) GetAppSource() string

func (*PayInvoiceNotificationRequest) GetInvoiceId

func (x *PayInvoiceNotificationRequest) GetInvoiceId() string

func (*PayInvoiceNotificationRequest) GetLoggedInUserId

func (x *PayInvoiceNotificationRequest) GetLoggedInUserId() string

func (*PayInvoiceNotificationRequest) GetTenant

func (x *PayInvoiceNotificationRequest) GetTenant() string

func (*PayInvoiceNotificationRequest) ProtoMessage

func (*PayInvoiceNotificationRequest) ProtoMessage()

func (*PayInvoiceNotificationRequest) ProtoReflect

func (*PayInvoiceNotificationRequest) Reset

func (x *PayInvoiceNotificationRequest) Reset()

func (*PayInvoiceNotificationRequest) String

type PdfGeneratedInvoiceRequest

type PdfGeneratedInvoiceRequest struct {
	Tenant           string                 `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	LoggedInUserId   string                 `protobuf:"bytes,2,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	InvoiceId        string                 `protobuf:"bytes,3,opt,name=invoiceId,proto3" json:"invoiceId,omitempty"`
	RepositoryFileId string                 `protobuf:"bytes,4,opt,name=repositoryFileId,proto3" json:"repositoryFileId,omitempty"`
	UpdatedAt        *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	AppSource        string                 `protobuf:"bytes,6,opt,name=appSource,proto3" json:"appSource,omitempty"`
	// contains filtered or unexported fields
}

func (*PdfGeneratedInvoiceRequest) Descriptor deprecated

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

Deprecated: Use PdfGeneratedInvoiceRequest.ProtoReflect.Descriptor instead.

func (*PdfGeneratedInvoiceRequest) GetAppSource

func (x *PdfGeneratedInvoiceRequest) GetAppSource() string

func (*PdfGeneratedInvoiceRequest) GetInvoiceId

func (x *PdfGeneratedInvoiceRequest) GetInvoiceId() string

func (*PdfGeneratedInvoiceRequest) GetLoggedInUserId

func (x *PdfGeneratedInvoiceRequest) GetLoggedInUserId() string

func (*PdfGeneratedInvoiceRequest) GetRepositoryFileId

func (x *PdfGeneratedInvoiceRequest) GetRepositoryFileId() string

func (*PdfGeneratedInvoiceRequest) GetTenant

func (x *PdfGeneratedInvoiceRequest) GetTenant() string

func (*PdfGeneratedInvoiceRequest) GetUpdatedAt

func (*PdfGeneratedInvoiceRequest) ProtoMessage

func (*PdfGeneratedInvoiceRequest) ProtoMessage()

func (*PdfGeneratedInvoiceRequest) ProtoReflect

func (*PdfGeneratedInvoiceRequest) Reset

func (x *PdfGeneratedInvoiceRequest) Reset()

func (*PdfGeneratedInvoiceRequest) String

func (x *PdfGeneratedInvoiceRequest) String() string

type PermanentlyDeleteInitializedInvoiceRequest

type PermanentlyDeleteInitializedInvoiceRequest struct {
	Tenant         string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	InvoiceId      string `protobuf:"bytes,2,opt,name=invoiceId,proto3" json:"invoiceId,omitempty"`
	LoggedInUserId string `protobuf:"bytes,3,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	AppSource      string `protobuf:"bytes,4,opt,name=appSource,proto3" json:"appSource,omitempty"`
	// contains filtered or unexported fields
}

func (*PermanentlyDeleteInitializedInvoiceRequest) Descriptor deprecated

Deprecated: Use PermanentlyDeleteInitializedInvoiceRequest.ProtoReflect.Descriptor instead.

func (*PermanentlyDeleteInitializedInvoiceRequest) GetAppSource

func (*PermanentlyDeleteInitializedInvoiceRequest) GetInvoiceId

func (*PermanentlyDeleteInitializedInvoiceRequest) GetLoggedInUserId

func (x *PermanentlyDeleteInitializedInvoiceRequest) GetLoggedInUserId() string

func (*PermanentlyDeleteInitializedInvoiceRequest) GetTenant

func (*PermanentlyDeleteInitializedInvoiceRequest) ProtoMessage

func (*PermanentlyDeleteInitializedInvoiceRequest) ProtoReflect

func (*PermanentlyDeleteInitializedInvoiceRequest) Reset

func (*PermanentlyDeleteInitializedInvoiceRequest) String

type RemindInvoiceNotificationRequest

type RemindInvoiceNotificationRequest struct {
	Tenant         string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	InvoiceId      string `protobuf:"bytes,2,opt,name=invoiceId,proto3" json:"invoiceId,omitempty"`
	LoggedInUserId string `protobuf:"bytes,3,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	AppSource      string `protobuf:"bytes,4,opt,name=appSource,proto3" json:"appSource,omitempty"`
	// contains filtered or unexported fields
}

func (*RemindInvoiceNotificationRequest) Descriptor deprecated

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

Deprecated: Use RemindInvoiceNotificationRequest.ProtoReflect.Descriptor instead.

func (*RemindInvoiceNotificationRequest) GetAppSource

func (x *RemindInvoiceNotificationRequest) GetAppSource() string

func (*RemindInvoiceNotificationRequest) GetInvoiceId

func (x *RemindInvoiceNotificationRequest) GetInvoiceId() string

func (*RemindInvoiceNotificationRequest) GetLoggedInUserId

func (x *RemindInvoiceNotificationRequest) GetLoggedInUserId() string

func (*RemindInvoiceNotificationRequest) GetTenant

func (*RemindInvoiceNotificationRequest) ProtoMessage

func (*RemindInvoiceNotificationRequest) ProtoMessage()

func (*RemindInvoiceNotificationRequest) ProtoReflect

func (*RemindInvoiceNotificationRequest) Reset

func (*RemindInvoiceNotificationRequest) String

type RequestFillInvoiceRequest

type RequestFillInvoiceRequest struct {
	Tenant         string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	InvoiceId      string `protobuf:"bytes,2,opt,name=invoiceId,proto3" json:"invoiceId,omitempty"`
	ContractId     string `protobuf:"bytes,3,opt,name=contractId,proto3" json:"contractId,omitempty"`
	LoggedInUserId string `protobuf:"bytes,4,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	AppSource      string `protobuf:"bytes,5,opt,name=appSource,proto3" json:"appSource,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestFillInvoiceRequest) Descriptor deprecated

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

Deprecated: Use RequestFillInvoiceRequest.ProtoReflect.Descriptor instead.

func (*RequestFillInvoiceRequest) GetAppSource

func (x *RequestFillInvoiceRequest) GetAppSource() string

func (*RequestFillInvoiceRequest) GetContractId

func (x *RequestFillInvoiceRequest) GetContractId() string

func (*RequestFillInvoiceRequest) GetInvoiceId

func (x *RequestFillInvoiceRequest) GetInvoiceId() string

func (*RequestFillInvoiceRequest) GetLoggedInUserId

func (x *RequestFillInvoiceRequest) GetLoggedInUserId() string

func (*RequestFillInvoiceRequest) GetTenant

func (x *RequestFillInvoiceRequest) GetTenant() string

func (*RequestFillInvoiceRequest) ProtoMessage

func (*RequestFillInvoiceRequest) ProtoMessage()

func (*RequestFillInvoiceRequest) ProtoReflect

func (*RequestFillInvoiceRequest) Reset

func (x *RequestFillInvoiceRequest) Reset()

func (*RequestFillInvoiceRequest) String

func (x *RequestFillInvoiceRequest) String() string

type UnimplementedInvoiceGrpcServiceServer

type UnimplementedInvoiceGrpcServiceServer struct {
}

UnimplementedInvoiceGrpcServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedInvoiceGrpcServiceServer) FillInvoice

func (UnimplementedInvoiceGrpcServiceServer) GenerateInvoicePdf

func (UnimplementedInvoiceGrpcServiceServer) NewInvoiceForContract

func (UnimplementedInvoiceGrpcServiceServer) NextPreviewInvoiceForContract

func (UnimplementedInvoiceGrpcServiceServer) PayInvoiceNotification

func (UnimplementedInvoiceGrpcServiceServer) PdfGeneratedInvoice

func (UnimplementedInvoiceGrpcServiceServer) PermanentlyDeleteInitializedInvoice

func (UnimplementedInvoiceGrpcServiceServer) RemindInvoiceNotification

func (UnimplementedInvoiceGrpcServiceServer) RequestFillInvoice

func (UnimplementedInvoiceGrpcServiceServer) VoidInvoice

type UnsafeInvoiceGrpcServiceServer

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

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

type VoidInvoiceRequest

type VoidInvoiceRequest struct {
	Tenant         string                 `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	InvoiceId      string                 `protobuf:"bytes,2,opt,name=invoiceId,proto3" json:"invoiceId,omitempty"`
	LoggedInUserId string                 `protobuf:"bytes,3,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	AppSource      string                 `protobuf:"bytes,4,opt,name=appSource,proto3" json:"appSource,omitempty"`
	UpdatedAt      *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*VoidInvoiceRequest) Descriptor deprecated

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

Deprecated: Use VoidInvoiceRequest.ProtoReflect.Descriptor instead.

func (*VoidInvoiceRequest) GetAppSource

func (x *VoidInvoiceRequest) GetAppSource() string

func (*VoidInvoiceRequest) GetInvoiceId

func (x *VoidInvoiceRequest) GetInvoiceId() string

func (*VoidInvoiceRequest) GetLoggedInUserId

func (x *VoidInvoiceRequest) GetLoggedInUserId() string

func (*VoidInvoiceRequest) GetTenant

func (x *VoidInvoiceRequest) GetTenant() string

func (*VoidInvoiceRequest) GetUpdatedAt

func (x *VoidInvoiceRequest) GetUpdatedAt() *timestamppb.Timestamp

func (*VoidInvoiceRequest) ProtoMessage

func (*VoidInvoiceRequest) ProtoMessage()

func (*VoidInvoiceRequest) ProtoReflect

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

func (*VoidInvoiceRequest) Reset

func (x *VoidInvoiceRequest) Reset()

func (*VoidInvoiceRequest) String

func (x *VoidInvoiceRequest) String() string

Jump to

Keyboard shortcuts

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