Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterRateServiceServer(s grpc.ServiceRegistrar, srv RateServiceServer)
- type DeleteMarkupRequest
- func (*DeleteMarkupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteMarkupRequest) GetOwnerId() string
- func (*DeleteMarkupRequest) ProtoMessage()
- func (x *DeleteMarkupRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteMarkupRequest) Reset()
- func (x *DeleteMarkupRequest) String() string
- func (this *DeleteMarkupRequest) Validate() error
- type DeleteMarkupResponse
- func (*DeleteMarkupResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteMarkupResponse) ProtoMessage()
- func (x *DeleteMarkupResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteMarkupResponse) Reset()
- func (x *DeleteMarkupResponse) String() string
- func (this *DeleteMarkupResponse) Validate() error
- type GetDefaultMarkupHistoryRequest
- func (*GetDefaultMarkupHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetDefaultMarkupHistoryRequest) ProtoMessage()
- func (x *GetDefaultMarkupHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *GetDefaultMarkupHistoryRequest) Reset()
- func (x *GetDefaultMarkupHistoryRequest) String() string
- func (this *GetDefaultMarkupHistoryRequest) Validate() error
- type GetDefaultMarkupHistoryResponse
- func (*GetDefaultMarkupHistoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDefaultMarkupHistoryResponse) GetMarkupRates() []*MarkupRates
- func (*GetDefaultMarkupHistoryResponse) ProtoMessage()
- func (x *GetDefaultMarkupHistoryResponse) ProtoReflect() protoreflect.Message
- func (x *GetDefaultMarkupHistoryResponse) Reset()
- func (x *GetDefaultMarkupHistoryResponse) String() string
- func (this *GetDefaultMarkupHistoryResponse) Validate() error
- type GetDefaultMarkupRequest
- func (*GetDefaultMarkupRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetDefaultMarkupRequest) ProtoMessage()
- func (x *GetDefaultMarkupRequest) ProtoReflect() protoreflect.Message
- func (x *GetDefaultMarkupRequest) Reset()
- func (x *GetDefaultMarkupRequest) String() string
- func (this *GetDefaultMarkupRequest) Validate() error
- type GetDefaultMarkupResponse
- func (*GetDefaultMarkupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDefaultMarkupResponse) GetMarkup() float64
- func (*GetDefaultMarkupResponse) ProtoMessage()
- func (x *GetDefaultMarkupResponse) ProtoReflect() protoreflect.Message
- func (x *GetDefaultMarkupResponse) Reset()
- func (x *GetDefaultMarkupResponse) String() string
- func (this *GetDefaultMarkupResponse) Validate() error
- type GetMarkupHistoryRequest
- func (*GetMarkupHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMarkupHistoryRequest) GetOwnerId() string
- func (*GetMarkupHistoryRequest) ProtoMessage()
- func (x *GetMarkupHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *GetMarkupHistoryRequest) Reset()
- func (x *GetMarkupHistoryRequest) String() string
- func (this *GetMarkupHistoryRequest) Validate() error
- type GetMarkupHistoryResponse
- func (*GetMarkupHistoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMarkupHistoryResponse) GetMarkupRates() []*MarkupRates
- func (x *GetMarkupHistoryResponse) GetOwnerId() string
- func (*GetMarkupHistoryResponse) ProtoMessage()
- func (x *GetMarkupHistoryResponse) ProtoReflect() protoreflect.Message
- func (x *GetMarkupHistoryResponse) Reset()
- func (x *GetMarkupHistoryResponse) String() string
- func (this *GetMarkupHistoryResponse) Validate() error
- type GetMarkupRequest
- func (*GetMarkupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMarkupRequest) GetOwnerId() string
- func (*GetMarkupRequest) ProtoMessage()
- func (x *GetMarkupRequest) ProtoReflect() protoreflect.Message
- func (x *GetMarkupRequest) Reset()
- func (x *GetMarkupRequest) String() string
- func (this *GetMarkupRequest) Validate() error
- type GetMarkupResponse
- func (*GetMarkupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMarkupResponse) GetMarkup() float64
- func (x *GetMarkupResponse) GetOwnerId() string
- func (*GetMarkupResponse) ProtoMessage()
- func (x *GetMarkupResponse) ProtoReflect() protoreflect.Message
- func (x *GetMarkupResponse) Reset()
- func (x *GetMarkupResponse) String() string
- func (this *GetMarkupResponse) Validate() error
- type GetRateByIdRequest
- func (*GetRateByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRateByIdRequest) GetBaseRate() string
- func (x *GetRateByIdRequest) GetOwnerId() string
- func (*GetRateByIdRequest) ProtoMessage()
- func (x *GetRateByIdRequest) ProtoReflect() protoreflect.Message
- func (x *GetRateByIdRequest) Reset()
- func (x *GetRateByIdRequest) String() string
- func (this *GetRateByIdRequest) Validate() error
- type GetRateByIdResponse
- func (*GetRateByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRateByIdResponse) GetRate() *gen.Rate
- func (*GetRateByIdResponse) ProtoMessage()
- func (x *GetRateByIdResponse) ProtoReflect() protoreflect.Message
- func (x *GetRateByIdResponse) Reset()
- func (x *GetRateByIdResponse) String() string
- func (this *GetRateByIdResponse) Validate() error
- type GetRateRequest
- func (*GetRateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRateRequest) GetCountry() string
- func (x *GetRateRequest) GetEffectiveAt() string
- func (x *GetRateRequest) GetFrom() string
- func (x *GetRateRequest) GetOwnerId() string
- func (x *GetRateRequest) GetProvider() string
- func (x *GetRateRequest) GetSimType() string
- func (x *GetRateRequest) GetTo() string
- func (*GetRateRequest) ProtoMessage()
- func (x *GetRateRequest) ProtoReflect() protoreflect.Message
- func (x *GetRateRequest) Reset()
- func (x *GetRateRequest) String() string
- func (this *GetRateRequest) Validate() error
- type GetRateResponse
- func (*GetRateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRateResponse) GetRates() []*gen.Rate
- func (*GetRateResponse) ProtoMessage()
- func (x *GetRateResponse) ProtoReflect() protoreflect.Message
- func (x *GetRateResponse) Reset()
- func (x *GetRateResponse) String() string
- func (this *GetRateResponse) Validate() error
- type GetRatesRequest
- func (*GetRatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRatesRequest) GetCountry() string
- func (x *GetRatesRequest) GetEffectiveAt() string
- func (x *GetRatesRequest) GetFrom() string
- func (x *GetRatesRequest) GetProvider() string
- func (x *GetRatesRequest) GetSimType() string
- func (x *GetRatesRequest) GetTo() string
- func (*GetRatesRequest) ProtoMessage()
- func (x *GetRatesRequest) ProtoReflect() protoreflect.Message
- func (x *GetRatesRequest) Reset()
- func (x *GetRatesRequest) String() string
- func (this *GetRatesRequest) Validate() error
- type GetRatesResponse
- func (*GetRatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRatesResponse) GetRates() []*gen.Rate
- func (*GetRatesResponse) ProtoMessage()
- func (x *GetRatesResponse) ProtoReflect() protoreflect.Message
- func (x *GetRatesResponse) Reset()
- func (x *GetRatesResponse) String() string
- func (this *GetRatesResponse) Validate() error
- type MarkupRates
- func (*MarkupRates) Descriptor() ([]byte, []int)deprecated
- func (x *MarkupRates) GetCreatedAt() string
- func (x *MarkupRates) GetDeletedAt() string
- func (x *MarkupRates) GetMarkup() float64
- func (*MarkupRates) ProtoMessage()
- func (x *MarkupRates) ProtoReflect() protoreflect.Message
- func (x *MarkupRates) Reset()
- func (x *MarkupRates) String() string
- func (this *MarkupRates) Validate() error
- type RateServiceClient
- type RateServiceServer
- type UnimplementedRateServiceServer
- func (UnimplementedRateServiceServer) DeleteMarkup(context.Context, *DeleteMarkupRequest) (*DeleteMarkupResponse, error)
- func (UnimplementedRateServiceServer) GetDefaultMarkup(context.Context, *GetDefaultMarkupRequest) (*GetDefaultMarkupResponse, error)
- func (UnimplementedRateServiceServer) GetDefaultMarkupHistory(context.Context, *GetDefaultMarkupHistoryRequest) (*GetDefaultMarkupHistoryResponse, error)
- func (UnimplementedRateServiceServer) GetMarkup(context.Context, *GetMarkupRequest) (*GetMarkupResponse, error)
- func (UnimplementedRateServiceServer) GetMarkupHistory(context.Context, *GetMarkupHistoryRequest) (*GetMarkupHistoryResponse, error)
- func (UnimplementedRateServiceServer) GetRate(context.Context, *GetRateRequest) (*GetRateResponse, error)
- func (UnimplementedRateServiceServer) GetRateById(context.Context, *GetRateByIdRequest) (*GetRateByIdResponse, error)
- func (UnimplementedRateServiceServer) GetRates(context.Context, *GetRatesRequest) (*GetRatesResponse, error)
- func (UnimplementedRateServiceServer) UpdateDefaultMarkup(context.Context, *UpdateDefaultMarkupRequest) (*UpdateDefaultMarkupResponse, error)
- func (UnimplementedRateServiceServer) UpdateMarkup(context.Context, *UpdateMarkupRequest) (*UpdateMarkupResponse, error)
- type UnsafeRateServiceServer
- type UpdateDefaultMarkupRequest
- func (*UpdateDefaultMarkupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDefaultMarkupRequest) GetMarkup() float64
- func (*UpdateDefaultMarkupRequest) ProtoMessage()
- func (x *UpdateDefaultMarkupRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDefaultMarkupRequest) Reset()
- func (x *UpdateDefaultMarkupRequest) String() string
- func (this *UpdateDefaultMarkupRequest) Validate() error
- type UpdateDefaultMarkupResponse
- func (*UpdateDefaultMarkupResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateDefaultMarkupResponse) ProtoMessage()
- func (x *UpdateDefaultMarkupResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateDefaultMarkupResponse) Reset()
- func (x *UpdateDefaultMarkupResponse) String() string
- func (this *UpdateDefaultMarkupResponse) Validate() error
- type UpdateMarkupRequest
- func (*UpdateMarkupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMarkupRequest) GetMarkup() float64
- func (x *UpdateMarkupRequest) GetOwnerId() string
- func (*UpdateMarkupRequest) ProtoMessage()
- func (x *UpdateMarkupRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateMarkupRequest) Reset()
- func (x *UpdateMarkupRequest) String() string
- func (this *UpdateMarkupRequest) Validate() error
- type UpdateMarkupResponse
- func (*UpdateMarkupResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateMarkupResponse) ProtoMessage()
- func (x *UpdateMarkupResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateMarkupResponse) Reset()
- func (x *UpdateMarkupResponse) String() string
- func (this *UpdateMarkupResponse) Validate() error
Constants ¶
const ( RateService_GetMarkup_FullMethodName = "/ukama.dataplan.rate.v1.RateService/GetMarkup" RateService_UpdateMarkup_FullMethodName = "/ukama.dataplan.rate.v1.RateService/UpdateMarkup" RateService_DeleteMarkup_FullMethodName = "/ukama.dataplan.rate.v1.RateService/DeleteMarkup" RateService_GetMarkupHistory_FullMethodName = "/ukama.dataplan.rate.v1.RateService/GetMarkupHistory" RateService_GetDefaultMarkup_FullMethodName = "/ukama.dataplan.rate.v1.RateService/GetDefaultMarkup" RateService_UpdateDefaultMarkup_FullMethodName = "/ukama.dataplan.rate.v1.RateService/UpdateDefaultMarkup" RateService_GetDefaultMarkupHistory_FullMethodName = "/ukama.dataplan.rate.v1.RateService/GetDefaultMarkupHistory" RateService_GetRates_FullMethodName = "/ukama.dataplan.rate.v1.RateService/GetRates" RateService_GetRate_FullMethodName = "/ukama.dataplan.rate.v1.RateService/GetRate" RateService_GetRateById_FullMethodName = "/ukama.dataplan.rate.v1.RateService/GetRateById" )
Variables ¶
var File_rate_proto protoreflect.FileDescriptor
var RateService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ukama.dataplan.rate.v1.RateService", HandlerType: (*RateServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetMarkup", Handler: _RateService_GetMarkup_Handler, }, { MethodName: "UpdateMarkup", Handler: _RateService_UpdateMarkup_Handler, }, { MethodName: "DeleteMarkup", Handler: _RateService_DeleteMarkup_Handler, }, { MethodName: "GetMarkupHistory", Handler: _RateService_GetMarkupHistory_Handler, }, { MethodName: "GetDefaultMarkup", Handler: _RateService_GetDefaultMarkup_Handler, }, { MethodName: "UpdateDefaultMarkup", Handler: _RateService_UpdateDefaultMarkup_Handler, }, { MethodName: "GetDefaultMarkupHistory", Handler: _RateService_GetDefaultMarkupHistory_Handler, }, { MethodName: "GetRates", Handler: _RateService_GetRates_Handler, }, { MethodName: "GetRate", Handler: _RateService_GetRate_Handler, }, { MethodName: "GetRateById", Handler: _RateService_GetRateById_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "rate.proto", }
RateService_ServiceDesc is the grpc.ServiceDesc for RateService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRateServiceServer ¶
func RegisterRateServiceServer(s grpc.ServiceRegistrar, srv RateServiceServer)
Types ¶
type DeleteMarkupRequest ¶
type DeleteMarkupRequest struct { OwnerId string `protobuf:"bytes,1,opt,name=ownerId,json=owner_id,proto3" json:"ownerId,omitempty"` // contains filtered or unexported fields }
func (*DeleteMarkupRequest) Descriptor
deprecated
func (*DeleteMarkupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMarkupRequest.ProtoReflect.Descriptor instead.
func (*DeleteMarkupRequest) GetOwnerId ¶
func (x *DeleteMarkupRequest) GetOwnerId() string
func (*DeleteMarkupRequest) ProtoMessage ¶
func (*DeleteMarkupRequest) ProtoMessage()
func (*DeleteMarkupRequest) ProtoReflect ¶
func (x *DeleteMarkupRequest) ProtoReflect() protoreflect.Message
func (*DeleteMarkupRequest) Reset ¶
func (x *DeleteMarkupRequest) Reset()
func (*DeleteMarkupRequest) String ¶
func (x *DeleteMarkupRequest) String() string
func (*DeleteMarkupRequest) Validate ¶
func (this *DeleteMarkupRequest) Validate() error
type DeleteMarkupResponse ¶
type DeleteMarkupResponse struct {
// contains filtered or unexported fields
}
func (*DeleteMarkupResponse) Descriptor
deprecated
func (*DeleteMarkupResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMarkupResponse.ProtoReflect.Descriptor instead.
func (*DeleteMarkupResponse) ProtoMessage ¶
func (*DeleteMarkupResponse) ProtoMessage()
func (*DeleteMarkupResponse) ProtoReflect ¶
func (x *DeleteMarkupResponse) ProtoReflect() protoreflect.Message
func (*DeleteMarkupResponse) Reset ¶
func (x *DeleteMarkupResponse) Reset()
func (*DeleteMarkupResponse) String ¶
func (x *DeleteMarkupResponse) String() string
func (*DeleteMarkupResponse) Validate ¶
func (this *DeleteMarkupResponse) Validate() error
type GetDefaultMarkupHistoryRequest ¶
type GetDefaultMarkupHistoryRequest struct {
// contains filtered or unexported fields
}
func (*GetDefaultMarkupHistoryRequest) Descriptor
deprecated
func (*GetDefaultMarkupHistoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDefaultMarkupHistoryRequest.ProtoReflect.Descriptor instead.
func (*GetDefaultMarkupHistoryRequest) ProtoMessage ¶
func (*GetDefaultMarkupHistoryRequest) ProtoMessage()
func (*GetDefaultMarkupHistoryRequest) ProtoReflect ¶
func (x *GetDefaultMarkupHistoryRequest) ProtoReflect() protoreflect.Message
func (*GetDefaultMarkupHistoryRequest) Reset ¶
func (x *GetDefaultMarkupHistoryRequest) Reset()
func (*GetDefaultMarkupHistoryRequest) String ¶
func (x *GetDefaultMarkupHistoryRequest) String() string
func (*GetDefaultMarkupHistoryRequest) Validate ¶
func (this *GetDefaultMarkupHistoryRequest) Validate() error
type GetDefaultMarkupHistoryResponse ¶
type GetDefaultMarkupHistoryResponse struct { MarkupRates []*MarkupRates `protobuf:"bytes,1,rep,name=markupRates,json=markup_rates,proto3" json:"markupRates,omitempty"` // contains filtered or unexported fields }
func (*GetDefaultMarkupHistoryResponse) Descriptor
deprecated
func (*GetDefaultMarkupHistoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDefaultMarkupHistoryResponse.ProtoReflect.Descriptor instead.
func (*GetDefaultMarkupHistoryResponse) GetMarkupRates ¶
func (x *GetDefaultMarkupHistoryResponse) GetMarkupRates() []*MarkupRates
func (*GetDefaultMarkupHistoryResponse) ProtoMessage ¶
func (*GetDefaultMarkupHistoryResponse) ProtoMessage()
func (*GetDefaultMarkupHistoryResponse) ProtoReflect ¶
func (x *GetDefaultMarkupHistoryResponse) ProtoReflect() protoreflect.Message
func (*GetDefaultMarkupHistoryResponse) Reset ¶
func (x *GetDefaultMarkupHistoryResponse) Reset()
func (*GetDefaultMarkupHistoryResponse) String ¶
func (x *GetDefaultMarkupHistoryResponse) String() string
func (*GetDefaultMarkupHistoryResponse) Validate ¶
func (this *GetDefaultMarkupHistoryResponse) Validate() error
type GetDefaultMarkupRequest ¶
type GetDefaultMarkupRequest struct {
// contains filtered or unexported fields
}
func (*GetDefaultMarkupRequest) Descriptor
deprecated
func (*GetDefaultMarkupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDefaultMarkupRequest.ProtoReflect.Descriptor instead.
func (*GetDefaultMarkupRequest) ProtoMessage ¶
func (*GetDefaultMarkupRequest) ProtoMessage()
func (*GetDefaultMarkupRequest) ProtoReflect ¶
func (x *GetDefaultMarkupRequest) ProtoReflect() protoreflect.Message
func (*GetDefaultMarkupRequest) Reset ¶
func (x *GetDefaultMarkupRequest) Reset()
func (*GetDefaultMarkupRequest) String ¶
func (x *GetDefaultMarkupRequest) String() string
func (*GetDefaultMarkupRequest) Validate ¶
func (this *GetDefaultMarkupRequest) Validate() error
type GetDefaultMarkupResponse ¶
type GetDefaultMarkupResponse struct { Markup float64 `protobuf:"fixed64,1,opt,name=markup,proto3" json:"markup,omitempty"` // contains filtered or unexported fields }
func (*GetDefaultMarkupResponse) Descriptor
deprecated
func (*GetDefaultMarkupResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDefaultMarkupResponse.ProtoReflect.Descriptor instead.
func (*GetDefaultMarkupResponse) GetMarkup ¶
func (x *GetDefaultMarkupResponse) GetMarkup() float64
func (*GetDefaultMarkupResponse) ProtoMessage ¶
func (*GetDefaultMarkupResponse) ProtoMessage()
func (*GetDefaultMarkupResponse) ProtoReflect ¶
func (x *GetDefaultMarkupResponse) ProtoReflect() protoreflect.Message
func (*GetDefaultMarkupResponse) Reset ¶
func (x *GetDefaultMarkupResponse) Reset()
func (*GetDefaultMarkupResponse) String ¶
func (x *GetDefaultMarkupResponse) String() string
func (*GetDefaultMarkupResponse) Validate ¶
func (this *GetDefaultMarkupResponse) Validate() error
type GetMarkupHistoryRequest ¶
type GetMarkupHistoryRequest struct { OwnerId string `protobuf:"bytes,1,opt,name=ownerId,json=owner_id,proto3" json:"ownerId,omitempty"` // contains filtered or unexported fields }
func (*GetMarkupHistoryRequest) Descriptor
deprecated
func (*GetMarkupHistoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMarkupHistoryRequest.ProtoReflect.Descriptor instead.
func (*GetMarkupHistoryRequest) GetOwnerId ¶
func (x *GetMarkupHistoryRequest) GetOwnerId() string
func (*GetMarkupHistoryRequest) ProtoMessage ¶
func (*GetMarkupHistoryRequest) ProtoMessage()
func (*GetMarkupHistoryRequest) ProtoReflect ¶
func (x *GetMarkupHistoryRequest) ProtoReflect() protoreflect.Message
func (*GetMarkupHistoryRequest) Reset ¶
func (x *GetMarkupHistoryRequest) Reset()
func (*GetMarkupHistoryRequest) String ¶
func (x *GetMarkupHistoryRequest) String() string
func (*GetMarkupHistoryRequest) Validate ¶
func (this *GetMarkupHistoryRequest) Validate() error
type GetMarkupHistoryResponse ¶
type GetMarkupHistoryResponse struct { OwnerId string `protobuf:"bytes,1,opt,name=ownerId,json=owner_id,proto3" json:"ownerId,omitempty"` MarkupRates []*MarkupRates `protobuf:"bytes,2,rep,name=markupRates,json=markup_rates,proto3" json:"markupRates,omitempty"` // contains filtered or unexported fields }
func (*GetMarkupHistoryResponse) Descriptor
deprecated
func (*GetMarkupHistoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMarkupHistoryResponse.ProtoReflect.Descriptor instead.
func (*GetMarkupHistoryResponse) GetMarkupRates ¶
func (x *GetMarkupHistoryResponse) GetMarkupRates() []*MarkupRates
func (*GetMarkupHistoryResponse) GetOwnerId ¶
func (x *GetMarkupHistoryResponse) GetOwnerId() string
func (*GetMarkupHistoryResponse) ProtoMessage ¶
func (*GetMarkupHistoryResponse) ProtoMessage()
func (*GetMarkupHistoryResponse) ProtoReflect ¶
func (x *GetMarkupHistoryResponse) ProtoReflect() protoreflect.Message
func (*GetMarkupHistoryResponse) Reset ¶
func (x *GetMarkupHistoryResponse) Reset()
func (*GetMarkupHistoryResponse) String ¶
func (x *GetMarkupHistoryResponse) String() string
func (*GetMarkupHistoryResponse) Validate ¶
func (this *GetMarkupHistoryResponse) Validate() error
type GetMarkupRequest ¶
type GetMarkupRequest struct { OwnerId string `protobuf:"bytes,1,opt,name=ownerId,json=owner_id,proto3" json:"ownerId,omitempty"` // contains filtered or unexported fields }
func (*GetMarkupRequest) Descriptor
deprecated
func (*GetMarkupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMarkupRequest.ProtoReflect.Descriptor instead.
func (*GetMarkupRequest) GetOwnerId ¶
func (x *GetMarkupRequest) GetOwnerId() string
func (*GetMarkupRequest) ProtoMessage ¶
func (*GetMarkupRequest) ProtoMessage()
func (*GetMarkupRequest) ProtoReflect ¶
func (x *GetMarkupRequest) ProtoReflect() protoreflect.Message
func (*GetMarkupRequest) Reset ¶
func (x *GetMarkupRequest) Reset()
func (*GetMarkupRequest) String ¶
func (x *GetMarkupRequest) String() string
func (*GetMarkupRequest) Validate ¶
func (this *GetMarkupRequest) Validate() error
type GetMarkupResponse ¶
type GetMarkupResponse struct { OwnerId string `protobuf:"bytes,1,opt,name=ownerId,json=owner_id,proto3" json:"ownerId,omitempty"` Markup float64 `protobuf:"fixed64,2,opt,name=markup,proto3" json:"markup,omitempty"` // contains filtered or unexported fields }
func (*GetMarkupResponse) Descriptor
deprecated
func (*GetMarkupResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMarkupResponse.ProtoReflect.Descriptor instead.
func (*GetMarkupResponse) GetMarkup ¶
func (x *GetMarkupResponse) GetMarkup() float64
func (*GetMarkupResponse) GetOwnerId ¶
func (x *GetMarkupResponse) GetOwnerId() string
func (*GetMarkupResponse) ProtoMessage ¶
func (*GetMarkupResponse) ProtoMessage()
func (*GetMarkupResponse) ProtoReflect ¶
func (x *GetMarkupResponse) ProtoReflect() protoreflect.Message
func (*GetMarkupResponse) Reset ¶
func (x *GetMarkupResponse) Reset()
func (*GetMarkupResponse) String ¶
func (x *GetMarkupResponse) String() string
func (*GetMarkupResponse) Validate ¶
func (this *GetMarkupResponse) Validate() error
type GetRateByIdRequest ¶
type GetRateByIdRequest struct { OwnerId string `protobuf:"bytes,1,opt,name=ownerId,json=owner_id,proto3" json:"ownerId,omitempty"` BaseRate string `protobuf:"bytes,2,opt,name=baseRate,json=base_rate,proto3" json:"baseRate,omitempty"` // contains filtered or unexported fields }
func (*GetRateByIdRequest) Descriptor
deprecated
func (*GetRateByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRateByIdRequest.ProtoReflect.Descriptor instead.
func (*GetRateByIdRequest) GetBaseRate ¶
func (x *GetRateByIdRequest) GetBaseRate() string
func (*GetRateByIdRequest) GetOwnerId ¶
func (x *GetRateByIdRequest) GetOwnerId() string
func (*GetRateByIdRequest) ProtoMessage ¶
func (*GetRateByIdRequest) ProtoMessage()
func (*GetRateByIdRequest) ProtoReflect ¶
func (x *GetRateByIdRequest) ProtoReflect() protoreflect.Message
func (*GetRateByIdRequest) Reset ¶
func (x *GetRateByIdRequest) Reset()
func (*GetRateByIdRequest) String ¶
func (x *GetRateByIdRequest) String() string
func (*GetRateByIdRequest) Validate ¶
func (this *GetRateByIdRequest) Validate() error
type GetRateByIdResponse ¶
type GetRateByIdResponse struct { Rate *gen.Rate `protobuf:"bytes,1,opt,name=rate,proto3" json:"rate,omitempty"` // contains filtered or unexported fields }
func (*GetRateByIdResponse) Descriptor
deprecated
func (*GetRateByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRateByIdResponse.ProtoReflect.Descriptor instead.
func (*GetRateByIdResponse) GetRate ¶
func (x *GetRateByIdResponse) GetRate() *gen.Rate
func (*GetRateByIdResponse) ProtoMessage ¶
func (*GetRateByIdResponse) ProtoMessage()
func (*GetRateByIdResponse) ProtoReflect ¶
func (x *GetRateByIdResponse) ProtoReflect() protoreflect.Message
func (*GetRateByIdResponse) Reset ¶
func (x *GetRateByIdResponse) Reset()
func (*GetRateByIdResponse) String ¶
func (x *GetRateByIdResponse) String() string
func (*GetRateByIdResponse) Validate ¶
func (this *GetRateByIdResponse) Validate() error
type GetRateRequest ¶
type GetRateRequest struct { OwnerId string `protobuf:"bytes,1,opt,name=ownerId,json=owner_id,proto3" json:"ownerId,omitempty"` Country string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"` Provider string `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` To string `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"` From string `protobuf:"bytes,5,opt,name=from,proto3" json:"from,omitempty"` SimType string `protobuf:"bytes,6,opt,name=simType,json=sim_type,proto3" json:"simType,omitempty"` EffectiveAt string `protobuf:"bytes,7,opt,name=effectiveAt,json=effective_at,proto3" json:"effectiveAt,omitempty"` // contains filtered or unexported fields }
func (*GetRateRequest) Descriptor
deprecated
func (*GetRateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRateRequest.ProtoReflect.Descriptor instead.
func (*GetRateRequest) GetCountry ¶
func (x *GetRateRequest) GetCountry() string
func (*GetRateRequest) GetEffectiveAt ¶
func (x *GetRateRequest) GetEffectiveAt() string
func (*GetRateRequest) GetFrom ¶
func (x *GetRateRequest) GetFrom() string
func (*GetRateRequest) GetOwnerId ¶
func (x *GetRateRequest) GetOwnerId() string
func (*GetRateRequest) GetProvider ¶
func (x *GetRateRequest) GetProvider() string
func (*GetRateRequest) GetSimType ¶
func (x *GetRateRequest) GetSimType() string
func (*GetRateRequest) GetTo ¶
func (x *GetRateRequest) GetTo() string
func (*GetRateRequest) ProtoMessage ¶
func (*GetRateRequest) ProtoMessage()
func (*GetRateRequest) ProtoReflect ¶
func (x *GetRateRequest) ProtoReflect() protoreflect.Message
func (*GetRateRequest) Reset ¶
func (x *GetRateRequest) Reset()
func (*GetRateRequest) String ¶
func (x *GetRateRequest) String() string
func (*GetRateRequest) Validate ¶
func (this *GetRateRequest) Validate() error
type GetRateResponse ¶
type GetRateResponse struct { Rates []*gen.Rate `protobuf:"bytes,1,rep,name=rates,proto3" json:"rates,omitempty"` // contains filtered or unexported fields }
func (*GetRateResponse) Descriptor
deprecated
func (*GetRateResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRateResponse.ProtoReflect.Descriptor instead.
func (*GetRateResponse) GetRates ¶
func (x *GetRateResponse) GetRates() []*gen.Rate
func (*GetRateResponse) ProtoMessage ¶
func (*GetRateResponse) ProtoMessage()
func (*GetRateResponse) ProtoReflect ¶
func (x *GetRateResponse) ProtoReflect() protoreflect.Message
func (*GetRateResponse) Reset ¶
func (x *GetRateResponse) Reset()
func (*GetRateResponse) String ¶
func (x *GetRateResponse) String() string
func (*GetRateResponse) Validate ¶
func (this *GetRateResponse) Validate() error
type GetRatesRequest ¶
type GetRatesRequest struct { Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country,omitempty"` Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` From string `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty"` SimType string `protobuf:"bytes,5,opt,name=simType,json=sim_type,proto3" json:"simType,omitempty"` EffectiveAt string `protobuf:"bytes,6,opt,name=effectiveAt,json=effective_at,proto3" json:"effectiveAt,omitempty"` // contains filtered or unexported fields }
func (*GetRatesRequest) Descriptor
deprecated
func (*GetRatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRatesRequest.ProtoReflect.Descriptor instead.
func (*GetRatesRequest) GetCountry ¶
func (x *GetRatesRequest) GetCountry() string
func (*GetRatesRequest) GetEffectiveAt ¶
func (x *GetRatesRequest) GetEffectiveAt() string
func (*GetRatesRequest) GetFrom ¶
func (x *GetRatesRequest) GetFrom() string
func (*GetRatesRequest) GetProvider ¶
func (x *GetRatesRequest) GetProvider() string
func (*GetRatesRequest) GetSimType ¶
func (x *GetRatesRequest) GetSimType() string
func (*GetRatesRequest) GetTo ¶
func (x *GetRatesRequest) GetTo() string
func (*GetRatesRequest) ProtoMessage ¶
func (*GetRatesRequest) ProtoMessage()
func (*GetRatesRequest) ProtoReflect ¶
func (x *GetRatesRequest) ProtoReflect() protoreflect.Message
func (*GetRatesRequest) Reset ¶
func (x *GetRatesRequest) Reset()
func (*GetRatesRequest) String ¶
func (x *GetRatesRequest) String() string
func (*GetRatesRequest) Validate ¶
func (this *GetRatesRequest) Validate() error
type GetRatesResponse ¶
type GetRatesResponse struct { Rates []*gen.Rate `protobuf:"bytes,1,rep,name=rates,proto3" json:"rates,omitempty"` // contains filtered or unexported fields }
func (*GetRatesResponse) Descriptor
deprecated
func (*GetRatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRatesResponse.ProtoReflect.Descriptor instead.
func (*GetRatesResponse) GetRates ¶
func (x *GetRatesResponse) GetRates() []*gen.Rate
func (*GetRatesResponse) ProtoMessage ¶
func (*GetRatesResponse) ProtoMessage()
func (*GetRatesResponse) ProtoReflect ¶
func (x *GetRatesResponse) ProtoReflect() protoreflect.Message
func (*GetRatesResponse) Reset ¶
func (x *GetRatesResponse) Reset()
func (*GetRatesResponse) String ¶
func (x *GetRatesResponse) String() string
func (*GetRatesResponse) Validate ¶
func (this *GetRatesResponse) Validate() error
type MarkupRates ¶
type MarkupRates struct { CreatedAt string `protobuf:"bytes,1,opt,name=createdAt,json=created_at,proto3" json:"createdAt,omitempty"` DeletedAt string `protobuf:"bytes,2,opt,name=deletedAt,json=deleted_at,proto3" json:"deletedAt,omitempty"` Markup float64 `protobuf:"fixed64,3,opt,name=markup,proto3" json:"markup,omitempty"` // contains filtered or unexported fields }
func (*MarkupRates) Descriptor
deprecated
func (*MarkupRates) Descriptor() ([]byte, []int)
Deprecated: Use MarkupRates.ProtoReflect.Descriptor instead.
func (*MarkupRates) GetCreatedAt ¶
func (x *MarkupRates) GetCreatedAt() string
func (*MarkupRates) GetDeletedAt ¶
func (x *MarkupRates) GetDeletedAt() string
func (*MarkupRates) GetMarkup ¶
func (x *MarkupRates) GetMarkup() float64
func (*MarkupRates) ProtoMessage ¶
func (*MarkupRates) ProtoMessage()
func (*MarkupRates) ProtoReflect ¶
func (x *MarkupRates) ProtoReflect() protoreflect.Message
func (*MarkupRates) Reset ¶
func (x *MarkupRates) Reset()
func (*MarkupRates) String ¶
func (x *MarkupRates) String() string
func (*MarkupRates) Validate ¶
func (this *MarkupRates) Validate() error
type RateServiceClient ¶
type RateServiceClient interface { GetMarkup(ctx context.Context, in *GetMarkupRequest, opts ...grpc.CallOption) (*GetMarkupResponse, error) UpdateMarkup(ctx context.Context, in *UpdateMarkupRequest, opts ...grpc.CallOption) (*UpdateMarkupResponse, error) DeleteMarkup(ctx context.Context, in *DeleteMarkupRequest, opts ...grpc.CallOption) (*DeleteMarkupResponse, error) GetMarkupHistory(ctx context.Context, in *GetMarkupHistoryRequest, opts ...grpc.CallOption) (*GetMarkupHistoryResponse, error) GetDefaultMarkup(ctx context.Context, in *GetDefaultMarkupRequest, opts ...grpc.CallOption) (*GetDefaultMarkupResponse, error) UpdateDefaultMarkup(ctx context.Context, in *UpdateDefaultMarkupRequest, opts ...grpc.CallOption) (*UpdateDefaultMarkupResponse, error) GetDefaultMarkupHistory(ctx context.Context, in *GetDefaultMarkupHistoryRequest, opts ...grpc.CallOption) (*GetDefaultMarkupHistoryResponse, error) GetRates(ctx context.Context, in *GetRatesRequest, opts ...grpc.CallOption) (*GetRatesResponse, error) GetRate(ctx context.Context, in *GetRateRequest, opts ...grpc.CallOption) (*GetRateResponse, error) GetRateById(ctx context.Context, in *GetRateByIdRequest, opts ...grpc.CallOption) (*GetRateByIdResponse, error) }
RateServiceClient is the client API for RateService 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 NewRateServiceClient ¶
func NewRateServiceClient(cc grpc.ClientConnInterface) RateServiceClient
type RateServiceServer ¶
type RateServiceServer interface { GetMarkup(context.Context, *GetMarkupRequest) (*GetMarkupResponse, error) UpdateMarkup(context.Context, *UpdateMarkupRequest) (*UpdateMarkupResponse, error) DeleteMarkup(context.Context, *DeleteMarkupRequest) (*DeleteMarkupResponse, error) GetMarkupHistory(context.Context, *GetMarkupHistoryRequest) (*GetMarkupHistoryResponse, error) GetDefaultMarkup(context.Context, *GetDefaultMarkupRequest) (*GetDefaultMarkupResponse, error) UpdateDefaultMarkup(context.Context, *UpdateDefaultMarkupRequest) (*UpdateDefaultMarkupResponse, error) GetDefaultMarkupHistory(context.Context, *GetDefaultMarkupHistoryRequest) (*GetDefaultMarkupHistoryResponse, error) GetRates(context.Context, *GetRatesRequest) (*GetRatesResponse, error) GetRate(context.Context, *GetRateRequest) (*GetRateResponse, error) GetRateById(context.Context, *GetRateByIdRequest) (*GetRateByIdResponse, error) // contains filtered or unexported methods }
RateServiceServer is the server API for RateService service. All implementations must embed UnimplementedRateServiceServer for forward compatibility
type UnimplementedRateServiceServer ¶
type UnimplementedRateServiceServer struct { }
UnimplementedRateServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedRateServiceServer) DeleteMarkup ¶
func (UnimplementedRateServiceServer) DeleteMarkup(context.Context, *DeleteMarkupRequest) (*DeleteMarkupResponse, error)
func (UnimplementedRateServiceServer) GetDefaultMarkup ¶
func (UnimplementedRateServiceServer) GetDefaultMarkup(context.Context, *GetDefaultMarkupRequest) (*GetDefaultMarkupResponse, error)
func (UnimplementedRateServiceServer) GetDefaultMarkupHistory ¶
func (UnimplementedRateServiceServer) GetDefaultMarkupHistory(context.Context, *GetDefaultMarkupHistoryRequest) (*GetDefaultMarkupHistoryResponse, error)
func (UnimplementedRateServiceServer) GetMarkup ¶
func (UnimplementedRateServiceServer) GetMarkup(context.Context, *GetMarkupRequest) (*GetMarkupResponse, error)
func (UnimplementedRateServiceServer) GetMarkupHistory ¶
func (UnimplementedRateServiceServer) GetMarkupHistory(context.Context, *GetMarkupHistoryRequest) (*GetMarkupHistoryResponse, error)
func (UnimplementedRateServiceServer) GetRate ¶
func (UnimplementedRateServiceServer) GetRate(context.Context, *GetRateRequest) (*GetRateResponse, error)
func (UnimplementedRateServiceServer) GetRateById ¶
func (UnimplementedRateServiceServer) GetRateById(context.Context, *GetRateByIdRequest) (*GetRateByIdResponse, error)
func (UnimplementedRateServiceServer) GetRates ¶
func (UnimplementedRateServiceServer) GetRates(context.Context, *GetRatesRequest) (*GetRatesResponse, error)
func (UnimplementedRateServiceServer) UpdateDefaultMarkup ¶
func (UnimplementedRateServiceServer) UpdateDefaultMarkup(context.Context, *UpdateDefaultMarkupRequest) (*UpdateDefaultMarkupResponse, error)
func (UnimplementedRateServiceServer) UpdateMarkup ¶
func (UnimplementedRateServiceServer) UpdateMarkup(context.Context, *UpdateMarkupRequest) (*UpdateMarkupResponse, error)
type UnsafeRateServiceServer ¶
type UnsafeRateServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRateServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RateServiceServer will result in compilation errors.
type UpdateDefaultMarkupRequest ¶
type UpdateDefaultMarkupRequest struct { Markup float64 `protobuf:"fixed64,1,opt,name=markup,proto3" json:"markup,omitempty"` // contains filtered or unexported fields }
func (*UpdateDefaultMarkupRequest) Descriptor
deprecated
func (*UpdateDefaultMarkupRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDefaultMarkupRequest.ProtoReflect.Descriptor instead.
func (*UpdateDefaultMarkupRequest) GetMarkup ¶
func (x *UpdateDefaultMarkupRequest) GetMarkup() float64
func (*UpdateDefaultMarkupRequest) ProtoMessage ¶
func (*UpdateDefaultMarkupRequest) ProtoMessage()
func (*UpdateDefaultMarkupRequest) ProtoReflect ¶
func (x *UpdateDefaultMarkupRequest) ProtoReflect() protoreflect.Message
func (*UpdateDefaultMarkupRequest) Reset ¶
func (x *UpdateDefaultMarkupRequest) Reset()
func (*UpdateDefaultMarkupRequest) String ¶
func (x *UpdateDefaultMarkupRequest) String() string
func (*UpdateDefaultMarkupRequest) Validate ¶
func (this *UpdateDefaultMarkupRequest) Validate() error
type UpdateDefaultMarkupResponse ¶
type UpdateDefaultMarkupResponse struct {
// contains filtered or unexported fields
}
func (*UpdateDefaultMarkupResponse) Descriptor
deprecated
func (*UpdateDefaultMarkupResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDefaultMarkupResponse.ProtoReflect.Descriptor instead.
func (*UpdateDefaultMarkupResponse) ProtoMessage ¶
func (*UpdateDefaultMarkupResponse) ProtoMessage()
func (*UpdateDefaultMarkupResponse) ProtoReflect ¶
func (x *UpdateDefaultMarkupResponse) ProtoReflect() protoreflect.Message
func (*UpdateDefaultMarkupResponse) Reset ¶
func (x *UpdateDefaultMarkupResponse) Reset()
func (*UpdateDefaultMarkupResponse) String ¶
func (x *UpdateDefaultMarkupResponse) String() string
func (*UpdateDefaultMarkupResponse) Validate ¶
func (this *UpdateDefaultMarkupResponse) Validate() error
type UpdateMarkupRequest ¶
type UpdateMarkupRequest struct { OwnerId string `protobuf:"bytes,1,opt,name=ownerId,json=owner_id,proto3" json:"ownerId,omitempty"` Markup float64 `protobuf:"fixed64,2,opt,name=markup,proto3" json:"markup,omitempty"` // contains filtered or unexported fields }
func (*UpdateMarkupRequest) Descriptor
deprecated
func (*UpdateMarkupRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMarkupRequest.ProtoReflect.Descriptor instead.
func (*UpdateMarkupRequest) GetMarkup ¶
func (x *UpdateMarkupRequest) GetMarkup() float64
func (*UpdateMarkupRequest) GetOwnerId ¶
func (x *UpdateMarkupRequest) GetOwnerId() string
func (*UpdateMarkupRequest) ProtoMessage ¶
func (*UpdateMarkupRequest) ProtoMessage()
func (*UpdateMarkupRequest) ProtoReflect ¶
func (x *UpdateMarkupRequest) ProtoReflect() protoreflect.Message
func (*UpdateMarkupRequest) Reset ¶
func (x *UpdateMarkupRequest) Reset()
func (*UpdateMarkupRequest) String ¶
func (x *UpdateMarkupRequest) String() string
func (*UpdateMarkupRequest) Validate ¶
func (this *UpdateMarkupRequest) Validate() error
type UpdateMarkupResponse ¶
type UpdateMarkupResponse struct {
// contains filtered or unexported fields
}
func (*UpdateMarkupResponse) Descriptor
deprecated
func (*UpdateMarkupResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMarkupResponse.ProtoReflect.Descriptor instead.
func (*UpdateMarkupResponse) ProtoMessage ¶
func (*UpdateMarkupResponse) ProtoMessage()
func (*UpdateMarkupResponse) ProtoReflect ¶
func (x *UpdateMarkupResponse) ProtoReflect() protoreflect.Message
func (*UpdateMarkupResponse) Reset ¶
func (x *UpdateMarkupResponse) Reset()
func (*UpdateMarkupResponse) String ¶
func (x *UpdateMarkupResponse) String() string
func (*UpdateMarkupResponse) Validate ¶
func (this *UpdateMarkupResponse) Validate() error