Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterBillingServiceServer(s grpc.ServiceRegistrar, srv BillingServiceServer)
- type BillingServiceClient
- type BillingServiceServer
- type CommitBillingPlanRequest
- func (*CommitBillingPlanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommitBillingPlanRequest) GetBillingPlanId() string
- func (*CommitBillingPlanRequest) ProtoMessage()
- func (x *CommitBillingPlanRequest) ProtoReflect() protoreflect.Message
- func (x *CommitBillingPlanRequest) Reset()
- func (x *CommitBillingPlanRequest) String() string
- type CommitBillingPlanResponse
- type CommitDefaultBillingPlanRequest
- func (*CommitDefaultBillingPlanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommitDefaultBillingPlanRequest) GetBillingPlanId() string
- func (*CommitDefaultBillingPlanRequest) ProtoMessage()
- func (x *CommitDefaultBillingPlanRequest) ProtoReflect() protoreflect.Message
- func (x *CommitDefaultBillingPlanRequest) Reset()
- func (x *CommitDefaultBillingPlanRequest) String() string
- type CommitDefaultBillingPlanResponse
- func (*CommitDefaultBillingPlanResponse) Descriptor() ([]byte, []int)deprecated
- func (*CommitDefaultBillingPlanResponse) ProtoMessage()
- func (x *CommitDefaultBillingPlanResponse) ProtoReflect() protoreflect.Message
- func (x *CommitDefaultBillingPlanResponse) Reset()
- func (x *CommitDefaultBillingPlanResponse) String() string
- type CreateBillingPlanRequest
- func (*CreateBillingPlanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBillingPlanRequest) GetBillingPlan() *v1alpha1.BillingPlan
- func (x *CreateBillingPlanRequest) GetBillingPlanId() string
- func (*CreateBillingPlanRequest) ProtoMessage()
- func (x *CreateBillingPlanRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBillingPlanRequest) Reset()
- func (x *CreateBillingPlanRequest) String() string
- type CreateBillingPlanResponse
- func (*CreateBillingPlanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBillingPlanResponse) GetBillingPlanId() string
- func (*CreateBillingPlanResponse) ProtoMessage()
- func (x *CreateBillingPlanResponse) ProtoReflect() protoreflect.Message
- func (x *CreateBillingPlanResponse) Reset()
- func (x *CreateBillingPlanResponse) String() string
- type CreateDefaultBillingPlanRequest
- func (*CreateDefaultBillingPlanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDefaultBillingPlanRequest) GetBillingPlan() *v1alpha1.BillingPlan
- func (x *CreateDefaultBillingPlanRequest) GetBillingPlanId() string
- func (*CreateDefaultBillingPlanRequest) ProtoMessage()
- func (x *CreateDefaultBillingPlanRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDefaultBillingPlanRequest) Reset()
- func (x *CreateDefaultBillingPlanRequest) String() string
- type CreateDefaultBillingPlanResponse
- func (*CreateDefaultBillingPlanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDefaultBillingPlanResponse) GetBillingPlanId() string
- func (*CreateDefaultBillingPlanResponse) ProtoMessage()
- func (x *CreateDefaultBillingPlanResponse) ProtoReflect() protoreflect.Message
- func (x *CreateDefaultBillingPlanResponse) Reset()
- func (x *CreateDefaultBillingPlanResponse) String() string
- type CreateDefaultRateDefinitionRequest
- func (*CreateDefaultRateDefinitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDefaultRateDefinitionRequest) GetRateDefinition() *v1alpha1.RateDefinition
- func (x *CreateDefaultRateDefinitionRequest) GetRateDefinitionId() string
- func (*CreateDefaultRateDefinitionRequest) ProtoMessage()
- func (x *CreateDefaultRateDefinitionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDefaultRateDefinitionRequest) Reset()
- func (x *CreateDefaultRateDefinitionRequest) String() string
- type CreateDefaultRateDefinitionResponse
- func (*CreateDefaultRateDefinitionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDefaultRateDefinitionResponse) GetRateDefinitionId() string
- func (*CreateDefaultRateDefinitionResponse) ProtoMessage()
- func (x *CreateDefaultRateDefinitionResponse) ProtoReflect() protoreflect.Message
- func (x *CreateDefaultRateDefinitionResponse) Reset()
- func (x *CreateDefaultRateDefinitionResponse) String() string
- type CreateInvoiceRequestdeprecated
- func (*CreateInvoiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateInvoiceRequest) GetInvoice() *v1alpha1.Invoicedeprecated
- func (x *CreateInvoiceRequest) GetInvoiceId() stringdeprecated
- func (*CreateInvoiceRequest) ProtoMessage()
- func (x *CreateInvoiceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateInvoiceRequest) Reset()
- func (x *CreateInvoiceRequest) String() string
- type CreateInvoiceResponsedeprecated
- func (*CreateInvoiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateInvoiceResponse) GetInvoiceId() stringdeprecated
- func (*CreateInvoiceResponse) ProtoMessage()
- func (x *CreateInvoiceResponse) ProtoReflect() protoreflect.Message
- func (x *CreateInvoiceResponse) Reset()
- func (x *CreateInvoiceResponse) String() string
- type CreateRateDefinitionRequest
- func (*CreateRateDefinitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRateDefinitionRequest) GetRateDefinition() *v1alpha1.RateDefinition
- func (x *CreateRateDefinitionRequest) GetRateDefinitionId() string
- func (*CreateRateDefinitionRequest) ProtoMessage()
- func (x *CreateRateDefinitionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRateDefinitionRequest) Reset()
- func (x *CreateRateDefinitionRequest) String() string
- type CreateRateDefinitionResponse
- func (*CreateRateDefinitionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRateDefinitionResponse) GetRateDefinitionId() string
- func (*CreateRateDefinitionResponse) ProtoMessage()
- func (x *CreateRateDefinitionResponse) ProtoReflect() protoreflect.Message
- func (x *CreateRateDefinitionResponse) Reset()
- func (x *CreateRateDefinitionResponse) String() string
- type DeleteBillingPlanRequest
- func (*DeleteBillingPlanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBillingPlanRequest) GetBillingPlanId() string
- func (*DeleteBillingPlanRequest) ProtoMessage()
- func (x *DeleteBillingPlanRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBillingPlanRequest) Reset()
- func (x *DeleteBillingPlanRequest) String() string
- type DeleteBillingPlanResponse
- type DeleteDefaultBillingPlanRequest
- func (*DeleteDefaultBillingPlanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDefaultBillingPlanRequest) GetBillingPlanId() string
- func (*DeleteDefaultBillingPlanRequest) ProtoMessage()
- func (x *DeleteDefaultBillingPlanRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDefaultBillingPlanRequest) Reset()
- func (x *DeleteDefaultBillingPlanRequest) String() string
- type DeleteDefaultBillingPlanResponse
- func (*DeleteDefaultBillingPlanResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteDefaultBillingPlanResponse) ProtoMessage()
- func (x *DeleteDefaultBillingPlanResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteDefaultBillingPlanResponse) Reset()
- func (x *DeleteDefaultBillingPlanResponse) String() string
- type DeleteDefaultRateDefinitionRequest
- func (*DeleteDefaultRateDefinitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDefaultRateDefinitionRequest) GetRateDefinitionId() string
- func (*DeleteDefaultRateDefinitionRequest) ProtoMessage()
- func (x *DeleteDefaultRateDefinitionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDefaultRateDefinitionRequest) Reset()
- func (x *DeleteDefaultRateDefinitionRequest) String() string
- type DeleteDefaultRateDefinitionResponse
- func (*DeleteDefaultRateDefinitionResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteDefaultRateDefinitionResponse) ProtoMessage()
- func (x *DeleteDefaultRateDefinitionResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteDefaultRateDefinitionResponse) Reset()
- func (x *DeleteDefaultRateDefinitionResponse) String() string
- type DeleteInvoiceRequestdeprecated
- func (*DeleteInvoiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteInvoiceRequest) GetInvoiceId() stringdeprecated
- func (*DeleteInvoiceRequest) ProtoMessage()
- func (x *DeleteInvoiceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteInvoiceRequest) Reset()
- func (x *DeleteInvoiceRequest) String() string
- type DeleteInvoiceResponsedeprecated
- type DeleteRateDefinitionRequest
- func (*DeleteRateDefinitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRateDefinitionRequest) GetRateDefinitionId() string
- func (*DeleteRateDefinitionRequest) ProtoMessage()
- func (x *DeleteRateDefinitionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRateDefinitionRequest) Reset()
- func (x *DeleteRateDefinitionRequest) String() string
- type DeleteRateDefinitionResponse
- func (*DeleteRateDefinitionResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteRateDefinitionResponse) ProtoMessage()
- func (x *DeleteRateDefinitionResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteRateDefinitionResponse) Reset()
- func (x *DeleteRateDefinitionResponse) String() string
- type DuplicateBillingPlanRequest
- func (*DuplicateBillingPlanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DuplicateBillingPlanRequest) GetBillingPlan() *v1alpha1.BillingPlan
- func (x *DuplicateBillingPlanRequest) GetBillingPlanId() string
- func (*DuplicateBillingPlanRequest) ProtoMessage()
- func (x *DuplicateBillingPlanRequest) ProtoReflect() protoreflect.Message
- func (x *DuplicateBillingPlanRequest) Reset()
- func (x *DuplicateBillingPlanRequest) String() string
- type DuplicateBillingPlanResponse
- func (*DuplicateBillingPlanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DuplicateBillingPlanResponse) GetBillingPlanId() string
- func (*DuplicateBillingPlanResponse) ProtoMessage()
- func (x *DuplicateBillingPlanResponse) ProtoReflect() protoreflect.Message
- func (x *DuplicateBillingPlanResponse) Reset()
- func (x *DuplicateBillingPlanResponse) String() string
- type DuplicateDefaultBillingPlanRequest
- func (*DuplicateDefaultBillingPlanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DuplicateDefaultBillingPlanRequest) GetBillingPlan() *v1alpha1.BillingPlan
- func (x *DuplicateDefaultBillingPlanRequest) GetBillingPlanId() string
- func (*DuplicateDefaultBillingPlanRequest) ProtoMessage()
- func (x *DuplicateDefaultBillingPlanRequest) ProtoReflect() protoreflect.Message
- func (x *DuplicateDefaultBillingPlanRequest) Reset()
- func (x *DuplicateDefaultBillingPlanRequest) String() string
- type DuplicateDefaultBillingPlanResponse
- func (*DuplicateDefaultBillingPlanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DuplicateDefaultBillingPlanResponse) GetBillingPlanId() string
- func (*DuplicateDefaultBillingPlanResponse) ProtoMessage()
- func (x *DuplicateDefaultBillingPlanResponse) ProtoReflect() protoreflect.Message
- func (x *DuplicateDefaultBillingPlanResponse) Reset()
- func (x *DuplicateDefaultBillingPlanResponse) String() string
- type ExportInvoiceRequest
- func (*ExportInvoiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExportInvoiceRequest) GetFormat() InvoiceFormat
- func (x *ExportInvoiceRequest) GetInvoiceDate() *timestamppb.Timestamp
- func (x *ExportInvoiceRequest) GetInvoiceId() stringdeprecated
- func (*ExportInvoiceRequest) ProtoMessage()
- func (x *ExportInvoiceRequest) ProtoReflect() protoreflect.Message
- func (x *ExportInvoiceRequest) Reset()
- func (x *ExportInvoiceRequest) String() string
- type ExportInvoiceResponse
- func (*ExportInvoiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExportInvoiceResponse) GetInvoice() *v1alpha1.Invoice
- func (*ExportInvoiceResponse) ProtoMessage()
- func (x *ExportInvoiceResponse) ProtoReflect() protoreflect.Message
- func (x *ExportInvoiceResponse) Reset()
- func (x *ExportInvoiceResponse) String() string
- type GetActiveBillingPlanRequest
- func (*GetActiveBillingPlanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetActiveBillingPlanRequest) GetEffectiveTime() *timestamppb.Timestamp
- func (x *GetActiveBillingPlanRequest) GetOrgId() string
- func (*GetActiveBillingPlanRequest) ProtoMessage()
- func (x *GetActiveBillingPlanRequest) ProtoReflect() protoreflect.Message
- func (x *GetActiveBillingPlanRequest) Reset()
- func (x *GetActiveBillingPlanRequest) String() string
- type GetActiveBillingPlanResponse
- func (*GetActiveBillingPlanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetActiveBillingPlanResponse) GetBillingPlan() *v1alpha1.BillingPlan
- func (*GetActiveBillingPlanResponse) ProtoMessage()
- func (x *GetActiveBillingPlanResponse) ProtoReflect() protoreflect.Message
- func (x *GetActiveBillingPlanResponse) Reset()
- func (x *GetActiveBillingPlanResponse) String() string
- type GetBillingPlanHistoryRequest
- func (*GetBillingPlanHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBillingPlanHistoryRequest) GetEndTime() *timestamppb.Timestamp
- func (x *GetBillingPlanHistoryRequest) GetGroupIds() []string
- func (x *GetBillingPlanHistoryRequest) GetOrgId() string
- func (x *GetBillingPlanHistoryRequest) GetStartTime() *timestamppb.Timestamp
- func (*GetBillingPlanHistoryRequest) ProtoMessage()
- func (x *GetBillingPlanHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *GetBillingPlanHistoryRequest) Reset()
- func (x *GetBillingPlanHistoryRequest) String() string
- type GetBillingPlanHistoryResponse
- func (*GetBillingPlanHistoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBillingPlanHistoryResponse) GetHistory() []*v1alpha1.BillingPlanSnapshot
- func (*GetBillingPlanHistoryResponse) ProtoMessage()
- func (x *GetBillingPlanHistoryResponse) ProtoReflect() protoreflect.Message
- func (x *GetBillingPlanHistoryResponse) Reset()
- func (x *GetBillingPlanHistoryResponse) String() string
- type GetBillingPlanRequest
- func (*GetBillingPlanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBillingPlanRequest) GetBillingPlanId() string
- func (*GetBillingPlanRequest) ProtoMessage()
- func (x *GetBillingPlanRequest) ProtoReflect() protoreflect.Message
- func (x *GetBillingPlanRequest) Reset()
- func (x *GetBillingPlanRequest) String() string
- type GetBillingPlanResponse
- func (*GetBillingPlanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBillingPlanResponse) GetBillingPlan() *v1alpha1.BillingPlan
- func (*GetBillingPlanResponse) ProtoMessage()
- func (x *GetBillingPlanResponse) ProtoReflect() protoreflect.Message
- func (x *GetBillingPlanResponse) Reset()
- func (x *GetBillingPlanResponse) String() string
- type GetInvoiceRequestdeprecated
- func (*GetInvoiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetInvoiceRequest) GetInvoiceId() stringdeprecated
- func (*GetInvoiceRequest) ProtoMessage()
- func (x *GetInvoiceRequest) ProtoReflect() protoreflect.Message
- func (x *GetInvoiceRequest) Reset()
- func (x *GetInvoiceRequest) String() string
- type GetInvoiceResponsedeprecated
- func (*GetInvoiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetInvoiceResponse) GetInvoice() *v1alpha1.Invoicedeprecated
- func (*GetInvoiceResponse) ProtoMessage()
- func (x *GetInvoiceResponse) ProtoReflect() protoreflect.Message
- func (x *GetInvoiceResponse) Reset()
- func (x *GetInvoiceResponse) String() string
- type GetRateDefinitionRequest
- func (*GetRateDefinitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRateDefinitionRequest) GetRateDefinitionId() string
- func (*GetRateDefinitionRequest) ProtoMessage()
- func (x *GetRateDefinitionRequest) ProtoReflect() protoreflect.Message
- func (x *GetRateDefinitionRequest) Reset()
- func (x *GetRateDefinitionRequest) String() string
- type GetRateDefinitionResponse
- func (*GetRateDefinitionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRateDefinitionResponse) GetRateDefinition() *v1alpha1.RateDefinition
- func (*GetRateDefinitionResponse) ProtoMessage()
- func (x *GetRateDefinitionResponse) ProtoReflect() protoreflect.Message
- func (x *GetRateDefinitionResponse) Reset()
- func (x *GetRateDefinitionResponse) String() string
- type InvoiceFormat
- func (InvoiceFormat) Descriptor() protoreflect.EnumDescriptor
- func (x InvoiceFormat) Enum() *InvoiceFormat
- func (InvoiceFormat) EnumDescriptor() ([]byte, []int)deprecated
- func (x InvoiceFormat) Number() protoreflect.EnumNumber
- func (x InvoiceFormat) String() string
- func (InvoiceFormat) Type() protoreflect.EnumType
- type ListBillingPlansRequest
- func (*ListBillingPlansRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBillingPlansRequest) GetBillingPlanId() string
- func (x *ListBillingPlansRequest) GetFields() *fieldmaskpb.FieldMask
- func (x *ListBillingPlansRequest) GetFilter() string
- func (x *ListBillingPlansRequest) GetPage() *Page
- func (x *ListBillingPlansRequest) GetSort() []*Sort
- func (*ListBillingPlansRequest) ProtoMessage()
- func (x *ListBillingPlansRequest) ProtoReflect() protoreflect.Message
- func (x *ListBillingPlansRequest) Reset()
- func (x *ListBillingPlansRequest) String() string
- type ListBillingPlansResponse
- func (*ListBillingPlansResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBillingPlansResponse) GetBillingPlans() []*v1alpha1.BillingPlan
- func (x *ListBillingPlansResponse) GetToken() string
- func (*ListBillingPlansResponse) ProtoMessage()
- func (x *ListBillingPlansResponse) ProtoReflect() protoreflect.Message
- func (x *ListBillingPlansResponse) Reset()
- func (x *ListBillingPlansResponse) String() string
- type ListInvoicesRequestdeprecated
- func (*ListInvoicesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListInvoicesRequest) GetFields() *fieldmaskpb.FieldMaskdeprecated
- func (x *ListInvoicesRequest) GetFilter() stringdeprecated
- func (x *ListInvoicesRequest) GetInvoiceId() stringdeprecated
- func (x *ListInvoicesRequest) GetPage() *Pagedeprecated
- func (x *ListInvoicesRequest) GetSort() []*Sortdeprecated
- func (*ListInvoicesRequest) ProtoMessage()
- func (x *ListInvoicesRequest) ProtoReflect() protoreflect.Message
- func (x *ListInvoicesRequest) Reset()
- func (x *ListInvoicesRequest) String() string
- type ListInvoicesResponsedeprecated
- func (*ListInvoicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListInvoicesResponse) GetInvoices() []*v1alpha1.Invoicedeprecated
- func (x *ListInvoicesResponse) GetToken() stringdeprecated
- func (*ListInvoicesResponse) ProtoMessage()
- func (x *ListInvoicesResponse) ProtoReflect() protoreflect.Message
- func (x *ListInvoicesResponse) Reset()
- func (x *ListInvoicesResponse) String() string
- type ListRateDefinitionsRequest
- func (*ListRateDefinitionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRateDefinitionsRequest) GetFields() *fieldmaskpb.FieldMask
- func (x *ListRateDefinitionsRequest) GetFilter() string
- func (x *ListRateDefinitionsRequest) GetPage() *Page
- func (x *ListRateDefinitionsRequest) GetRateDefinitionId() string
- func (x *ListRateDefinitionsRequest) GetSort() []*Sort
- func (*ListRateDefinitionsRequest) ProtoMessage()
- func (x *ListRateDefinitionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListRateDefinitionsRequest) Reset()
- func (x *ListRateDefinitionsRequest) String() string
- type ListRateDefinitionsResponse
- func (*ListRateDefinitionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRateDefinitionsResponse) GetRateDefinitions() []*v1alpha1.RateDefinition
- func (x *ListRateDefinitionsResponse) GetToken() string
- func (*ListRateDefinitionsResponse) ProtoMessage()
- func (x *ListRateDefinitionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListRateDefinitionsResponse) Reset()
- func (x *ListRateDefinitionsResponse) String() string
- type Order
- type Page
- type Sort
- type UnimplementedBillingServiceServer
- func (UnimplementedBillingServiceServer) CommitBillingPlan(context.Context, *CommitBillingPlanRequest) (*CommitBillingPlanResponse, error)
- func (UnimplementedBillingServiceServer) CommitDefaultBillingPlan(context.Context, *CommitDefaultBillingPlanRequest) (*CommitDefaultBillingPlanResponse, error)
- func (UnimplementedBillingServiceServer) CreateBillingPlan(context.Context, *CreateBillingPlanRequest) (*CreateBillingPlanResponse, error)
- func (UnimplementedBillingServiceServer) CreateDefaultBillingPlan(context.Context, *CreateDefaultBillingPlanRequest) (*CreateDefaultBillingPlanResponse, error)
- func (UnimplementedBillingServiceServer) CreateDefaultRateDefinition(context.Context, *CreateDefaultRateDefinitionRequest) (*CreateDefaultRateDefinitionResponse, error)
- func (UnimplementedBillingServiceServer) CreateInvoice(context.Context, *CreateInvoiceRequest) (*CreateInvoiceResponse, error)
- func (UnimplementedBillingServiceServer) CreateRateDefinition(context.Context, *CreateRateDefinitionRequest) (*CreateRateDefinitionResponse, error)
- func (UnimplementedBillingServiceServer) DeleteBillingPlan(context.Context, *DeleteBillingPlanRequest) (*DeleteBillingPlanResponse, error)
- func (UnimplementedBillingServiceServer) DeleteDefaultBillingPlan(context.Context, *DeleteDefaultBillingPlanRequest) (*DeleteDefaultBillingPlanResponse, error)
- func (UnimplementedBillingServiceServer) DeleteDefaultRateDefinition(context.Context, *DeleteDefaultRateDefinitionRequest) (*DeleteDefaultRateDefinitionResponse, error)
- func (UnimplementedBillingServiceServer) DeleteInvoice(context.Context, *DeleteInvoiceRequest) (*DeleteInvoiceResponse, error)
- func (UnimplementedBillingServiceServer) DeleteRateDefinition(context.Context, *DeleteRateDefinitionRequest) (*DeleteRateDefinitionResponse, error)
- func (UnimplementedBillingServiceServer) DuplicateBillingPlan(context.Context, *DuplicateBillingPlanRequest) (*DuplicateBillingPlanResponse, error)
- func (UnimplementedBillingServiceServer) DuplicateDefaultBillingPlan(context.Context, *DuplicateDefaultBillingPlanRequest) (*DuplicateDefaultBillingPlanResponse, error)
- func (UnimplementedBillingServiceServer) ExportInvoice(context.Context, *ExportInvoiceRequest) (*ExportInvoiceResponse, error)
- func (UnimplementedBillingServiceServer) GetActiveBillingPlan(context.Context, *GetActiveBillingPlanRequest) (*GetActiveBillingPlanResponse, error)
- func (UnimplementedBillingServiceServer) GetBillingPlan(context.Context, *GetBillingPlanRequest) (*GetBillingPlanResponse, error)
- func (UnimplementedBillingServiceServer) GetBillingPlanHistory(context.Context, *GetBillingPlanHistoryRequest) (*GetBillingPlanHistoryResponse, error)
- func (UnimplementedBillingServiceServer) GetInvoice(context.Context, *GetInvoiceRequest) (*GetInvoiceResponse, error)
- func (UnimplementedBillingServiceServer) GetRateDefinition(context.Context, *GetRateDefinitionRequest) (*GetRateDefinitionResponse, error)
- func (UnimplementedBillingServiceServer) ListBillingPlans(context.Context, *ListBillingPlansRequest) (*ListBillingPlansResponse, error)
- func (UnimplementedBillingServiceServer) ListInvoices(context.Context, *ListInvoicesRequest) (*ListInvoicesResponse, error)
- func (UnimplementedBillingServiceServer) ListRateDefinitions(context.Context, *ListRateDefinitionsRequest) (*ListRateDefinitionsResponse, error)
- func (UnimplementedBillingServiceServer) UpdateBillingPlan(context.Context, *UpdateBillingPlanRequest) (*UpdateBillingPlanResponse, error)
- func (UnimplementedBillingServiceServer) UpdateDefaultBillingPlan(context.Context, *UpdateDefaultBillingPlanRequest) (*UpdateDefaultBillingPlanResponse, error)
- func (UnimplementedBillingServiceServer) UpdateDefaultRateDefinition(context.Context, *UpdateDefaultRateDefinitionRequest) (*UpdateDefaultRateDefinitionResponse, error)
- func (UnimplementedBillingServiceServer) UpdateInvoice(context.Context, *UpdateInvoiceRequest) (*UpdateInvoiceResponse, error)
- func (UnimplementedBillingServiceServer) UpdateRateDefinition(context.Context, *UpdateRateDefinitionRequest) (*UpdateRateDefinitionResponse, error)
- type UnsafeBillingServiceServer
- type UpdateBillingPlanRequest
- func (*UpdateBillingPlanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBillingPlanRequest) GetBillingPlan() *v1alpha1.BillingPlan
- func (x *UpdateBillingPlanRequest) GetBillingPlanId() string
- func (x *UpdateBillingPlanRequest) GetUpdateFields() *fieldmaskpb.FieldMask
- func (*UpdateBillingPlanRequest) ProtoMessage()
- func (x *UpdateBillingPlanRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBillingPlanRequest) Reset()
- func (x *UpdateBillingPlanRequest) String() string
- type UpdateBillingPlanResponse
- type UpdateDefaultBillingPlanRequest
- func (*UpdateDefaultBillingPlanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDefaultBillingPlanRequest) GetBillingPlan() *v1alpha1.BillingPlan
- func (x *UpdateDefaultBillingPlanRequest) GetBillingPlanId() string
- func (x *UpdateDefaultBillingPlanRequest) GetUpdateFields() *fieldmaskpb.FieldMask
- func (*UpdateDefaultBillingPlanRequest) ProtoMessage()
- func (x *UpdateDefaultBillingPlanRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDefaultBillingPlanRequest) Reset()
- func (x *UpdateDefaultBillingPlanRequest) String() string
- type UpdateDefaultBillingPlanResponse
- func (*UpdateDefaultBillingPlanResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateDefaultBillingPlanResponse) ProtoMessage()
- func (x *UpdateDefaultBillingPlanResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateDefaultBillingPlanResponse) Reset()
- func (x *UpdateDefaultBillingPlanResponse) String() string
- type UpdateDefaultRateDefinitionRequest
- func (*UpdateDefaultRateDefinitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDefaultRateDefinitionRequest) GetRateDefinition() *v1alpha1.RateDefinition
- func (x *UpdateDefaultRateDefinitionRequest) GetRateDefinitionId() string
- func (x *UpdateDefaultRateDefinitionRequest) GetUpdateFields() *fieldmaskpb.FieldMask
- func (*UpdateDefaultRateDefinitionRequest) ProtoMessage()
- func (x *UpdateDefaultRateDefinitionRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDefaultRateDefinitionRequest) Reset()
- func (x *UpdateDefaultRateDefinitionRequest) String() string
- type UpdateDefaultRateDefinitionResponse
- func (*UpdateDefaultRateDefinitionResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateDefaultRateDefinitionResponse) ProtoMessage()
- func (x *UpdateDefaultRateDefinitionResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateDefaultRateDefinitionResponse) Reset()
- func (x *UpdateDefaultRateDefinitionResponse) String() string
- type UpdateInvoiceRequestdeprecated
- func (*UpdateInvoiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateInvoiceRequest) GetInvoice() *v1alpha1.Invoicedeprecated
- func (x *UpdateInvoiceRequest) GetInvoiceId() stringdeprecated
- func (x *UpdateInvoiceRequest) GetUpdateFields() *fieldmaskpb.FieldMaskdeprecated
- func (*UpdateInvoiceRequest) ProtoMessage()
- func (x *UpdateInvoiceRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateInvoiceRequest) Reset()
- func (x *UpdateInvoiceRequest) String() string
- type UpdateInvoiceResponsedeprecated
- type UpdateRateDefinitionRequest
- func (*UpdateRateDefinitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRateDefinitionRequest) GetRateDefinition() *v1alpha1.RateDefinition
- func (x *UpdateRateDefinitionRequest) GetRateDefinitionId() string
- func (x *UpdateRateDefinitionRequest) GetUpdateFields() *fieldmaskpb.FieldMask
- func (*UpdateRateDefinitionRequest) ProtoMessage()
- func (x *UpdateRateDefinitionRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRateDefinitionRequest) Reset()
- func (x *UpdateRateDefinitionRequest) String() string
- type UpdateRateDefinitionResponse
- func (*UpdateRateDefinitionResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateRateDefinitionResponse) ProtoMessage()
- func (x *UpdateRateDefinitionResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateRateDefinitionResponse) Reset()
- func (x *UpdateRateDefinitionResponse) String() string
Constants ¶
const ( BillingService_CommitBillingPlan_FullMethodName = "/services.billing.v1alpha1.BillingService/CommitBillingPlan" BillingService_CommitDefaultBillingPlan_FullMethodName = "/services.billing.v1alpha1.BillingService/CommitDefaultBillingPlan" BillingService_CreateBillingPlan_FullMethodName = "/services.billing.v1alpha1.BillingService/CreateBillingPlan" BillingService_CreateDefaultBillingPlan_FullMethodName = "/services.billing.v1alpha1.BillingService/CreateDefaultBillingPlan" BillingService_CreateDefaultRateDefinition_FullMethodName = "/services.billing.v1alpha1.BillingService/CreateDefaultRateDefinition" BillingService_CreateInvoice_FullMethodName = "/services.billing.v1alpha1.BillingService/CreateInvoice" BillingService_CreateRateDefinition_FullMethodName = "/services.billing.v1alpha1.BillingService/CreateRateDefinition" BillingService_DeleteBillingPlan_FullMethodName = "/services.billing.v1alpha1.BillingService/DeleteBillingPlan" BillingService_DeleteDefaultBillingPlan_FullMethodName = "/services.billing.v1alpha1.BillingService/DeleteDefaultBillingPlan" BillingService_DeleteDefaultRateDefinition_FullMethodName = "/services.billing.v1alpha1.BillingService/DeleteDefaultRateDefinition" BillingService_DeleteInvoice_FullMethodName = "/services.billing.v1alpha1.BillingService/DeleteInvoice" BillingService_DeleteRateDefinition_FullMethodName = "/services.billing.v1alpha1.BillingService/DeleteRateDefinition" BillingService_DuplicateBillingPlan_FullMethodName = "/services.billing.v1alpha1.BillingService/DuplicateBillingPlan" BillingService_DuplicateDefaultBillingPlan_FullMethodName = "/services.billing.v1alpha1.BillingService/DuplicateDefaultBillingPlan" BillingService_ExportInvoice_FullMethodName = "/services.billing.v1alpha1.BillingService/ExportInvoice" BillingService_GetActiveBillingPlan_FullMethodName = "/services.billing.v1alpha1.BillingService/GetActiveBillingPlan" BillingService_GetBillingPlan_FullMethodName = "/services.billing.v1alpha1.BillingService/GetBillingPlan" BillingService_GetBillingPlanHistory_FullMethodName = "/services.billing.v1alpha1.BillingService/GetBillingPlanHistory" BillingService_GetInvoice_FullMethodName = "/services.billing.v1alpha1.BillingService/GetInvoice" BillingService_GetRateDefinition_FullMethodName = "/services.billing.v1alpha1.BillingService/GetRateDefinition" BillingService_ListBillingPlans_FullMethodName = "/services.billing.v1alpha1.BillingService/ListBillingPlans" BillingService_ListInvoices_FullMethodName = "/services.billing.v1alpha1.BillingService/ListInvoices" BillingService_ListRateDefinitions_FullMethodName = "/services.billing.v1alpha1.BillingService/ListRateDefinitions" BillingService_UpdateBillingPlan_FullMethodName = "/services.billing.v1alpha1.BillingService/UpdateBillingPlan" BillingService_UpdateDefaultBillingPlan_FullMethodName = "/services.billing.v1alpha1.BillingService/UpdateDefaultBillingPlan" BillingService_UpdateDefaultRateDefinition_FullMethodName = "/services.billing.v1alpha1.BillingService/UpdateDefaultRateDefinition" BillingService_UpdateInvoice_FullMethodName = "/services.billing.v1alpha1.BillingService/UpdateInvoice" BillingService_UpdateRateDefinition_FullMethodName = "/services.billing.v1alpha1.BillingService/UpdateRateDefinition" )
Variables ¶
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.
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.
var BillingService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "services.billing.v1alpha1.BillingService", HandlerType: (*BillingServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CommitBillingPlan", Handler: _BillingService_CommitBillingPlan_Handler, }, { MethodName: "CommitDefaultBillingPlan", Handler: _BillingService_CommitDefaultBillingPlan_Handler, }, { MethodName: "CreateBillingPlan", Handler: _BillingService_CreateBillingPlan_Handler, }, { MethodName: "CreateDefaultBillingPlan", Handler: _BillingService_CreateDefaultBillingPlan_Handler, }, { MethodName: "CreateDefaultRateDefinition", Handler: _BillingService_CreateDefaultRateDefinition_Handler, }, { MethodName: "CreateInvoice", Handler: _BillingService_CreateInvoice_Handler, }, { MethodName: "CreateRateDefinition", Handler: _BillingService_CreateRateDefinition_Handler, }, { MethodName: "DeleteBillingPlan", Handler: _BillingService_DeleteBillingPlan_Handler, }, { MethodName: "DeleteDefaultBillingPlan", Handler: _BillingService_DeleteDefaultBillingPlan_Handler, }, { MethodName: "DeleteDefaultRateDefinition", Handler: _BillingService_DeleteDefaultRateDefinition_Handler, }, { MethodName: "DeleteInvoice", Handler: _BillingService_DeleteInvoice_Handler, }, { MethodName: "DeleteRateDefinition", Handler: _BillingService_DeleteRateDefinition_Handler, }, { MethodName: "DuplicateBillingPlan", Handler: _BillingService_DuplicateBillingPlan_Handler, }, { MethodName: "DuplicateDefaultBillingPlan", Handler: _BillingService_DuplicateDefaultBillingPlan_Handler, }, { MethodName: "ExportInvoice", Handler: _BillingService_ExportInvoice_Handler, }, { MethodName: "GetActiveBillingPlan", Handler: _BillingService_GetActiveBillingPlan_Handler, }, { MethodName: "GetBillingPlan", Handler: _BillingService_GetBillingPlan_Handler, }, { MethodName: "GetBillingPlanHistory", Handler: _BillingService_GetBillingPlanHistory_Handler, }, { MethodName: "GetInvoice", Handler: _BillingService_GetInvoice_Handler, }, { MethodName: "GetRateDefinition", Handler: _BillingService_GetRateDefinition_Handler, }, { MethodName: "ListBillingPlans", Handler: _BillingService_ListBillingPlans_Handler, }, { MethodName: "ListInvoices", Handler: _BillingService_ListInvoices_Handler, }, { MethodName: "ListRateDefinitions", Handler: _BillingService_ListRateDefinitions_Handler, }, { MethodName: "UpdateBillingPlan", Handler: _BillingService_UpdateBillingPlan_Handler, }, { MethodName: "UpdateDefaultBillingPlan", Handler: _BillingService_UpdateDefaultBillingPlan_Handler, }, { MethodName: "UpdateDefaultRateDefinition", Handler: _BillingService_UpdateDefaultRateDefinition_Handler, }, { MethodName: "UpdateInvoice", Handler: _BillingService_UpdateInvoice_Handler, }, { MethodName: "UpdateRateDefinition", Handler: _BillingService_UpdateRateDefinition_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "services/billing/v1alpha1/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)
var File_services_billing_v1alpha1_core_proto protoreflect.FileDescriptor
var File_services_billing_v1alpha1_invoices_proto protoreflect.FileDescriptor
var File_services_billing_v1alpha1_plans_proto protoreflect.FileDescriptor
var File_services_billing_v1alpha1_rates_proto protoreflect.FileDescriptor
var File_services_billing_v1alpha1_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBillingServiceServer ¶
func RegisterBillingServiceServer(s grpc.ServiceRegistrar, srv BillingServiceServer)
Types ¶
type BillingServiceClient ¶
type BillingServiceClient interface { // Deprecated: Do not use. // Commits a billing plan for the ORG, finalizing it's creation and allowing it // to become active. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.FailedPrecondition: The billing plan is already committed. // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified billing plan 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. CommitBillingPlan(ctx context.Context, in *CommitBillingPlanRequest, opts ...grpc.CallOption) (*CommitBillingPlanResponse, error) // Deprecated: Do not use. // Commits a default billing plan for the REGION, finalizing it's creation and allowing it // to become active. // Required permissions: // // CUSTOMER_SUPPORT // TCN_BILLING_ADMIN // // Errors: // - grpc.FailedPrecondition: The default billing plan is already committed. // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified default billing plan doesn't exist. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. CommitDefaultBillingPlan(ctx context.Context, in *CommitDefaultBillingPlanRequest, opts ...grpc.CallOption) (*CommitDefaultBillingPlanResponse, error) // Deprecated: Do not use. // Creates a billing plan for the ORG. // 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. Likely a transient issue with a downstream service. CreateBillingPlan(ctx context.Context, in *CreateBillingPlanRequest, opts ...grpc.CallOption) (*CreateBillingPlanResponse, error) // Deprecated: Do not use. // Creates the default billing plan for the REGION. // Required permissions: // // CUSTOMER_SUPPORT // 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. CreateDefaultBillingPlan(ctx context.Context, in *CreateDefaultBillingPlanRequest, opts ...grpc.CallOption) (*CreateDefaultBillingPlanResponse, error) // Creates a default rate definition for a default billing plan for the REGION. // Required permissions: // // CUSTOMER_SUPPORT // TCN_BILLING_ADMIN // // Errors: // - grpc.AlreadyExists: A rate definition with the same feature already exists. // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The default billing plan doesn't exist. // - 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) // Deprecated: Do not use. // Creates an invoice for the ORG for the specified billing cycle. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.AlreadyExists: An invoice already exists for the specified billing cycle. // - 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. CreateInvoice(ctx context.Context, in *CreateInvoiceRequest, opts ...grpc.CallOption) (*CreateInvoiceResponse, error) // Creates a rate definition for a Billing Plan in an ORG. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.AlreadyExists: A rate definition with the same feature id already exists. // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified billing plan or rate definition group 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. CreateRateDefinition(ctx context.Context, in *CreateRateDefinitionRequest, opts ...grpc.CallOption) (*CreateRateDefinitionResponse, error) // Deprecated: Do not use. // Deletes an inactive billing plan. A billing plan is inactive if it hasn't started. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.FailedPrecondition: The billing plan is active. // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified billing plan 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. DeleteBillingPlan(ctx context.Context, in *DeleteBillingPlanRequest, opts ...grpc.CallOption) (*DeleteBillingPlanResponse, error) // Deprecated: Do not use. // Deletes an inactive default billing plan for the REGION. A billing plan is inactive // if it hasn't started. // Required permissions: // // CUSTOMER_SUPPORT // TCN_BILLING_ADMIN // // Errors: // - grpc.FailedPrecondition: The billing plan is active. // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The default billing plan doesn't exist. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. DeleteDefaultBillingPlan(ctx context.Context, in *DeleteDefaultBillingPlanRequest, opts ...grpc.CallOption) (*DeleteDefaultBillingPlanResponse, error) // Deletes a rate definition from the default billing plan for the REGION. // - The default billing plan must be inactive. // // Required permissions: // // CUSTOMER_SUPPORT // TCN_BILLING_ADMIN // // Errors: // - grpc.FailedPrecondition: The billing plan is active. // - 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) // Deprecated: Do not use. // Deletes an invoice. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified invoice 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. DeleteInvoice(ctx context.Context, in *DeleteInvoiceRequest, opts ...grpc.CallOption) (*DeleteInvoiceResponse, error) // Deletes a rate definition from a Billing Plan in an ORG. // - The billing plan must be inactive. // // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.FailedPrecondition: The billing plan is active. // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified billing plan or rate definition group 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) // Deprecated: Do not use. // Duplicates a billing plan. This copies the billing plan and all of its rate definitions. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified billing plan 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. DuplicateBillingPlan(ctx context.Context, in *DuplicateBillingPlanRequest, opts ...grpc.CallOption) (*DuplicateBillingPlanResponse, error) // Deprecated: Do not use. // Duplicates a default billing plan. This copies the billing plan, all of its rate definitions, // and all of its rate definition groups and features. // Required permissions: // // CUSTOMER_SUPPORT // TCN_BILLING_ADMIN // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified billing plan 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. DuplicateDefaultBillingPlan(ctx context.Context, in *DuplicateDefaultBillingPlanRequest, opts ...grpc.CallOption) (*DuplicateDefaultBillingPlanResponse, 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) // Deprecated: Do not use. // Returns the active billing plan for the ORG or REGION. The active billing plan is a billing plan // whose start_time has passed and end_time has not passed. If multiple satisfy that requirement, the // newest one is considered active. If no plan is active, it indicates the ORG is using REGION defaults, // or that the REGION has not been set up for billing yet. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: There isn't an active billing plan. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. Likely a transient issue with a downstream service. GetActiveBillingPlan(ctx context.Context, in *GetActiveBillingPlanRequest, opts ...grpc.CallOption) (*GetActiveBillingPlanResponse, error) // Deprecated: Do not use. // Returns the specified billing plan. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified billing plan 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. GetBillingPlan(ctx context.Context, in *GetBillingPlanRequest, opts ...grpc.CallOption) (*GetBillingPlanResponse, error) // Deprecated: Do not use. // Returns the billing plan 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. GetBillingPlanHistory(ctx context.Context, in *GetBillingPlanHistoryRequest, opts ...grpc.CallOption) (*GetBillingPlanHistoryResponse, error) // Deprecated: Do not use. // Returns the specified invoice. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified invoice 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. GetInvoice(ctx context.Context, in *GetInvoiceRequest, opts ...grpc.CallOption) (*GetInvoiceResponse, 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) // Deprecated: Do not use. // Lists billing plans. // 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. Likely a transient issue with a downstream service. ListBillingPlans(ctx context.Context, in *ListBillingPlansRequest, opts ...grpc.CallOption) (*ListBillingPlansResponse, error) // Deprecated: Do not use. // Lists invoices. // 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. Likely a transient issue with a downstream service. ListInvoices(ctx context.Context, in *ListInvoicesRequest, opts ...grpc.CallOption) (*ListInvoicesResponse, 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) // Deprecated: Do not use. // Updates an inactive billing plan. A billing plan is inactive if it hasn't started. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.FailedPrecondition: The billing plan is active. // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified billing plan 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. UpdateBillingPlan(ctx context.Context, in *UpdateBillingPlanRequest, opts ...grpc.CallOption) (*UpdateBillingPlanResponse, error) // Deprecated: Do not use. // Updates an inactive default billing plan for the REGION. A billing plan is inactive // if it hasn't started. // Required permissions: // // CUSTOMER_SUPPORT // TCN_BILLING_ADMIN // // Errors: // - grpc.FailedPrecondition: The billing plan is active. // - 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. UpdateDefaultBillingPlan(ctx context.Context, in *UpdateDefaultBillingPlanRequest, opts ...grpc.CallOption) (*UpdateDefaultBillingPlanResponse, error) // Updates a default rate definition. // - The billing plan must be inactive. // // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.FailedPrecondition: The billing plan is active. // - 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) // Deprecated: Do not use. // Updates the specified invoice. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified invoice 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. UpdateInvoice(ctx context.Context, in *UpdateInvoiceRequest, opts ...grpc.CallOption) (*UpdateInvoiceResponse, error) // Updates a rate definition. // - The billing plan must be inactive. // // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.FailedPrecondition: The billing plan is active. // - 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.
func NewBillingServiceClient ¶
func NewBillingServiceClient(cc grpc.ClientConnInterface) BillingServiceClient
type BillingServiceServer ¶
type BillingServiceServer interface { // Deprecated: Do not use. // Commits a billing plan for the ORG, finalizing it's creation and allowing it // to become active. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.FailedPrecondition: The billing plan is already committed. // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified billing plan 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. CommitBillingPlan(context.Context, *CommitBillingPlanRequest) (*CommitBillingPlanResponse, error) // Deprecated: Do not use. // Commits a default billing plan for the REGION, finalizing it's creation and allowing it // to become active. // Required permissions: // // CUSTOMER_SUPPORT // TCN_BILLING_ADMIN // // Errors: // - grpc.FailedPrecondition: The default billing plan is already committed. // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified default billing plan doesn't exist. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. CommitDefaultBillingPlan(context.Context, *CommitDefaultBillingPlanRequest) (*CommitDefaultBillingPlanResponse, error) // Deprecated: Do not use. // Creates a billing plan for the ORG. // 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. Likely a transient issue with a downstream service. CreateBillingPlan(context.Context, *CreateBillingPlanRequest) (*CreateBillingPlanResponse, error) // Deprecated: Do not use. // Creates the default billing plan for the REGION. // Required permissions: // // CUSTOMER_SUPPORT // 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. CreateDefaultBillingPlan(context.Context, *CreateDefaultBillingPlanRequest) (*CreateDefaultBillingPlanResponse, error) // Creates a default rate definition for a default billing plan for the REGION. // Required permissions: // // CUSTOMER_SUPPORT // TCN_BILLING_ADMIN // // Errors: // - grpc.AlreadyExists: A rate definition with the same feature already exists. // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The default billing plan doesn't exist. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. CreateDefaultRateDefinition(context.Context, *CreateDefaultRateDefinitionRequest) (*CreateDefaultRateDefinitionResponse, error) // Deprecated: Do not use. // Creates an invoice for the ORG for the specified billing cycle. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.AlreadyExists: An invoice already exists for the specified billing cycle. // - 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. CreateInvoice(context.Context, *CreateInvoiceRequest) (*CreateInvoiceResponse, error) // Creates a rate definition for a Billing Plan in an ORG. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.AlreadyExists: A rate definition with the same feature id already exists. // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified billing plan or rate definition group 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. CreateRateDefinition(context.Context, *CreateRateDefinitionRequest) (*CreateRateDefinitionResponse, error) // Deprecated: Do not use. // Deletes an inactive billing plan. A billing plan is inactive if it hasn't started. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.FailedPrecondition: The billing plan is active. // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified billing plan 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. DeleteBillingPlan(context.Context, *DeleteBillingPlanRequest) (*DeleteBillingPlanResponse, error) // Deprecated: Do not use. // Deletes an inactive default billing plan for the REGION. A billing plan is inactive // if it hasn't started. // Required permissions: // // CUSTOMER_SUPPORT // TCN_BILLING_ADMIN // // Errors: // - grpc.FailedPrecondition: The billing plan is active. // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The default billing plan doesn't exist. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. DeleteDefaultBillingPlan(context.Context, *DeleteDefaultBillingPlanRequest) (*DeleteDefaultBillingPlanResponse, error) // Deletes a rate definition from the default billing plan for the REGION. // - The default billing plan must be inactive. // // Required permissions: // // CUSTOMER_SUPPORT // TCN_BILLING_ADMIN // // Errors: // - grpc.FailedPrecondition: The billing plan is active. // - 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) // Deprecated: Do not use. // Deletes an invoice. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified invoice 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. DeleteInvoice(context.Context, *DeleteInvoiceRequest) (*DeleteInvoiceResponse, error) // Deletes a rate definition from a Billing Plan in an ORG. // - The billing plan must be inactive. // // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.FailedPrecondition: The billing plan is active. // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified billing plan or rate definition group 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) // Deprecated: Do not use. // Duplicates a billing plan. This copies the billing plan and all of its rate definitions. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified billing plan 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. DuplicateBillingPlan(context.Context, *DuplicateBillingPlanRequest) (*DuplicateBillingPlanResponse, error) // Deprecated: Do not use. // Duplicates a default billing plan. This copies the billing plan, all of its rate definitions, // and all of its rate definition groups and features. // Required permissions: // // CUSTOMER_SUPPORT // TCN_BILLING_ADMIN // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified billing plan 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. DuplicateDefaultBillingPlan(context.Context, *DuplicateDefaultBillingPlanRequest) (*DuplicateDefaultBillingPlanResponse, 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) // Deprecated: Do not use. // Returns the active billing plan for the ORG or REGION. The active billing plan is a billing plan // whose start_time has passed and end_time has not passed. If multiple satisfy that requirement, the // newest one is considered active. If no plan is active, it indicates the ORG is using REGION defaults, // or that the REGION has not been set up for billing yet. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: There isn't an active billing plan. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. Likely a transient issue with a downstream service. GetActiveBillingPlan(context.Context, *GetActiveBillingPlanRequest) (*GetActiveBillingPlanResponse, error) // Deprecated: Do not use. // Returns the specified billing plan. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified billing plan 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. GetBillingPlan(context.Context, *GetBillingPlanRequest) (*GetBillingPlanResponse, error) // Deprecated: Do not use. // Returns the billing plan 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. GetBillingPlanHistory(context.Context, *GetBillingPlanHistoryRequest) (*GetBillingPlanHistoryResponse, error) // Deprecated: Do not use. // Returns the specified invoice. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified invoice 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. GetInvoice(context.Context, *GetInvoiceRequest) (*GetInvoiceResponse, 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) // Deprecated: Do not use. // Lists billing plans. // 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. Likely a transient issue with a downstream service. ListBillingPlans(context.Context, *ListBillingPlansRequest) (*ListBillingPlansResponse, error) // Deprecated: Do not use. // Lists invoices. // 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. Likely a transient issue with a downstream service. ListInvoices(context.Context, *ListInvoicesRequest) (*ListInvoicesResponse, 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) // Deprecated: Do not use. // Updates an inactive billing plan. A billing plan is inactive if it hasn't started. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.FailedPrecondition: The billing plan is active. // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified billing plan 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. UpdateBillingPlan(context.Context, *UpdateBillingPlanRequest) (*UpdateBillingPlanResponse, error) // Deprecated: Do not use. // Updates an inactive default billing plan for the REGION. A billing plan is inactive // if it hasn't started. // Required permissions: // // CUSTOMER_SUPPORT // TCN_BILLING_ADMIN // // Errors: // - grpc.FailedPrecondition: The billing plan is active. // - 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. UpdateDefaultBillingPlan(context.Context, *UpdateDefaultBillingPlanRequest) (*UpdateDefaultBillingPlanResponse, error) // Updates a default rate definition. // - The billing plan must be inactive. // // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.FailedPrecondition: The billing plan is active. // - 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) // Deprecated: Do not use. // Updates the specified invoice. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified invoice 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. UpdateInvoice(context.Context, *UpdateInvoiceRequest) (*UpdateInvoiceResponse, error) // Updates a rate definition. // - The billing plan must be inactive. // // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.FailedPrecondition: The billing plan is active. // - 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 CommitBillingPlanRequest ¶
type CommitBillingPlanRequest struct { BillingPlanId string `protobuf:"bytes,1,opt,name=billing_plan_id,json=billingPlanId,proto3" json:"billing_plan_id,omitempty"` // contains filtered or unexported fields }
func (*CommitBillingPlanRequest) Descriptor
deprecated
func (*CommitBillingPlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommitBillingPlanRequest.ProtoReflect.Descriptor instead.
func (*CommitBillingPlanRequest) GetBillingPlanId ¶
func (x *CommitBillingPlanRequest) GetBillingPlanId() string
func (*CommitBillingPlanRequest) ProtoMessage ¶
func (*CommitBillingPlanRequest) ProtoMessage()
func (*CommitBillingPlanRequest) ProtoReflect ¶
func (x *CommitBillingPlanRequest) ProtoReflect() protoreflect.Message
func (*CommitBillingPlanRequest) Reset ¶
func (x *CommitBillingPlanRequest) Reset()
func (*CommitBillingPlanRequest) String ¶
func (x *CommitBillingPlanRequest) String() string
type CommitBillingPlanResponse ¶
type CommitBillingPlanResponse struct {
// contains filtered or unexported fields
}
func (*CommitBillingPlanResponse) Descriptor
deprecated
func (*CommitBillingPlanResponse) Descriptor() ([]byte, []int)
Deprecated: Use CommitBillingPlanResponse.ProtoReflect.Descriptor instead.
func (*CommitBillingPlanResponse) ProtoMessage ¶
func (*CommitBillingPlanResponse) ProtoMessage()
func (*CommitBillingPlanResponse) ProtoReflect ¶
func (x *CommitBillingPlanResponse) ProtoReflect() protoreflect.Message
func (*CommitBillingPlanResponse) Reset ¶
func (x *CommitBillingPlanResponse) Reset()
func (*CommitBillingPlanResponse) String ¶
func (x *CommitBillingPlanResponse) String() string
type CommitDefaultBillingPlanRequest ¶
type CommitDefaultBillingPlanRequest struct { BillingPlanId string `protobuf:"bytes,1,opt,name=billing_plan_id,json=billingPlanId,proto3" json:"billing_plan_id,omitempty"` // contains filtered or unexported fields }
func (*CommitDefaultBillingPlanRequest) Descriptor
deprecated
func (*CommitDefaultBillingPlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommitDefaultBillingPlanRequest.ProtoReflect.Descriptor instead.
func (*CommitDefaultBillingPlanRequest) GetBillingPlanId ¶
func (x *CommitDefaultBillingPlanRequest) GetBillingPlanId() string
func (*CommitDefaultBillingPlanRequest) ProtoMessage ¶
func (*CommitDefaultBillingPlanRequest) ProtoMessage()
func (*CommitDefaultBillingPlanRequest) ProtoReflect ¶
func (x *CommitDefaultBillingPlanRequest) ProtoReflect() protoreflect.Message
func (*CommitDefaultBillingPlanRequest) Reset ¶
func (x *CommitDefaultBillingPlanRequest) Reset()
func (*CommitDefaultBillingPlanRequest) String ¶
func (x *CommitDefaultBillingPlanRequest) String() string
type CommitDefaultBillingPlanResponse ¶
type CommitDefaultBillingPlanResponse struct {
// contains filtered or unexported fields
}
func (*CommitDefaultBillingPlanResponse) Descriptor
deprecated
func (*CommitDefaultBillingPlanResponse) Descriptor() ([]byte, []int)
Deprecated: Use CommitDefaultBillingPlanResponse.ProtoReflect.Descriptor instead.
func (*CommitDefaultBillingPlanResponse) ProtoMessage ¶
func (*CommitDefaultBillingPlanResponse) ProtoMessage()
func (*CommitDefaultBillingPlanResponse) ProtoReflect ¶
func (x *CommitDefaultBillingPlanResponse) ProtoReflect() protoreflect.Message
func (*CommitDefaultBillingPlanResponse) Reset ¶
func (x *CommitDefaultBillingPlanResponse) Reset()
func (*CommitDefaultBillingPlanResponse) String ¶
func (x *CommitDefaultBillingPlanResponse) String() string
type CreateBillingPlanRequest ¶
type CreateBillingPlanRequest struct { BillingPlanId string `protobuf:"bytes,1,opt,name=billing_plan_id,json=billingPlanId,proto3" json:"billing_plan_id,omitempty"` BillingPlan *v1alpha1.BillingPlan `protobuf:"bytes,2,opt,name=billing_plan,json=billingPlan,proto3" json:"billing_plan,omitempty"` // contains filtered or unexported fields }
func (*CreateBillingPlanRequest) Descriptor
deprecated
func (*CreateBillingPlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBillingPlanRequest.ProtoReflect.Descriptor instead.
func (*CreateBillingPlanRequest) GetBillingPlan ¶
func (x *CreateBillingPlanRequest) GetBillingPlan() *v1alpha1.BillingPlan
func (*CreateBillingPlanRequest) GetBillingPlanId ¶
func (x *CreateBillingPlanRequest) GetBillingPlanId() string
func (*CreateBillingPlanRequest) ProtoMessage ¶
func (*CreateBillingPlanRequest) ProtoMessage()
func (*CreateBillingPlanRequest) ProtoReflect ¶
func (x *CreateBillingPlanRequest) ProtoReflect() protoreflect.Message
func (*CreateBillingPlanRequest) Reset ¶
func (x *CreateBillingPlanRequest) Reset()
func (*CreateBillingPlanRequest) String ¶
func (x *CreateBillingPlanRequest) String() string
type CreateBillingPlanResponse ¶
type CreateBillingPlanResponse struct { BillingPlanId string `protobuf:"bytes,1,opt,name=billing_plan_id,json=billingPlanId,proto3" json:"billing_plan_id,omitempty"` // contains filtered or unexported fields }
func (*CreateBillingPlanResponse) Descriptor
deprecated
func (*CreateBillingPlanResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateBillingPlanResponse.ProtoReflect.Descriptor instead.
func (*CreateBillingPlanResponse) GetBillingPlanId ¶
func (x *CreateBillingPlanResponse) GetBillingPlanId() string
func (*CreateBillingPlanResponse) ProtoMessage ¶
func (*CreateBillingPlanResponse) ProtoMessage()
func (*CreateBillingPlanResponse) ProtoReflect ¶
func (x *CreateBillingPlanResponse) ProtoReflect() protoreflect.Message
func (*CreateBillingPlanResponse) Reset ¶
func (x *CreateBillingPlanResponse) Reset()
func (*CreateBillingPlanResponse) String ¶
func (x *CreateBillingPlanResponse) String() string
type CreateDefaultBillingPlanRequest ¶
type CreateDefaultBillingPlanRequest struct { BillingPlanId string `protobuf:"bytes,1,opt,name=billing_plan_id,json=billingPlanId,proto3" json:"billing_plan_id,omitempty"` BillingPlan *v1alpha1.BillingPlan `protobuf:"bytes,2,opt,name=billing_plan,json=billingPlan,proto3" json:"billing_plan,omitempty"` // contains filtered or unexported fields }
func (*CreateDefaultBillingPlanRequest) Descriptor
deprecated
func (*CreateDefaultBillingPlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDefaultBillingPlanRequest.ProtoReflect.Descriptor instead.
func (*CreateDefaultBillingPlanRequest) GetBillingPlan ¶
func (x *CreateDefaultBillingPlanRequest) GetBillingPlan() *v1alpha1.BillingPlan
func (*CreateDefaultBillingPlanRequest) GetBillingPlanId ¶
func (x *CreateDefaultBillingPlanRequest) GetBillingPlanId() string
func (*CreateDefaultBillingPlanRequest) ProtoMessage ¶
func (*CreateDefaultBillingPlanRequest) ProtoMessage()
func (*CreateDefaultBillingPlanRequest) ProtoReflect ¶
func (x *CreateDefaultBillingPlanRequest) ProtoReflect() protoreflect.Message
func (*CreateDefaultBillingPlanRequest) Reset ¶
func (x *CreateDefaultBillingPlanRequest) Reset()
func (*CreateDefaultBillingPlanRequest) String ¶
func (x *CreateDefaultBillingPlanRequest) String() string
type CreateDefaultBillingPlanResponse ¶
type CreateDefaultBillingPlanResponse struct { BillingPlanId string `protobuf:"bytes,1,opt,name=billing_plan_id,json=billingPlanId,proto3" json:"billing_plan_id,omitempty"` // contains filtered or unexported fields }
func (*CreateDefaultBillingPlanResponse) Descriptor
deprecated
func (*CreateDefaultBillingPlanResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateDefaultBillingPlanResponse.ProtoReflect.Descriptor instead.
func (*CreateDefaultBillingPlanResponse) GetBillingPlanId ¶
func (x *CreateDefaultBillingPlanResponse) GetBillingPlanId() string
func (*CreateDefaultBillingPlanResponse) ProtoMessage ¶
func (*CreateDefaultBillingPlanResponse) ProtoMessage()
func (*CreateDefaultBillingPlanResponse) ProtoReflect ¶
func (x *CreateDefaultBillingPlanResponse) ProtoReflect() protoreflect.Message
func (*CreateDefaultBillingPlanResponse) Reset ¶
func (x *CreateDefaultBillingPlanResponse) Reset()
func (*CreateDefaultBillingPlanResponse) String ¶
func (x *CreateDefaultBillingPlanResponse) String() string
type CreateDefaultRateDefinitionRequest ¶
type CreateDefaultRateDefinitionRequest struct { RateDefinitionId string `protobuf:"bytes,1,opt,name=rate_definition_id,json=rateDefinitionId,proto3" json:"rate_definition_id,omitempty"` RateDefinition *v1alpha1.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 (x *CreateDefaultRateDefinitionRequest) GetRateDefinition() *v1alpha1.RateDefinition
func (*CreateDefaultRateDefinitionRequest) GetRateDefinitionId ¶
func (x *CreateDefaultRateDefinitionRequest) GetRateDefinitionId() string
func (*CreateDefaultRateDefinitionRequest) ProtoMessage ¶
func (*CreateDefaultRateDefinitionRequest) ProtoMessage()
func (*CreateDefaultRateDefinitionRequest) ProtoReflect ¶
func (x *CreateDefaultRateDefinitionRequest) ProtoReflect() protoreflect.Message
func (*CreateDefaultRateDefinitionRequest) Reset ¶
func (x *CreateDefaultRateDefinitionRequest) Reset()
func (*CreateDefaultRateDefinitionRequest) String ¶
func (x *CreateDefaultRateDefinitionRequest) String() 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 (x *CreateDefaultRateDefinitionResponse) ProtoReflect() protoreflect.Message
func (*CreateDefaultRateDefinitionResponse) Reset ¶
func (x *CreateDefaultRateDefinitionResponse) Reset()
func (*CreateDefaultRateDefinitionResponse) String ¶
func (x *CreateDefaultRateDefinitionResponse) String() string
type CreateInvoiceRequest
deprecated
type CreateInvoiceRequest struct { // Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto. InvoiceId string `protobuf:"bytes,1,opt,name=invoice_id,json=invoiceId,proto3" json:"invoice_id,omitempty"` // Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto. Invoice *v1alpha1.Invoice `protobuf:"bytes,2,opt,name=invoice,proto3" json:"invoice,omitempty"` // contains filtered or unexported fields }
Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto.
func (*CreateInvoiceRequest) Descriptor
deprecated
func (*CreateInvoiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateInvoiceRequest.ProtoReflect.Descriptor instead.
func (*CreateInvoiceRequest) GetInvoice
deprecated
func (x *CreateInvoiceRequest) GetInvoice() *v1alpha1.Invoice
Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto.
func (*CreateInvoiceRequest) GetInvoiceId
deprecated
func (x *CreateInvoiceRequest) GetInvoiceId() string
Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto.
func (*CreateInvoiceRequest) ProtoMessage ¶
func (*CreateInvoiceRequest) ProtoMessage()
func (*CreateInvoiceRequest) ProtoReflect ¶
func (x *CreateInvoiceRequest) ProtoReflect() protoreflect.Message
func (*CreateInvoiceRequest) Reset ¶
func (x *CreateInvoiceRequest) Reset()
func (*CreateInvoiceRequest) String ¶
func (x *CreateInvoiceRequest) String() string
type CreateInvoiceResponse
deprecated
type CreateInvoiceResponse struct { // Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto. InvoiceId string `protobuf:"bytes,1,opt,name=invoice_id,json=invoiceId,proto3" json:"invoice_id,omitempty"` // contains filtered or unexported fields }
Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto.
func (*CreateInvoiceResponse) Descriptor
deprecated
func (*CreateInvoiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateInvoiceResponse.ProtoReflect.Descriptor instead.
func (*CreateInvoiceResponse) GetInvoiceId
deprecated
func (x *CreateInvoiceResponse) GetInvoiceId() string
Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto.
func (*CreateInvoiceResponse) ProtoMessage ¶
func (*CreateInvoiceResponse) ProtoMessage()
func (*CreateInvoiceResponse) ProtoReflect ¶
func (x *CreateInvoiceResponse) ProtoReflect() protoreflect.Message
func (*CreateInvoiceResponse) Reset ¶
func (x *CreateInvoiceResponse) Reset()
func (*CreateInvoiceResponse) String ¶
func (x *CreateInvoiceResponse) String() 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 *v1alpha1.RateDefinition `protobuf:"bytes,2,opt,name=rate_definition,json=rateDefinition,proto3" json:"rate_definition,omitempty"` // contains filtered or unexported fields }
func (*CreateRateDefinitionRequest) Descriptor
deprecated
func (*CreateRateDefinitionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRateDefinitionRequest.ProtoReflect.Descriptor instead.
func (*CreateRateDefinitionRequest) GetRateDefinition ¶
func (x *CreateRateDefinitionRequest) GetRateDefinition() *v1alpha1.RateDefinition
func (*CreateRateDefinitionRequest) GetRateDefinitionId ¶
func (x *CreateRateDefinitionRequest) GetRateDefinitionId() string
func (*CreateRateDefinitionRequest) ProtoMessage ¶
func (*CreateRateDefinitionRequest) ProtoMessage()
func (*CreateRateDefinitionRequest) ProtoReflect ¶
func (x *CreateRateDefinitionRequest) ProtoReflect() protoreflect.Message
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 (x *CreateRateDefinitionResponse) ProtoReflect() protoreflect.Message
func (*CreateRateDefinitionResponse) Reset ¶
func (x *CreateRateDefinitionResponse) Reset()
func (*CreateRateDefinitionResponse) String ¶
func (x *CreateRateDefinitionResponse) String() string
type DeleteBillingPlanRequest ¶
type DeleteBillingPlanRequest struct { BillingPlanId string `protobuf:"bytes,1,opt,name=billing_plan_id,json=billingPlanId,proto3" json:"billing_plan_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteBillingPlanRequest) Descriptor
deprecated
func (*DeleteBillingPlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBillingPlanRequest.ProtoReflect.Descriptor instead.
func (*DeleteBillingPlanRequest) GetBillingPlanId ¶
func (x *DeleteBillingPlanRequest) GetBillingPlanId() string
func (*DeleteBillingPlanRequest) ProtoMessage ¶
func (*DeleteBillingPlanRequest) ProtoMessage()
func (*DeleteBillingPlanRequest) ProtoReflect ¶
func (x *DeleteBillingPlanRequest) ProtoReflect() protoreflect.Message
func (*DeleteBillingPlanRequest) Reset ¶
func (x *DeleteBillingPlanRequest) Reset()
func (*DeleteBillingPlanRequest) String ¶
func (x *DeleteBillingPlanRequest) String() string
type DeleteBillingPlanResponse ¶
type DeleteBillingPlanResponse struct {
// contains filtered or unexported fields
}
func (*DeleteBillingPlanResponse) Descriptor
deprecated
func (*DeleteBillingPlanResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBillingPlanResponse.ProtoReflect.Descriptor instead.
func (*DeleteBillingPlanResponse) ProtoMessage ¶
func (*DeleteBillingPlanResponse) ProtoMessage()
func (*DeleteBillingPlanResponse) ProtoReflect ¶
func (x *DeleteBillingPlanResponse) ProtoReflect() protoreflect.Message
func (*DeleteBillingPlanResponse) Reset ¶
func (x *DeleteBillingPlanResponse) Reset()
func (*DeleteBillingPlanResponse) String ¶
func (x *DeleteBillingPlanResponse) String() string
type DeleteDefaultBillingPlanRequest ¶
type DeleteDefaultBillingPlanRequest struct { BillingPlanId string `protobuf:"bytes,1,opt,name=billing_plan_id,json=billingPlanId,proto3" json:"billing_plan_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteDefaultBillingPlanRequest) Descriptor
deprecated
func (*DeleteDefaultBillingPlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDefaultBillingPlanRequest.ProtoReflect.Descriptor instead.
func (*DeleteDefaultBillingPlanRequest) GetBillingPlanId ¶
func (x *DeleteDefaultBillingPlanRequest) GetBillingPlanId() string
func (*DeleteDefaultBillingPlanRequest) ProtoMessage ¶
func (*DeleteDefaultBillingPlanRequest) ProtoMessage()
func (*DeleteDefaultBillingPlanRequest) ProtoReflect ¶
func (x *DeleteDefaultBillingPlanRequest) ProtoReflect() protoreflect.Message
func (*DeleteDefaultBillingPlanRequest) Reset ¶
func (x *DeleteDefaultBillingPlanRequest) Reset()
func (*DeleteDefaultBillingPlanRequest) String ¶
func (x *DeleteDefaultBillingPlanRequest) String() string
type DeleteDefaultBillingPlanResponse ¶
type DeleteDefaultBillingPlanResponse struct {
// contains filtered or unexported fields
}
func (*DeleteDefaultBillingPlanResponse) Descriptor
deprecated
func (*DeleteDefaultBillingPlanResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDefaultBillingPlanResponse.ProtoReflect.Descriptor instead.
func (*DeleteDefaultBillingPlanResponse) ProtoMessage ¶
func (*DeleteDefaultBillingPlanResponse) ProtoMessage()
func (*DeleteDefaultBillingPlanResponse) ProtoReflect ¶
func (x *DeleteDefaultBillingPlanResponse) ProtoReflect() protoreflect.Message
func (*DeleteDefaultBillingPlanResponse) Reset ¶
func (x *DeleteDefaultBillingPlanResponse) Reset()
func (*DeleteDefaultBillingPlanResponse) String ¶
func (x *DeleteDefaultBillingPlanResponse) String() 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 (x *DeleteDefaultRateDefinitionRequest) ProtoReflect() protoreflect.Message
func (*DeleteDefaultRateDefinitionRequest) Reset ¶
func (x *DeleteDefaultRateDefinitionRequest) Reset()
func (*DeleteDefaultRateDefinitionRequest) String ¶
func (x *DeleteDefaultRateDefinitionRequest) String() 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 (x *DeleteDefaultRateDefinitionResponse) ProtoReflect() protoreflect.Message
func (*DeleteDefaultRateDefinitionResponse) Reset ¶
func (x *DeleteDefaultRateDefinitionResponse) Reset()
func (*DeleteDefaultRateDefinitionResponse) String ¶
func (x *DeleteDefaultRateDefinitionResponse) String() string
type DeleteInvoiceRequest
deprecated
type DeleteInvoiceRequest struct { // Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto. InvoiceId string `protobuf:"bytes,1,opt,name=invoice_id,json=invoiceId,proto3" json:"invoice_id,omitempty"` // contains filtered or unexported fields }
Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto.
func (*DeleteInvoiceRequest) Descriptor
deprecated
func (*DeleteInvoiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteInvoiceRequest.ProtoReflect.Descriptor instead.
func (*DeleteInvoiceRequest) GetInvoiceId
deprecated
func (x *DeleteInvoiceRequest) GetInvoiceId() string
Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto.
func (*DeleteInvoiceRequest) ProtoMessage ¶
func (*DeleteInvoiceRequest) ProtoMessage()
func (*DeleteInvoiceRequest) ProtoReflect ¶
func (x *DeleteInvoiceRequest) ProtoReflect() protoreflect.Message
func (*DeleteInvoiceRequest) Reset ¶
func (x *DeleteInvoiceRequest) Reset()
func (*DeleteInvoiceRequest) String ¶
func (x *DeleteInvoiceRequest) String() string
type DeleteInvoiceResponse
deprecated
type DeleteInvoiceResponse struct {
// contains filtered or unexported fields
}
Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto.
func (*DeleteInvoiceResponse) Descriptor
deprecated
func (*DeleteInvoiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteInvoiceResponse.ProtoReflect.Descriptor instead.
func (*DeleteInvoiceResponse) ProtoMessage ¶
func (*DeleteInvoiceResponse) ProtoMessage()
func (*DeleteInvoiceResponse) ProtoReflect ¶
func (x *DeleteInvoiceResponse) ProtoReflect() protoreflect.Message
func (*DeleteInvoiceResponse) Reset ¶
func (x *DeleteInvoiceResponse) Reset()
func (*DeleteInvoiceResponse) String ¶
func (x *DeleteInvoiceResponse) String() 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 (x *DeleteRateDefinitionRequest) ProtoReflect() protoreflect.Message
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 (x *DeleteRateDefinitionResponse) ProtoReflect() protoreflect.Message
func (*DeleteRateDefinitionResponse) Reset ¶
func (x *DeleteRateDefinitionResponse) Reset()
func (*DeleteRateDefinitionResponse) String ¶
func (x *DeleteRateDefinitionResponse) String() string
type DuplicateBillingPlanRequest ¶
type DuplicateBillingPlanRequest struct { BillingPlanId string `protobuf:"bytes,1,opt,name=billing_plan_id,json=billingPlanId,proto3" json:"billing_plan_id,omitempty"` BillingPlan *v1alpha1.BillingPlan `protobuf:"bytes,2,opt,name=billing_plan,json=billingPlan,proto3" json:"billing_plan,omitempty"` // contains filtered or unexported fields }
func (*DuplicateBillingPlanRequest) Descriptor
deprecated
func (*DuplicateBillingPlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use DuplicateBillingPlanRequest.ProtoReflect.Descriptor instead.
func (*DuplicateBillingPlanRequest) GetBillingPlan ¶
func (x *DuplicateBillingPlanRequest) GetBillingPlan() *v1alpha1.BillingPlan
func (*DuplicateBillingPlanRequest) GetBillingPlanId ¶
func (x *DuplicateBillingPlanRequest) GetBillingPlanId() string
func (*DuplicateBillingPlanRequest) ProtoMessage ¶
func (*DuplicateBillingPlanRequest) ProtoMessage()
func (*DuplicateBillingPlanRequest) ProtoReflect ¶
func (x *DuplicateBillingPlanRequest) ProtoReflect() protoreflect.Message
func (*DuplicateBillingPlanRequest) Reset ¶
func (x *DuplicateBillingPlanRequest) Reset()
func (*DuplicateBillingPlanRequest) String ¶
func (x *DuplicateBillingPlanRequest) String() string
type DuplicateBillingPlanResponse ¶
type DuplicateBillingPlanResponse struct { BillingPlanId string `protobuf:"bytes,1,opt,name=billing_plan_id,json=billingPlanId,proto3" json:"billing_plan_id,omitempty"` // contains filtered or unexported fields }
func (*DuplicateBillingPlanResponse) Descriptor
deprecated
func (*DuplicateBillingPlanResponse) Descriptor() ([]byte, []int)
Deprecated: Use DuplicateBillingPlanResponse.ProtoReflect.Descriptor instead.
func (*DuplicateBillingPlanResponse) GetBillingPlanId ¶
func (x *DuplicateBillingPlanResponse) GetBillingPlanId() string
func (*DuplicateBillingPlanResponse) ProtoMessage ¶
func (*DuplicateBillingPlanResponse) ProtoMessage()
func (*DuplicateBillingPlanResponse) ProtoReflect ¶
func (x *DuplicateBillingPlanResponse) ProtoReflect() protoreflect.Message
func (*DuplicateBillingPlanResponse) Reset ¶
func (x *DuplicateBillingPlanResponse) Reset()
func (*DuplicateBillingPlanResponse) String ¶
func (x *DuplicateBillingPlanResponse) String() string
type DuplicateDefaultBillingPlanRequest ¶
type DuplicateDefaultBillingPlanRequest struct { BillingPlanId string `protobuf:"bytes,1,opt,name=billing_plan_id,json=billingPlanId,proto3" json:"billing_plan_id,omitempty"` BillingPlan *v1alpha1.BillingPlan `protobuf:"bytes,2,opt,name=billing_plan,json=billingPlan,proto3" json:"billing_plan,omitempty"` // contains filtered or unexported fields }
func (*DuplicateDefaultBillingPlanRequest) Descriptor
deprecated
func (*DuplicateDefaultBillingPlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use DuplicateDefaultBillingPlanRequest.ProtoReflect.Descriptor instead.
func (*DuplicateDefaultBillingPlanRequest) GetBillingPlan ¶
func (x *DuplicateDefaultBillingPlanRequest) GetBillingPlan() *v1alpha1.BillingPlan
func (*DuplicateDefaultBillingPlanRequest) GetBillingPlanId ¶
func (x *DuplicateDefaultBillingPlanRequest) GetBillingPlanId() string
func (*DuplicateDefaultBillingPlanRequest) ProtoMessage ¶
func (*DuplicateDefaultBillingPlanRequest) ProtoMessage()
func (*DuplicateDefaultBillingPlanRequest) ProtoReflect ¶
func (x *DuplicateDefaultBillingPlanRequest) ProtoReflect() protoreflect.Message
func (*DuplicateDefaultBillingPlanRequest) Reset ¶
func (x *DuplicateDefaultBillingPlanRequest) Reset()
func (*DuplicateDefaultBillingPlanRequest) String ¶
func (x *DuplicateDefaultBillingPlanRequest) String() string
type DuplicateDefaultBillingPlanResponse ¶
type DuplicateDefaultBillingPlanResponse struct { BillingPlanId string `protobuf:"bytes,1,opt,name=billing_plan_id,json=billingPlanId,proto3" json:"billing_plan_id,omitempty"` // contains filtered or unexported fields }
func (*DuplicateDefaultBillingPlanResponse) Descriptor
deprecated
func (*DuplicateDefaultBillingPlanResponse) Descriptor() ([]byte, []int)
Deprecated: Use DuplicateDefaultBillingPlanResponse.ProtoReflect.Descriptor instead.
func (*DuplicateDefaultBillingPlanResponse) GetBillingPlanId ¶
func (x *DuplicateDefaultBillingPlanResponse) GetBillingPlanId() string
func (*DuplicateDefaultBillingPlanResponse) ProtoMessage ¶
func (*DuplicateDefaultBillingPlanResponse) ProtoMessage()
func (*DuplicateDefaultBillingPlanResponse) ProtoReflect ¶
func (x *DuplicateDefaultBillingPlanResponse) ProtoReflect() protoreflect.Message
func (*DuplicateDefaultBillingPlanResponse) Reset ¶
func (x *DuplicateDefaultBillingPlanResponse) Reset()
func (*DuplicateDefaultBillingPlanResponse) String ¶
func (x *DuplicateDefaultBillingPlanResponse) String() string
type ExportInvoiceRequest ¶
type ExportInvoiceRequest struct { // Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto. InvoiceId string `protobuf:"bytes,1,opt,name=invoice_id,json=invoiceId,proto3" json:"invoice_id,omitempty"` Format InvoiceFormat `protobuf:"varint,2,opt,name=format,proto3,enum=services.billing.v1alpha1.InvoiceFormat" json:"format,omitempty"` InvoiceDate *timestamppb.Timestamp `protobuf:"bytes,3,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 ¶ added in v1.7.66
func (x *ExportInvoiceRequest) GetInvoiceDate() *timestamppb.Timestamp
func (*ExportInvoiceRequest) GetInvoiceId
deprecated
func (x *ExportInvoiceRequest) GetInvoiceId() string
Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto.
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 *v1alpha1.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() *v1alpha1.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 GetActiveBillingPlanRequest ¶
type GetActiveBillingPlanRequest struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Optional: if not set, will get the default billing plan EffectiveTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=effective_time,json=effectiveTime,proto3" json:"effective_time,omitempty"` // Optional: if not set, will use current time // contains filtered or unexported fields }
func (*GetActiveBillingPlanRequest) Descriptor
deprecated
func (*GetActiveBillingPlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetActiveBillingPlanRequest.ProtoReflect.Descriptor instead.
func (*GetActiveBillingPlanRequest) GetEffectiveTime ¶
func (x *GetActiveBillingPlanRequest) GetEffectiveTime() *timestamppb.Timestamp
func (*GetActiveBillingPlanRequest) GetOrgId ¶
func (x *GetActiveBillingPlanRequest) GetOrgId() string
func (*GetActiveBillingPlanRequest) ProtoMessage ¶
func (*GetActiveBillingPlanRequest) ProtoMessage()
func (*GetActiveBillingPlanRequest) ProtoReflect ¶
func (x *GetActiveBillingPlanRequest) ProtoReflect() protoreflect.Message
func (*GetActiveBillingPlanRequest) Reset ¶
func (x *GetActiveBillingPlanRequest) Reset()
func (*GetActiveBillingPlanRequest) String ¶
func (x *GetActiveBillingPlanRequest) String() string
type GetActiveBillingPlanResponse ¶
type GetActiveBillingPlanResponse struct { BillingPlan *v1alpha1.BillingPlan `protobuf:"bytes,1,opt,name=billing_plan,json=billingPlan,proto3" json:"billing_plan,omitempty"` // contains filtered or unexported fields }
func (*GetActiveBillingPlanResponse) Descriptor
deprecated
func (*GetActiveBillingPlanResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetActiveBillingPlanResponse.ProtoReflect.Descriptor instead.
func (*GetActiveBillingPlanResponse) GetBillingPlan ¶
func (x *GetActiveBillingPlanResponse) GetBillingPlan() *v1alpha1.BillingPlan
func (*GetActiveBillingPlanResponse) ProtoMessage ¶
func (*GetActiveBillingPlanResponse) ProtoMessage()
func (*GetActiveBillingPlanResponse) ProtoReflect ¶
func (x *GetActiveBillingPlanResponse) ProtoReflect() protoreflect.Message
func (*GetActiveBillingPlanResponse) Reset ¶
func (x *GetActiveBillingPlanResponse) Reset()
func (*GetActiveBillingPlanResponse) String ¶
func (x *GetActiveBillingPlanResponse) String() string
type GetBillingPlanHistoryRequest ¶ added in v1.7.69
type GetBillingPlanHistoryRequest 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 (*GetBillingPlanHistoryRequest) Descriptor
deprecated
added in
v1.7.69
func (*GetBillingPlanHistoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBillingPlanHistoryRequest.ProtoReflect.Descriptor instead.
func (*GetBillingPlanHistoryRequest) GetEndTime ¶ added in v1.7.70
func (x *GetBillingPlanHistoryRequest) GetEndTime() *timestamppb.Timestamp
func (*GetBillingPlanHistoryRequest) GetGroupIds ¶ added in v1.7.69
func (x *GetBillingPlanHistoryRequest) GetGroupIds() []string
func (*GetBillingPlanHistoryRequest) GetOrgId ¶ added in v1.7.69
func (x *GetBillingPlanHistoryRequest) GetOrgId() string
func (*GetBillingPlanHistoryRequest) GetStartTime ¶ added in v1.7.70
func (x *GetBillingPlanHistoryRequest) GetStartTime() *timestamppb.Timestamp
func (*GetBillingPlanHistoryRequest) ProtoMessage ¶ added in v1.7.69
func (*GetBillingPlanHistoryRequest) ProtoMessage()
func (*GetBillingPlanHistoryRequest) ProtoReflect ¶ added in v1.7.69
func (x *GetBillingPlanHistoryRequest) ProtoReflect() protoreflect.Message
func (*GetBillingPlanHistoryRequest) Reset ¶ added in v1.7.69
func (x *GetBillingPlanHistoryRequest) Reset()
func (*GetBillingPlanHistoryRequest) String ¶ added in v1.7.69
func (x *GetBillingPlanHistoryRequest) String() string
type GetBillingPlanHistoryResponse ¶ added in v1.7.69
type GetBillingPlanHistoryResponse struct { History []*v1alpha1.BillingPlanSnapshot `protobuf:"bytes,1,rep,name=history,proto3" json:"history,omitempty"` // contains filtered or unexported fields }
func (*GetBillingPlanHistoryResponse) Descriptor
deprecated
added in
v1.7.69
func (*GetBillingPlanHistoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBillingPlanHistoryResponse.ProtoReflect.Descriptor instead.
func (*GetBillingPlanHistoryResponse) GetHistory ¶ added in v1.7.69
func (x *GetBillingPlanHistoryResponse) GetHistory() []*v1alpha1.BillingPlanSnapshot
func (*GetBillingPlanHistoryResponse) ProtoMessage ¶ added in v1.7.69
func (*GetBillingPlanHistoryResponse) ProtoMessage()
func (*GetBillingPlanHistoryResponse) ProtoReflect ¶ added in v1.7.69
func (x *GetBillingPlanHistoryResponse) ProtoReflect() protoreflect.Message
func (*GetBillingPlanHistoryResponse) Reset ¶ added in v1.7.69
func (x *GetBillingPlanHistoryResponse) Reset()
func (*GetBillingPlanHistoryResponse) String ¶ added in v1.7.69
func (x *GetBillingPlanHistoryResponse) String() string
type GetBillingPlanRequest ¶
type GetBillingPlanRequest struct { BillingPlanId string `protobuf:"bytes,1,opt,name=billing_plan_id,json=billingPlanId,proto3" json:"billing_plan_id,omitempty"` // contains filtered or unexported fields }
func (*GetBillingPlanRequest) Descriptor
deprecated
func (*GetBillingPlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBillingPlanRequest.ProtoReflect.Descriptor instead.
func (*GetBillingPlanRequest) GetBillingPlanId ¶
func (x *GetBillingPlanRequest) GetBillingPlanId() string
func (*GetBillingPlanRequest) ProtoMessage ¶
func (*GetBillingPlanRequest) ProtoMessage()
func (*GetBillingPlanRequest) ProtoReflect ¶
func (x *GetBillingPlanRequest) ProtoReflect() protoreflect.Message
func (*GetBillingPlanRequest) Reset ¶
func (x *GetBillingPlanRequest) Reset()
func (*GetBillingPlanRequest) String ¶
func (x *GetBillingPlanRequest) String() string
type GetBillingPlanResponse ¶
type GetBillingPlanResponse struct { BillingPlan *v1alpha1.BillingPlan `protobuf:"bytes,1,opt,name=billing_plan,json=billingPlan,proto3" json:"billing_plan,omitempty"` // contains filtered or unexported fields }
func (*GetBillingPlanResponse) Descriptor
deprecated
func (*GetBillingPlanResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBillingPlanResponse.ProtoReflect.Descriptor instead.
func (*GetBillingPlanResponse) GetBillingPlan ¶
func (x *GetBillingPlanResponse) GetBillingPlan() *v1alpha1.BillingPlan
func (*GetBillingPlanResponse) ProtoMessage ¶
func (*GetBillingPlanResponse) ProtoMessage()
func (*GetBillingPlanResponse) ProtoReflect ¶
func (x *GetBillingPlanResponse) ProtoReflect() protoreflect.Message
func (*GetBillingPlanResponse) Reset ¶
func (x *GetBillingPlanResponse) Reset()
func (*GetBillingPlanResponse) String ¶
func (x *GetBillingPlanResponse) String() string
type GetInvoiceRequest
deprecated
type GetInvoiceRequest struct { // Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto. InvoiceId string `protobuf:"bytes,1,opt,name=invoice_id,json=invoiceId,proto3" json:"invoice_id,omitempty"` // contains filtered or unexported fields }
Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto.
func (*GetInvoiceRequest) Descriptor
deprecated
func (*GetInvoiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInvoiceRequest.ProtoReflect.Descriptor instead.
func (*GetInvoiceRequest) GetInvoiceId
deprecated
func (x *GetInvoiceRequest) GetInvoiceId() string
Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto.
func (*GetInvoiceRequest) ProtoMessage ¶
func (*GetInvoiceRequest) ProtoMessage()
func (*GetInvoiceRequest) ProtoReflect ¶
func (x *GetInvoiceRequest) ProtoReflect() protoreflect.Message
func (*GetInvoiceRequest) Reset ¶
func (x *GetInvoiceRequest) Reset()
func (*GetInvoiceRequest) String ¶
func (x *GetInvoiceRequest) String() string
type GetInvoiceResponse
deprecated
type GetInvoiceResponse struct { // Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto. Invoice *v1alpha1.Invoice `protobuf:"bytes,1,opt,name=invoice,proto3" json:"invoice,omitempty"` // contains filtered or unexported fields }
Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto.
func (*GetInvoiceResponse) Descriptor
deprecated
func (*GetInvoiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetInvoiceResponse.ProtoReflect.Descriptor instead.
func (*GetInvoiceResponse) GetInvoice
deprecated
func (x *GetInvoiceResponse) GetInvoice() *v1alpha1.Invoice
Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto.
func (*GetInvoiceResponse) ProtoMessage ¶
func (*GetInvoiceResponse) ProtoMessage()
func (*GetInvoiceResponse) ProtoReflect ¶
func (x *GetInvoiceResponse) ProtoReflect() protoreflect.Message
func (*GetInvoiceResponse) Reset ¶
func (x *GetInvoiceResponse) Reset()
func (*GetInvoiceResponse) String ¶
func (x *GetInvoiceResponse) 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 *v1alpha1.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() *v1alpha1.RateDefinition
func (*GetRateDefinitionResponse) ProtoMessage ¶
func (*GetRateDefinitionResponse) ProtoMessage()
func (*GetRateDefinitionResponse) ProtoReflect ¶
func (x *GetRateDefinitionResponse) ProtoReflect() protoreflect.Message
func (*GetRateDefinitionResponse) Reset ¶
func (x *GetRateDefinitionResponse) Reset()
func (*GetRateDefinitionResponse) String ¶
func (x *GetRateDefinitionResponse) 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) Descriptor() protoreflect.EnumDescriptor
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 (x InvoiceFormat) Number() protoreflect.EnumNumber
func (InvoiceFormat) String ¶
func (x InvoiceFormat) String() string
func (InvoiceFormat) Type ¶
func (InvoiceFormat) Type() protoreflect.EnumType
type ListBillingPlansRequest ¶
type ListBillingPlansRequest struct { BillingPlanId string `protobuf:"bytes,1,opt,name=billing_plan_id,json=billingPlanId,proto3" json:"billing_plan_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 (*ListBillingPlansRequest) Descriptor
deprecated
func (*ListBillingPlansRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBillingPlansRequest.ProtoReflect.Descriptor instead.
func (*ListBillingPlansRequest) GetBillingPlanId ¶
func (x *ListBillingPlansRequest) GetBillingPlanId() string
func (*ListBillingPlansRequest) GetFields ¶
func (x *ListBillingPlansRequest) GetFields() *fieldmaskpb.FieldMask
func (*ListBillingPlansRequest) GetFilter ¶
func (x *ListBillingPlansRequest) GetFilter() string
func (*ListBillingPlansRequest) GetPage ¶
func (x *ListBillingPlansRequest) GetPage() *Page
func (*ListBillingPlansRequest) GetSort ¶
func (x *ListBillingPlansRequest) GetSort() []*Sort
func (*ListBillingPlansRequest) ProtoMessage ¶
func (*ListBillingPlansRequest) ProtoMessage()
func (*ListBillingPlansRequest) ProtoReflect ¶
func (x *ListBillingPlansRequest) ProtoReflect() protoreflect.Message
func (*ListBillingPlansRequest) Reset ¶
func (x *ListBillingPlansRequest) Reset()
func (*ListBillingPlansRequest) String ¶
func (x *ListBillingPlansRequest) String() string
type ListBillingPlansResponse ¶
type ListBillingPlansResponse struct { BillingPlans []*v1alpha1.BillingPlan `protobuf:"bytes,1,rep,name=billing_plans,json=billingPlans,proto3" json:"billing_plans,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // Optional: only present if paginating. // contains filtered or unexported fields }
func (*ListBillingPlansResponse) Descriptor
deprecated
func (*ListBillingPlansResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBillingPlansResponse.ProtoReflect.Descriptor instead.
func (*ListBillingPlansResponse) GetBillingPlans ¶
func (x *ListBillingPlansResponse) GetBillingPlans() []*v1alpha1.BillingPlan
func (*ListBillingPlansResponse) GetToken ¶
func (x *ListBillingPlansResponse) GetToken() string
func (*ListBillingPlansResponse) ProtoMessage ¶
func (*ListBillingPlansResponse) ProtoMessage()
func (*ListBillingPlansResponse) ProtoReflect ¶
func (x *ListBillingPlansResponse) ProtoReflect() protoreflect.Message
func (*ListBillingPlansResponse) Reset ¶
func (x *ListBillingPlansResponse) Reset()
func (*ListBillingPlansResponse) String ¶
func (x *ListBillingPlansResponse) String() string
type ListInvoicesRequest
deprecated
type ListInvoicesRequest struct { // Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto. InvoiceId string `protobuf:"bytes,1,opt,name=invoice_id,json=invoiceId,proto3" json:"invoice_id,omitempty"` // Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto. Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // Optional: defaults to no filter. // Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto. Fields *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=fields,proto3" json:"fields,omitempty"` // Optional: defaults to all fields. // Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto. Sort []*Sort `protobuf:"bytes,4,rep,name=sort,proto3" json:"sort,omitempty"` // Optional: defaults to no sort. // Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto. Page *Page `protobuf:"bytes,5,opt,name=page,proto3" json:"page,omitempty"` // Optional: defaults to no paging. // contains filtered or unexported fields }
Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto.
func (*ListInvoicesRequest) Descriptor
deprecated
func (*ListInvoicesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListInvoicesRequest.ProtoReflect.Descriptor instead.
func (*ListInvoicesRequest) GetFields
deprecated
func (x *ListInvoicesRequest) GetFields() *fieldmaskpb.FieldMask
Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto.
func (*ListInvoicesRequest) GetFilter
deprecated
func (x *ListInvoicesRequest) GetFilter() string
Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto.
func (*ListInvoicesRequest) GetInvoiceId
deprecated
func (x *ListInvoicesRequest) GetInvoiceId() string
Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto.
func (*ListInvoicesRequest) GetPage
deprecated
func (x *ListInvoicesRequest) GetPage() *Page
Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto.
func (*ListInvoicesRequest) GetSort
deprecated
func (x *ListInvoicesRequest) GetSort() []*Sort
Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto.
func (*ListInvoicesRequest) ProtoMessage ¶
func (*ListInvoicesRequest) ProtoMessage()
func (*ListInvoicesRequest) ProtoReflect ¶
func (x *ListInvoicesRequest) ProtoReflect() protoreflect.Message
func (*ListInvoicesRequest) Reset ¶
func (x *ListInvoicesRequest) Reset()
func (*ListInvoicesRequest) String ¶
func (x *ListInvoicesRequest) String() string
type ListInvoicesResponse
deprecated
type ListInvoicesResponse struct { // Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto. Invoices []*v1alpha1.Invoice `protobuf:"bytes,1,rep,name=invoices,proto3" json:"invoices,omitempty"` // Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto. Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // Optional: only present if paginating. // contains filtered or unexported fields }
Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto.
func (*ListInvoicesResponse) Descriptor
deprecated
func (*ListInvoicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListInvoicesResponse.ProtoReflect.Descriptor instead.
func (*ListInvoicesResponse) GetInvoices
deprecated
func (x *ListInvoicesResponse) GetInvoices() []*v1alpha1.Invoice
Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto.
func (*ListInvoicesResponse) GetToken
deprecated
func (x *ListInvoicesResponse) GetToken() string
Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto.
func (*ListInvoicesResponse) ProtoMessage ¶
func (*ListInvoicesResponse) ProtoMessage()
func (*ListInvoicesResponse) ProtoReflect ¶
func (x *ListInvoicesResponse) ProtoReflect() protoreflect.Message
func (*ListInvoicesResponse) Reset ¶
func (x *ListInvoicesResponse) Reset()
func (*ListInvoicesResponse) String ¶
func (x *ListInvoicesResponse) String() 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 (x *ListRateDefinitionsRequest) GetFields() *fieldmaskpb.FieldMask
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 (x *ListRateDefinitionsRequest) ProtoReflect() protoreflect.Message
func (*ListRateDefinitionsRequest) Reset ¶
func (x *ListRateDefinitionsRequest) Reset()
func (*ListRateDefinitionsRequest) String ¶
func (x *ListRateDefinitionsRequest) String() string
type ListRateDefinitionsResponse ¶
type ListRateDefinitionsResponse struct { RateDefinitions []*v1alpha1.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() []*v1alpha1.RateDefinition
func (*ListRateDefinitionsResponse) GetToken ¶
func (x *ListRateDefinitionsResponse) GetToken() string
func (*ListRateDefinitionsResponse) ProtoMessage ¶
func (*ListRateDefinitionsResponse) ProtoMessage()
func (*ListRateDefinitionsResponse) ProtoReflect ¶
func (x *ListRateDefinitionsResponse) ProtoReflect() protoreflect.Message
func (*ListRateDefinitionsResponse) Reset ¶
func (x *ListRateDefinitionsResponse) Reset()
func (*ListRateDefinitionsResponse) String ¶
func (x *ListRateDefinitionsResponse) String() string
type Order ¶
type Order int32
func (Order) Descriptor ¶
func (Order) Descriptor() protoreflect.EnumDescriptor
func (Order) EnumDescriptor
deprecated
func (Order) Number ¶
func (x Order) Number() protoreflect.EnumNumber
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) ProtoMessage ¶
func (*Page) ProtoMessage()
func (*Page) ProtoReflect ¶
func (x *Page) ProtoReflect() protoreflect.Message
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.v1alpha1.Order" json:"direction,omitempty"` // Required: direction to sort by // contains filtered or unexported fields }
func (*Sort) Descriptor
deprecated
func (*Sort) GetDirection ¶
func (*Sort) ProtoMessage ¶
func (*Sort) ProtoMessage()
func (*Sort) ProtoReflect ¶
func (x *Sort) ProtoReflect() protoreflect.Message
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) CommitBillingPlan ¶
func (UnimplementedBillingServiceServer) CommitBillingPlan(context.Context, *CommitBillingPlanRequest) (*CommitBillingPlanResponse, error)
func (UnimplementedBillingServiceServer) CommitDefaultBillingPlan ¶
func (UnimplementedBillingServiceServer) CommitDefaultBillingPlan(context.Context, *CommitDefaultBillingPlanRequest) (*CommitDefaultBillingPlanResponse, error)
func (UnimplementedBillingServiceServer) CreateBillingPlan ¶
func (UnimplementedBillingServiceServer) CreateBillingPlan(context.Context, *CreateBillingPlanRequest) (*CreateBillingPlanResponse, error)
func (UnimplementedBillingServiceServer) CreateDefaultBillingPlan ¶
func (UnimplementedBillingServiceServer) CreateDefaultBillingPlan(context.Context, *CreateDefaultBillingPlanRequest) (*CreateDefaultBillingPlanResponse, error)
func (UnimplementedBillingServiceServer) CreateDefaultRateDefinition ¶
func (UnimplementedBillingServiceServer) CreateDefaultRateDefinition(context.Context, *CreateDefaultRateDefinitionRequest) (*CreateDefaultRateDefinitionResponse, error)
func (UnimplementedBillingServiceServer) CreateInvoice ¶
func (UnimplementedBillingServiceServer) CreateInvoice(context.Context, *CreateInvoiceRequest) (*CreateInvoiceResponse, error)
func (UnimplementedBillingServiceServer) CreateRateDefinition ¶
func (UnimplementedBillingServiceServer) CreateRateDefinition(context.Context, *CreateRateDefinitionRequest) (*CreateRateDefinitionResponse, error)
func (UnimplementedBillingServiceServer) DeleteBillingPlan ¶
func (UnimplementedBillingServiceServer) DeleteBillingPlan(context.Context, *DeleteBillingPlanRequest) (*DeleteBillingPlanResponse, error)
func (UnimplementedBillingServiceServer) DeleteDefaultBillingPlan ¶
func (UnimplementedBillingServiceServer) DeleteDefaultBillingPlan(context.Context, *DeleteDefaultBillingPlanRequest) (*DeleteDefaultBillingPlanResponse, error)
func (UnimplementedBillingServiceServer) DeleteDefaultRateDefinition ¶
func (UnimplementedBillingServiceServer) DeleteDefaultRateDefinition(context.Context, *DeleteDefaultRateDefinitionRequest) (*DeleteDefaultRateDefinitionResponse, error)
func (UnimplementedBillingServiceServer) DeleteInvoice ¶
func (UnimplementedBillingServiceServer) DeleteInvoice(context.Context, *DeleteInvoiceRequest) (*DeleteInvoiceResponse, error)
func (UnimplementedBillingServiceServer) DeleteRateDefinition ¶
func (UnimplementedBillingServiceServer) DeleteRateDefinition(context.Context, *DeleteRateDefinitionRequest) (*DeleteRateDefinitionResponse, error)
func (UnimplementedBillingServiceServer) DuplicateBillingPlan ¶
func (UnimplementedBillingServiceServer) DuplicateBillingPlan(context.Context, *DuplicateBillingPlanRequest) (*DuplicateBillingPlanResponse, error)
func (UnimplementedBillingServiceServer) DuplicateDefaultBillingPlan ¶
func (UnimplementedBillingServiceServer) DuplicateDefaultBillingPlan(context.Context, *DuplicateDefaultBillingPlanRequest) (*DuplicateDefaultBillingPlanResponse, error)
func (UnimplementedBillingServiceServer) ExportInvoice ¶
func (UnimplementedBillingServiceServer) ExportInvoice(context.Context, *ExportInvoiceRequest) (*ExportInvoiceResponse, error)
func (UnimplementedBillingServiceServer) GetActiveBillingPlan ¶
func (UnimplementedBillingServiceServer) GetActiveBillingPlan(context.Context, *GetActiveBillingPlanRequest) (*GetActiveBillingPlanResponse, error)
func (UnimplementedBillingServiceServer) GetBillingPlan ¶
func (UnimplementedBillingServiceServer) GetBillingPlan(context.Context, *GetBillingPlanRequest) (*GetBillingPlanResponse, error)
func (UnimplementedBillingServiceServer) GetBillingPlanHistory ¶ added in v1.7.69
func (UnimplementedBillingServiceServer) GetBillingPlanHistory(context.Context, *GetBillingPlanHistoryRequest) (*GetBillingPlanHistoryResponse, error)
func (UnimplementedBillingServiceServer) GetInvoice ¶
func (UnimplementedBillingServiceServer) GetInvoice(context.Context, *GetInvoiceRequest) (*GetInvoiceResponse, error)
func (UnimplementedBillingServiceServer) GetRateDefinition ¶
func (UnimplementedBillingServiceServer) GetRateDefinition(context.Context, *GetRateDefinitionRequest) (*GetRateDefinitionResponse, error)
func (UnimplementedBillingServiceServer) ListBillingPlans ¶
func (UnimplementedBillingServiceServer) ListBillingPlans(context.Context, *ListBillingPlansRequest) (*ListBillingPlansResponse, error)
func (UnimplementedBillingServiceServer) ListInvoices ¶
func (UnimplementedBillingServiceServer) ListInvoices(context.Context, *ListInvoicesRequest) (*ListInvoicesResponse, error)
func (UnimplementedBillingServiceServer) ListRateDefinitions ¶
func (UnimplementedBillingServiceServer) ListRateDefinitions(context.Context, *ListRateDefinitionsRequest) (*ListRateDefinitionsResponse, error)
func (UnimplementedBillingServiceServer) UpdateBillingPlan ¶
func (UnimplementedBillingServiceServer) UpdateBillingPlan(context.Context, *UpdateBillingPlanRequest) (*UpdateBillingPlanResponse, error)
func (UnimplementedBillingServiceServer) UpdateDefaultBillingPlan ¶
func (UnimplementedBillingServiceServer) UpdateDefaultBillingPlan(context.Context, *UpdateDefaultBillingPlanRequest) (*UpdateDefaultBillingPlanResponse, error)
func (UnimplementedBillingServiceServer) UpdateDefaultRateDefinition ¶
func (UnimplementedBillingServiceServer) UpdateDefaultRateDefinition(context.Context, *UpdateDefaultRateDefinitionRequest) (*UpdateDefaultRateDefinitionResponse, error)
func (UnimplementedBillingServiceServer) UpdateInvoice ¶
func (UnimplementedBillingServiceServer) UpdateInvoice(context.Context, *UpdateInvoiceRequest) (*UpdateInvoiceResponse, error)
func (UnimplementedBillingServiceServer) UpdateRateDefinition ¶
func (UnimplementedBillingServiceServer) UpdateRateDefinition(context.Context, *UpdateRateDefinitionRequest) (*UpdateRateDefinitionResponse, error)
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 UpdateBillingPlanRequest ¶
type UpdateBillingPlanRequest struct { BillingPlanId string `protobuf:"bytes,1,opt,name=billing_plan_id,json=billingPlanId,proto3" json:"billing_plan_id,omitempty"` BillingPlan *v1alpha1.BillingPlan `protobuf:"bytes,2,opt,name=billing_plan,json=billingPlan,proto3" json:"billing_plan,omitempty"` UpdateFields *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_fields,json=updateFields,proto3" json:"update_fields,omitempty"` // contains filtered or unexported fields }
func (*UpdateBillingPlanRequest) Descriptor
deprecated
func (*UpdateBillingPlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBillingPlanRequest.ProtoReflect.Descriptor instead.
func (*UpdateBillingPlanRequest) GetBillingPlan ¶
func (x *UpdateBillingPlanRequest) GetBillingPlan() *v1alpha1.BillingPlan
func (*UpdateBillingPlanRequest) GetBillingPlanId ¶
func (x *UpdateBillingPlanRequest) GetBillingPlanId() string
func (*UpdateBillingPlanRequest) GetUpdateFields ¶
func (x *UpdateBillingPlanRequest) GetUpdateFields() *fieldmaskpb.FieldMask
func (*UpdateBillingPlanRequest) ProtoMessage ¶
func (*UpdateBillingPlanRequest) ProtoMessage()
func (*UpdateBillingPlanRequest) ProtoReflect ¶
func (x *UpdateBillingPlanRequest) ProtoReflect() protoreflect.Message
func (*UpdateBillingPlanRequest) Reset ¶
func (x *UpdateBillingPlanRequest) Reset()
func (*UpdateBillingPlanRequest) String ¶
func (x *UpdateBillingPlanRequest) String() string
type UpdateBillingPlanResponse ¶
type UpdateBillingPlanResponse struct {
// contains filtered or unexported fields
}
func (*UpdateBillingPlanResponse) Descriptor
deprecated
func (*UpdateBillingPlanResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBillingPlanResponse.ProtoReflect.Descriptor instead.
func (*UpdateBillingPlanResponse) ProtoMessage ¶
func (*UpdateBillingPlanResponse) ProtoMessage()
func (*UpdateBillingPlanResponse) ProtoReflect ¶
func (x *UpdateBillingPlanResponse) ProtoReflect() protoreflect.Message
func (*UpdateBillingPlanResponse) Reset ¶
func (x *UpdateBillingPlanResponse) Reset()
func (*UpdateBillingPlanResponse) String ¶
func (x *UpdateBillingPlanResponse) String() string
type UpdateDefaultBillingPlanRequest ¶
type UpdateDefaultBillingPlanRequest struct { BillingPlanId string `protobuf:"bytes,1,opt,name=billing_plan_id,json=billingPlanId,proto3" json:"billing_plan_id,omitempty"` BillingPlan *v1alpha1.BillingPlan `protobuf:"bytes,2,opt,name=billing_plan,json=billingPlan,proto3" json:"billing_plan,omitempty"` UpdateFields *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_fields,json=updateFields,proto3" json:"update_fields,omitempty"` // contains filtered or unexported fields }
func (*UpdateDefaultBillingPlanRequest) Descriptor
deprecated
func (*UpdateDefaultBillingPlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDefaultBillingPlanRequest.ProtoReflect.Descriptor instead.
func (*UpdateDefaultBillingPlanRequest) GetBillingPlan ¶
func (x *UpdateDefaultBillingPlanRequest) GetBillingPlan() *v1alpha1.BillingPlan
func (*UpdateDefaultBillingPlanRequest) GetBillingPlanId ¶
func (x *UpdateDefaultBillingPlanRequest) GetBillingPlanId() string
func (*UpdateDefaultBillingPlanRequest) GetUpdateFields ¶
func (x *UpdateDefaultBillingPlanRequest) GetUpdateFields() *fieldmaskpb.FieldMask
func (*UpdateDefaultBillingPlanRequest) ProtoMessage ¶
func (*UpdateDefaultBillingPlanRequest) ProtoMessage()
func (*UpdateDefaultBillingPlanRequest) ProtoReflect ¶
func (x *UpdateDefaultBillingPlanRequest) ProtoReflect() protoreflect.Message
func (*UpdateDefaultBillingPlanRequest) Reset ¶
func (x *UpdateDefaultBillingPlanRequest) Reset()
func (*UpdateDefaultBillingPlanRequest) String ¶
func (x *UpdateDefaultBillingPlanRequest) String() string
type UpdateDefaultBillingPlanResponse ¶
type UpdateDefaultBillingPlanResponse struct {
// contains filtered or unexported fields
}
func (*UpdateDefaultBillingPlanResponse) Descriptor
deprecated
func (*UpdateDefaultBillingPlanResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDefaultBillingPlanResponse.ProtoReflect.Descriptor instead.
func (*UpdateDefaultBillingPlanResponse) ProtoMessage ¶
func (*UpdateDefaultBillingPlanResponse) ProtoMessage()
func (*UpdateDefaultBillingPlanResponse) ProtoReflect ¶
func (x *UpdateDefaultBillingPlanResponse) ProtoReflect() protoreflect.Message
func (*UpdateDefaultBillingPlanResponse) Reset ¶
func (x *UpdateDefaultBillingPlanResponse) Reset()
func (*UpdateDefaultBillingPlanResponse) String ¶
func (x *UpdateDefaultBillingPlanResponse) String() string
type UpdateDefaultRateDefinitionRequest ¶
type UpdateDefaultRateDefinitionRequest struct { RateDefinitionId string `protobuf:"bytes,1,opt,name=rate_definition_id,json=rateDefinitionId,proto3" json:"rate_definition_id,omitempty"` RateDefinition *v1alpha1.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 (x *UpdateDefaultRateDefinitionRequest) GetRateDefinition() *v1alpha1.RateDefinition
func (*UpdateDefaultRateDefinitionRequest) GetRateDefinitionId ¶
func (x *UpdateDefaultRateDefinitionRequest) GetRateDefinitionId() string
func (*UpdateDefaultRateDefinitionRequest) GetUpdateFields ¶
func (x *UpdateDefaultRateDefinitionRequest) GetUpdateFields() *fieldmaskpb.FieldMask
func (*UpdateDefaultRateDefinitionRequest) ProtoMessage ¶
func (*UpdateDefaultRateDefinitionRequest) ProtoMessage()
func (*UpdateDefaultRateDefinitionRequest) ProtoReflect ¶
func (x *UpdateDefaultRateDefinitionRequest) ProtoReflect() protoreflect.Message
func (*UpdateDefaultRateDefinitionRequest) Reset ¶
func (x *UpdateDefaultRateDefinitionRequest) Reset()
func (*UpdateDefaultRateDefinitionRequest) String ¶
func (x *UpdateDefaultRateDefinitionRequest) String() 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 (x *UpdateDefaultRateDefinitionResponse) ProtoReflect() protoreflect.Message
func (*UpdateDefaultRateDefinitionResponse) Reset ¶
func (x *UpdateDefaultRateDefinitionResponse) Reset()
func (*UpdateDefaultRateDefinitionResponse) String ¶
func (x *UpdateDefaultRateDefinitionResponse) String() string
type UpdateInvoiceRequest
deprecated
type UpdateInvoiceRequest struct { // Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto. InvoiceId string `protobuf:"bytes,1,opt,name=invoice_id,json=invoiceId,proto3" json:"invoice_id,omitempty"` // Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto. Invoice *v1alpha1.Invoice `protobuf:"bytes,2,opt,name=invoice,proto3" json:"invoice,omitempty"` // Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto. UpdateFields *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_fields,json=updateFields,proto3" json:"update_fields,omitempty"` // contains filtered or unexported fields }
Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto.
func (*UpdateInvoiceRequest) Descriptor
deprecated
func (*UpdateInvoiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateInvoiceRequest.ProtoReflect.Descriptor instead.
func (*UpdateInvoiceRequest) GetInvoice
deprecated
func (x *UpdateInvoiceRequest) GetInvoice() *v1alpha1.Invoice
Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto.
func (*UpdateInvoiceRequest) GetInvoiceId
deprecated
func (x *UpdateInvoiceRequest) GetInvoiceId() string
Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto.
func (*UpdateInvoiceRequest) GetUpdateFields
deprecated
func (x *UpdateInvoiceRequest) GetUpdateFields() *fieldmaskpb.FieldMask
Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto.
func (*UpdateInvoiceRequest) ProtoMessage ¶
func (*UpdateInvoiceRequest) ProtoMessage()
func (*UpdateInvoiceRequest) ProtoReflect ¶
func (x *UpdateInvoiceRequest) ProtoReflect() protoreflect.Message
func (*UpdateInvoiceRequest) Reset ¶
func (x *UpdateInvoiceRequest) Reset()
func (*UpdateInvoiceRequest) String ¶
func (x *UpdateInvoiceRequest) String() string
type UpdateInvoiceResponse
deprecated
type UpdateInvoiceResponse struct {
// contains filtered or unexported fields
}
Deprecated: Marked as deprecated in services/billing/v1alpha1/invoices.proto.
func (*UpdateInvoiceResponse) Descriptor
deprecated
func (*UpdateInvoiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateInvoiceResponse.ProtoReflect.Descriptor instead.
func (*UpdateInvoiceResponse) ProtoMessage ¶
func (*UpdateInvoiceResponse) ProtoMessage()
func (*UpdateInvoiceResponse) ProtoReflect ¶
func (x *UpdateInvoiceResponse) ProtoReflect() protoreflect.Message
func (*UpdateInvoiceResponse) Reset ¶
func (x *UpdateInvoiceResponse) Reset()
func (*UpdateInvoiceResponse) String ¶
func (x *UpdateInvoiceResponse) String() 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 *v1alpha1.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() *v1alpha1.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 (x *UpdateRateDefinitionRequest) ProtoReflect() protoreflect.Message
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 (x *UpdateRateDefinitionResponse) ProtoReflect() protoreflect.Message
func (*UpdateRateDefinitionResponse) Reset ¶
func (x *UpdateRateDefinitionResponse) Reset()
func (*UpdateRateDefinitionResponse) String ¶
func (x *UpdateRateDefinitionResponse) String() string