billingv1alpha2

package
v1.9.6 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BillingService_CreateDefaultRateDefinition_FullMethodName  = "/services.billing.v1alpha2.BillingService/CreateDefaultRateDefinition"
	BillingService_CreateDefaultRateDefinitions_FullMethodName = "/services.billing.v1alpha2.BillingService/CreateDefaultRateDefinitions"
	BillingService_CreateRateDefinition_FullMethodName         = "/services.billing.v1alpha2.BillingService/CreateRateDefinition"
	BillingService_CreateRateDefinitions_FullMethodName        = "/services.billing.v1alpha2.BillingService/CreateRateDefinitions"
	BillingService_DeleteDefaultRateDefinition_FullMethodName  = "/services.billing.v1alpha2.BillingService/DeleteDefaultRateDefinition"
	BillingService_DeleteDefaultRateDefinitions_FullMethodName = "/services.billing.v1alpha2.BillingService/DeleteDefaultRateDefinitions"
	BillingService_DeleteRateDefinition_FullMethodName         = "/services.billing.v1alpha2.BillingService/DeleteRateDefinition"
	BillingService_DeleteRateDefinitions_FullMethodName        = "/services.billing.v1alpha2.BillingService/DeleteRateDefinitions"
	BillingService_ExportInvoice_FullMethodName                = "/services.billing.v1alpha2.BillingService/ExportInvoice"
	BillingService_GetRateDefinition_FullMethodName            = "/services.billing.v1alpha2.BillingService/GetRateDefinition"
	BillingService_GetRateHistory_FullMethodName               = "/services.billing.v1alpha2.BillingService/GetRateHistory"
	BillingService_ListActiveRateDefinitions_FullMethodName    = "/services.billing.v1alpha2.BillingService/ListActiveRateDefinitions"
	BillingService_ListRateDefinitions_FullMethodName          = "/services.billing.v1alpha2.BillingService/ListRateDefinitions"
	BillingService_UpdateDefaultRateDefinition_FullMethodName  = "/services.billing.v1alpha2.BillingService/UpdateDefaultRateDefinition"
	BillingService_UpdateRateDefinition_FullMethodName         = "/services.billing.v1alpha2.BillingService/UpdateRateDefinition"
)

Variables

View Source
var (
	Order_name = map[int32]string{
		0: "ORDER_UNSPECIFIED",
		1: "ORDER_DESC",
	}
	Order_value = map[string]int32{
		"ORDER_UNSPECIFIED": 0,
		"ORDER_DESC":        1,
	}
)

Enum value maps for Order.

View Source
var (
	InvoiceFormat_name = map[int32]string{
		0: "INVOICE_FORMAT_UNSPECIFIED",
		1: "INVOICE_FORMAT_CSV",
	}
	InvoiceFormat_value = map[string]int32{
		"INVOICE_FORMAT_UNSPECIFIED": 0,
		"INVOICE_FORMAT_CSV":         1,
	}
)

Enum value maps for InvoiceFormat.

View Source
var BillingService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "services.billing.v1alpha2.BillingService",
	HandlerType: (*BillingServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateDefaultRateDefinition",
			Handler:    _BillingService_CreateDefaultRateDefinition_Handler,
		},
		{
			MethodName: "CreateDefaultRateDefinitions",
			Handler:    _BillingService_CreateDefaultRateDefinitions_Handler,
		},
		{
			MethodName: "CreateRateDefinition",
			Handler:    _BillingService_CreateRateDefinition_Handler,
		},
		{
			MethodName: "CreateRateDefinitions",
			Handler:    _BillingService_CreateRateDefinitions_Handler,
		},
		{
			MethodName: "DeleteDefaultRateDefinition",
			Handler:    _BillingService_DeleteDefaultRateDefinition_Handler,
		},
		{
			MethodName: "DeleteDefaultRateDefinitions",
			Handler:    _BillingService_DeleteDefaultRateDefinitions_Handler,
		},
		{
			MethodName: "DeleteRateDefinition",
			Handler:    _BillingService_DeleteRateDefinition_Handler,
		},
		{
			MethodName: "DeleteRateDefinitions",
			Handler:    _BillingService_DeleteRateDefinitions_Handler,
		},
		{
			MethodName: "ExportInvoice",
			Handler:    _BillingService_ExportInvoice_Handler,
		},
		{
			MethodName: "GetRateDefinition",
			Handler:    _BillingService_GetRateDefinition_Handler,
		},
		{
			MethodName: "GetRateHistory",
			Handler:    _BillingService_GetRateHistory_Handler,
		},
		{
			MethodName: "ListActiveRateDefinitions",
			Handler:    _BillingService_ListActiveRateDefinitions_Handler,
		},
		{
			MethodName: "ListRateDefinitions",
			Handler:    _BillingService_ListRateDefinitions_Handler,
		},
		{
			MethodName: "UpdateDefaultRateDefinition",
			Handler:    _BillingService_UpdateDefaultRateDefinition_Handler,
		},
		{
			MethodName: "UpdateRateDefinition",
			Handler:    _BillingService_UpdateRateDefinition_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "services/billing/v1alpha2/service.proto",
}

BillingService_ServiceDesc is the grpc.ServiceDesc for BillingService 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_services_billing_v1alpha2_core_proto protoreflect.FileDescriptor
View Source
var File_services_billing_v1alpha2_invoices_proto protoreflect.FileDescriptor
View Source
var File_services_billing_v1alpha2_rates_proto protoreflect.FileDescriptor
View Source
var File_services_billing_v1alpha2_service_proto protoreflect.FileDescriptor

Functions

func RegisterBillingServiceServer

func RegisterBillingServiceServer(s grpc.ServiceRegistrar, srv BillingServiceServer)

Types

type BillingServiceClient

