invoicing_cycle_grpc_service

package
v0.0.0-...-283347b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InvoicingDateType_name = map[int32]string{
		0: "DATE",
		1: "ANNIVERSARY",
	}
	InvoicingDateType_value = map[string]int32{
		"DATE":        0,
		"ANNIVERSARY": 1,
	}
)

Enum value maps for InvoicingDateType.

View Source
var (
	BillingDateType_name = map[int32]string{
		0: "MONTHLY",
		1: "QUARTERLY",
		2: "ANNUALLY",
	}
	BillingDateType_value = map[string]int32{
		"MONTHLY":   0,
		"QUARTERLY": 1,
		"ANNUALLY":  2,
	}
)

Enum value maps for BillingDateType.

View Source
var File_invoicing_cycle_proto protoreflect.FileDescriptor
View Source
var InvoicingCycleGrpcService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "InvoicingCycleGrpcService",
	HandlerType: (*InvoicingCycleGrpcServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateInvoicingCycleType",
			Handler:    _InvoicingCycleGrpcService_CreateInvoicingCycleType_Handler,
		},
		{
			MethodName: "UpdateInvoicingCycleType",
			Handler:    _InvoicingCycleGrpcService_UpdateInvoicingCycleType_Handler,
		},
		{
			MethodName: "CreateInvoicingCycleDay",
			Handler:    _InvoicingCycleGrpcService_CreateInvoicingCycleDay_Handler,
		},
		{
			MethodName: "UpdateInvoicingCycleDay",
			Handler:    _InvoicingCycleGrpcService_UpdateInvoicingCycleDay_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "invoicing_cycle.proto",
}

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

Functions

func RegisterInvoicingCycleGrpcServiceServer

func RegisterInvoicingCycleGrpcServiceServer(s grpc.ServiceRegistrar, srv InvoicingCycleGrpcServiceServer)

Types

type BillingDateType

type BillingDateType int32
const (
	BillingDateType_MONTHLY   BillingDateType = 0
	BillingDateType_QUARTERLY BillingDateType = 1
	BillingDateType_ANNUALLY  BillingDateType = 2
)

func (BillingDateType) Descriptor

func (BillingDateType) Enum

func (x BillingDateType) Enum() *BillingDateType

func (BillingDateType) EnumDescriptor deprecated

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

Deprecated: Use BillingDateType.Descriptor instead.

func (BillingDateType) Number

func (BillingDateType) String

func (x BillingDateType) String() string

func (BillingDateType) Type

type CreateInvoicingCycleDayRequest

