Versions in this module Expand all Collapse all v1 v1.0.11 Jun 28, 2026 v1.0.10 Jun 26, 2026 v1.0.9 Jun 25, 2026 v1.0.8 Jun 24, 2026 v1.0.7 Jun 23, 2026 Changes in this version + const OperationRedemptionBatchDeleteRedemptionCode + const OperationRedemptionCreateRedemptionCode + const OperationRedemptionDeleteRedemptionCode + const OperationRedemptionGetRedemptionCodeList + const OperationRedemptionGetRedemptionRecordList + const OperationRedemptionToggleRedemptionCodeStatus + const OperationRedemptionUpdateRedemptionCode + const Redemption_BatchDeleteRedemptionCode_FullMethodName + const Redemption_CreateRedemptionCode_FullMethodName + const Redemption_DeleteRedemptionCode_FullMethodName + const Redemption_GetRedemptionCodeList_FullMethodName + const Redemption_GetRedemptionRecordList_FullMethodName + const Redemption_ToggleRedemptionCodeStatus_FullMethodName + const Redemption_UpdateRedemptionCode_FullMethodName + var File_admin_redemption_v1_redemption_proto protoreflect.FileDescriptor + var Redemption_ServiceDesc = grpc.ServiceDesc + func RegisterRedemptionHTTPServer(s *http.Server, srv RedemptionHTTPServer) + func RegisterRedemptionServer(s grpc.ServiceRegistrar, srv RedemptionServer) + type BatchDeleteRedemptionCodeData struct + Success bool + func (*BatchDeleteRedemptionCodeData) Descriptor() ([]byte, []int) + func (*BatchDeleteRedemptionCodeData) ProtoMessage() + func (m *BatchDeleteRedemptionCodeData) Validate() error + func (m *BatchDeleteRedemptionCodeData) ValidateAll() error + func (x *BatchDeleteRedemptionCodeData) GetSuccess() bool + func (x *BatchDeleteRedemptionCodeData) ProtoReflect() protoreflect.Message + func (x *BatchDeleteRedemptionCodeData) Reset() + func (x *BatchDeleteRedemptionCodeData) String() string + type BatchDeleteRedemptionCodeDataMultiError []error + func (m BatchDeleteRedemptionCodeDataMultiError) AllErrors() []error + func (m BatchDeleteRedemptionCodeDataMultiError) Error() string + type BatchDeleteRedemptionCodeDataValidationError struct + func (e BatchDeleteRedemptionCodeDataValidationError) Cause() error + func (e BatchDeleteRedemptionCodeDataValidationError) Error() string + func (e BatchDeleteRedemptionCodeDataValidationError) ErrorName() string + func (e BatchDeleteRedemptionCodeDataValidationError) Field() string + func (e BatchDeleteRedemptionCodeDataValidationError) Key() bool + func (e BatchDeleteRedemptionCodeDataValidationError) Reason() string + type BatchDeleteRedemptionCodeReply struct + Code int32 + Data *BatchDeleteRedemptionCodeData + Message string + func (*BatchDeleteRedemptionCodeReply) Descriptor() ([]byte, []int) + func (*BatchDeleteRedemptionCodeReply) ProtoMessage() + func (m *BatchDeleteRedemptionCodeReply) Validate() error + func (m *BatchDeleteRedemptionCodeReply) ValidateAll() error + func (x *BatchDeleteRedemptionCodeReply) GetCode() int32 + func (x *BatchDeleteRedemptionCodeReply) GetData() *BatchDeleteRedemptionCodeData + func (x *BatchDeleteRedemptionCodeReply) GetMessage() string + func (x *BatchDeleteRedemptionCodeReply) ProtoReflect() protoreflect.Message + func (x *BatchDeleteRedemptionCodeReply) Reset() + func (x *BatchDeleteRedemptionCodeReply) String() string + type BatchDeleteRedemptionCodeReplyMultiError []error + func (m BatchDeleteRedemptionCodeReplyMultiError) AllErrors() []error + func (m BatchDeleteRedemptionCodeReplyMultiError) Error() string + type BatchDeleteRedemptionCodeReplyValidationError struct + func (e BatchDeleteRedemptionCodeReplyValidationError) Cause() error + func (e BatchDeleteRedemptionCodeReplyValidationError) Error() string + func (e BatchDeleteRedemptionCodeReplyValidationError) ErrorName() string + func (e BatchDeleteRedemptionCodeReplyValidationError) Field() string + func (e BatchDeleteRedemptionCodeReplyValidationError) Key() bool + func (e BatchDeleteRedemptionCodeReplyValidationError) Reason() string + type BatchDeleteRedemptionCodeRequest struct + Ids []int64 + func (*BatchDeleteRedemptionCodeRequest) Descriptor() ([]byte, []int) + func (*BatchDeleteRedemptionCodeRequest) ProtoMessage() + func (m *BatchDeleteRedemptionCodeRequest) Validate() error + func (m *BatchDeleteRedemptionCodeRequest) ValidateAll() error + func (x *BatchDeleteRedemptionCodeRequest) GetIds() []int64 + func (x *BatchDeleteRedemptionCodeRequest) ProtoReflect() protoreflect.Message + func (x *BatchDeleteRedemptionCodeRequest) Reset() + func (x *BatchDeleteRedemptionCodeRequest) String() string + type BatchDeleteRedemptionCodeRequestMultiError []error + func (m BatchDeleteRedemptionCodeRequestMultiError) AllErrors() []error + func (m BatchDeleteRedemptionCodeRequestMultiError) Error() string + type BatchDeleteRedemptionCodeRequestValidationError struct + func (e BatchDeleteRedemptionCodeRequestValidationError) Cause() error + func (e BatchDeleteRedemptionCodeRequestValidationError) Error() string + func (e BatchDeleteRedemptionCodeRequestValidationError) ErrorName() string + func (e BatchDeleteRedemptionCodeRequestValidationError) Field() string + func (e BatchDeleteRedemptionCodeRequestValidationError) Key() bool + func (e BatchDeleteRedemptionCodeRequestValidationError) Reason() string + type CreateRedemptionCodeData struct + CreatedCount int64 + func (*CreateRedemptionCodeData) Descriptor() ([]byte, []int) + func (*CreateRedemptionCodeData) ProtoMessage() + func (m *CreateRedemptionCodeData) Validate() error + func (m *CreateRedemptionCodeData) ValidateAll() error + func (x *CreateRedemptionCodeData) GetCreatedCount() int64 + func (x *CreateRedemptionCodeData) ProtoReflect() protoreflect.Message + func (x *CreateRedemptionCodeData) Reset() + func (x *CreateRedemptionCodeData) String() string + type CreateRedemptionCodeDataMultiError []error + func (m CreateRedemptionCodeDataMultiError) AllErrors() []error + func (m CreateRedemptionCodeDataMultiError) Error() string + type CreateRedemptionCodeDataValidationError struct + func (e CreateRedemptionCodeDataValidationError) Cause() error + func (e CreateRedemptionCodeDataValidationError) Error() string + func (e CreateRedemptionCodeDataValidationError) ErrorName() string + func (e CreateRedemptionCodeDataValidationError) Field() string + func (e CreateRedemptionCodeDataValidationError) Key() bool + func (e CreateRedemptionCodeDataValidationError) Reason() string + type CreateRedemptionCodeReply struct + Code int32 + Data *CreateRedemptionCodeData + Message string + func (*CreateRedemptionCodeReply) Descriptor() ([]byte, []int) + func (*CreateRedemptionCodeReply) ProtoMessage() + func (m *CreateRedemptionCodeReply) Validate() error + func (m *CreateRedemptionCodeReply) ValidateAll() error + func (x *CreateRedemptionCodeReply) GetCode() int32 + func (x *CreateRedemptionCodeReply) GetData() *CreateRedemptionCodeData + func (x *CreateRedemptionCodeReply) GetMessage() string + func (x *CreateRedemptionCodeReply) ProtoReflect() protoreflect.Message + func (x *CreateRedemptionCodeReply) Reset() + func (x *CreateRedemptionCodeReply) String() string + type CreateRedemptionCodeReplyMultiError []error + func (m CreateRedemptionCodeReplyMultiError) AllErrors() []error + func (m CreateRedemptionCodeReplyMultiError) Error() string + type CreateRedemptionCodeReplyValidationError struct + func (e CreateRedemptionCodeReplyValidationError) Cause() error + func (e CreateRedemptionCodeReplyValidationError) Error() string + func (e CreateRedemptionCodeReplyValidationError) ErrorName() string + func (e CreateRedemptionCodeReplyValidationError) Field() string + func (e CreateRedemptionCodeReplyValidationError) Key() bool + func (e CreateRedemptionCodeReplyValidationError) Reason() string + type CreateRedemptionCodeRequest struct + BatchCount int64 + Quantity int32 + SubscribePlan int64 + TotalCount int64 + UnitTime string + func (*CreateRedemptionCodeRequest) Descriptor() ([]byte, []int) + func (*CreateRedemptionCodeRequest) ProtoMessage() + func (m *CreateRedemptionCodeRequest) Validate() error + func (m *CreateRedemptionCodeRequest) ValidateAll() error + func (x *CreateRedemptionCodeRequest) GetBatchCount() int64 + func (x *CreateRedemptionCodeRequest) GetQuantity() int32 + func (x *CreateRedemptionCodeRequest) GetSubscribePlan() int64 + func (x *CreateRedemptionCodeRequest) GetTotalCount() int64 + func (x *CreateRedemptionCodeRequest) GetUnitTime() string + func (x *CreateRedemptionCodeRequest) ProtoReflect() protoreflect.Message + func (x *CreateRedemptionCodeRequest) Reset() + func (x *CreateRedemptionCodeRequest) String() string + type CreateRedemptionCodeRequestMultiError []error + func (m CreateRedemptionCodeRequestMultiError) AllErrors() []error + func (m CreateRedemptionCodeRequestMultiError) Error() string + type CreateRedemptionCodeRequestValidationError struct + func (e CreateRedemptionCodeRequestValidationError) Cause() error + func (e CreateRedemptionCodeRequestValidationError) Error() string + func (e CreateRedemptionCodeRequestValidationError) ErrorName() string + func (e CreateRedemptionCodeRequestValidationError) Field() string + func (e CreateRedemptionCodeRequestValidationError) Key() bool + func (e CreateRedemptionCodeRequestValidationError) Reason() string + type DeleteRedemptionCodeData struct + Success bool + func (*DeleteRedemptionCodeData) Descriptor() ([]byte, []int) + func (*DeleteRedemptionCodeData) ProtoMessage() + func (m *DeleteRedemptionCodeData) Validate() error + func (m *DeleteRedemptionCodeData) ValidateAll() error + func (x *DeleteRedemptionCodeData) GetSuccess() bool + func (x *DeleteRedemptionCodeData) ProtoReflect() protoreflect.Message + func (x *DeleteRedemptionCodeData) Reset() + func (x *DeleteRedemptionCodeData) String() string + type DeleteRedemptionCodeDataMultiError []error + func (m DeleteRedemptionCodeDataMultiError) AllErrors() []error + func (m DeleteRedemptionCodeDataMultiError) Error() string + type DeleteRedemptionCodeDataValidationError struct + func (e DeleteRedemptionCodeDataValidationError) Cause() error + func (e DeleteRedemptionCodeDataValidationError) Error() string + func (e DeleteRedemptionCodeDataValidationError) ErrorName() string + func (e DeleteRedemptionCodeDataValidationError) Field() string + func (e DeleteRedemptionCodeDataValidationError) Key() bool + func (e DeleteRedemptionCodeDataValidationError) Reason() string + type DeleteRedemptionCodeReply struct + Code int32 + Data *DeleteRedemptionCodeData + Message string + func (*DeleteRedemptionCodeReply) Descriptor() ([]byte, []int) + func (*DeleteRedemptionCodeReply) ProtoMessage() + func (m *DeleteRedemptionCodeReply) Validate() error + func (m *DeleteRedemptionCodeReply) ValidateAll() error + func (x *DeleteRedemptionCodeReply) GetCode() int32 + func (x *DeleteRedemptionCodeReply) GetData() *DeleteRedemptionCodeData + func (x *DeleteRedemptionCodeReply) GetMessage() string + func (x *DeleteRedemptionCodeReply) ProtoReflect() protoreflect.Message + func (x *DeleteRedemptionCodeReply) Reset() + func (x *DeleteRedemptionCodeReply) String() string + type DeleteRedemptionCodeReplyMultiError []error + func (m DeleteRedemptionCodeReplyMultiError) AllErrors() []error + func (m DeleteRedemptionCodeReplyMultiError) Error() string + type DeleteRedemptionCodeReplyValidationError struct + func (e DeleteRedemptionCodeReplyValidationError) Cause() error + func (e DeleteRedemptionCodeReplyValidationError) Error() string + func (e DeleteRedemptionCodeReplyValidationError) ErrorName() string + func (e DeleteRedemptionCodeReplyValidationError) Field() string + func (e DeleteRedemptionCodeReplyValidationError) Key() bool + func (e DeleteRedemptionCodeReplyValidationError) Reason() string + type DeleteRedemptionCodeRequest struct + Id int64 + func (*DeleteRedemptionCodeRequest) Descriptor() ([]byte, []int) + func (*DeleteRedemptionCodeRequest) ProtoMessage() + func (m *DeleteRedemptionCodeRequest) Validate() error + func (m *DeleteRedemptionCodeRequest) ValidateAll() error + func (x *DeleteRedemptionCodeRequest) GetId() int64 + func (x *DeleteRedemptionCodeRequest) ProtoReflect() protoreflect.Message + func (x *DeleteRedemptionCodeRequest) Reset() + func (x *DeleteRedemptionCodeRequest) String() string + type DeleteRedemptionCodeRequestMultiError []error + func (m DeleteRedemptionCodeRequestMultiError) AllErrors() []error + func (m DeleteRedemptionCodeRequestMultiError) Error() string + type DeleteRedemptionCodeRequestValidationError struct + func (e DeleteRedemptionCodeRequestValidationError) Cause() error + func (e DeleteRedemptionCodeRequestValidationError) Error() string + func (e DeleteRedemptionCodeRequestValidationError) ErrorName() string + func (e DeleteRedemptionCodeRequestValidationError) Field() string + func (e DeleteRedemptionCodeRequestValidationError) Key() bool + func (e DeleteRedemptionCodeRequestValidationError) Reason() string + type GetRedemptionCodeListData struct + List []*RedemptionCode + Total int32 + func (*GetRedemptionCodeListData) Descriptor() ([]byte, []int) + func (*GetRedemptionCodeListData) ProtoMessage() + func (m *GetRedemptionCodeListData) Validate() error + func (m *GetRedemptionCodeListData) ValidateAll() error + func (x *GetRedemptionCodeListData) GetList() []*RedemptionCode + func (x *GetRedemptionCodeListData) GetTotal() int32 + func (x *GetRedemptionCodeListData) ProtoReflect() protoreflect.Message + func (x *GetRedemptionCodeListData) Reset() + func (x *GetRedemptionCodeListData) String() string + type GetRedemptionCodeListDataMultiError []error + func (m GetRedemptionCodeListDataMultiError) AllErrors() []error + func (m GetRedemptionCodeListDataMultiError) Error() string + type GetRedemptionCodeListDataValidationError struct + func (e GetRedemptionCodeListDataValidationError) Cause() error + func (e GetRedemptionCodeListDataValidationError) Error() string + func (e GetRedemptionCodeListDataValidationError) ErrorName() string + func (e GetRedemptionCodeListDataValidationError) Field() string + func (e GetRedemptionCodeListDataValidationError) Key() bool + func (e GetRedemptionCodeListDataValidationError) Reason() string + type GetRedemptionCodeListReply struct + Code int32 + Data *GetRedemptionCodeListData + Message string + func (*GetRedemptionCodeListReply) Descriptor() ([]byte, []int) + func (*GetRedemptionCodeListReply) ProtoMessage() + func (m *GetRedemptionCodeListReply) Validate() error + func (m *GetRedemptionCodeListReply) ValidateAll() error + func (x *GetRedemptionCodeListReply) GetCode() int32 + func (x *GetRedemptionCodeListReply) GetData() *GetRedemptionCodeListData + func (x *GetRedemptionCodeListReply) GetMessage() string + func (x *GetRedemptionCodeListReply) ProtoReflect() protoreflect.Message + func (x *GetRedemptionCodeListReply) Reset() + func (x *GetRedemptionCodeListReply) String() string + type GetRedemptionCodeListReplyMultiError []error + func (m GetRedemptionCodeListReplyMultiError) AllErrors() []error + func (m GetRedemptionCodeListReplyMultiError) Error() string + type GetRedemptionCodeListReplyValidationError struct + func (e GetRedemptionCodeListReplyValidationError) Cause() error + func (e GetRedemptionCodeListReplyValidationError) Error() string + func (e GetRedemptionCodeListReplyValidationError) ErrorName() string + func (e GetRedemptionCodeListReplyValidationError) Field() string + func (e GetRedemptionCodeListReplyValidationError) Key() bool + func (e GetRedemptionCodeListReplyValidationError) Reason() string + type GetRedemptionCodeListRequest struct + Code string + Page int64 + Size int64 + SubscribePlan int64 + UnitTime string + func (*GetRedemptionCodeListRequest) Descriptor() ([]byte, []int) + func (*GetRedemptionCodeListRequest) ProtoMessage() + func (m *GetRedemptionCodeListRequest) Validate() error + func (m *GetRedemptionCodeListRequest) ValidateAll() error + func (x *GetRedemptionCodeListRequest) GetCode() string + func (x *GetRedemptionCodeListRequest) GetPage() int64 + func (x *GetRedemptionCodeListRequest) GetSize() int64 + func (x *GetRedemptionCodeListRequest) GetSubscribePlan() int64 + func (x *GetRedemptionCodeListRequest) GetUnitTime() string + func (x *GetRedemptionCodeListRequest) ProtoReflect() protoreflect.Message + func (x *GetRedemptionCodeListRequest) Reset() + func (x *GetRedemptionCodeListRequest) String() string + type GetRedemptionCodeListRequestMultiError []error + func (m GetRedemptionCodeListRequestMultiError) AllErrors() []error + func (m GetRedemptionCodeListRequestMultiError) Error() string + type GetRedemptionCodeListRequestValidationError struct + func (e GetRedemptionCodeListRequestValidationError) Cause() error + func (e GetRedemptionCodeListRequestValidationError) Error() string + func (e GetRedemptionCodeListRequestValidationError) ErrorName() string + func (e GetRedemptionCodeListRequestValidationError) Field() string + func (e GetRedemptionCodeListRequestValidationError) Key() bool + func (e GetRedemptionCodeListRequestValidationError) Reason() string + type GetRedemptionRecordListData struct + List []*RedemptionRecord + Total int32 + func (*GetRedemptionRecordListData) Descriptor() ([]byte, []int) + func (*GetRedemptionRecordListData) ProtoMessage() + func (m *GetRedemptionRecordListData) Validate() error + func (m *GetRedemptionRecordListData) ValidateAll() error + func (x *GetRedemptionRecordListData) GetList() []*RedemptionRecord + func (x *GetRedemptionRecordListData) GetTotal() int32 + func (x *GetRedemptionRecordListData) ProtoReflect() protoreflect.Message + func (x *GetRedemptionRecordListData) Reset() + func (x *GetRedemptionRecordListData) String() string + type GetRedemptionRecordListDataMultiError []error + func (m GetRedemptionRecordListDataMultiError) AllErrors() []error + func (m GetRedemptionRecordListDataMultiError) Error() string + type GetRedemptionRecordListDataValidationError struct + func (e GetRedemptionRecordListDataValidationError) Cause() error + func (e GetRedemptionRecordListDataValidationError) Error() string + func (e GetRedemptionRecordListDataValidationError) ErrorName() string + func (e GetRedemptionRecordListDataValidationError) Field() string + func (e GetRedemptionRecordListDataValidationError) Key() bool + func (e GetRedemptionRecordListDataValidationError) Reason() string + type GetRedemptionRecordListReply struct + Code int32 + Data *GetRedemptionRecordListData + Message string + func (*GetRedemptionRecordListReply) Descriptor() ([]byte, []int) + func (*GetRedemptionRecordListReply) ProtoMessage() + func (m *GetRedemptionRecordListReply) Validate() error + func (m *GetRedemptionRecordListReply) ValidateAll() error + func (x *GetRedemptionRecordListReply) GetCode() int32 + func (x *GetRedemptionRecordListReply) GetData() *GetRedemptionRecordListData + func (x *GetRedemptionRecordListReply) GetMessage() string + func (x *GetRedemptionRecordListReply) ProtoReflect() protoreflect.Message + func (x *GetRedemptionRecordListReply) Reset() + func (x *GetRedemptionRecordListReply) String() string + type GetRedemptionRecordListReplyMultiError []error + func (m GetRedemptionRecordListReplyMultiError) AllErrors() []error + func (m GetRedemptionRecordListReplyMultiError) Error() string + type GetRedemptionRecordListReplyValidationError struct + func (e GetRedemptionRecordListReplyValidationError) Cause() error + func (e GetRedemptionRecordListReplyValidationError) Error() string + func (e GetRedemptionRecordListReplyValidationError) ErrorName() string + func (e GetRedemptionRecordListReplyValidationError) Field() string + func (e GetRedemptionRecordListReplyValidationError) Key() bool + func (e GetRedemptionRecordListReplyValidationError) Reason() string + type GetRedemptionRecordListRequest struct + CodeId int64 + Page int64 + Size int64 + UserId int64 + func (*GetRedemptionRecordListRequest) Descriptor() ([]byte, []int) + func (*GetRedemptionRecordListRequest) ProtoMessage() + func (m *GetRedemptionRecordListRequest) Validate() error + func (m *GetRedemptionRecordListRequest) ValidateAll() error + func (x *GetRedemptionRecordListRequest) GetCodeId() int64 + func (x *GetRedemptionRecordListRequest) GetPage() int64 + func (x *GetRedemptionRecordListRequest) GetSize() int64 + func (x *GetRedemptionRecordListRequest) GetUserId() int64 + func (x *GetRedemptionRecordListRequest) ProtoReflect() protoreflect.Message + func (x *GetRedemptionRecordListRequest) Reset() + func (x *GetRedemptionRecordListRequest) String() string + type GetRedemptionRecordListRequestMultiError []error + func (m GetRedemptionRecordListRequestMultiError) AllErrors() []error + func (m GetRedemptionRecordListRequestMultiError) Error() string + type GetRedemptionRecordListRequestValidationError struct + func (e GetRedemptionRecordListRequestValidationError) Cause() error + func (e GetRedemptionRecordListRequestValidationError) Error() string + func (e GetRedemptionRecordListRequestValidationError) ErrorName() string + func (e GetRedemptionRecordListRequestValidationError) Field() string + func (e GetRedemptionRecordListRequestValidationError) Key() bool + func (e GetRedemptionRecordListRequestValidationError) Reason() string + type RedemptionClient interface + BatchDeleteRedemptionCode func(ctx context.Context, in *BatchDeleteRedemptionCodeRequest, ...) (*BatchDeleteRedemptionCodeReply, error) + CreateRedemptionCode func(ctx context.Context, in *CreateRedemptionCodeRequest, opts ...grpc.CallOption) (*CreateRedemptionCodeReply, error) + DeleteRedemptionCode func(ctx context.Context, in *DeleteRedemptionCodeRequest, opts ...grpc.CallOption) (*DeleteRedemptionCodeReply, error) + GetRedemptionCodeList func(ctx context.Context, in *GetRedemptionCodeListRequest, opts ...grpc.CallOption) (*GetRedemptionCodeListReply, error) + GetRedemptionRecordList func(ctx context.Context, in *GetRedemptionRecordListRequest, ...) (*GetRedemptionRecordListReply, error) + ToggleRedemptionCodeStatus func(ctx context.Context, in *ToggleRedemptionCodeStatusRequest, ...) (*ToggleRedemptionCodeStatusReply, error) + UpdateRedemptionCode func(ctx context.Context, in *UpdateRedemptionCodeRequest, opts ...grpc.CallOption) (*UpdateRedemptionCodeReply, error) + func NewRedemptionClient(cc grpc.ClientConnInterface) RedemptionClient + type RedemptionCode struct + Code string + CreatedAt int64 + Id int64 + Quantity int32 + Status int32 + SubscribePlan int64 + TotalCount int32 + UnitTime string + UpdatedAt int64 + UsedCount int32 + func (*RedemptionCode) Descriptor() ([]byte, []int) + func (*RedemptionCode) ProtoMessage() + func (m *RedemptionCode) Validate() error + func (m *RedemptionCode) ValidateAll() error + func (x *RedemptionCode) GetCode() string + func (x *RedemptionCode) GetCreatedAt() int64 + func (x *RedemptionCode) GetId() int64 + func (x *RedemptionCode) GetQuantity() int32 + func (x *RedemptionCode) GetStatus() int32 + func (x *RedemptionCode) GetSubscribePlan() int64 + func (x *RedemptionCode) GetTotalCount() int32 + func (x *RedemptionCode) GetUnitTime() string + func (x *RedemptionCode) GetUpdatedAt() int64 + func (x *RedemptionCode) GetUsedCount() int32 + func (x *RedemptionCode) ProtoReflect() protoreflect.Message + func (x *RedemptionCode) Reset() + func (x *RedemptionCode) String() string + type RedemptionCodeMultiError []error + func (m RedemptionCodeMultiError) AllErrors() []error + func (m RedemptionCodeMultiError) Error() string + type RedemptionCodeValidationError struct + func (e RedemptionCodeValidationError) Cause() error + func (e RedemptionCodeValidationError) Error() string + func (e RedemptionCodeValidationError) ErrorName() string + func (e RedemptionCodeValidationError) Field() string + func (e RedemptionCodeValidationError) Key() bool + func (e RedemptionCodeValidationError) Reason() string + type RedemptionHTTPClient interface + BatchDeleteRedemptionCode func(ctx context.Context, req *BatchDeleteRedemptionCodeRequest, ...) (rsp *BatchDeleteRedemptionCodeReply, err error) + CreateRedemptionCode func(ctx context.Context, req *CreateRedemptionCodeRequest, opts ...http.CallOption) (rsp *CreateRedemptionCodeReply, err error) + DeleteRedemptionCode func(ctx context.Context, req *DeleteRedemptionCodeRequest, opts ...http.CallOption) (rsp *DeleteRedemptionCodeReply, err error) + GetRedemptionCodeList func(ctx context.Context, req *GetRedemptionCodeListRequest, ...) (rsp *GetRedemptionCodeListReply, err error) + GetRedemptionRecordList func(ctx context.Context, req *GetRedemptionRecordListRequest, ...) (rsp *GetRedemptionRecordListReply, err error) + ToggleRedemptionCodeStatus func(ctx context.Context, req *ToggleRedemptionCodeStatusRequest, ...) (rsp *ToggleRedemptionCodeStatusReply, err error) + UpdateRedemptionCode func(ctx context.Context, req *UpdateRedemptionCodeRequest, opts ...http.CallOption) (rsp *UpdateRedemptionCodeReply, err error) + func NewRedemptionHTTPClient(client *http.Client) RedemptionHTTPClient + type RedemptionHTTPClientImpl struct + func (c *RedemptionHTTPClientImpl) BatchDeleteRedemptionCode(ctx context.Context, in *BatchDeleteRedemptionCodeRequest, ...) (*BatchDeleteRedemptionCodeReply, error) + func (c *RedemptionHTTPClientImpl) CreateRedemptionCode(ctx context.Context, in *CreateRedemptionCodeRequest, opts ...http.CallOption) (*CreateRedemptionCodeReply, error) + func (c *RedemptionHTTPClientImpl) DeleteRedemptionCode(ctx context.Context, in *DeleteRedemptionCodeRequest, opts ...http.CallOption) (*DeleteRedemptionCodeReply, error) + func (c *RedemptionHTTPClientImpl) GetRedemptionCodeList(ctx context.Context, in *GetRedemptionCodeListRequest, opts ...http.CallOption) (*GetRedemptionCodeListReply, error) + func (c *RedemptionHTTPClientImpl) GetRedemptionRecordList(ctx context.Context, in *GetRedemptionRecordListRequest, ...) (*GetRedemptionRecordListReply, error) + func (c *RedemptionHTTPClientImpl) ToggleRedemptionCodeStatus(ctx context.Context, in *ToggleRedemptionCodeStatusRequest, ...) (*ToggleRedemptionCodeStatusReply, error) + func (c *RedemptionHTTPClientImpl) UpdateRedemptionCode(ctx context.Context, in *UpdateRedemptionCodeRequest, opts ...http.CallOption) (*UpdateRedemptionCodeReply, error) + type RedemptionHTTPServer interface + BatchDeleteRedemptionCode func(context.Context, *BatchDeleteRedemptionCodeRequest) (*BatchDeleteRedemptionCodeReply, error) + CreateRedemptionCode func(context.Context, *CreateRedemptionCodeRequest) (*CreateRedemptionCodeReply, error) + DeleteRedemptionCode func(context.Context, *DeleteRedemptionCodeRequest) (*DeleteRedemptionCodeReply, error) + GetRedemptionCodeList func(context.Context, *GetRedemptionCodeListRequest) (*GetRedemptionCodeListReply, error) + GetRedemptionRecordList func(context.Context, *GetRedemptionRecordListRequest) (*GetRedemptionRecordListReply, error) + ToggleRedemptionCodeStatus func(context.Context, *ToggleRedemptionCodeStatusRequest) (*ToggleRedemptionCodeStatusReply, error) + UpdateRedemptionCode func(context.Context, *UpdateRedemptionCodeRequest) (*UpdateRedemptionCodeReply, error) + type RedemptionRecord struct + CreatedAt int64 + Id int64 + Quantity int32 + RedeemedAt int64 + RedemptionCodeId int64 + SubscribeId int64 + UnitTime string + UserId int64 + func (*RedemptionRecord) Descriptor() ([]byte, []int) + func (*RedemptionRecord) ProtoMessage() + func (m *RedemptionRecord) Validate() error + func (m *RedemptionRecord) ValidateAll() error + func (x *RedemptionRecord) GetCreatedAt() int64 + func (x *RedemptionRecord) GetId() int64 + func (x *RedemptionRecord) GetQuantity() int32 + func (x *RedemptionRecord) GetRedeemedAt() int64 + func (x *RedemptionRecord) GetRedemptionCodeId() int64 + func (x *RedemptionRecord) GetSubscribeId() int64 + func (x *RedemptionRecord) GetUnitTime() string + func (x *RedemptionRecord) GetUserId() int64 + func (x *RedemptionRecord) ProtoReflect() protoreflect.Message + func (x *RedemptionRecord) Reset() + func (x *RedemptionRecord) String() string + type RedemptionRecordMultiError []error + func (m RedemptionRecordMultiError) AllErrors() []error + func (m RedemptionRecordMultiError) Error() string + type RedemptionRecordValidationError struct + func (e RedemptionRecordValidationError) Cause() error + func (e RedemptionRecordValidationError) Error() string + func (e RedemptionRecordValidationError) ErrorName() string + func (e RedemptionRecordValidationError) Field() string + func (e RedemptionRecordValidationError) Key() bool + func (e RedemptionRecordValidationError) Reason() string + type RedemptionServer interface + BatchDeleteRedemptionCode func(context.Context, *BatchDeleteRedemptionCodeRequest) (*BatchDeleteRedemptionCodeReply, error) + CreateRedemptionCode func(context.Context, *CreateRedemptionCodeRequest) (*CreateRedemptionCodeReply, error) + DeleteRedemptionCode func(context.Context, *DeleteRedemptionCodeRequest) (*DeleteRedemptionCodeReply, error) + GetRedemptionCodeList func(context.Context, *GetRedemptionCodeListRequest) (*GetRedemptionCodeListReply, error) + GetRedemptionRecordList func(context.Context, *GetRedemptionRecordListRequest) (*GetRedemptionRecordListReply, error) + ToggleRedemptionCodeStatus func(context.Context, *ToggleRedemptionCodeStatusRequest) (*ToggleRedemptionCodeStatusReply, error) + UpdateRedemptionCode func(context.Context, *UpdateRedemptionCodeRequest) (*UpdateRedemptionCodeReply, error) + type ToggleRedemptionCodeStatusData struct + Success bool + func (*ToggleRedemptionCodeStatusData) Descriptor() ([]byte, []int) + func (*ToggleRedemptionCodeStatusData) ProtoMessage() + func (m *ToggleRedemptionCodeStatusData) Validate() error + func (m *ToggleRedemptionCodeStatusData) ValidateAll() error + func (x *ToggleRedemptionCodeStatusData) GetSuccess() bool + func (x *ToggleRedemptionCodeStatusData) ProtoReflect() protoreflect.Message + func (x *ToggleRedemptionCodeStatusData) Reset() + func (x *ToggleRedemptionCodeStatusData) String() string + type ToggleRedemptionCodeStatusDataMultiError []error + func (m ToggleRedemptionCodeStatusDataMultiError) AllErrors() []error + func (m ToggleRedemptionCodeStatusDataMultiError) Error() string + type ToggleRedemptionCodeStatusDataValidationError struct + func (e ToggleRedemptionCodeStatusDataValidationError) Cause() error + func (e ToggleRedemptionCodeStatusDataValidationError) Error() string + func (e ToggleRedemptionCodeStatusDataValidationError) ErrorName() string + func (e ToggleRedemptionCodeStatusDataValidationError) Field() string + func (e ToggleRedemptionCodeStatusDataValidationError) Key() bool + func (e ToggleRedemptionCodeStatusDataValidationError) Reason() string + type ToggleRedemptionCodeStatusReply struct + Code int32 + Data *ToggleRedemptionCodeStatusData + Message string + func (*ToggleRedemptionCodeStatusReply) Descriptor() ([]byte, []int) + func (*ToggleRedemptionCodeStatusReply) ProtoMessage() + func (m *ToggleRedemptionCodeStatusReply) Validate() error + func (m *ToggleRedemptionCodeStatusReply) ValidateAll() error + func (x *ToggleRedemptionCodeStatusReply) GetCode() int32 + func (x *ToggleRedemptionCodeStatusReply) GetData() *ToggleRedemptionCodeStatusData + func (x *ToggleRedemptionCodeStatusReply) GetMessage() string + func (x *ToggleRedemptionCodeStatusReply) ProtoReflect() protoreflect.Message + func (x *ToggleRedemptionCodeStatusReply) Reset() + func (x *ToggleRedemptionCodeStatusReply) String() string + type ToggleRedemptionCodeStatusReplyMultiError []error + func (m ToggleRedemptionCodeStatusReplyMultiError) AllErrors() []error + func (m ToggleRedemptionCodeStatusReplyMultiError) Error() string + type ToggleRedemptionCodeStatusReplyValidationError struct + func (e ToggleRedemptionCodeStatusReplyValidationError) Cause() error + func (e ToggleRedemptionCodeStatusReplyValidationError) Error() string + func (e ToggleRedemptionCodeStatusReplyValidationError) ErrorName() string + func (e ToggleRedemptionCodeStatusReplyValidationError) Field() string + func (e ToggleRedemptionCodeStatusReplyValidationError) Key() bool + func (e ToggleRedemptionCodeStatusReplyValidationError) Reason() string + type ToggleRedemptionCodeStatusRequest struct + Id int64 + Status int32 + func (*ToggleRedemptionCodeStatusRequest) Descriptor() ([]byte, []int) + func (*ToggleRedemptionCodeStatusRequest) ProtoMessage() + func (m *ToggleRedemptionCodeStatusRequest) Validate() error + func (m *ToggleRedemptionCodeStatusRequest) ValidateAll() error + func (x *ToggleRedemptionCodeStatusRequest) GetId() int64 + func (x *ToggleRedemptionCodeStatusRequest) GetStatus() int32 + func (x *ToggleRedemptionCodeStatusRequest) ProtoReflect() protoreflect.Message + func (x *ToggleRedemptionCodeStatusRequest) Reset() + func (x *ToggleRedemptionCodeStatusRequest) String() string + type ToggleRedemptionCodeStatusRequestMultiError []error + func (m ToggleRedemptionCodeStatusRequestMultiError) AllErrors() []error + func (m ToggleRedemptionCodeStatusRequestMultiError) Error() string + type ToggleRedemptionCodeStatusRequestValidationError struct + func (e ToggleRedemptionCodeStatusRequestValidationError) Cause() error + func (e ToggleRedemptionCodeStatusRequestValidationError) Error() string + func (e ToggleRedemptionCodeStatusRequestValidationError) ErrorName() string + func (e ToggleRedemptionCodeStatusRequestValidationError) Field() string + func (e ToggleRedemptionCodeStatusRequestValidationError) Key() bool + func (e ToggleRedemptionCodeStatusRequestValidationError) Reason() string + type UnimplementedRedemptionServer struct + func (UnimplementedRedemptionServer) BatchDeleteRedemptionCode(context.Context, *BatchDeleteRedemptionCodeRequest) (*BatchDeleteRedemptionCodeReply, error) + func (UnimplementedRedemptionServer) CreateRedemptionCode(context.Context, *CreateRedemptionCodeRequest) (*CreateRedemptionCodeReply, error) + func (UnimplementedRedemptionServer) DeleteRedemptionCode(context.Context, *DeleteRedemptionCodeRequest) (*DeleteRedemptionCodeReply, error) + func (UnimplementedRedemptionServer) GetRedemptionCodeList(context.Context, *GetRedemptionCodeListRequest) (*GetRedemptionCodeListReply, error) + func (UnimplementedRedemptionServer) GetRedemptionRecordList(context.Context, *GetRedemptionRecordListRequest) (*GetRedemptionRecordListReply, error) + func (UnimplementedRedemptionServer) ToggleRedemptionCodeStatus(context.Context, *ToggleRedemptionCodeStatusRequest) (*ToggleRedemptionCodeStatusReply, error) + func (UnimplementedRedemptionServer) UpdateRedemptionCode(context.Context, *UpdateRedemptionCodeRequest) (*UpdateRedemptionCodeReply, error) + type UnsafeRedemptionServer interface + type UpdateRedemptionCodeData struct + Success bool + func (*UpdateRedemptionCodeData) Descriptor() ([]byte, []int) + func (*UpdateRedemptionCodeData) ProtoMessage() + func (m *UpdateRedemptionCodeData) Validate() error + func (m *UpdateRedemptionCodeData) ValidateAll() error + func (x *UpdateRedemptionCodeData) GetSuccess() bool + func (x *UpdateRedemptionCodeData) ProtoReflect() protoreflect.Message + func (x *UpdateRedemptionCodeData) Reset() + func (x *UpdateRedemptionCodeData) String() string + type UpdateRedemptionCodeDataMultiError []error + func (m UpdateRedemptionCodeDataMultiError) AllErrors() []error + func (m UpdateRedemptionCodeDataMultiError) Error() string + type UpdateRedemptionCodeDataValidationError struct + func (e UpdateRedemptionCodeDataValidationError) Cause() error + func (e UpdateRedemptionCodeDataValidationError) Error() string + func (e UpdateRedemptionCodeDataValidationError) ErrorName() string + func (e UpdateRedemptionCodeDataValidationError) Field() string + func (e UpdateRedemptionCodeDataValidationError) Key() bool + func (e UpdateRedemptionCodeDataValidationError) Reason() string + type UpdateRedemptionCodeReply struct + Code int32 + Data *UpdateRedemptionCodeData + Message string + func (*UpdateRedemptionCodeReply) Descriptor() ([]byte, []int) + func (*UpdateRedemptionCodeReply) ProtoMessage() + func (m *UpdateRedemptionCodeReply) Validate() error + func (m *UpdateRedemptionCodeReply) ValidateAll() error + func (x *UpdateRedemptionCodeReply) GetCode() int32 + func (x *UpdateRedemptionCodeReply) GetData() *UpdateRedemptionCodeData + func (x *UpdateRedemptionCodeReply) GetMessage() string + func (x *UpdateRedemptionCodeReply) ProtoReflect() protoreflect.Message + func (x *UpdateRedemptionCodeReply) Reset() + func (x *UpdateRedemptionCodeReply) String() string + type UpdateRedemptionCodeReplyMultiError []error + func (m UpdateRedemptionCodeReplyMultiError) AllErrors() []error + func (m UpdateRedemptionCodeReplyMultiError) Error() string + type UpdateRedemptionCodeReplyValidationError struct + func (e UpdateRedemptionCodeReplyValidationError) Cause() error + func (e UpdateRedemptionCodeReplyValidationError) Error() string + func (e UpdateRedemptionCodeReplyValidationError) ErrorName() string + func (e UpdateRedemptionCodeReplyValidationError) Field() string + func (e UpdateRedemptionCodeReplyValidationError) Key() bool + func (e UpdateRedemptionCodeReplyValidationError) Reason() string + type UpdateRedemptionCodeRequest struct + Id int64 + Quantity int32 + Status *int32 + SubscribePlan int64 + TotalCount int64 + UnitTime string + func (*UpdateRedemptionCodeRequest) Descriptor() ([]byte, []int) + func (*UpdateRedemptionCodeRequest) ProtoMessage() + func (m *UpdateRedemptionCodeRequest) Validate() error + func (m *UpdateRedemptionCodeRequest) ValidateAll() error + func (x *UpdateRedemptionCodeRequest) GetId() int64 + func (x *UpdateRedemptionCodeRequest) GetQuantity() int32 + func (x *UpdateRedemptionCodeRequest) GetStatus() int32 + func (x *UpdateRedemptionCodeRequest) GetSubscribePlan() int64 + func (x *UpdateRedemptionCodeRequest) GetTotalCount() int64 + func (x *UpdateRedemptionCodeRequest) GetUnitTime() string + func (x *UpdateRedemptionCodeRequest) ProtoReflect() protoreflect.Message + func (x *UpdateRedemptionCodeRequest) Reset() + func (x *UpdateRedemptionCodeRequest) String() string + type UpdateRedemptionCodeRequestMultiError []error + func (m UpdateRedemptionCodeRequestMultiError) AllErrors() []error + func (m UpdateRedemptionCodeRequestMultiError) Error() string + type UpdateRedemptionCodeRequestValidationError struct + func (e UpdateRedemptionCodeRequestValidationError) Cause() error + func (e UpdateRedemptionCodeRequestValidationError) Error() string + func (e UpdateRedemptionCodeRequestValidationError) ErrorName() string + func (e UpdateRedemptionCodeRequestValidationError) Field() string + func (e UpdateRedemptionCodeRequestValidationError) Key() bool + func (e UpdateRedemptionCodeRequestValidationError) Reason() string