type BillingServiceClient interface {
	// Creates a rate definition for the REGION.
	// Required permissions:
	//
	//	CUSTOMER_SUPPORT
	//	TCN_BILLING_ADMIN
	//
	// Errors:
	//   - grpc.AlreadyExists: A rate definition with the same data already exists.
	//   - grpc.Internal: An internal error occurred.
	//   - grpc.InvalidArgument: The request is invalid.
	//   - grpc.PermissionDenied: Caller doesn't have the required permissions.
	//   - grpc.Unavailable: The operation is currently unavailable.
	CreateDefaultRateDefinition(ctx context.Context, in *CreateDefaultRateDefinitionRequest, opts ...grpc.CallOption) (*CreateDefaultRateDefinitionResponse, error)
	// Creates rate definitions for the REGION.
	// Required permissions:
	//
	//	CUSTOMER_SUPPORT
	//	TCN_BILLING_ADMIN
	//
	// Errors:
	//   - grpc.AlreadyExists: A rate definition with the same data already exists.
	//   - grpc.Internal: An internal error occurred.
	//   - grpc.InvalidArgument: The request is invalid.
	//   - grpc.PermissionDenied: Caller doesn't have the required permissions.
	//   - grpc.Unavailable: The operation is currently unavailable.
	CreateDefaultRateDefinitions(ctx context.Context, in *CreateDefaultRateDefinitionsRequest, opts ...grpc.CallOption) (*CreateDefaultRateDefinitionsResponse, error)
	// Creates a rate definition for an ORG.
	// Required permissions:
	//
	//	CUSTOMER_SUPPORT
	//
	// Errors:
	//   - grpc.AlreadyExists: A rate definition with the same data already exists.
	//   - grpc.Internal: An internal error occurred.
	//   - grpc.InvalidArgument: The request is invalid.
	//   - grpc.PermissionDenied: Caller doesn't have the required permissions.
	//   - grpc.Unavailable: The operation is currently unavailable. Likely a transient issue with a downstream service.
	CreateRateDefinition(ctx context.Context, in *CreateRateDefinitionRequest, opts ...grpc.CallOption) (*CreateRateDefinitionResponse, error)
	// Creates rate definitions for an ORG.
	// Required permissions:
	//
	//	CUSTOMER_SUPPORT
	//
	// Errors:
	//   - grpc.AlreadyExists: A rate definition with the same data already exists.
	//   - grpc.Internal: An internal error occurred.
	//   - grpc.InvalidArgument: The request is invalid.
	//   - grpc.PermissionDenied: Caller doesn't have the required permissions.
	//   - grpc.Unavailable: The operation is currently unavailable. Likely a transient issue with a downstream service.
	CreateRateDefinitions(ctx context.Context, in *CreateRateDefinitionsRequest, opts ...grpc.CallOption) (*CreateRateDefinitionsResponse, error)
	// Deletes a rate definition from the REGION.
	// Required permissions:
	//
	//	CUSTOMER_SUPPORT
	//	TCN_BILLING_ADMIN
	//
	// Errors:
	//   - grpc.Internal: An internal error occurred.
	//   - grpc.InvalidArgument: The request is invalid.
	//   - grpc.NotFound: The rate definition doesn't exist.
	//   - grpc.PermissionDenied: Caller doesn't have the required permissions.
	//   - grpc.Unavailable: The operation is currently unavailable.
	DeleteDefaultRateDefinition(ctx context.Context, in *DeleteDefaultRateDefinitionRequest, opts ...grpc.CallOption) (*DeleteDefaultRateDefinitionResponse, error)
	// Deletes rate definitions from the REGION.
	// Required permissions:
	//
	//	CUSTOMER_SUPPORT
	//	TCN_BILLING_ADMIN
	//
	// Errors:
	//   - grpc.Internal: An internal error occurred.
	//   - grpc.InvalidArgument: The request is invalid.
	//   - grpc.NotFound: The rate definition doesn't exist.
	//   - grpc.PermissionDenied: Caller doesn't have the required permissions.
	//   - grpc.Unavailable: The operation is currently unavailable.
	DeleteDefaultRateDefinitions(ctx context.Context, in *DeleteDefaultRateDefinitionsRequest, opts ...grpc.CallOption) (*DeleteDefaultRateDefinitionsResponse, error)
	// Deletes a rate definition from an ORG.
	// Required permissions:
	//
	//	CUSTOMER_SUPPORT
	//
	// Errors:
	//   - grpc.Internal: An internal error occurred.
	//   - grpc.InvalidArgument: The request is invalid.
	//   - grpc.NotFound: The specified rate definition doesn't exist.
	//   - grpc.PermissionDenied: Caller doesn't have the required permissions.
	//   - grpc.Unavailable: The operation is currently unavailable. Likely a transient issue with a downstream service.
	DeleteRateDefinition(ctx context.Context, in *DeleteRateDefinitionRequest, opts ...grpc.CallOption) (*DeleteRateDefinitionResponse, error)
	// Deletes rate definitions from an ORG.
	// Required permissions:
	//
	//	CUSTOMER_SUPPORT
	//
	// Errors:
	//   - grpc.Internal: An internal error occurred.
	//   - grpc.InvalidArgument: The request is invalid.
	//   - grpc.NotFound: The specified rate definition doesn't exist.
	//   - grpc.PermissionDenied: Caller doesn't have the required permissions.
	//   - grpc.Unavailable: The operation is currently unavailable. Likely a transient issue with a downstream service.
	DeleteRateDefinitions(ctx context.Context, in *DeleteRateDefinitionsRequest, opts ...grpc.CallOption) (*DeleteRateDefinitionsResponse, error)
	// Exports an invoice.
	// Required permissions:
	//
	//	TCN_BILLING_ADMIN
	//
	// Errors:
	//   - grpc.Internal: An internal error occurred.
	//   - grpc.InvalidArgument: The request is invalid.
	//   - grpc.PermissionDenied: Caller doesn't have the required permissions.
	//   - grpc.Unavailable: The operation is currently unavailable. Likely a transient issue with a downstream service.
	ExportInvoice(ctx context.Context, in *ExportInvoiceRequest, opts ...grpc.CallOption) (*ExportInvoiceResponse, error)
	// Returns the specified rate definition.
	// Required permissions:
	//
	//	CUSTOMER_SUPPORT
	//
	// Errors:
	//   - grpc.Internal: An internal error occurred.
	//   - grpc.InvalidArgument: The request is invalid.
	//   - grpc.NotFound: The specified rate definition doesn't exist.
	//   - grpc.PermissionDenied: Caller doesn't have the required permissions.
	//   - grpc.Unavailable: The operation is currently unavailable.
	GetRateDefinition(ctx context.Context, in *GetRateDefinitionRequest, opts ...grpc.CallOption) (*GetRateDefinitionResponse, error)
	// Returns the rate history for the ORG or REGION.
	// Required permissions:
	//
	//	CUSTOMER_SUPPORT
	//
	// Errors:
	//   - grpc.Internal: An internal error occurred.
	//   - grpc.InvalidArgument: The request is invalid.
	//   - grpc.PermissionDenied: Caller doesn't have the required permissions.
	//   - grpc.Unavailable: The operation is currently unavailable.
	GetRateHistory(ctx context.Context, in *GetRateHistoryRequest, opts ...grpc.CallOption) (*GetRateHistoryResponse, error)
	// Lists active rate definitions.
	// Required permissions:
	//
	//	CUSTOMER_SUPPORT
	//
	// Errors:
	//   - grpc.Internal: An internal error occurred.
	//   - grpc.InvalidArgument: The request is invalid.
	//   - grpc.PermissionDenied: Caller doesn't have the required permissions.
	//   - grpc.Unavailable: The operation is currently unavailable.
	ListActiveRateDefinitions(ctx context.Context, in *ListActiveRateDefinitionsRequest, opts ...grpc.CallOption) (*ListActiveRateDefinitionsResponse, error)
	// Lists rate definitions.
	// Required permissions:
	//
	//	CUSTOMER_SUPPORT
	//
	// Errors:
	//   - grpc.Internal: An internal error occurred.
	//   - grpc.InvalidArgument: The request is invalid.
	//   - grpc.PermissionDenied: Caller doesn't have the required permissions.
	//   - grpc.Unavailable: The operation is currently unavailable.
	ListRateDefinitions(ctx context.Context, in *ListRateDefinitionsRequest, opts ...grpc.CallOption) (*ListRateDefinitionsResponse, error)
	// Updates a default rate definition.
	// Required permissions:
	//
	//	CUSTOMER_SUPPORT
	//
	// Errors:
	//   - grpc.Internal: An internal error occurred.
	//   - grpc.InvalidArgument: The request is invalid.
	//   - grpc.NotFound: The specified rate definition doesn't exist.
	//   - grpc.PermissionDenied: Caller doesn't have the required permissions.
	//   - grpc.Unavailable: The operation is currently unavailable.
	UpdateDefaultRateDefinition(ctx context.Context, in *UpdateDefaultRateDefinitionRequest, opts ...grpc.CallOption) (*UpdateDefaultRateDefinitionResponse, error)
	// Updates a rate definition.
	// Required permissions:
	//
	//	CUSTOMER_SUPPORT
	//
	// Errors:
	//   - grpc.Internal: An internal error occurred.
	//   - grpc.InvalidArgument: The request is invalid.
	//   - grpc.NotFound: The specified rate definition doesn't exist.
	//   - grpc.PermissionDenied: Caller doesn't have the required permissions.
	//   - grpc.Unavailable: The operation is currently unavailable.
	UpdateRateDefinition(ctx context.Context, in *UpdateRateDefinitionRequest, opts ...grpc.CallOption) (*UpdateRateDefinitionResponse, error)
}

