Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterBillingServer(s grpc.ServiceRegistrar, srv BillingServer)deprecated
- type BillingClientdeprecated
- type BillingServerdeprecated
- type ExportGeneratedInvoiceReqdeprecated
- func (*ExportGeneratedInvoiceReq) Descriptor() ([]byte, []int)deprecated
- func (x *ExportGeneratedInvoiceReq) GetFormat() InvoiceFormatdeprecated
- func (x *ExportGeneratedInvoiceReq) GetInvoiceDate() *timestamppb.Timestampdeprecated
- func (x *ExportGeneratedInvoiceReq) GetInvoiceFormat() billing.InvoiceFormatdeprecated
- func (x *ExportGeneratedInvoiceReq) GetOrgId() stringdeprecated
- func (*ExportGeneratedInvoiceReq) ProtoMessage()
- func (x *ExportGeneratedInvoiceReq) ProtoReflect() protoreflect.Message
- func (x *ExportGeneratedInvoiceReq) Reset()
- func (x *ExportGeneratedInvoiceReq) String() string
- type ExportGeneratedInvoiceResdeprecated
- func (*ExportGeneratedInvoiceRes) Descriptor() ([]byte, []int)deprecated
- func (x *ExportGeneratedInvoiceRes) GetBillingCycle() stringdeprecated
- func (x *ExportGeneratedInvoiceRes) GetCsvUrl() stringdeprecated
- func (m *ExportGeneratedInvoiceRes) GetFormat() isExportGeneratedInvoiceRes_Format
- func (x *ExportGeneratedInvoiceRes) GetInvoiceCsvUrl() stringdeprecated
- func (m *ExportGeneratedInvoiceRes) GetInvoiceData() isExportGeneratedInvoiceRes_InvoiceData
- func (x *ExportGeneratedInvoiceRes) GetInvoiceProto() *billing.Invoicedeprecated
- func (x *ExportGeneratedInvoiceRes) GetProto() *billing.Invoicedeprecated
- func (*ExportGeneratedInvoiceRes) ProtoMessage()
- func (x *ExportGeneratedInvoiceRes) ProtoReflect() protoreflect.Message
- func (x *ExportGeneratedInvoiceRes) Reset()
- func (x *ExportGeneratedInvoiceRes) String() string
- type ExportGeneratedInvoiceRes_CsvUrl
- type ExportGeneratedInvoiceRes_InvoiceCsvUrl
- type ExportGeneratedInvoiceRes_InvoiceProto
- type ExportGeneratedInvoiceRes_Proto
- type GetBillingPlanReqdeprecated
- func (*GetBillingPlanReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetBillingPlanReq) GetOrgId() stringdeprecated
- func (*GetBillingPlanReq) ProtoMessage()
- func (x *GetBillingPlanReq) ProtoReflect() protoreflect.Message
- func (x *GetBillingPlanReq) Reset()
- func (x *GetBillingPlanReq) String() string
- type GetBillingPlanResdeprecated
- func (*GetBillingPlanRes) Descriptor() ([]byte, []int)deprecated
- func (x *GetBillingPlanRes) GetBillingPlan() *billing.Plandeprecated
- func (*GetBillingPlanRes) ProtoMessage()
- func (x *GetBillingPlanRes) ProtoReflect() protoreflect.Message
- func (x *GetBillingPlanRes) Reset()
- func (x *GetBillingPlanRes) String() string
- type GetInvoiceReqdeprecated
- func (*GetInvoiceReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetInvoiceReq) GetFormat() InvoiceFormatdeprecated
- func (x *GetInvoiceReq) GetInvoiceDate() *timestamppb.Timestampdeprecated
- func (x *GetInvoiceReq) GetInvoiceFormat() billing.InvoiceFormatdeprecated
- func (x *GetInvoiceReq) GetOrgId() stringdeprecated
- func (*GetInvoiceReq) ProtoMessage()
- func (x *GetInvoiceReq) ProtoReflect() protoreflect.Message
- func (x *GetInvoiceReq) Reset()
- func (x *GetInvoiceReq) String() string
- type GetInvoiceResdeprecated
- func (*GetInvoiceRes) Descriptor() ([]byte, []int)deprecated
- func (x *GetInvoiceRes) GetBillingCycle() stringdeprecated
- func (x *GetInvoiceRes) GetCsvUrl() stringdeprecated
- func (m *GetInvoiceRes) GetFormat() isGetInvoiceRes_Format
- func (x *GetInvoiceRes) GetInvoice() *billing.Invoicedeprecated
- func (x *GetInvoiceRes) GetInvoiceCsvUrl() stringdeprecated
- func (m *GetInvoiceRes) GetInvoiceData() isGetInvoiceRes_InvoiceData
- func (x *GetInvoiceRes) GetInvoiceProto() *billing.Invoicedeprecated
- func (x *GetInvoiceRes) GetProto() *billing.Invoicedeprecated
- func (*GetInvoiceRes) ProtoMessage()
- func (x *GetInvoiceRes) ProtoReflect() protoreflect.Message
- func (x *GetInvoiceRes) Reset()
- func (x *GetInvoiceRes) String() string
- type GetInvoiceRes_CsvUrl
- type GetInvoiceRes_InvoiceCsvUrl
- type GetInvoiceRes_InvoiceProto
- type GetInvoiceRes_Proto
- type InvoiceFormatdeprecated
- 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 UnimplementedBillingServer
- func (UnimplementedBillingServer) ExportGeneratedInvoice(context.Context, *ExportGeneratedInvoiceReq) (*ExportGeneratedInvoiceRes, error)
- func (UnimplementedBillingServer) GetBillingPlan(context.Context, *GetBillingPlanReq) (*GetBillingPlanRes, error)
- func (UnimplementedBillingServer) GetInvoice(context.Context, *GetInvoiceReq) (*GetInvoiceRes, error)
- func (UnimplementedBillingServer) UpdateBillingPlan(context.Context, *UpdateBillingPlanReq) (*UpdateBillingPlanRes, error)
- type UnsafeBillingServer
- type UpdateBillingPlanReqdeprecated
- func (*UpdateBillingPlanReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBillingPlanReq) GetBillingDetails() []*billing.Detaildeprecated
- func (x *UpdateBillingPlanReq) GetOrgId() stringdeprecated
- func (*UpdateBillingPlanReq) ProtoMessage()
- func (x *UpdateBillingPlanReq) ProtoReflect() protoreflect.Message
- func (x *UpdateBillingPlanReq) Reset()
- func (x *UpdateBillingPlanReq) String() string
- type UpdateBillingPlanResdeprecated
- func (*UpdateBillingPlanRes) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBillingPlanRes) GetBillingPlan() *billing.Plandeprecated
- func (*UpdateBillingPlanRes) ProtoMessage()
- func (x *UpdateBillingPlanRes) ProtoReflect() protoreflect.Message
- func (x *UpdateBillingPlanRes) Reset()
- func (x *UpdateBillingPlanRes) String() string
Constants ¶
const ( Billing_GetBillingPlan_FullMethodName = "/api.v1alpha1.billing.Billing/GetBillingPlan" Billing_UpdateBillingPlan_FullMethodName = "/api.v1alpha1.billing.Billing/UpdateBillingPlan" Billing_GetInvoice_FullMethodName = "/api.v1alpha1.billing.Billing/GetInvoice" Billing_ExportGeneratedInvoice_FullMethodName = "/api.v1alpha1.billing.Billing/ExportGeneratedInvoice" )
Variables ¶
var ( InvoiceFormat_name = map[int32]string{ 0: "INVOICE_FORMAT_UNSPECIFIED", 1: "INVOICE_FORMAT_PROTO", 2: "INVOICE_FORMAT_CSV", } InvoiceFormat_value = map[string]int32{ "INVOICE_FORMAT_UNSPECIFIED": 0, "INVOICE_FORMAT_PROTO": 1, "INVOICE_FORMAT_CSV": 2, } )
Enum value maps for InvoiceFormat.
var Billing_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.v1alpha1.billing.Billing", HandlerType: (*BillingServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetBillingPlan", Handler: _Billing_GetBillingPlan_Handler, }, { MethodName: "UpdateBillingPlan", Handler: _Billing_UpdateBillingPlan_Handler, }, { MethodName: "GetInvoice", Handler: _Billing_GetInvoice_Handler, }, { MethodName: "ExportGeneratedInvoice", Handler: _Billing_ExportGeneratedInvoice_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v1alpha1/billing/service.proto", }
Billing_ServiceDesc is the grpc.ServiceDesc for Billing service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_api_v1alpha1_billing_entities_proto protoreflect.FileDescriptor
var File_api_v1alpha1_billing_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBillingServer
deprecated
func RegisterBillingServer(s grpc.ServiceRegistrar, srv BillingServer)
Deprecated: Do not use.
Types ¶
type BillingClient
deprecated
type BillingClient interface { // Deprecated: Do not use. GetBillingPlan(ctx context.Context, in *GetBillingPlanReq, opts ...grpc.CallOption) (*GetBillingPlanRes, error) // Deprecated: Do not use. UpdateBillingPlan(ctx context.Context, in *UpdateBillingPlanReq, opts ...grpc.CallOption) (*UpdateBillingPlanRes, error) // Deprecated: Do not use. GetInvoice(ctx context.Context, in *GetInvoiceReq, opts ...grpc.CallOption) (*GetInvoiceRes, error) // Deprecated: Do not use. ExportGeneratedInvoice(ctx context.Context, in *ExportGeneratedInvoiceReq, opts ...grpc.CallOption) (*ExportGeneratedInvoiceRes, error) }
BillingClient is the client API for Billing 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.
Deprecated: Do not use.
func NewBillingClient
deprecated
func NewBillingClient(cc grpc.ClientConnInterface) BillingClient
Deprecated: Do not use.
type BillingServer
deprecated
type BillingServer interface { // Deprecated: Do not use. GetBillingPlan(context.Context, *GetBillingPlanReq) (*GetBillingPlanRes, error) // Deprecated: Do not use. UpdateBillingPlan(context.Context, *UpdateBillingPlanReq) (*UpdateBillingPlanRes, error) // Deprecated: Do not use. GetInvoice(context.Context, *GetInvoiceReq) (*GetInvoiceRes, error) // Deprecated: Do not use. ExportGeneratedInvoice(context.Context, *ExportGeneratedInvoiceReq) (*ExportGeneratedInvoiceRes, error) // contains filtered or unexported methods }
BillingServer is the server API for Billing service. All implementations must embed UnimplementedBillingServer for forward compatibility.
Deprecated: Do not use.
type ExportGeneratedInvoiceReq
deprecated
added in
v1.7.25
type ExportGeneratedInvoiceReq struct { // Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto. InvoiceDate *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=invoice_date,json=invoiceDate,proto3" json:"invoice_date,omitempty"` // Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto. OrgId string `protobuf:"bytes,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto. Format InvoiceFormat `protobuf:"varint,3,opt,name=format,proto3,enum=api.v1alpha1.billing.InvoiceFormat" json:"format,omitempty"` // Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto. InvoiceFormat billing.InvoiceFormat `` /* 140-byte string literal not displayed */ // contains filtered or unexported fields }
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*ExportGeneratedInvoiceReq) Descriptor
deprecated
added in
v1.7.25
func (*ExportGeneratedInvoiceReq) Descriptor() ([]byte, []int)
Deprecated: Use ExportGeneratedInvoiceReq.ProtoReflect.Descriptor instead.
func (*ExportGeneratedInvoiceReq) GetFormat
deprecated
added in
v1.7.25
func (x *ExportGeneratedInvoiceReq) GetFormat() InvoiceFormat
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*ExportGeneratedInvoiceReq) GetInvoiceDate
deprecated
added in
v1.7.25
func (x *ExportGeneratedInvoiceReq) GetInvoiceDate() *timestamppb.Timestamp
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*ExportGeneratedInvoiceReq) GetInvoiceFormat
deprecated
added in
v1.7.25
func (x *ExportGeneratedInvoiceReq) GetInvoiceFormat() billing.InvoiceFormat
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*ExportGeneratedInvoiceReq) GetOrgId
deprecated
added in
v1.7.25
func (x *ExportGeneratedInvoiceReq) GetOrgId() string
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*ExportGeneratedInvoiceReq) ProtoMessage ¶ added in v1.7.25
func (*ExportGeneratedInvoiceReq) ProtoMessage()
func (*ExportGeneratedInvoiceReq) ProtoReflect ¶ added in v1.7.25
func (x *ExportGeneratedInvoiceReq) ProtoReflect() protoreflect.Message
func (*ExportGeneratedInvoiceReq) Reset ¶ added in v1.7.25
func (x *ExportGeneratedInvoiceReq) Reset()
func (*ExportGeneratedInvoiceReq) String ¶ added in v1.7.25
func (x *ExportGeneratedInvoiceReq) String() string
type ExportGeneratedInvoiceRes
deprecated
added in
v1.7.25
type ExportGeneratedInvoiceRes struct { // Types that are assignable to Format: // // *ExportGeneratedInvoiceRes_Proto // *ExportGeneratedInvoiceRes_CsvUrl Format isExportGeneratedInvoiceRes_Format `protobuf_oneof:"format"` // Types that are assignable to InvoiceData: // // *ExportGeneratedInvoiceRes_InvoiceProto // *ExportGeneratedInvoiceRes_InvoiceCsvUrl InvoiceData isExportGeneratedInvoiceRes_InvoiceData `protobuf_oneof:"invoice_data"` // Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto. BillingCycle string `protobuf:"bytes,4,opt,name=billing_cycle,json=billingCycle,proto3" json:"billing_cycle,omitempty"` // contains filtered or unexported fields }
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*ExportGeneratedInvoiceRes) Descriptor
deprecated
added in
v1.7.25
func (*ExportGeneratedInvoiceRes) Descriptor() ([]byte, []int)
Deprecated: Use ExportGeneratedInvoiceRes.ProtoReflect.Descriptor instead.
func (*ExportGeneratedInvoiceRes) GetBillingCycle
deprecated
added in
v1.7.25
func (x *ExportGeneratedInvoiceRes) GetBillingCycle() string
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*ExportGeneratedInvoiceRes) GetCsvUrl
deprecated
added in
v1.7.25
func (x *ExportGeneratedInvoiceRes) GetCsvUrl() string
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*ExportGeneratedInvoiceRes) GetFormat ¶ added in v1.7.25
func (m *ExportGeneratedInvoiceRes) GetFormat() isExportGeneratedInvoiceRes_Format
func (*ExportGeneratedInvoiceRes) GetInvoiceCsvUrl
deprecated
added in
v1.7.25
func (x *ExportGeneratedInvoiceRes) GetInvoiceCsvUrl() string
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*ExportGeneratedInvoiceRes) GetInvoiceData ¶ added in v1.7.25
func (m *ExportGeneratedInvoiceRes) GetInvoiceData() isExportGeneratedInvoiceRes_InvoiceData
func (*ExportGeneratedInvoiceRes) GetInvoiceProto
deprecated
added in
v1.7.25
func (x *ExportGeneratedInvoiceRes) GetInvoiceProto() *billing.Invoice
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*ExportGeneratedInvoiceRes) GetProto
deprecated
added in
v1.7.25
func (x *ExportGeneratedInvoiceRes) GetProto() *billing.Invoice
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*ExportGeneratedInvoiceRes) ProtoMessage ¶ added in v1.7.25
func (*ExportGeneratedInvoiceRes) ProtoMessage()
func (*ExportGeneratedInvoiceRes) ProtoReflect ¶ added in v1.7.25
func (x *ExportGeneratedInvoiceRes) ProtoReflect() protoreflect.Message
func (*ExportGeneratedInvoiceRes) Reset ¶ added in v1.7.25
func (x *ExportGeneratedInvoiceRes) Reset()
func (*ExportGeneratedInvoiceRes) String ¶ added in v1.7.25
func (x *ExportGeneratedInvoiceRes) String() string
type ExportGeneratedInvoiceRes_CsvUrl ¶ added in v1.7.25
type ExportGeneratedInvoiceRes_CsvUrl struct { // Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto. CsvUrl string `protobuf:"bytes,2,opt,name=csv_url,json=csvUrl,proto3,oneof"` }
type ExportGeneratedInvoiceRes_InvoiceCsvUrl ¶ added in v1.7.25
type ExportGeneratedInvoiceRes_InvoiceCsvUrl struct { // Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto. InvoiceCsvUrl string `protobuf:"bytes,101,opt,name=invoice_csv_url,json=invoiceCsvUrl,proto3,oneof"` }
type ExportGeneratedInvoiceRes_InvoiceProto ¶ added in v1.7.25
type ExportGeneratedInvoiceRes_Proto ¶ added in v1.7.25
type GetBillingPlanReq
deprecated
type GetBillingPlanReq struct { // Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // contains filtered or unexported fields }
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*GetBillingPlanReq) Descriptor
deprecated
func (*GetBillingPlanReq) Descriptor() ([]byte, []int)
Deprecated: Use GetBillingPlanReq.ProtoReflect.Descriptor instead.
func (*GetBillingPlanReq) GetOrgId
deprecated
added in
v1.7.25
func (x *GetBillingPlanReq) GetOrgId() string
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*GetBillingPlanReq) ProtoMessage ¶
func (*GetBillingPlanReq) ProtoMessage()
func (*GetBillingPlanReq) ProtoReflect ¶
func (x *GetBillingPlanReq) ProtoReflect() protoreflect.Message
func (*GetBillingPlanReq) Reset ¶
func (x *GetBillingPlanReq) Reset()
func (*GetBillingPlanReq) String ¶
func (x *GetBillingPlanReq) String() string
type GetBillingPlanRes
deprecated
type GetBillingPlanRes struct { // Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto. BillingPlan *billing.Plan `protobuf:"bytes,1,opt,name=billing_plan,json=billingPlan,proto3" json:"billing_plan,omitempty"` // contains filtered or unexported fields }
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*GetBillingPlanRes) Descriptor
deprecated
func (*GetBillingPlanRes) Descriptor() ([]byte, []int)
Deprecated: Use GetBillingPlanRes.ProtoReflect.Descriptor instead.
func (*GetBillingPlanRes) GetBillingPlan
deprecated
func (x *GetBillingPlanRes) GetBillingPlan() *billing.Plan
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*GetBillingPlanRes) ProtoMessage ¶
func (*GetBillingPlanRes) ProtoMessage()
func (*GetBillingPlanRes) ProtoReflect ¶
func (x *GetBillingPlanRes) ProtoReflect() protoreflect.Message
func (*GetBillingPlanRes) Reset ¶
func (x *GetBillingPlanRes) Reset()
func (*GetBillingPlanRes) String ¶
func (x *GetBillingPlanRes) String() string
type GetInvoiceReq
deprecated
type GetInvoiceReq struct { // Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto. InvoiceDate *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=invoice_date,json=invoiceDate,proto3" json:"invoice_date,omitempty"` // Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto. OrgId string `protobuf:"bytes,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto. Format InvoiceFormat `protobuf:"varint,3,opt,name=format,proto3,enum=api.v1alpha1.billing.InvoiceFormat" json:"format,omitempty"` // Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto. InvoiceFormat billing.InvoiceFormat `` /* 140-byte string literal not displayed */ // contains filtered or unexported fields }
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*GetInvoiceReq) Descriptor
deprecated
func (*GetInvoiceReq) Descriptor() ([]byte, []int)
Deprecated: Use GetInvoiceReq.ProtoReflect.Descriptor instead.
func (*GetInvoiceReq) GetFormat
deprecated
added in
v1.7.25
func (x *GetInvoiceReq) GetFormat() InvoiceFormat
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*GetInvoiceReq) GetInvoiceDate
deprecated
func (x *GetInvoiceReq) GetInvoiceDate() *timestamppb.Timestamp
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*GetInvoiceReq) GetInvoiceFormat
deprecated
added in
v1.7.25
func (x *GetInvoiceReq) GetInvoiceFormat() billing.InvoiceFormat
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*GetInvoiceReq) GetOrgId
deprecated
added in
v1.7.25
func (x *GetInvoiceReq) GetOrgId() string
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*GetInvoiceReq) ProtoMessage ¶
func (*GetInvoiceReq) ProtoMessage()
func (*GetInvoiceReq) ProtoReflect ¶
func (x *GetInvoiceReq) ProtoReflect() protoreflect.Message
func (*GetInvoiceReq) Reset ¶
func (x *GetInvoiceReq) Reset()
func (*GetInvoiceReq) String ¶
func (x *GetInvoiceReq) String() string
type GetInvoiceRes
deprecated
type GetInvoiceRes struct { // Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto. Invoice *billing.Invoice `protobuf:"bytes,1,opt,name=invoice,proto3" json:"invoice,omitempty"` // Types that are assignable to Format: // // *GetInvoiceRes_Proto // *GetInvoiceRes_CsvUrl Format isGetInvoiceRes_Format `protobuf_oneof:"format"` // Types that are assignable to InvoiceData: // // *GetInvoiceRes_InvoiceProto // *GetInvoiceRes_InvoiceCsvUrl InvoiceData isGetInvoiceRes_InvoiceData `protobuf_oneof:"invoice_data"` // Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto. BillingCycle string `protobuf:"bytes,4,opt,name=billing_cycle,json=billingCycle,proto3" json:"billing_cycle,omitempty"` // contains filtered or unexported fields }
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*GetInvoiceRes) Descriptor
deprecated
func (*GetInvoiceRes) Descriptor() ([]byte, []int)
Deprecated: Use GetInvoiceRes.ProtoReflect.Descriptor instead.
func (*GetInvoiceRes) GetBillingCycle
deprecated
added in
v1.7.25
func (x *GetInvoiceRes) GetBillingCycle() string
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*GetInvoiceRes) GetCsvUrl
deprecated
added in
v1.7.25
func (x *GetInvoiceRes) GetCsvUrl() string
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*GetInvoiceRes) GetFormat ¶ added in v1.7.25
func (m *GetInvoiceRes) GetFormat() isGetInvoiceRes_Format
func (*GetInvoiceRes) GetInvoice
deprecated
func (x *GetInvoiceRes) GetInvoice() *billing.Invoice
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*GetInvoiceRes) GetInvoiceCsvUrl
deprecated
added in
v1.7.25
func (x *GetInvoiceRes) GetInvoiceCsvUrl() string
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*GetInvoiceRes) GetInvoiceData ¶ added in v1.7.25
func (m *GetInvoiceRes) GetInvoiceData() isGetInvoiceRes_InvoiceData
func (*GetInvoiceRes) GetInvoiceProto
deprecated
added in
v1.7.25
func (x *GetInvoiceRes) GetInvoiceProto() *billing.Invoice
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*GetInvoiceRes) GetProto
deprecated
added in
v1.7.25
func (x *GetInvoiceRes) GetProto() *billing.Invoice
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*GetInvoiceRes) ProtoMessage ¶
func (*GetInvoiceRes) ProtoMessage()
func (*GetInvoiceRes) ProtoReflect ¶
func (x *GetInvoiceRes) ProtoReflect() protoreflect.Message
func (*GetInvoiceRes) Reset ¶
func (x *GetInvoiceRes) Reset()
func (*GetInvoiceRes) String ¶
func (x *GetInvoiceRes) String() string
type GetInvoiceRes_CsvUrl ¶ added in v1.7.25
type GetInvoiceRes_CsvUrl struct { // Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto. CsvUrl string `protobuf:"bytes,3,opt,name=csv_url,json=csvUrl,proto3,oneof"` }
type GetInvoiceRes_InvoiceCsvUrl ¶ added in v1.7.25
type GetInvoiceRes_InvoiceCsvUrl struct { // Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto. InvoiceCsvUrl string `protobuf:"bytes,101,opt,name=invoice_csv_url,json=invoiceCsvUrl,proto3,oneof"` }
type GetInvoiceRes_InvoiceProto ¶ added in v1.7.25
type GetInvoiceRes_Proto ¶ added in v1.7.25
type InvoiceFormat
deprecated
added in
v1.7.25
type InvoiceFormat int32
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
const ( InvoiceFormat_INVOICE_FORMAT_UNSPECIFIED InvoiceFormat = 0 InvoiceFormat_INVOICE_FORMAT_PROTO InvoiceFormat = 1 InvoiceFormat_INVOICE_FORMAT_CSV InvoiceFormat = 2 )
func (InvoiceFormat) Descriptor ¶ added in v1.7.25
func (InvoiceFormat) Descriptor() protoreflect.EnumDescriptor
func (InvoiceFormat) Enum ¶ added in v1.7.25
func (x InvoiceFormat) Enum() *InvoiceFormat
func (InvoiceFormat) EnumDescriptor
deprecated
added in
v1.7.25
func (InvoiceFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use InvoiceFormat.Descriptor instead.
func (InvoiceFormat) Number ¶ added in v1.7.25
func (x InvoiceFormat) Number() protoreflect.EnumNumber
func (InvoiceFormat) String ¶ added in v1.7.25
func (x InvoiceFormat) String() string
func (InvoiceFormat) Type ¶ added in v1.7.25
func (InvoiceFormat) Type() protoreflect.EnumType
type UnimplementedBillingServer ¶
type UnimplementedBillingServer struct{}
UnimplementedBillingServer 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 (UnimplementedBillingServer) ExportGeneratedInvoice ¶ added in v1.7.25
func (UnimplementedBillingServer) ExportGeneratedInvoice(context.Context, *ExportGeneratedInvoiceReq) (*ExportGeneratedInvoiceRes, error)
func (UnimplementedBillingServer) GetBillingPlan ¶
func (UnimplementedBillingServer) GetBillingPlan(context.Context, *GetBillingPlanReq) (*GetBillingPlanRes, error)
func (UnimplementedBillingServer) GetInvoice ¶
func (UnimplementedBillingServer) GetInvoice(context.Context, *GetInvoiceReq) (*GetInvoiceRes, error)
func (UnimplementedBillingServer) UpdateBillingPlan ¶
func (UnimplementedBillingServer) UpdateBillingPlan(context.Context, *UpdateBillingPlanReq) (*UpdateBillingPlanRes, error)
type UnsafeBillingServer ¶
type UnsafeBillingServer interface {
// contains filtered or unexported methods
}
UnsafeBillingServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BillingServer will result in compilation errors.
type UpdateBillingPlanReq
deprecated
type UpdateBillingPlanReq struct { // Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto. BillingDetails []*billing.Detail `protobuf:"bytes,1,rep,name=billing_details,json=billingDetails,proto3" json:"billing_details,omitempty"` // Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto. OrgId string `protobuf:"bytes,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // contains filtered or unexported fields }
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*UpdateBillingPlanReq) Descriptor
deprecated
func (*UpdateBillingPlanReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBillingPlanReq.ProtoReflect.Descriptor instead.
func (*UpdateBillingPlanReq) GetBillingDetails
deprecated
added in
v1.7.13
func (x *UpdateBillingPlanReq) GetBillingDetails() []*billing.Detail
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*UpdateBillingPlanReq) GetOrgId
deprecated
added in
v1.7.25
func (x *UpdateBillingPlanReq) GetOrgId() string
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*UpdateBillingPlanReq) ProtoMessage ¶
func (*UpdateBillingPlanReq) ProtoMessage()
func (*UpdateBillingPlanReq) ProtoReflect ¶
func (x *UpdateBillingPlanReq) ProtoReflect() protoreflect.Message
func (*UpdateBillingPlanReq) Reset ¶
func (x *UpdateBillingPlanReq) Reset()
func (*UpdateBillingPlanReq) String ¶
func (x *UpdateBillingPlanReq) String() string
type UpdateBillingPlanRes
deprecated
type UpdateBillingPlanRes struct { // Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto. BillingPlan *billing.Plan `protobuf:"bytes,1,opt,name=billing_plan,json=billingPlan,proto3" json:"billing_plan,omitempty"` // contains filtered or unexported fields }
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*UpdateBillingPlanRes) Descriptor
deprecated
func (*UpdateBillingPlanRes) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBillingPlanRes.ProtoReflect.Descriptor instead.
func (*UpdateBillingPlanRes) GetBillingPlan
deprecated
func (x *UpdateBillingPlanRes) GetBillingPlan() *billing.Plan
Deprecated: Marked as deprecated in api/v1alpha1/billing/entities.proto.
func (*UpdateBillingPlanRes) ProtoMessage ¶
func (*UpdateBillingPlanRes) ProtoMessage()
func (*UpdateBillingPlanRes) ProtoReflect ¶
func (x *UpdateBillingPlanRes) ProtoReflect() protoreflect.Message
func (*UpdateBillingPlanRes) Reset ¶
func (x *UpdateBillingPlanRes) Reset()
func (*UpdateBillingPlanRes) String ¶
func (x *UpdateBillingPlanRes) String() string