type CreateInvoicingCycleDayRequest 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"`
	Type           BillingDateType        `protobuf:"varint,3,opt,name=type,proto3,enum=BillingDateType" json:"type,omitempty"`
	CreatedAt      *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	SourceFields   *common.SourceFields   `protobuf:"bytes,5,opt,name=sourceFields,proto3" json:"sourceFields,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateInvoicingCycleDayRequest) Descriptor deprecated

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

Deprecated: Use CreateInvoicingCycleDayRequest.ProtoReflect.Descriptor instead.

func (*CreateInvoicingCycleDayRequest) GetCreatedAt

func (*CreateInvoicingCycleDayRequest) GetLoggedInUserId

func (x *CreateInvoicingCycleDayRequest) GetLoggedInUserId() string

func (*CreateInvoicingCycleDayRequest) GetSourceFields

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

func (*CreateInvoicingCycleDayRequest) GetTenant

func (x *CreateInvoicingCycleDayRequest) GetTenant() string

func (*CreateInvoicingCycleDayRequest) GetType

func (*CreateInvoicingCycleDayRequest) ProtoMessage

func (*CreateInvoicingCycleDayRequest) ProtoMessage()

func (*CreateInvoicingCycleDayRequest) ProtoReflect

func (*CreateInvoicingCycleDayRequest) Reset

func (x *CreateInvoicingCycleDayRequest) Reset()

func (*CreateInvoicingCycleDayRequest) String

type CreateInvoicingCycleTypeRequest

type CreateInvoicingCycleTypeRequest 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"`
	Type           InvoicingDateType      `protobuf:"varint,3,opt,name=type,proto3,enum=InvoicingDateType" json:"type,omitempty"`
	CreatedAt      *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	SourceFields   *common.SourceFields   `protobuf:"bytes,5,opt,name=sourceFields,proto3" json:"sourceFields,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateInvoicingCycleTypeRequest) Descriptor deprecated

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

Deprecated: Use CreateInvoicingCycleTypeRequest.ProtoReflect.Descriptor instead.

func (*CreateInvoicingCycleTypeRequest) GetCreatedAt

func (*CreateInvoicingCycleTypeRequest) GetLoggedInUserId

func (x *CreateInvoicingCycleTypeRequest) GetLoggedInUserId() string

func (*CreateInvoicingCycleTypeRequest) GetSourceFields

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

func (*CreateInvoicingCycleTypeRequest) GetTenant

func (x *CreateInvoicingCycleTypeRequest) GetTenant() string

func (*CreateInvoicingCycleTypeRequest) GetType

func (*CreateInvoicingCycleTypeRequest) ProtoMessage

func (*CreateInvoicingCycleTypeRequest) ProtoMessage()

func (*CreateInvoicingCycleTypeRequest) ProtoReflect

func (*CreateInvoicingCycleTypeRequest) Reset

func (*CreateInvoicingCycleTypeRequest) String

type InvoicingCycleDayResponse

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

func (*InvoicingCycleDayResponse) Descriptor deprecated

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

Deprecated: Use InvoicingCycleDayResponse.ProtoReflect.Descriptor instead.

func (*InvoicingCycleDayResponse) GetId

func (x *InvoicingCycleDayResponse) GetId() string

func (*InvoicingCycleDayResponse) ProtoMessage

func (*InvoicingCycleDayResponse) ProtoMessage()

func (*InvoicingCycleDayResponse) ProtoReflect

func (*InvoicingCycleDayResponse) Reset

func (x *InvoicingCycleDayResponse) Reset()

func (*InvoicingCycleDayResponse) String

func (x *InvoicingCycleDayResponse) String() string

type InvoicingCycleGrpcServiceClient

type InvoicingCycleGrpcServiceClient interface {
	CreateInvoicingCycleType(ctx context.Context, in *CreateInvoicingCycleTypeRequest, opts ...grpc.CallOption) (*InvoicingCycleTypeResponse, error)
	UpdateInvoicingCycleType(ctx context.Context, in *UpdateInvoicingCycleTypeRequest, opts ...grpc.CallOption) (*InvoicingCycleTypeResponse, error)
	CreateInvoicingCycleDay(ctx context.Context, in *CreateInvoicingCycleDayRequest, opts ...grpc.CallOption) (*InvoicingCycleDayResponse, error)
	UpdateInvoicingCycleDay(ctx context.Context, in *UpdateInvoicingCycleDayRequest, opts ...grpc.CallOption) (*InvoicingCycleDayResponse, error)
}

InvoicingCycleGrpcServiceClient is the client API for InvoicingCycleGrpcService 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 InvoicingCycleGrpcServiceServer

InvoicingCycleGrpcServiceServer is the server API for InvoicingCycleGrpcService service. All implementations should embed UnimplementedInvoicingCycleGrpcServiceServer for forward compatibility

type InvoicingCycleTypeResponse

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

func (*InvoicingCycleTypeResponse) Descriptor deprecated

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

Deprecated: Use InvoicingCycleTypeResponse.ProtoReflect.Descriptor instead.

func (*InvoicingCycleTypeResponse) GetId

func (*InvoicingCycleTypeResponse) ProtoMessage

func (*InvoicingCycleTypeResponse) ProtoMessage()

func (*InvoicingCycleTypeResponse) ProtoReflect

func (*InvoicingCycleTypeResponse) Reset

func (x *InvoicingCycleTypeResponse) Reset()

func (*InvoicingCycleTypeResponse) String

func (x *InvoicingCycleTypeResponse) String() string

type InvoicingDateType

type InvoicingDateType int32
const (
	InvoicingDateType_DATE        InvoicingDateType = 0
	InvoicingDateType_ANNIVERSARY InvoicingDateType = 1
)

func (InvoicingDateType) Descriptor

func (InvoicingDateType) Enum

func (InvoicingDateType) EnumDescriptor deprecated

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

Deprecated: Use InvoicingDateType.Descriptor instead.

func (InvoicingDateType) Number

func (InvoicingDateType) String

func (x InvoicingDateType) String() string

func (InvoicingDateType) Type

type UnimplementedInvoicingCycleGrpcServiceServer

type UnimplementedInvoicingCycleGrpcServiceServer struct {
}

UnimplementedInvoicingCycleGrpcServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedInvoicingCycleGrpcServiceServer) CreateInvoicingCycleDay

func (UnimplementedInvoicingCycleGrpcServiceServer) CreateInvoicingCycleType

func (UnimplementedInvoicingCycleGrpcServiceServer) UpdateInvoicingCycleDay

func (UnimplementedInvoicingCycleGrpcServiceServer) UpdateInvoicingCycleType

type UnsafeInvoicingCycleGrpcServiceServer

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

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

type UpdateInvoicingCycleDayRequest

type UpdateInvoicingCycleDayRequest struct {
	InvoicingCycleDayRequestId string                 `protobuf:"bytes,1,opt,name=invoicingCycleDayRequestId,proto3" json:"invoicingCycleDayRequestId,omitempty"`
	Tenant                     string                 `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
	LoggedInUserId             string                 `protobuf:"bytes,3,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	Type                       BillingDateType        `protobuf:"varint,4,opt,name=type,proto3,enum=BillingDateType" json:"type,omitempty"`
	CreatedAt                  *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	SourceFields               *common.SourceFields   `protobuf:"bytes,6,opt,name=sourceFields,proto3" json:"sourceFields,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateInvoicingCycleDayRequest) Descriptor deprecated

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