BillingServiceClient is the client API for BillingService 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 BillingServiceServer

type BillingServiceServer interface {
	// Creates a rate definition for the REGION.
	// Required permissions:
	//
	//	CUSTOMER_SUPPORT
	//	TCN_BILLING_ADMIN
	//
	// Errors:
	//   - grpc.AlreadyExists: A rate definition with the same data already exists.
	//   - grpc.Internal: An internal error occurred.
	//   - grpc.InvalidArgument: The request is invalid.
	//   - grpc.PermissionDenied: Caller doesn't have the required permissions.
	//   - grpc.Unavailable: The operation is currently unavailable.
	CreateDefaultRateDefinition(context.Context, *CreateDefaultRateDefinitionRequest) (*CreateDefaultRateDefinitionResponse, error)
	// Creates rate definitions for the REGION.
	// Required permissions:
	//
	//	CUSTOMER_SUPPORT
	//	TCN_BILLING_ADMIN
	//
	// Errors:
	//   - grpc.AlreadyExists: A rate definition with the same data already exists.
	//   - grpc.Internal: An internal error occurred.
	//   - grpc.InvalidArgument: The request is invalid.
	//   - grpc.PermissionDenied: Caller doesn't have the required permissions.
	//   - grpc.Unavailable: The operation is currently unavailable.
	CreateDefaultRateDefinitions(context.Context, *CreateDefaultRateDefinitionsRequest) (*CreateDefaultRateDefinitionsResponse, error)
	// Creates a rate definition for an ORG.
	// Required permissions:
	//
	//	CUSTOMER_SUPPORT
	//
	// Errors:
	//   - grpc.AlreadyExists: A rate definition with the same data already exists.
	//   - grpc.Internal: An internal error occurred.
	//   - grpc.InvalidArgument: The request is invalid.
	//   - grpc.PermissionDenied: Caller doesn't have the required permissions.
	//   - grpc.Unavailable: The operation is currently unavailable. Likely a transient issue with a downstream service.
	CreateRateDefinition(context.Context, *CreateRateDefinitionRequest) (*CreateRateDefinitionResponse, error)
	// Creates rate definitions for an ORG.
	// Required permissions:
	//
	//	CUSTOMER_SUPPORT
	//
	// Errors:
	//   - grpc.AlreadyExists: A rate definition with the same data already exists.
	//   - grpc.Internal: An internal error occurred.
	//   - grpc.InvalidArgument: The request is invalid.
	//   - grpc.PermissionDenied: Caller doesn't have the required permissions.
	//   - grpc.Unavailable: The operation is currently unavailable. Likely a transient issue with a downstream service.
	CreateRateDefinitions(context.Context, *CreateRateDefinitionsRequest) (*CreateRateDefinitionsResponse, error)
	// Deletes a rate definition from the REGION.
	// Required permissions:
	//
	//	CUSTOMER_SUPPORT
	//	TCN_BILLING_ADMIN
	//
	// Errors:
	//   - grpc.Internal: An internal error occurred.
	//   - grpc.InvalidArgument: The request is invalid.
	//   - grpc.NotFound: The rate definition doesn't exist.
	//   - grpc.PermissionDenied: Caller doesn't have the required permissions.
	//   - grpc.Unavailable: The operation is currently unavailable.
	DeleteDefaultRateDefinition(context.Context, *DeleteDefaultRateDefinitionRequest) (*DeleteDefaultRateDefinitionResponse, error)
	// Deletes rate definitions from the REGION.
	// Required permissions:
	//
	//	CUSTOMER_SUPPORT
	//	TCN_BILLING_ADMIN
	//
	// Errors:
	//   - grpc.Internal: An internal error occurred.
	//   - grpc.InvalidArgument: The request is invalid.
	//   - grpc.NotFound: The rate definition doesn't exist.
	//   - grpc.PermissionDenied: Caller doesn't have the required permissions.
	//   - grpc.Unavailable: The operation is currently unavailable.
	DeleteDefaultRateDefinitions(context.Context, *DeleteDefaultRateDefinitionsRequest) (*DeleteDefaultRateDefinitionsResponse, error)
	// Deletes a rate definition from an ORG.
	// Required permissions:
	//
	//	CUSTOMER_SUPPORT
	//
	// Errors:
	//   - grpc.Internal: An internal error occurred.
	//   - grpc.InvalidArgument: The request is invalid.
	//   - grpc.NotFound: The specified rate definition doesn't exist.
	//   - grpc.PermissionDenied: Caller doesn't have the required permissions.
	//   - grpc.Unavailable: The operation is currently unavailable. Likely a transient issue with a downstream service.
	DeleteRateDefinition(context.Context, *DeleteRateDefinitionRequest) (*DeleteRateDefinitionResponse, error)
	// Deletes rate definitions from an ORG.
	// Required permissions:
	//
	//	CUSTOMER_SUPPORT
	//
	// Errors:
	//   - grpc.Internal: An internal error occurred.
	//   - grpc.InvalidArgument: The request is invalid.
	//   - grpc.NotFound: The specified rate definition doesn't exist.
	//   - grpc.PermissionDenied: Caller doesn't have the required permissions.
	//   - grpc.Unavailable: The operation is currently unavailable. Likely a transient issue with a downstream service.
	DeleteRateDefinitions(context.Context, *DeleteRateDefinitionsRequest) (*DeleteRateDefinitionsResponse, error)
	// Exports an invoice.
	// Required permissions:
	//
	//	TCN_BILLING_ADMIN
	//
	// Errors:
	//   - grpc.Internal: An internal error occurred.
	//   - grpc.InvalidArgument: The request is invalid.
	//   - grpc.PermissionDenied: Caller doesn't have the required permissions.
	//   - grpc.Unavailable: The operation is currently unavailable. Likely a transient issue with a downstream service.
	ExportInvoice(context.Context, *ExportInvoiceRequest) (*ExportInvoiceResponse, error)
	// Returns the specified rate definition.
	// Required permissions:
	//
	//	CUSTOMER_SUPPORT
	//
	// Errors:
	//   - grpc.Internal: An internal error occurred.
	//   - grpc.InvalidArgument: The request is invalid.
	//   - grpc.NotFound: The specified rate definition doesn't exist.
	//   - grpc.PermissionDenied: Caller doesn't have the required permissions.
	//   - grpc.Unavailable: The operation is currently unavailable.
	GetRateDefinition(context.Context, *GetRateDefinitionRequest) (*GetRateDefinitionResponse, error)
	// Returns the rate history for the ORG or REGION.
	// Required permissions:
	//
	//	CUSTOMER_SUPPORT
	//
	// Errors:
	//   - grpc.Internal: An internal error occurred.
	//   - grpc.InvalidArgument: The request is invalid.
	//   - grpc.PermissionDenied: Caller doesn't have the required permissions.
	//   - grpc.Unavailable: The operation is currently unavailable.
	GetRateHistory(context.Context, *GetRateHistoryRequest) (*GetRateHistoryResponse, error)
	// Lists active rate definitions.
	// Required permissions:
	//
	//	CUSTOMER_SUPPORT
	//
	// Errors:
	//   - grpc.Internal: An internal error occurred.
	//   - grpc.InvalidArgument: The request is invalid.
	//   - grpc.PermissionDenied: Caller doesn't have the required permissions.
	//   - grpc.Unavailable: The operation is currently unavailable.
	ListActiveRateDefinitions(context.Context, *ListActiveRateDefinitionsRequest) (*ListActiveRateDefinitionsResponse, error)
	// Lists rate definitions.
	// Required permissions:
	//
	//	CUSTOMER_SUPPORT
	//
	// Errors:
	//   - grpc.Internal: An internal error occurred.
	//   - grpc.InvalidArgument: The request is invalid.
	//   - grpc.PermissionDenied: Caller doesn't have the required permissions.
	//   - grpc.Unavailable: The operation is currently unavailable.
	ListRateDefinitions(context.Context, *ListRateDefinitionsRequest) (*ListRateDefinitionsResponse, error)
	// Updates a default rate definition.
	// Required permissions:
	//
	//	CUSTOMER_SUPPORT
	//
	// Errors:
	//   - grpc.Internal: An internal error occurred.
	//   - grpc.InvalidArgument: The request is invalid.
	//   - grpc.NotFound: The specified rate definition doesn't exist.
	//   - grpc.PermissionDenied: Caller doesn't have the required permissions.
	//   - grpc.Unavailable: The operation is currently unavailable.
	UpdateDefaultRateDefinition(context.Context, *UpdateDefaultRateDefinitionRequest) (*UpdateDefaultRateDefinitionResponse, error)
	// Updates a rate definition.
	// Required permissions:
	//
	//	CUSTOMER_SUPPORT
	//
	// Errors:
	//   - grpc.Internal: An internal error occurred.
	//   - grpc.InvalidArgument: The request is invalid.
	//   - grpc.NotFound: The specified rate definition doesn't exist.
	//   - grpc.PermissionDenied: Caller doesn't have the required permissions.
	//   - grpc.Unavailable: The operation is currently unavailable.
	UpdateRateDefinition(context.Context, *UpdateRateDefinitionRequest) (*UpdateRateDefinitionResponse, error)
	// contains filtered or unexported methods
}