Deprecated: Use UpdateInvoicingCycleDayRequest.ProtoReflect.Descriptor instead.

func (*UpdateInvoicingCycleDayRequest) GetCreatedAt

func (*UpdateInvoicingCycleDayRequest) GetInvoicingCycleDayRequestId

func (x *UpdateInvoicingCycleDayRequest) GetInvoicingCycleDayRequestId() string

func (*UpdateInvoicingCycleDayRequest) GetLoggedInUserId

func (x *UpdateInvoicingCycleDayRequest) GetLoggedInUserId() string

func (*UpdateInvoicingCycleDayRequest) GetSourceFields

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

func (*UpdateInvoicingCycleDayRequest) GetTenant

func (x *UpdateInvoicingCycleDayRequest) GetTenant() string

func (*UpdateInvoicingCycleDayRequest) GetType

func (*UpdateInvoicingCycleDayRequest) ProtoMessage

func (*UpdateInvoicingCycleDayRequest) ProtoMessage()

func (*UpdateInvoicingCycleDayRequest) ProtoReflect

func (*UpdateInvoicingCycleDayRequest) Reset

func (x *UpdateInvoicingCycleDayRequest) Reset()

func (*UpdateInvoicingCycleDayRequest) String

type UpdateInvoicingCycleTypeRequest

type UpdateInvoicingCycleTypeRequest struct {
	InvoicingCycleTypeId string                 `protobuf:"bytes,1,opt,name=invoicingCycleTypeId,proto3" json:"invoicingCycleTypeId,omitempty"`
	Tenant               string                 `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
	LoggedInUserId       string                 `protobuf:"bytes,3,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	Type                 InvoicingDateType      `protobuf:"varint,4,opt,name=type,proto3,enum=InvoicingDateType" json:"type,omitempty"`
	UpdatedAt            *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	SourceFields         *common.SourceFields   `protobuf:"bytes,6,opt,name=sourceFields,proto3" json:"sourceFields,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateInvoicingCycleTypeRequest) Descriptor deprecated

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

Deprecated: Use UpdateInvoicingCycleTypeRequest.ProtoReflect.Descriptor instead.

func (*UpdateInvoicingCycleTypeRequest) GetInvoicingCycleTypeId

func (x *UpdateInvoicingCycleTypeRequest) GetInvoicingCycleTypeId() string

func (*UpdateInvoicingCycleTypeRequest) GetLoggedInUserId

func (x *UpdateInvoicingCycleTypeRequest) GetLoggedInUserId() string

func (*UpdateInvoicingCycleTypeRequest) GetSourceFields

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

func (*UpdateInvoicingCycleTypeRequest) GetTenant

func (x *UpdateInvoicingCycleTypeRequest) GetTenant() string

func (*UpdateInvoicingCycleTypeRequest) GetType

func (*UpdateInvoicingCycleTypeRequest) GetUpdatedAt

func (*UpdateInvoicingCycleTypeRequest) ProtoMessage

func (*UpdateInvoicingCycleTypeRequest) ProtoMessage()

func (*UpdateInvoicingCycleTypeRequest) ProtoReflect

func (*UpdateInvoicingCycleTypeRequest) Reset

func (*UpdateInvoicingCycleTypeRequest) String

Jump to

Keyboard shortcuts

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