BillingServiceServer is the server API for BillingService service. All implementations must embed UnimplementedBillingServiceServer for forward compatibility.

type CreateDefaultRateDefinitionRequest

type CreateDefaultRateDefinitionRequest struct {
	RateDefinitionId string                   `protobuf:"bytes,1,opt,name=rate_definition_id,json=rateDefinitionId,proto3" json:"rate_definition_id,omitempty"`
	RateDefinition   *v1alpha2.RateDefinition `protobuf:"bytes,2,opt,name=rate_definition,json=rateDefinition,proto3" json:"rate_definition,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDefaultRateDefinitionRequest) Descriptor deprecated

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

Deprecated: Use CreateDefaultRateDefinitionRequest.ProtoReflect.Descriptor instead.

func (*CreateDefaultRateDefinitionRequest) GetRateDefinition

func (*CreateDefaultRateDefinitionRequest) GetRateDefinitionId

func (x *CreateDefaultRateDefinitionRequest) GetRateDefinitionId() string

func (*CreateDefaultRateDefinitionRequest) ProtoMessage

func (*CreateDefaultRateDefinitionRequest) ProtoMessage()

func (*CreateDefaultRateDefinitionRequest) ProtoReflect

func (*CreateDefaultRateDefinitionRequest) Reset

func (*CreateDefaultRateDefinitionRequest) String

type CreateDefaultRateDefinitionResponse

type CreateDefaultRateDefinitionResponse struct {
	RateDefinitionId string `protobuf:"bytes,1,opt,name=rate_definition_id,json=rateDefinitionId,proto3" json:"rate_definition_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDefaultRateDefinitionResponse) Descriptor deprecated

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

Deprecated: Use CreateDefaultRateDefinitionResponse.ProtoReflect.Descriptor instead.

func (*CreateDefaultRateDefinitionResponse) GetRateDefinitionId

func (x *CreateDefaultRateDefinitionResponse) GetRateDefinitionId() string

func (*CreateDefaultRateDefinitionResponse) ProtoMessage

func (*CreateDefaultRateDefinitionResponse) ProtoMessage()

func (*CreateDefaultRateDefinitionResponse) ProtoReflect

func (*CreateDefaultRateDefinitionResponse) Reset

func (*CreateDefaultRateDefinitionResponse) String

type CreateDefaultRateDefinitionsRequest

type CreateDefaultRateDefinitionsRequest struct {
	Rates []*CreateDefaultRateDefinitionRequest `protobuf:"bytes,1,rep,name=rates,proto3" json:"rates,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDefaultRateDefinitionsRequest) Descriptor deprecated

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

Deprecated: Use CreateDefaultRateDefinitionsRequest.ProtoReflect.Descriptor instead.

func (*CreateDefaultRateDefinitionsRequest) GetRates

func (*CreateDefaultRateDefinitionsRequest) ProtoMessage

func (*CreateDefaultRateDefinitionsRequest) ProtoMessage()

func (*CreateDefaultRateDefinitionsRequest) ProtoReflect

func (*CreateDefaultRateDefinitionsRequest) Reset

func (*CreateDefaultRateDefinitionsRequest) String

type CreateDefaultRateDefinitionsResponse

type CreateDefaultRateDefinitionsResponse struct {
	Rates []*CreateDefaultRateDefinitionResponse `protobuf:"bytes,1,rep,name=rates,proto3" json:"rates,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDefaultRateDefinitionsResponse) Descriptor deprecated

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

Deprecated: Use CreateDefaultRateDefinitionsResponse.ProtoReflect.Descriptor instead.

func (*CreateDefaultRateDefinitionsResponse) GetRates

func (*CreateDefaultRateDefinitionsResponse) ProtoMessage

func (*CreateDefaultRateDefinitionsResponse) ProtoMessage()

func (*CreateDefaultRateDefinitionsResponse) ProtoReflect

func (*CreateDefaultRateDefinitionsResponse) Reset

func (*CreateDefaultRateDefinitionsResponse) String

type CreateRateDefinitionRequest

type CreateRateDefinitionRequest struct {
	RateDefinitionId        string                   `protobuf:"bytes,1,opt,name=rate_definition_id,json=rateDefinitionId,proto3" json:"rate_definition_id,omitempty"`
	RateDefinition          *v1alpha2.RateDefinition `protobuf:"bytes,2,opt,name=rate_definition,json=rateDefinition,proto3" json:"rate_definition,omitempty"`
	DefaultRateDefinitionId string                   `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateRateDefinitionRequest) Descriptor deprecated

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

Deprecated: Use CreateRateDefinitionRequest.ProtoReflect.Descriptor instead.

func (*CreateRateDefinitionRequest) GetDefaultRateDefinitionId added in v1.7.77

func (x *CreateRateDefinitionRequest) GetDefaultRateDefinitionId() string

func (*CreateRateDefinitionRequest) GetRateDefinition

func (x *CreateRateDefinitionRequest) GetRateDefinition() *v1alpha2.RateDefinition

func (*CreateRateDefinitionRequest) GetRateDefinitionId

func (x *CreateRateDefinitionRequest) GetRateDefinitionId() string

func (*CreateRateDefinitionRequest) ProtoMessage

func (*CreateRateDefinitionRequest) ProtoMessage()

func (*CreateRateDefinitionRequest) ProtoReflect

func (*CreateRateDefinitionRequest) Reset

func (x *CreateRateDefinitionRequest) Reset()

func (*CreateRateDefinitionRequest) String

func (x *CreateRateDefinitionRequest) String() string

type CreateRateDefinitionResponse

type CreateRateDefinitionResponse struct {
	RateDefinitionId string `protobuf:"bytes,1,opt,name=rate_definition_id,json=rateDefinitionId,proto3" json:"rate_definition_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRateDefinitionResponse) Descriptor deprecated

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

Deprecated: Use CreateRateDefinitionResponse.ProtoReflect.Descriptor instead.

func (*CreateRateDefinitionResponse) GetRateDefinitionId

func (x *CreateRateDefinitionResponse) GetRateDefinitionId() string

func (*CreateRateDefinitionResponse) ProtoMessage

func (*CreateRateDefinitionResponse) ProtoMessage()

func (*CreateRateDefinitionResponse) ProtoReflect

func (*CreateRateDefinitionResponse) Reset

func (x *CreateRateDefinitionResponse) Reset()

func (*CreateRateDefinitionResponse) String

type CreateRateDefinitionsRequest

type CreateRateDefinitionsRequest struct {
	Rates []*CreateRateDefinitionRequest `protobuf:"bytes,1,rep,name=rates,proto3" json:"rates,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRateDefinitionsRequest) Descriptor deprecated

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

Deprecated: Use CreateRateDefinitionsRequest.ProtoReflect.Descriptor instead.

func (*CreateRateDefinitionsRequest) GetRates

func (*CreateRateDefinitionsRequest) ProtoMessage

func (*CreateRateDefinitionsRequest) ProtoMessage()

func (*CreateRateDefinitionsRequest) ProtoReflect

func (*CreateRateDefinitionsRequest) Reset

func (x *CreateRateDefinitionsRequest) Reset()

func (*CreateRateDefinitionsRequest) String

type CreateRateDefinitionsResponse

type CreateRateDefinitionsResponse struct {
	Rates []*CreateRateDefinitionResponse `protobuf:"bytes,1,rep,name=rates,proto3" json:"rates,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRateDefinitionsResponse) Descriptor deprecated

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

Deprecated: Use CreateRateDefinitionsResponse.ProtoReflect.Descriptor instead.

func (*CreateRateDefinitionsResponse) GetRates

func (*CreateRateDefinitionsResponse) ProtoMessage

func (*CreateRateDefinitionsResponse) ProtoMessage()

func (*CreateRateDefinitionsResponse) ProtoReflect

func (*CreateRateDefinitionsResponse) Reset

func (x *CreateRateDefinitionsResponse) Reset()

func (*CreateRateDefinitionsResponse) String

type DeleteDefaultRateDefinitionRequest

type DeleteDefaultRateDefinitionRequest struct {
	RateDefinitionId string `protobuf:"bytes,1,opt,name=rate_definition_id,json=rateDefinitionId,proto3" json:"rate_definition_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteDefaultRateDefinitionRequest) Descriptor deprecated

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

Deprecated: Use DeleteDefaultRateDefinitionRequest.ProtoReflect.Descriptor instead.

func (*DeleteDefaultRateDefinitionRequest) GetRateDefinitionId

func (x *DeleteDefaultRateDefinitionRequest) GetRateDefinitionId() string

func (*DeleteDefaultRateDefinitionRequest) ProtoMessage

func (*DeleteDefaultRateDefinitionRequest) ProtoMessage()

func (*DeleteDefaultRateDefinitionRequest) ProtoReflect

func (*DeleteDefaultRateDefinitionRequest) Reset

func (*DeleteDefaultRateDefinitionRequest) String

type DeleteDefaultRateDefinitionResponse

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

func (*DeleteDefaultRateDefinitionResponse) Descriptor deprecated

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

Deprecated: Use DeleteDefaultRateDefinitionResponse.ProtoReflect.Descriptor instead.

func (*DeleteDefaultRateDefinitionResponse) ProtoMessage

func (*DeleteDefaultRateDefinitionResponse) ProtoMessage()

func (*DeleteDefaultRateDefinitionResponse) ProtoReflect

func (*DeleteDefaultRateDefinitionResponse) Reset

func (*DeleteDefaultRateDefinitionResponse) String

type DeleteDefaultRateDefinitionsRequest

type DeleteDefaultRateDefinitionsRequest struct {
	RateDefinitionIds []string `protobuf:"bytes,1,rep,name=rate_definition_ids,json=rateDefinitionIds,proto3" json:"rate_definition_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteDefaultRateDefinitionsRequest) Descriptor deprecated

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

Deprecated: Use DeleteDefaultRateDefinitionsRequest.ProtoReflect.Descriptor instead.

func (*DeleteDefaultRateDefinitionsRequest) GetRateDefinitionIds

func (x *DeleteDefaultRateDefinitionsRequest) GetRateDefinitionIds() []string

func (*DeleteDefaultRateDefinitionsRequest) ProtoMessage

func (*DeleteDefaultRateDefinitionsRequest) ProtoMessage()

func (*DeleteDefaultRateDefinitionsRequest) ProtoReflect

func (*DeleteDefaultRateDefinitionsRequest) Reset

func (*DeleteDefaultRateDefinitionsRequest) String

type DeleteDefaultRateDefinitionsResponse

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

func (*DeleteDefaultRateDefinitionsResponse) Descriptor deprecated

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

Deprecated: Use DeleteDefaultRateDefinitionsResponse.ProtoReflect.Descriptor instead.

func (*DeleteDefaultRateDefinitionsResponse) ProtoMessage

func (*DeleteDefaultRateDefinitionsResponse) ProtoMessage()

func (*DeleteDefaultRateDefinitionsResponse) ProtoReflect

func (*DeleteDefaultRateDefinitionsResponse) Reset

func (*DeleteDefaultRateDefinitionsResponse) String

type DeleteRateDefinitionRequest

type DeleteRateDefinitionRequest struct {
	RateDefinitionId string `protobuf:"bytes,1,opt,name=rate_definition_id,json=rateDefinitionId,proto3" json:"rate_definition_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRateDefinitionRequest) Descriptor deprecated

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

Deprecated: Use DeleteRateDefinitionRequest.ProtoReflect.Descriptor instead.

func (*DeleteRateDefinitionRequest) GetRateDefinitionId

func (x *DeleteRateDefinitionRequest) GetRateDefinitionId() string

func (*DeleteRateDefinitionRequest) ProtoMessage

func (*DeleteRateDefinitionRequest) ProtoMessage()

func (*DeleteRateDefinitionRequest) ProtoReflect

func (*DeleteRateDefinitionRequest) Reset

func (x *DeleteRateDefinitionRequest) Reset()

func (*DeleteRateDefinitionRequest) String

func (x *DeleteRateDefinitionRequest) String() string

type DeleteRateDefinitionResponse

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

func (*DeleteRateDefinitionResponse) Descriptor deprecated

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

Deprecated: Use DeleteRateDefinitionResponse.ProtoReflect.Descriptor instead.

func (*DeleteRateDefinitionResponse) ProtoMessage

func (*DeleteRateDefinitionResponse) ProtoMessage()

func (*DeleteRateDefinitionResponse) ProtoReflect

func (*DeleteRateDefinitionResponse) Reset

func (x *DeleteRateDefinitionResponse) Reset()

func (*DeleteRateDefinitionResponse) String

type DeleteRateDefinitionsRequest

type DeleteRateDefinitionsRequest struct {
	RateDefinitionIds []string `protobuf:"bytes,1,rep,name=rate_definition_ids,json=rateDefinitionIds,proto3" json:"rate_definition_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRateDefinitionsRequest) Descriptor deprecated

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

Deprecated: Use DeleteRateDefinitionsRequest.ProtoReflect.Descriptor instead.

func (*DeleteRateDefinitionsRequest) GetRateDefinitionIds

func (x *DeleteRateDefinitionsRequest) GetRateDefinitionIds() []string

func (*DeleteRateDefinitionsRequest) ProtoMessage

func (*DeleteRateDefinitionsRequest) ProtoMessage()

func (*DeleteRateDefinitionsRequest) ProtoReflect

func (*DeleteRateDefinitionsRequest) Reset

func (x *DeleteRateDefinitionsRequest) Reset()

func (*DeleteRateDefinitionsRequest) String

type DeleteRateDefinitionsResponse

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

func (*DeleteRateDefinitionsResponse) Descriptor deprecated

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

Deprecated: Use DeleteRateDefinitionsResponse.ProtoReflect.Descriptor instead.

func (*DeleteRateDefinitionsResponse) ProtoMessage

func (*DeleteRateDefinitionsResponse) ProtoMessage()

func (*DeleteRateDefinitionsResponse) ProtoReflect

func (*DeleteRateDefinitionsResponse) Reset

func (x *DeleteRateDefinitionsResponse) Reset()

func (*DeleteRateDefinitionsResponse) String

type ExportInvoiceRequest

type ExportInvoiceRequest struct {
	Format      InvoiceFormat          `protobuf:"varint,1,opt,name=format,proto3,enum=services.billing.v1alpha2.InvoiceFormat" json:"format,omitempty"`
	InvoiceDate *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=invoice_date,json=invoiceDate,proto3" json:"invoice_date,omitempty"`
	// contains filtered or unexported fields
}

func (*ExportInvoiceRequest) Descriptor deprecated

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

Deprecated: Use ExportInvoiceRequest.ProtoReflect.Descriptor instead.

func (*ExportInvoiceRequest) GetFormat

func (x *ExportInvoiceRequest) GetFormat() InvoiceFormat

func (*ExportInvoiceRequest) GetInvoiceDate

func (x *ExportInvoiceRequest) GetInvoiceDate() *timestamppb.Timestamp

func (*ExportInvoiceRequest) ProtoMessage

func (*ExportInvoiceRequest) ProtoMessage()

func (*ExportInvoiceRequest) ProtoReflect

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

func (*ExportInvoiceRequest) Reset

func (x *ExportInvoiceRequest) Reset()

func (*ExportInvoiceRequest) String

func (x *ExportInvoiceRequest) String() string

type ExportInvoiceResponse

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

func (*ExportInvoiceResponse) Descriptor deprecated

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

Deprecated: Use ExportInvoiceResponse.ProtoReflect.Descriptor instead.

func (*ExportInvoiceResponse) GetInvoice

func (x *ExportInvoiceResponse) GetInvoice() *v1alpha2.Invoice

func (*ExportInvoiceResponse) ProtoMessage

func (*ExportInvoiceResponse) ProtoMessage()

func (*ExportInvoiceResponse) ProtoReflect

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

func (*ExportInvoiceResponse) Reset

func (x *ExportInvoiceResponse) Reset()

func (*ExportInvoiceResponse) String

func (x *ExportInvoiceResponse) String() string

type GetRateDefinitionRequest

type GetRateDefinitionRequest struct {
	RateDefinitionId string `protobuf:"bytes,1,opt,name=rate_definition_id,json=rateDefinitionId,proto3" json:"rate_definition_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRateDefinitionRequest) Descriptor deprecated

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

Deprecated: Use GetRateDefinitionRequest.ProtoReflect.Descriptor instead.

func (*GetRateDefinitionRequest) GetRateDefinitionId

func (x *GetRateDefinitionRequest) GetRateDefinitionId() string

func (*GetRateDefinitionRequest) ProtoMessage

func (*GetRateDefinitionRequest) ProtoMessage()

func (*GetRateDefinitionRequest) ProtoReflect

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

func (*GetRateDefinitionRequest) Reset

func (x *GetRateDefinitionRequest) Reset()

func (*GetRateDefinitionRequest) String

func (x *GetRateDefinitionRequest) String() string

type GetRateDefinitionResponse

type GetRateDefinitionResponse struct {
	RateDefinition *v1alpha2.RateDefinition `protobuf:"bytes,1,opt,name=rate_definition,json=rateDefinition,proto3" json:"rate_definition,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRateDefinitionResponse) Descriptor deprecated

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

Deprecated: Use GetRateDefinitionResponse.ProtoReflect.Descriptor instead.

func (*GetRateDefinitionResponse) GetRateDefinition

func (x *GetRateDefinitionResponse) GetRateDefinition() *v1alpha2.RateDefinition

func (*GetRateDefinitionResponse) ProtoMessage

func (*GetRateDefinitionResponse) ProtoMessage()

func (*GetRateDefinitionResponse) ProtoReflect

func (*GetRateDefinitionResponse) Reset

func (x *GetRateDefinitionResponse) Reset()

func (*GetRateDefinitionResponse) String

func (x *GetRateDefinitionResponse) String() string

type GetRateHistoryRequest

type GetRateHistoryRequest struct {
	OrgId     string                 `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	GroupIds  []string               `protobuf:"bytes,2,rep,name=group_ids,json=groupIds,proto3" json:"group_ids,omitempty"`
	StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Optional: if not set, will use the beginning of time
	EndTime   *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`       // Optional: if not set, will use the current time
	// contains filtered or unexported fields
}

func (*GetRateHistoryRequest) Descriptor deprecated

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

Deprecated: Use GetRateHistoryRequest.ProtoReflect.Descriptor instead.

func (*GetRateHistoryRequest) GetEndTime

func (x *GetRateHistoryRequest) GetEndTime() *timestamppb.Timestamp

func (*GetRateHistoryRequest) GetGroupIds

func (x *GetRateHistoryRequest) GetGroupIds() []string

func (*GetRateHistoryRequest) GetOrgId

func (x *GetRateHistoryRequest) GetOrgId() string

func (*GetRateHistoryRequest) GetStartTime

func (x *GetRateHistoryRequest) GetStartTime() *timestamppb.Timestamp

func (*GetRateHistoryRequest) ProtoMessage

func (*GetRateHistoryRequest) ProtoMessage()

func (*GetRateHistoryRequest) ProtoReflect

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

func (*GetRateHistoryRequest) Reset

func (x *GetRateHistoryRequest) Reset()

func (*GetRateHistoryRequest) String

func (x *GetRateHistoryRequest) String() string

type GetRateHistoryResponse

type GetRateHistoryResponse struct {
	Snapshots []*v1alpha2.RateSnapshot `protobuf:"bytes,1,rep,name=snapshots,proto3" json:"snapshots,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRateHistoryResponse) Descriptor deprecated

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

Deprecated: Use GetRateHistoryResponse.ProtoReflect.Descriptor instead.

func (*GetRateHistoryResponse) GetSnapshots

func (x *GetRateHistoryResponse) GetSnapshots() []*v1alpha2.RateSnapshot

func (*GetRateHistoryResponse) ProtoMessage

func (*GetRateHistoryResponse) ProtoMessage()

func (*GetRateHistoryResponse) ProtoReflect

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

func (*GetRateHistoryResponse) Reset

func (x *GetRateHistoryResponse) Reset()

func (*GetRateHistoryResponse) String

func (x *GetRateHistoryResponse) String() string

type InvoiceFormat

type InvoiceFormat int32
const (
	InvoiceFormat_INVOICE_FORMAT_UNSPECIFIED InvoiceFormat = 0
	InvoiceFormat_INVOICE_FORMAT_CSV         InvoiceFormat = 1
)

func (InvoiceFormat) Descriptor

func (InvoiceFormat) Enum

func (x InvoiceFormat) Enum() *InvoiceFormat

func (InvoiceFormat) EnumDescriptor deprecated

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

Deprecated: Use InvoiceFormat.Descriptor instead.

func (InvoiceFormat) Number

func (InvoiceFormat) String

func (x InvoiceFormat) String() string

func (InvoiceFormat) Type

type ListActiveRateDefinitionsRequest

type ListActiveRateDefinitionsRequest struct {
	RateDefinitionId string                 `protobuf:"bytes,1,opt,name=rate_definition_id,json=rateDefinitionId,proto3" json:"rate_definition_id,omitempty"`
	Filter           string                 `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // Optional: defaults to no filter
	Fields           *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=fields,proto3" json:"fields,omitempty"` // Optional: defaults to all fields.
	Sort             []*Sort                `protobuf:"bytes,4,rep,name=sort,proto3" json:"sort,omitempty"`     // Optional: defaults to no sort.
	Page             *Page                  `protobuf:"bytes,5,opt,name=page,proto3" json:"page,omitempty"`     // Optional: defaults to no paging.
	// contains filtered or unexported fields
}

func (*ListActiveRateDefinitionsRequest) Descriptor deprecated

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

Deprecated: Use ListActiveRateDefinitionsRequest.ProtoReflect.Descriptor instead.

func (*ListActiveRateDefinitionsRequest) GetFields

func (*ListActiveRateDefinitionsRequest) GetFilter

func (*ListActiveRateDefinitionsRequest) GetPage

func (x *ListActiveRateDefinitionsRequest) GetPage() *Page

func (*ListActiveRateDefinitionsRequest) GetRateDefinitionId

func (x *ListActiveRateDefinitionsRequest) GetRateDefinitionId() string

func (*ListActiveRateDefinitionsRequest) GetSort

func (x *ListActiveRateDefinitionsRequest) GetSort() []*Sort

func (*ListActiveRateDefinitionsRequest) ProtoMessage

func (*ListActiveRateDefinitionsRequest) ProtoMessage()

func (*ListActiveRateDefinitionsRequest) ProtoReflect

func (*ListActiveRateDefinitionsRequest) Reset

func (*ListActiveRateDefinitionsRequest) String

type ListActiveRateDefinitionsResponse

type ListActiveRateDefinitionsResponse struct {
	RateDefinitions []*v1alpha2.RateDefinition `protobuf:"bytes,1,rep,name=rate_definitions,json=rateDefinitions,proto3" json:"rate_definitions,omitempty"`
	Token           string                     `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // Optional: only present if paginating.
	// contains filtered or unexported fields
}

func (*ListActiveRateDefinitionsResponse) Descriptor deprecated

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

Deprecated: Use ListActiveRateDefinitionsResponse.ProtoReflect.Descriptor instead.

func (*ListActiveRateDefinitionsResponse) GetRateDefinitions

func (x *ListActiveRateDefinitionsResponse) GetRateDefinitions() []*v1alpha2.RateDefinition

func (*ListActiveRateDefinitionsResponse) GetToken

func (*ListActiveRateDefinitionsResponse) ProtoMessage

func (*ListActiveRateDefinitionsResponse) ProtoMessage()

func (*ListActiveRateDefinitionsResponse) ProtoReflect

func (*ListActiveRateDefinitionsResponse) Reset

func (*ListActiveRateDefinitionsResponse) String

type ListRateDefinitionsRequest

type ListRateDefinitionsRequest struct {
	RateDefinitionId string                 `protobuf:"bytes,1,opt,name=rate_definition_id,json=rateDefinitionId,proto3" json:"rate_definition_id,omitempty"`
	Filter           string                 `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // Optional: defaults to no filter
	Fields           *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=fields,proto3" json:"fields,omitempty"` // Optional: defaults to all fields.
	Sort             []*Sort                `protobuf:"bytes,4,rep,name=sort,proto3" json:"sort,omitempty"`     // Optional: defaults to no sort.
	Page             *Page                  `protobuf:"bytes,5,opt,name=page,proto3" json:"page,omitempty"`     // Optional: defaults to no paging.
	// contains filtered or unexported fields
}

func (*ListRateDefinitionsRequest) Descriptor deprecated

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

Deprecated: Use ListRateDefinitionsRequest.ProtoReflect.Descriptor instead.

func (*ListRateDefinitionsRequest) GetFields

func (*ListRateDefinitionsRequest) GetFilter

func (x *ListRateDefinitionsRequest) GetFilter() string

func (*ListRateDefinitionsRequest) GetPage

func (x *ListRateDefinitionsRequest) GetPage() *Page

func (*ListRateDefinitionsRequest) GetRateDefinitionId

func (x *ListRateDefinitionsRequest) GetRateDefinitionId() string

func (*ListRateDefinitionsRequest) GetSort

func (x *ListRateDefinitionsRequest) GetSort() []*Sort

func (*ListRateDefinitionsRequest) ProtoMessage

func (*ListRateDefinitionsRequest) ProtoMessage()

func (*ListRateDefinitionsRequest) ProtoReflect

func (*ListRateDefinitionsRequest) Reset

func (x *ListRateDefinitionsRequest) Reset()

func (*ListRateDefinitionsRequest) String

func (x *ListRateDefinitionsRequest) String() string

type ListRateDefinitionsResponse

type ListRateDefinitionsResponse struct {
	RateDefinitions []*v1alpha2.RateDefinition `protobuf:"bytes,1,rep,name=rate_definitions,json=rateDefinitions,proto3" json:"rate_definitions,omitempty"`
	Token           string                     `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // Optional: only present if paginating.
	// contains filtered or unexported fields
}

func (*ListRateDefinitionsResponse) Descriptor deprecated

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

Deprecated: Use ListRateDefinitionsResponse.ProtoReflect.Descriptor instead.

func (*ListRateDefinitionsResponse) GetRateDefinitions

func (x *ListRateDefinitionsResponse) GetRateDefinitions() []*v1alpha2.RateDefinition

func (*ListRateDefinitionsResponse) GetToken

func (x *ListRateDefinitionsResponse) GetToken() string

func (*ListRateDefinitionsResponse) ProtoMessage

func (*ListRateDefinitionsResponse) ProtoMessage()

func (*ListRateDefinitionsResponse) ProtoReflect

func (*ListRateDefinitionsResponse) Reset

func (x *ListRateDefinitionsResponse) Reset()

func (*ListRateDefinitionsResponse) String

func (x *ListRateDefinitionsResponse) String() string

type Order

type Order int32
const (
	Order_ORDER_UNSPECIFIED Order = 0 // If unspecified, sorts ascending
	Order_ORDER_DESC        Order = 1
)

func (Order) Descriptor

func (Order) Descriptor() protoreflect.EnumDescriptor

func (Order) Enum

func (x Order) Enum() *Order

func (Order) EnumDescriptor deprecated

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

Deprecated: Use Order.Descriptor instead.

func (Order) Number

func (x Order) Number() protoreflect.EnumNumber

func (Order) String

func (x Order) String() string

func (Order) Type

func (Order) Type() protoreflect.EnumType

type Page

type Page struct {
	Limit int64  `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` // Optional: if not specified, will not paginate
	Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`  // Optional: if not specified, will start from the beginning
	// contains filtered or unexported fields
}

func (*Page) Descriptor deprecated

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

Deprecated: Use Page.ProtoReflect.Descriptor instead.

func (*Page) GetLimit

func (x *Page) GetLimit() int64

func (*Page) GetToken

func (x *Page) GetToken() string

func (*Page) ProtoMessage

func (*Page) ProtoMessage()

func (*Page) ProtoReflect

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

func (*Page) Reset

func (x *Page) Reset()

func (*Page) String

func (x *Page) String() string

type Sort

type Sort struct {
	Key       string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`                                                   // Required: key to sort by
	Direction Order  `protobuf:"varint,2,opt,name=direction,proto3,enum=services.billing.v1alpha2.Order" json:"direction,omitempty"` // Required: direction to sort by
	// contains filtered or unexported fields
}

func (*Sort) Descriptor deprecated

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

Deprecated: Use Sort.ProtoReflect.Descriptor instead.

func (*Sort) GetDirection

func (x *Sort) GetDirection() Order

func (*Sort) GetKey

func (x *Sort) GetKey() string

func (*Sort) ProtoMessage

func (*Sort) ProtoMessage()

func (*Sort) ProtoReflect

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

func (*Sort) Reset

func (x *Sort) Reset()

func (*Sort) String

func (x *Sort) String() string

type UnimplementedBillingServiceServer

type UnimplementedBillingServiceServer struct{}

UnimplementedBillingServiceServer 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 (UnimplementedBillingServiceServer) ExportInvoice

func (UnimplementedBillingServiceServer) GetRateDefinition

func (UnimplementedBillingServiceServer) GetRateHistory

func (UnimplementedBillingServiceServer) ListRateDefinitions

type UnsafeBillingServiceServer

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

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

type UpdateDefaultRateDefinitionRequest

type UpdateDefaultRateDefinitionRequest struct {
	RateDefinitionId string                   `protobuf:"bytes,1,opt,name=rate_definition_id,json=rateDefinitionId,proto3" json:"rate_definition_id,omitempty"`
	RateDefinition   *v1alpha2.RateDefinition `protobuf:"bytes,2,opt,name=rate_definition,json=rateDefinition,proto3" json:"rate_definition,omitempty"`
	UpdateFields     *fieldmaskpb.FieldMask   `protobuf:"bytes,3,opt,name=update_fields,json=updateFields,proto3" json:"update_fields,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateDefaultRateDefinitionRequest) Descriptor deprecated

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

Deprecated: Use UpdateDefaultRateDefinitionRequest.ProtoReflect.Descriptor instead.

func (*UpdateDefaultRateDefinitionRequest) GetRateDefinition

func (*UpdateDefaultRateDefinitionRequest) GetRateDefinitionId

func (x *UpdateDefaultRateDefinitionRequest) GetRateDefinitionId() string

func (*UpdateDefaultRateDefinitionRequest) GetUpdateFields

func (*UpdateDefaultRateDefinitionRequest) ProtoMessage

func (*UpdateDefaultRateDefinitionRequest) ProtoMessage()

func (*UpdateDefaultRateDefinitionRequest) ProtoReflect

func (*UpdateDefaultRateDefinitionRequest) Reset

func (*UpdateDefaultRateDefinitionRequest) String

type UpdateDefaultRateDefinitionResponse

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

func (*UpdateDefaultRateDefinitionResponse) Descriptor deprecated

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

Deprecated: Use UpdateDefaultRateDefinitionResponse.ProtoReflect.Descriptor instead.

func (*UpdateDefaultRateDefinitionResponse) ProtoMessage

func (*UpdateDefaultRateDefinitionResponse) ProtoMessage()

func (*UpdateDefaultRateDefinitionResponse) ProtoReflect

func (*UpdateDefaultRateDefinitionResponse) Reset

func (*UpdateDefaultRateDefinitionResponse) String

type UpdateRateDefinitionRequest

type UpdateRateDefinitionRequest struct {
	RateDefinitionId string                   `protobuf:"bytes,1,opt,name=rate_definition_id,json=rateDefinitionId,proto3" json:"rate_definition_id,omitempty"`
	RateDefinition   *v1alpha2.RateDefinition `protobuf:"bytes,2,opt,name=rate_definition,json=rateDefinition,proto3" json:"rate_definition,omitempty"`
	UpdateFields     *fieldmaskpb.FieldMask   `protobuf:"bytes,3,opt,name=update_fields,json=updateFields,proto3" json:"update_fields,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRateDefinitionRequest) Descriptor deprecated

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

Deprecated: Use UpdateRateDefinitionRequest.ProtoReflect.Descriptor instead.

func (*UpdateRateDefinitionRequest) GetRateDefinition

func (x *UpdateRateDefinitionRequest) GetRateDefinition() *v1alpha2.RateDefinition

func (*UpdateRateDefinitionRequest) GetRateDefinitionId

func (x *UpdateRateDefinitionRequest) GetRateDefinitionId() string

func (*UpdateRateDefinitionRequest) GetUpdateFields

func (x *UpdateRateDefinitionRequest) GetUpdateFields() *fieldmaskpb.FieldMask

func (*UpdateRateDefinitionRequest) ProtoMessage

func (*UpdateRateDefinitionRequest) ProtoMessage()

func (*UpdateRateDefinitionRequest) ProtoReflect

func (*UpdateRateDefinitionRequest) Reset

func (x *UpdateRateDefinitionRequest) Reset()

func (*UpdateRateDefinitionRequest) String

func (x *UpdateRateDefinitionRequest) String() string

type UpdateRateDefinitionResponse

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

func (*UpdateRateDefinitionResponse) Descriptor deprecated

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

Deprecated: Use UpdateRateDefinitionResponse.ProtoReflect.Descriptor instead.

func (*UpdateRateDefinitionResponse) ProtoMessage

func (*UpdateRateDefinitionResponse) ProtoMessage()

func (*UpdateRateDefinitionResponse) ProtoReflect

func (*UpdateRateDefinitionResponse) Reset

func (x *UpdateRateDefinitionResponse) Reset()

func (*UpdateRateDefinitionResponse) String

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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