Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterPaymentServiceHTTPServer(s *http.Server, srv PaymentServiceHTTPServer)
- func RegisterPaymentServiceServer(s grpc.ServiceRegistrar, srv PaymentServiceServer)
- type CreatePaymentMethodReply
- func (*CreatePaymentMethodReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePaymentMethodReply) GetCode() int32
- func (x *CreatePaymentMethodReply) GetData() *PaymentConfig
- func (x *CreatePaymentMethodReply) GetMessage() string
- func (*CreatePaymentMethodReply) ProtoMessage()
- func (x *CreatePaymentMethodReply) ProtoReflect() protoreflect.Message
- func (x *CreatePaymentMethodReply) Reset()
- func (x *CreatePaymentMethodReply) String() string
- func (m *CreatePaymentMethodReply) Validate() error
- func (m *CreatePaymentMethodReply) ValidateAll() error
- type CreatePaymentMethodReplyMultiError
- type CreatePaymentMethodReplyValidationError
- func (e CreatePaymentMethodReplyValidationError) Cause() error
- func (e CreatePaymentMethodReplyValidationError) Error() string
- func (e CreatePaymentMethodReplyValidationError) ErrorName() string
- func (e CreatePaymentMethodReplyValidationError) Field() string
- func (e CreatePaymentMethodReplyValidationError) Key() bool
- func (e CreatePaymentMethodReplyValidationError) Reason() string
- type CreatePaymentMethodRequest
- func (*CreatePaymentMethodRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePaymentMethodRequest) GetConfig() *structpb.Struct
- func (x *CreatePaymentMethodRequest) GetDescription() string
- func (x *CreatePaymentMethodRequest) GetDomain() string
- func (x *CreatePaymentMethodRequest) GetEnable() bool
- func (x *CreatePaymentMethodRequest) GetFeeAmount() int64
- func (x *CreatePaymentMethodRequest) GetFeeMode() uint32
- func (x *CreatePaymentMethodRequest) GetFeePercent() int64
- func (x *CreatePaymentMethodRequest) GetIcon() string
- func (x *CreatePaymentMethodRequest) GetName() string
- func (x *CreatePaymentMethodRequest) GetPlatform() string
- func (x *CreatePaymentMethodRequest) GetSort() int32
- func (*CreatePaymentMethodRequest) ProtoMessage()
- func (x *CreatePaymentMethodRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePaymentMethodRequest) Reset()
- func (x *CreatePaymentMethodRequest) String() string
- func (m *CreatePaymentMethodRequest) Validate() error
- func (m *CreatePaymentMethodRequest) ValidateAll() error
- type CreatePaymentMethodRequestMultiError
- type CreatePaymentMethodRequestValidationError
- func (e CreatePaymentMethodRequestValidationError) Cause() error
- func (e CreatePaymentMethodRequestValidationError) Error() string
- func (e CreatePaymentMethodRequestValidationError) ErrorName() string
- func (e CreatePaymentMethodRequestValidationError) Field() string
- func (e CreatePaymentMethodRequestValidationError) Key() bool
- func (e CreatePaymentMethodRequestValidationError) Reason() string
- type DeletePaymentMethodReply
- func (*DeletePaymentMethodReply) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePaymentMethodReply) GetCode() int32
- func (x *DeletePaymentMethodReply) GetMessage() string
- func (*DeletePaymentMethodReply) ProtoMessage()
- func (x *DeletePaymentMethodReply) ProtoReflect() protoreflect.Message
- func (x *DeletePaymentMethodReply) Reset()
- func (x *DeletePaymentMethodReply) String() string
- func (m *DeletePaymentMethodReply) Validate() error
- func (m *DeletePaymentMethodReply) ValidateAll() error
- type DeletePaymentMethodReplyMultiError
- type DeletePaymentMethodReplyValidationError
- func (e DeletePaymentMethodReplyValidationError) Cause() error
- func (e DeletePaymentMethodReplyValidationError) Error() string
- func (e DeletePaymentMethodReplyValidationError) ErrorName() string
- func (e DeletePaymentMethodReplyValidationError) Field() string
- func (e DeletePaymentMethodReplyValidationError) Key() bool
- func (e DeletePaymentMethodReplyValidationError) Reason() string
- type DeletePaymentMethodRequest
- func (*DeletePaymentMethodRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePaymentMethodRequest) GetId() int64
- func (*DeletePaymentMethodRequest) ProtoMessage()
- func (x *DeletePaymentMethodRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePaymentMethodRequest) Reset()
- func (x *DeletePaymentMethodRequest) String() string
- func (m *DeletePaymentMethodRequest) Validate() error
- func (m *DeletePaymentMethodRequest) ValidateAll() error
- type DeletePaymentMethodRequestMultiError
- type DeletePaymentMethodRequestValidationError
- func (e DeletePaymentMethodRequestValidationError) Cause() error
- func (e DeletePaymentMethodRequestValidationError) Error() string
- func (e DeletePaymentMethodRequestValidationError) ErrorName() string
- func (e DeletePaymentMethodRequestValidationError) Field() string
- func (e DeletePaymentMethodRequestValidationError) Key() bool
- func (e DeletePaymentMethodRequestValidationError) Reason() string
- type GetPaymentMethodListData
- func (*GetPaymentMethodListData) Descriptor() ([]byte, []int)deprecated
- func (x *GetPaymentMethodListData) GetList() []*PaymentMethodDetail
- func (x *GetPaymentMethodListData) GetTotal() int32
- func (*GetPaymentMethodListData) ProtoMessage()
- func (x *GetPaymentMethodListData) ProtoReflect() protoreflect.Message
- func (x *GetPaymentMethodListData) Reset()
- func (x *GetPaymentMethodListData) String() string
- func (m *GetPaymentMethodListData) Validate() error
- func (m *GetPaymentMethodListData) ValidateAll() error
- type GetPaymentMethodListDataMultiError
- type GetPaymentMethodListDataValidationError
- func (e GetPaymentMethodListDataValidationError) Cause() error
- func (e GetPaymentMethodListDataValidationError) Error() string
- func (e GetPaymentMethodListDataValidationError) ErrorName() string
- func (e GetPaymentMethodListDataValidationError) Field() string
- func (e GetPaymentMethodListDataValidationError) Key() bool
- func (e GetPaymentMethodListDataValidationError) Reason() string
- type GetPaymentMethodListReply
- func (*GetPaymentMethodListReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetPaymentMethodListReply) GetCode() int32
- func (x *GetPaymentMethodListReply) GetData() *GetPaymentMethodListData
- func (x *GetPaymentMethodListReply) GetMessage() string
- func (*GetPaymentMethodListReply) ProtoMessage()
- func (x *GetPaymentMethodListReply) ProtoReflect() protoreflect.Message
- func (x *GetPaymentMethodListReply) Reset()
- func (x *GetPaymentMethodListReply) String() string
- func (m *GetPaymentMethodListReply) Validate() error
- func (m *GetPaymentMethodListReply) ValidateAll() error
- type GetPaymentMethodListReplyMultiError
- type GetPaymentMethodListReplyValidationError
- func (e GetPaymentMethodListReplyValidationError) Cause() error
- func (e GetPaymentMethodListReplyValidationError) Error() string
- func (e GetPaymentMethodListReplyValidationError) ErrorName() string
- func (e GetPaymentMethodListReplyValidationError) Field() string
- func (e GetPaymentMethodListReplyValidationError) Key() bool
- func (e GetPaymentMethodListReplyValidationError) Reason() string
- type GetPaymentMethodListRequest
- func (*GetPaymentMethodListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPaymentMethodListRequest) GetEnable() bool
- func (x *GetPaymentMethodListRequest) GetPage() int32
- func (x *GetPaymentMethodListRequest) GetPlatform() string
- func (x *GetPaymentMethodListRequest) GetSearch() string
- func (x *GetPaymentMethodListRequest) GetSize() int32
- func (*GetPaymentMethodListRequest) ProtoMessage()
- func (x *GetPaymentMethodListRequest) ProtoReflect() protoreflect.Message
- func (x *GetPaymentMethodListRequest) Reset()
- func (x *GetPaymentMethodListRequest) String() string
- func (m *GetPaymentMethodListRequest) Validate() error
- func (m *GetPaymentMethodListRequest) ValidateAll() error
- type GetPaymentMethodListRequestMultiError
- type GetPaymentMethodListRequestValidationError
- func (e GetPaymentMethodListRequestValidationError) Cause() error
- func (e GetPaymentMethodListRequestValidationError) Error() string
- func (e GetPaymentMethodListRequestValidationError) ErrorName() string
- func (e GetPaymentMethodListRequestValidationError) Field() string
- func (e GetPaymentMethodListRequestValidationError) Key() bool
- func (e GetPaymentMethodListRequestValidationError) Reason() string
- type GetPaymentPlatformData
- func (*GetPaymentPlatformData) Descriptor() ([]byte, []int)deprecated
- func (x *GetPaymentPlatformData) GetList() []*PaymentPlatform
- func (*GetPaymentPlatformData) ProtoMessage()
- func (x *GetPaymentPlatformData) ProtoReflect() protoreflect.Message
- func (x *GetPaymentPlatformData) Reset()
- func (x *GetPaymentPlatformData) String() string
- func (m *GetPaymentPlatformData) Validate() error
- func (m *GetPaymentPlatformData) ValidateAll() error
- type GetPaymentPlatformDataMultiError
- type GetPaymentPlatformDataValidationError
- func (e GetPaymentPlatformDataValidationError) Cause() error
- func (e GetPaymentPlatformDataValidationError) Error() string
- func (e GetPaymentPlatformDataValidationError) ErrorName() string
- func (e GetPaymentPlatformDataValidationError) Field() string
- func (e GetPaymentPlatformDataValidationError) Key() bool
- func (e GetPaymentPlatformDataValidationError) Reason() string
- type GetPaymentPlatformReply
- func (*GetPaymentPlatformReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetPaymentPlatformReply) GetCode() int32
- func (x *GetPaymentPlatformReply) GetData() *GetPaymentPlatformData
- func (x *GetPaymentPlatformReply) GetMessage() string
- func (*GetPaymentPlatformReply) ProtoMessage()
- func (x *GetPaymentPlatformReply) ProtoReflect() protoreflect.Message
- func (x *GetPaymentPlatformReply) Reset()
- func (x *GetPaymentPlatformReply) String() string
- func (m *GetPaymentPlatformReply) Validate() error
- func (m *GetPaymentPlatformReply) ValidateAll() error
- type GetPaymentPlatformReplyMultiError
- type GetPaymentPlatformReplyValidationError
- func (e GetPaymentPlatformReplyValidationError) Cause() error
- func (e GetPaymentPlatformReplyValidationError) Error() string
- func (e GetPaymentPlatformReplyValidationError) ErrorName() string
- func (e GetPaymentPlatformReplyValidationError) Field() string
- func (e GetPaymentPlatformReplyValidationError) Key() bool
- func (e GetPaymentPlatformReplyValidationError) Reason() string
- type GetPaymentPlatformRequest
- func (*GetPaymentPlatformRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetPaymentPlatformRequest) ProtoMessage()
- func (x *GetPaymentPlatformRequest) ProtoReflect() protoreflect.Message
- func (x *GetPaymentPlatformRequest) Reset()
- func (x *GetPaymentPlatformRequest) String() string
- func (m *GetPaymentPlatformRequest) Validate() error
- func (m *GetPaymentPlatformRequest) ValidateAll() error
- type GetPaymentPlatformRequestMultiError
- type GetPaymentPlatformRequestValidationError
- func (e GetPaymentPlatformRequestValidationError) Cause() error
- func (e GetPaymentPlatformRequestValidationError) Error() string
- func (e GetPaymentPlatformRequestValidationError) ErrorName() string
- func (e GetPaymentPlatformRequestValidationError) Field() string
- func (e GetPaymentPlatformRequestValidationError) Key() bool
- func (e GetPaymentPlatformRequestValidationError) Reason() string
- type PaymentConfig
- func (*PaymentConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PaymentConfig) GetConfig() *structpb.Struct
- func (x *PaymentConfig) GetDescription() string
- func (x *PaymentConfig) GetDomain() string
- func (x *PaymentConfig) GetEnable() bool
- func (x *PaymentConfig) GetFeeAmount() int64
- func (x *PaymentConfig) GetFeeMode() uint32
- func (x *PaymentConfig) GetFeePercent() int64
- func (x *PaymentConfig) GetIcon() string
- func (x *PaymentConfig) GetId() int64
- func (x *PaymentConfig) GetName() string
- func (x *PaymentConfig) GetPlatform() string
- func (x *PaymentConfig) GetSort() int32
- func (*PaymentConfig) ProtoMessage()
- func (x *PaymentConfig) ProtoReflect() protoreflect.Message
- func (x *PaymentConfig) Reset()
- func (x *PaymentConfig) String() string
- func (m *PaymentConfig) Validate() error
- func (m *PaymentConfig) ValidateAll() error
- type PaymentConfigMultiError
- type PaymentConfigValidationError
- func (e PaymentConfigValidationError) Cause() error
- func (e PaymentConfigValidationError) Error() string
- func (e PaymentConfigValidationError) ErrorName() string
- func (e PaymentConfigValidationError) Field() string
- func (e PaymentConfigValidationError) Key() bool
- func (e PaymentConfigValidationError) Reason() string
- type PaymentMethodDetail
- func (*PaymentMethodDetail) Descriptor() ([]byte, []int)deprecated
- func (x *PaymentMethodDetail) GetConfig() *structpb.Struct
- func (x *PaymentMethodDetail) GetDescription() string
- func (x *PaymentMethodDetail) GetDomain() string
- func (x *PaymentMethodDetail) GetEnable() bool
- func (x *PaymentMethodDetail) GetFeeAmount() int64
- func (x *PaymentMethodDetail) GetFeeMode() uint32
- func (x *PaymentMethodDetail) GetFeePercent() int64
- func (x *PaymentMethodDetail) GetIcon() string
- func (x *PaymentMethodDetail) GetId() int64
- func (x *PaymentMethodDetail) GetName() string
- func (x *PaymentMethodDetail) GetNotifyUrl() string
- func (x *PaymentMethodDetail) GetPlatform() string
- func (x *PaymentMethodDetail) GetSort() int32
- func (*PaymentMethodDetail) ProtoMessage()
- func (x *PaymentMethodDetail) ProtoReflect() protoreflect.Message
- func (x *PaymentMethodDetail) Reset()
- func (x *PaymentMethodDetail) String() string
- func (m *PaymentMethodDetail) Validate() error
- func (m *PaymentMethodDetail) ValidateAll() error
- type PaymentMethodDetailMultiError
- type PaymentMethodDetailValidationError
- func (e PaymentMethodDetailValidationError) Cause() error
- func (e PaymentMethodDetailValidationError) Error() string
- func (e PaymentMethodDetailValidationError) ErrorName() string
- func (e PaymentMethodDetailValidationError) Field() string
- func (e PaymentMethodDetailValidationError) Key() bool
- func (e PaymentMethodDetailValidationError) Reason() string
- type PaymentPlatform
- func (*PaymentPlatform) Descriptor() ([]byte, []int)deprecated
- func (x *PaymentPlatform) GetPlatform() string
- func (x *PaymentPlatform) GetPlatformFieldDescription() map[string]string
- func (x *PaymentPlatform) GetPlatformUrl() string
- func (*PaymentPlatform) ProtoMessage()
- func (x *PaymentPlatform) ProtoReflect() protoreflect.Message
- func (x *PaymentPlatform) Reset()
- func (x *PaymentPlatform) String() string
- func (m *PaymentPlatform) Validate() error
- func (m *PaymentPlatform) ValidateAll() error
- type PaymentPlatformMultiError
- type PaymentPlatformValidationError
- func (e PaymentPlatformValidationError) Cause() error
- func (e PaymentPlatformValidationError) Error() string
- func (e PaymentPlatformValidationError) ErrorName() string
- func (e PaymentPlatformValidationError) Field() string
- func (e PaymentPlatformValidationError) Key() bool
- func (e PaymentPlatformValidationError) Reason() string
- type PaymentServiceClient
- type PaymentServiceHTTPClient
- type PaymentServiceHTTPClientImpl
- func (c *PaymentServiceHTTPClientImpl) CreatePaymentMethod(ctx context.Context, in *CreatePaymentMethodRequest, opts ...http.CallOption) (*CreatePaymentMethodReply, error)
- func (c *PaymentServiceHTTPClientImpl) DeletePaymentMethod(ctx context.Context, in *DeletePaymentMethodRequest, opts ...http.CallOption) (*DeletePaymentMethodReply, error)
- func (c *PaymentServiceHTTPClientImpl) GetPaymentMethodList(ctx context.Context, in *GetPaymentMethodListRequest, opts ...http.CallOption) (*GetPaymentMethodListReply, error)
- func (c *PaymentServiceHTTPClientImpl) GetPaymentPlatform(ctx context.Context, in *GetPaymentPlatformRequest, opts ...http.CallOption) (*GetPaymentPlatformReply, error)
- func (c *PaymentServiceHTTPClientImpl) UpdatePaymentMethod(ctx context.Context, in *UpdatePaymentMethodRequest, opts ...http.CallOption) (*UpdatePaymentMethodReply, error)
- type PaymentServiceHTTPServer
- type PaymentServiceServer
- type UnimplementedPaymentServiceServer
- func (UnimplementedPaymentServiceServer) CreatePaymentMethod(context.Context, *CreatePaymentMethodRequest) (*CreatePaymentMethodReply, error)
- func (UnimplementedPaymentServiceServer) DeletePaymentMethod(context.Context, *DeletePaymentMethodRequest) (*DeletePaymentMethodReply, error)
- func (UnimplementedPaymentServiceServer) GetPaymentMethodList(context.Context, *GetPaymentMethodListRequest) (*GetPaymentMethodListReply, error)
- func (UnimplementedPaymentServiceServer) GetPaymentPlatform(context.Context, *GetPaymentPlatformRequest) (*GetPaymentPlatformReply, error)
- func (UnimplementedPaymentServiceServer) UpdatePaymentMethod(context.Context, *UpdatePaymentMethodRequest) (*UpdatePaymentMethodReply, error)
- type UnsafePaymentServiceServer
- type UpdatePaymentMethodReply
- func (*UpdatePaymentMethodReply) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePaymentMethodReply) GetCode() int32
- func (x *UpdatePaymentMethodReply) GetData() *PaymentConfig
- func (x *UpdatePaymentMethodReply) GetMessage() string
- func (*UpdatePaymentMethodReply) ProtoMessage()
- func (x *UpdatePaymentMethodReply) ProtoReflect() protoreflect.Message
- func (x *UpdatePaymentMethodReply) Reset()
- func (x *UpdatePaymentMethodReply) String() string
- func (m *UpdatePaymentMethodReply) Validate() error
- func (m *UpdatePaymentMethodReply) ValidateAll() error
- type UpdatePaymentMethodReplyMultiError
- type UpdatePaymentMethodReplyValidationError
- func (e UpdatePaymentMethodReplyValidationError) Cause() error
- func (e UpdatePaymentMethodReplyValidationError) Error() string
- func (e UpdatePaymentMethodReplyValidationError) ErrorName() string
- func (e UpdatePaymentMethodReplyValidationError) Field() string
- func (e UpdatePaymentMethodReplyValidationError) Key() bool
- func (e UpdatePaymentMethodReplyValidationError) Reason() string
- type UpdatePaymentMethodRequest
- func (*UpdatePaymentMethodRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePaymentMethodRequest) GetConfig() *structpb.Struct
- func (x *UpdatePaymentMethodRequest) GetDescription() string
- func (x *UpdatePaymentMethodRequest) GetDomain() string
- func (x *UpdatePaymentMethodRequest) GetEnable() bool
- func (x *UpdatePaymentMethodRequest) GetFeeAmount() int64
- func (x *UpdatePaymentMethodRequest) GetFeeMode() uint32
- func (x *UpdatePaymentMethodRequest) GetFeePercent() int64
- func (x *UpdatePaymentMethodRequest) GetIcon() string
- func (x *UpdatePaymentMethodRequest) GetId() int64
- func (x *UpdatePaymentMethodRequest) GetName() string
- func (x *UpdatePaymentMethodRequest) GetPlatform() string
- func (x *UpdatePaymentMethodRequest) GetSort() int32
- func (*UpdatePaymentMethodRequest) ProtoMessage()
- func (x *UpdatePaymentMethodRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePaymentMethodRequest) Reset()
- func (x *UpdatePaymentMethodRequest) String() string
- func (m *UpdatePaymentMethodRequest) Validate() error
- func (m *UpdatePaymentMethodRequest) ValidateAll() error
- type UpdatePaymentMethodRequestMultiError
- type UpdatePaymentMethodRequestValidationError
- func (e UpdatePaymentMethodRequestValidationError) Cause() error
- func (e UpdatePaymentMethodRequestValidationError) Error() string
- func (e UpdatePaymentMethodRequestValidationError) ErrorName() string
- func (e UpdatePaymentMethodRequestValidationError) Field() string
- func (e UpdatePaymentMethodRequestValidationError) Key() bool
- func (e UpdatePaymentMethodRequestValidationError) Reason() string
Constants ¶
const ( PaymentService_CreatePaymentMethod_FullMethodName = "/api.admin.payment.v1.PaymentService/CreatePaymentMethod" PaymentService_UpdatePaymentMethod_FullMethodName = "/api.admin.payment.v1.PaymentService/UpdatePaymentMethod" PaymentService_DeletePaymentMethod_FullMethodName = "/api.admin.payment.v1.PaymentService/DeletePaymentMethod" PaymentService_GetPaymentMethodList_FullMethodName = "/api.admin.payment.v1.PaymentService/GetPaymentMethodList" PaymentService_GetPaymentPlatform_FullMethodName = "/api.admin.payment.v1.PaymentService/GetPaymentPlatform" )
const OperationPaymentServiceCreatePaymentMethod = "/api.admin.payment.v1.PaymentService/CreatePaymentMethod"
const OperationPaymentServiceDeletePaymentMethod = "/api.admin.payment.v1.PaymentService/DeletePaymentMethod"
const OperationPaymentServiceGetPaymentMethodList = "/api.admin.payment.v1.PaymentService/GetPaymentMethodList"
const OperationPaymentServiceGetPaymentPlatform = "/api.admin.payment.v1.PaymentService/GetPaymentPlatform"
const OperationPaymentServiceUpdatePaymentMethod = "/api.admin.payment.v1.PaymentService/UpdatePaymentMethod"
Variables ¶
var File_admin_payment_v1_payment_proto protoreflect.FileDescriptor
var PaymentService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.admin.payment.v1.PaymentService", HandlerType: (*PaymentServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreatePaymentMethod", Handler: _PaymentService_CreatePaymentMethod_Handler, }, { MethodName: "UpdatePaymentMethod", Handler: _PaymentService_UpdatePaymentMethod_Handler, }, { MethodName: "DeletePaymentMethod", Handler: _PaymentService_DeletePaymentMethod_Handler, }, { MethodName: "GetPaymentMethodList", Handler: _PaymentService_GetPaymentMethodList_Handler, }, { MethodName: "GetPaymentPlatform", Handler: _PaymentService_GetPaymentPlatform_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "admin/payment/v1/payment.proto", }
PaymentService_ServiceDesc is the grpc.ServiceDesc for PaymentService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPaymentServiceHTTPServer ¶
func RegisterPaymentServiceHTTPServer(s *http.Server, srv PaymentServiceHTTPServer)
func RegisterPaymentServiceServer ¶
func RegisterPaymentServiceServer(s grpc.ServiceRegistrar, srv PaymentServiceServer)
Types ¶
type CreatePaymentMethodReply ¶
type CreatePaymentMethodReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Data *PaymentConfig `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*CreatePaymentMethodReply) Descriptor
deprecated
func (*CreatePaymentMethodReply) Descriptor() ([]byte, []int)
Deprecated: Use CreatePaymentMethodReply.ProtoReflect.Descriptor instead.
func (*CreatePaymentMethodReply) GetCode ¶
func (x *CreatePaymentMethodReply) GetCode() int32
func (*CreatePaymentMethodReply) GetData ¶
func (x *CreatePaymentMethodReply) GetData() *PaymentConfig
func (*CreatePaymentMethodReply) GetMessage ¶
func (x *CreatePaymentMethodReply) GetMessage() string
func (*CreatePaymentMethodReply) ProtoMessage ¶
func (*CreatePaymentMethodReply) ProtoMessage()
func (*CreatePaymentMethodReply) ProtoReflect ¶
func (x *CreatePaymentMethodReply) ProtoReflect() protoreflect.Message
func (*CreatePaymentMethodReply) Reset ¶
func (x *CreatePaymentMethodReply) Reset()
func (*CreatePaymentMethodReply) String ¶
func (x *CreatePaymentMethodReply) String() string
func (*CreatePaymentMethodReply) Validate ¶
func (m *CreatePaymentMethodReply) Validate() error
Validate checks the field values on CreatePaymentMethodReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreatePaymentMethodReply) ValidateAll ¶
func (m *CreatePaymentMethodReply) ValidateAll() error
ValidateAll checks the field values on CreatePaymentMethodReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreatePaymentMethodReplyMultiError, or nil if none found.
type CreatePaymentMethodReplyMultiError ¶
type CreatePaymentMethodReplyMultiError []error
CreatePaymentMethodReplyMultiError is an error wrapping multiple validation errors returned by CreatePaymentMethodReply.ValidateAll() if the designated constraints aren't met.
func (CreatePaymentMethodReplyMultiError) AllErrors ¶
func (m CreatePaymentMethodReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreatePaymentMethodReplyMultiError) Error ¶
func (m CreatePaymentMethodReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreatePaymentMethodReplyValidationError ¶
type CreatePaymentMethodReplyValidationError struct {
// contains filtered or unexported fields
}
CreatePaymentMethodReplyValidationError is the validation error returned by CreatePaymentMethodReply.Validate if the designated constraints aren't met.
func (CreatePaymentMethodReplyValidationError) Cause ¶
func (e CreatePaymentMethodReplyValidationError) Cause() error
Cause function returns cause value.
func (CreatePaymentMethodReplyValidationError) Error ¶
func (e CreatePaymentMethodReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreatePaymentMethodReplyValidationError) ErrorName ¶
func (e CreatePaymentMethodReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreatePaymentMethodReplyValidationError) Field ¶
func (e CreatePaymentMethodReplyValidationError) Field() string
Field function returns field value.
func (CreatePaymentMethodReplyValidationError) Key ¶
func (e CreatePaymentMethodReplyValidationError) Key() bool
Key function returns key value.
func (CreatePaymentMethodReplyValidationError) Reason ¶
func (e CreatePaymentMethodReplyValidationError) Reason() string
Reason function returns reason value.
type CreatePaymentMethodRequest ¶
type CreatePaymentMethodRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
Icon string `protobuf:"bytes,4,opt,name=icon,proto3" json:"icon,omitempty"`
Domain string `protobuf:"bytes,5,opt,name=domain,proto3" json:"domain,omitempty"`
Config *structpb.Struct `protobuf:"bytes,6,opt,name=config,proto3" json:"config,omitempty"`
FeeMode uint32 `protobuf:"varint,7,opt,name=fee_mode,json=feeMode,proto3" json:"fee_mode,omitempty"`
FeePercent int64 `protobuf:"varint,8,opt,name=fee_percent,json=feePercent,proto3" json:"fee_percent,omitempty"`
FeeAmount int64 `protobuf:"varint,9,opt,name=fee_amount,json=feeAmount,proto3" json:"fee_amount,omitempty"`
Sort int32 `protobuf:"varint,10,opt,name=sort,proto3" json:"sort,omitempty"`
Enable *bool `protobuf:"varint,11,opt,name=enable,proto3,oneof" json:"enable,omitempty"`
// contains filtered or unexported fields
}
func (*CreatePaymentMethodRequest) Descriptor
deprecated
func (*CreatePaymentMethodRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePaymentMethodRequest.ProtoReflect.Descriptor instead.
func (*CreatePaymentMethodRequest) GetConfig ¶
func (x *CreatePaymentMethodRequest) GetConfig() *structpb.Struct
func (*CreatePaymentMethodRequest) GetDescription ¶
func (x *CreatePaymentMethodRequest) GetDescription() string
func (*CreatePaymentMethodRequest) GetDomain ¶
func (x *CreatePaymentMethodRequest) GetDomain() string
func (*CreatePaymentMethodRequest) GetEnable ¶
func (x *CreatePaymentMethodRequest) GetEnable() bool
func (*CreatePaymentMethodRequest) GetFeeAmount ¶
func (x *CreatePaymentMethodRequest) GetFeeAmount() int64
func (*CreatePaymentMethodRequest) GetFeeMode ¶
func (x *CreatePaymentMethodRequest) GetFeeMode() uint32
func (*CreatePaymentMethodRequest) GetFeePercent ¶
func (x *CreatePaymentMethodRequest) GetFeePercent() int64
func (*CreatePaymentMethodRequest) GetIcon ¶
func (x *CreatePaymentMethodRequest) GetIcon() string
func (*CreatePaymentMethodRequest) GetName ¶
func (x *CreatePaymentMethodRequest) GetName() string
func (*CreatePaymentMethodRequest) GetPlatform ¶
func (x *CreatePaymentMethodRequest) GetPlatform() string
func (*CreatePaymentMethodRequest) GetSort ¶
func (x *CreatePaymentMethodRequest) GetSort() int32
func (*CreatePaymentMethodRequest) ProtoMessage ¶
func (*CreatePaymentMethodRequest) ProtoMessage()
func (*CreatePaymentMethodRequest) ProtoReflect ¶
func (x *CreatePaymentMethodRequest) ProtoReflect() protoreflect.Message
func (*CreatePaymentMethodRequest) Reset ¶
func (x *CreatePaymentMethodRequest) Reset()
func (*CreatePaymentMethodRequest) String ¶
func (x *CreatePaymentMethodRequest) String() string
func (*CreatePaymentMethodRequest) Validate ¶
func (m *CreatePaymentMethodRequest) Validate() error
Validate checks the field values on CreatePaymentMethodRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreatePaymentMethodRequest) ValidateAll ¶
func (m *CreatePaymentMethodRequest) ValidateAll() error
ValidateAll checks the field values on CreatePaymentMethodRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreatePaymentMethodRequestMultiError, or nil if none found.
type CreatePaymentMethodRequestMultiError ¶
type CreatePaymentMethodRequestMultiError []error
CreatePaymentMethodRequestMultiError is an error wrapping multiple validation errors returned by CreatePaymentMethodRequest.ValidateAll() if the designated constraints aren't met.
func (CreatePaymentMethodRequestMultiError) AllErrors ¶
func (m CreatePaymentMethodRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreatePaymentMethodRequestMultiError) Error ¶
func (m CreatePaymentMethodRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreatePaymentMethodRequestValidationError ¶
type CreatePaymentMethodRequestValidationError struct {
// contains filtered or unexported fields
}
CreatePaymentMethodRequestValidationError is the validation error returned by CreatePaymentMethodRequest.Validate if the designated constraints aren't met.
func (CreatePaymentMethodRequestValidationError) Cause ¶
func (e CreatePaymentMethodRequestValidationError) Cause() error
Cause function returns cause value.
func (CreatePaymentMethodRequestValidationError) Error ¶
func (e CreatePaymentMethodRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreatePaymentMethodRequestValidationError) ErrorName ¶
func (e CreatePaymentMethodRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreatePaymentMethodRequestValidationError) Field ¶
func (e CreatePaymentMethodRequestValidationError) Field() string
Field function returns field value.
func (CreatePaymentMethodRequestValidationError) Key ¶
func (e CreatePaymentMethodRequestValidationError) Key() bool
Key function returns key value.
func (CreatePaymentMethodRequestValidationError) Reason ¶
func (e CreatePaymentMethodRequestValidationError) Reason() string
Reason function returns reason value.
type DeletePaymentMethodReply ¶
type DeletePaymentMethodReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*DeletePaymentMethodReply) Descriptor
deprecated
func (*DeletePaymentMethodReply) Descriptor() ([]byte, []int)
Deprecated: Use DeletePaymentMethodReply.ProtoReflect.Descriptor instead.
func (*DeletePaymentMethodReply) GetCode ¶
func (x *DeletePaymentMethodReply) GetCode() int32
func (*DeletePaymentMethodReply) GetMessage ¶
func (x *DeletePaymentMethodReply) GetMessage() string
func (*DeletePaymentMethodReply) ProtoMessage ¶
func (*DeletePaymentMethodReply) ProtoMessage()
func (*DeletePaymentMethodReply) ProtoReflect ¶
func (x *DeletePaymentMethodReply) ProtoReflect() protoreflect.Message
func (*DeletePaymentMethodReply) Reset ¶
func (x *DeletePaymentMethodReply) Reset()
func (*DeletePaymentMethodReply) String ¶
func (x *DeletePaymentMethodReply) String() string
func (*DeletePaymentMethodReply) Validate ¶
func (m *DeletePaymentMethodReply) Validate() error
Validate checks the field values on DeletePaymentMethodReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeletePaymentMethodReply) ValidateAll ¶
func (m *DeletePaymentMethodReply) ValidateAll() error
ValidateAll checks the field values on DeletePaymentMethodReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeletePaymentMethodReplyMultiError, or nil if none found.
type DeletePaymentMethodReplyMultiError ¶
type DeletePaymentMethodReplyMultiError []error
DeletePaymentMethodReplyMultiError is an error wrapping multiple validation errors returned by DeletePaymentMethodReply.ValidateAll() if the designated constraints aren't met.
func (DeletePaymentMethodReplyMultiError) AllErrors ¶
func (m DeletePaymentMethodReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeletePaymentMethodReplyMultiError) Error ¶
func (m DeletePaymentMethodReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeletePaymentMethodReplyValidationError ¶
type DeletePaymentMethodReplyValidationError struct {
// contains filtered or unexported fields
}
DeletePaymentMethodReplyValidationError is the validation error returned by DeletePaymentMethodReply.Validate if the designated constraints aren't met.
func (DeletePaymentMethodReplyValidationError) Cause ¶
func (e DeletePaymentMethodReplyValidationError) Cause() error
Cause function returns cause value.
func (DeletePaymentMethodReplyValidationError) Error ¶
func (e DeletePaymentMethodReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeletePaymentMethodReplyValidationError) ErrorName ¶
func (e DeletePaymentMethodReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeletePaymentMethodReplyValidationError) Field ¶
func (e DeletePaymentMethodReplyValidationError) Field() string
Field function returns field value.
func (DeletePaymentMethodReplyValidationError) Key ¶
func (e DeletePaymentMethodReplyValidationError) Key() bool
Key function returns key value.
func (DeletePaymentMethodReplyValidationError) Reason ¶
func (e DeletePaymentMethodReplyValidationError) Reason() string
Reason function returns reason value.
type DeletePaymentMethodRequest ¶
type DeletePaymentMethodRequest struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*DeletePaymentMethodRequest) Descriptor
deprecated
func (*DeletePaymentMethodRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePaymentMethodRequest.ProtoReflect.Descriptor instead.
func (*DeletePaymentMethodRequest) GetId ¶
func (x *DeletePaymentMethodRequest) GetId() int64
func (*DeletePaymentMethodRequest) ProtoMessage ¶
func (*DeletePaymentMethodRequest) ProtoMessage()
func (*DeletePaymentMethodRequest) ProtoReflect ¶
func (x *DeletePaymentMethodRequest) ProtoReflect() protoreflect.Message
func (*DeletePaymentMethodRequest) Reset ¶
func (x *DeletePaymentMethodRequest) Reset()
func (*DeletePaymentMethodRequest) String ¶
func (x *DeletePaymentMethodRequest) String() string
func (*DeletePaymentMethodRequest) Validate ¶
func (m *DeletePaymentMethodRequest) Validate() error
Validate checks the field values on DeletePaymentMethodRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeletePaymentMethodRequest) ValidateAll ¶
func (m *DeletePaymentMethodRequest) ValidateAll() error
ValidateAll checks the field values on DeletePaymentMethodRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeletePaymentMethodRequestMultiError, or nil if none found.
type DeletePaymentMethodRequestMultiError ¶
type DeletePaymentMethodRequestMultiError []error
DeletePaymentMethodRequestMultiError is an error wrapping multiple validation errors returned by DeletePaymentMethodRequest.ValidateAll() if the designated constraints aren't met.
func (DeletePaymentMethodRequestMultiError) AllErrors ¶
func (m DeletePaymentMethodRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeletePaymentMethodRequestMultiError) Error ¶
func (m DeletePaymentMethodRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeletePaymentMethodRequestValidationError ¶
type DeletePaymentMethodRequestValidationError struct {
// contains filtered or unexported fields
}
DeletePaymentMethodRequestValidationError is the validation error returned by DeletePaymentMethodRequest.Validate if the designated constraints aren't met.
func (DeletePaymentMethodRequestValidationError) Cause ¶
func (e DeletePaymentMethodRequestValidationError) Cause() error
Cause function returns cause value.
func (DeletePaymentMethodRequestValidationError) Error ¶
func (e DeletePaymentMethodRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeletePaymentMethodRequestValidationError) ErrorName ¶
func (e DeletePaymentMethodRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeletePaymentMethodRequestValidationError) Field ¶
func (e DeletePaymentMethodRequestValidationError) Field() string
Field function returns field value.
func (DeletePaymentMethodRequestValidationError) Key ¶
func (e DeletePaymentMethodRequestValidationError) Key() bool
Key function returns key value.
func (DeletePaymentMethodRequestValidationError) Reason ¶
func (e DeletePaymentMethodRequestValidationError) Reason() string
Reason function returns reason value.
type GetPaymentMethodListData ¶
type GetPaymentMethodListData struct {
Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
List []*PaymentMethodDetail `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
// contains filtered or unexported fields
}
func (*GetPaymentMethodListData) Descriptor
deprecated
func (*GetPaymentMethodListData) Descriptor() ([]byte, []int)
Deprecated: Use GetPaymentMethodListData.ProtoReflect.Descriptor instead.
func (*GetPaymentMethodListData) GetList ¶
func (x *GetPaymentMethodListData) GetList() []*PaymentMethodDetail
func (*GetPaymentMethodListData) GetTotal ¶
func (x *GetPaymentMethodListData) GetTotal() int32
func (*GetPaymentMethodListData) ProtoMessage ¶
func (*GetPaymentMethodListData) ProtoMessage()
func (*GetPaymentMethodListData) ProtoReflect ¶
func (x *GetPaymentMethodListData) ProtoReflect() protoreflect.Message
func (*GetPaymentMethodListData) Reset ¶
func (x *GetPaymentMethodListData) Reset()
func (*GetPaymentMethodListData) String ¶
func (x *GetPaymentMethodListData) String() string
func (*GetPaymentMethodListData) Validate ¶
func (m *GetPaymentMethodListData) Validate() error
Validate checks the field values on GetPaymentMethodListData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetPaymentMethodListData) ValidateAll ¶
func (m *GetPaymentMethodListData) ValidateAll() error
ValidateAll checks the field values on GetPaymentMethodListData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetPaymentMethodListDataMultiError, or nil if none found.
type GetPaymentMethodListDataMultiError ¶
type GetPaymentMethodListDataMultiError []error
GetPaymentMethodListDataMultiError is an error wrapping multiple validation errors returned by GetPaymentMethodListData.ValidateAll() if the designated constraints aren't met.
func (GetPaymentMethodListDataMultiError) AllErrors ¶
func (m GetPaymentMethodListDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetPaymentMethodListDataMultiError) Error ¶
func (m GetPaymentMethodListDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetPaymentMethodListDataValidationError ¶
type GetPaymentMethodListDataValidationError struct {
// contains filtered or unexported fields
}
GetPaymentMethodListDataValidationError is the validation error returned by GetPaymentMethodListData.Validate if the designated constraints aren't met.
func (GetPaymentMethodListDataValidationError) Cause ¶
func (e GetPaymentMethodListDataValidationError) Cause() error
Cause function returns cause value.
func (GetPaymentMethodListDataValidationError) Error ¶
func (e GetPaymentMethodListDataValidationError) Error() string
Error satisfies the builtin error interface
func (GetPaymentMethodListDataValidationError) ErrorName ¶
func (e GetPaymentMethodListDataValidationError) ErrorName() string
ErrorName returns error name.
func (GetPaymentMethodListDataValidationError) Field ¶
func (e GetPaymentMethodListDataValidationError) Field() string
Field function returns field value.
func (GetPaymentMethodListDataValidationError) Key ¶
func (e GetPaymentMethodListDataValidationError) Key() bool
Key function returns key value.
func (GetPaymentMethodListDataValidationError) Reason ¶
func (e GetPaymentMethodListDataValidationError) Reason() string
Reason function returns reason value.
type GetPaymentMethodListReply ¶
type GetPaymentMethodListReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Data *GetPaymentMethodListData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*GetPaymentMethodListReply) Descriptor
deprecated
func (*GetPaymentMethodListReply) Descriptor() ([]byte, []int)
Deprecated: Use GetPaymentMethodListReply.ProtoReflect.Descriptor instead.
func (*GetPaymentMethodListReply) GetCode ¶
func (x *GetPaymentMethodListReply) GetCode() int32
func (*GetPaymentMethodListReply) GetData ¶
func (x *GetPaymentMethodListReply) GetData() *GetPaymentMethodListData
func (*GetPaymentMethodListReply) GetMessage ¶
func (x *GetPaymentMethodListReply) GetMessage() string
func (*GetPaymentMethodListReply) ProtoMessage ¶
func (*GetPaymentMethodListReply) ProtoMessage()
func (*GetPaymentMethodListReply) ProtoReflect ¶
func (x *GetPaymentMethodListReply) ProtoReflect() protoreflect.Message
func (*GetPaymentMethodListReply) Reset ¶
func (x *GetPaymentMethodListReply) Reset()
func (*GetPaymentMethodListReply) String ¶
func (x *GetPaymentMethodListReply) String() string
func (*GetPaymentMethodListReply) Validate ¶
func (m *GetPaymentMethodListReply) Validate() error
Validate checks the field values on GetPaymentMethodListReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetPaymentMethodListReply) ValidateAll ¶
func (m *GetPaymentMethodListReply) ValidateAll() error
ValidateAll checks the field values on GetPaymentMethodListReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetPaymentMethodListReplyMultiError, or nil if none found.
type GetPaymentMethodListReplyMultiError ¶
type GetPaymentMethodListReplyMultiError []error
GetPaymentMethodListReplyMultiError is an error wrapping multiple validation errors returned by GetPaymentMethodListReply.ValidateAll() if the designated constraints aren't met.
func (GetPaymentMethodListReplyMultiError) AllErrors ¶
func (m GetPaymentMethodListReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetPaymentMethodListReplyMultiError) Error ¶
func (m GetPaymentMethodListReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetPaymentMethodListReplyValidationError ¶
type GetPaymentMethodListReplyValidationError struct {
// contains filtered or unexported fields
}
GetPaymentMethodListReplyValidationError is the validation error returned by GetPaymentMethodListReply.Validate if the designated constraints aren't met.
func (GetPaymentMethodListReplyValidationError) Cause ¶
func (e GetPaymentMethodListReplyValidationError) Cause() error
Cause function returns cause value.
func (GetPaymentMethodListReplyValidationError) Error ¶
func (e GetPaymentMethodListReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetPaymentMethodListReplyValidationError) ErrorName ¶
func (e GetPaymentMethodListReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetPaymentMethodListReplyValidationError) Field ¶
func (e GetPaymentMethodListReplyValidationError) Field() string
Field function returns field value.
func (GetPaymentMethodListReplyValidationError) Key ¶
func (e GetPaymentMethodListReplyValidationError) Key() bool
Key function returns key value.
func (GetPaymentMethodListReplyValidationError) Reason ¶
func (e GetPaymentMethodListReplyValidationError) Reason() string
Reason function returns reason value.
type GetPaymentMethodListRequest ¶
type GetPaymentMethodListRequest struct {
Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
Platform string `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty"`
Search string `protobuf:"bytes,4,opt,name=search,proto3" json:"search,omitempty"`
Enable *bool `protobuf:"varint,5,opt,name=enable,proto3,oneof" json:"enable,omitempty"`
// contains filtered or unexported fields
}
func (*GetPaymentMethodListRequest) Descriptor
deprecated
func (*GetPaymentMethodListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPaymentMethodListRequest.ProtoReflect.Descriptor instead.
func (*GetPaymentMethodListRequest) GetEnable ¶
func (x *GetPaymentMethodListRequest) GetEnable() bool
func (*GetPaymentMethodListRequest) GetPage ¶
func (x *GetPaymentMethodListRequest) GetPage() int32
func (*GetPaymentMethodListRequest) GetPlatform ¶
func (x *GetPaymentMethodListRequest) GetPlatform() string
func (*GetPaymentMethodListRequest) GetSearch ¶
func (x *GetPaymentMethodListRequest) GetSearch() string
func (*GetPaymentMethodListRequest) GetSize ¶
func (x *GetPaymentMethodListRequest) GetSize() int32
func (*GetPaymentMethodListRequest) ProtoMessage ¶
func (*GetPaymentMethodListRequest) ProtoMessage()
func (*GetPaymentMethodListRequest) ProtoReflect ¶
func (x *GetPaymentMethodListRequest) ProtoReflect() protoreflect.Message
func (*GetPaymentMethodListRequest) Reset ¶
func (x *GetPaymentMethodListRequest) Reset()
func (*GetPaymentMethodListRequest) String ¶
func (x *GetPaymentMethodListRequest) String() string
func (*GetPaymentMethodListRequest) Validate ¶
func (m *GetPaymentMethodListRequest) Validate() error
Validate checks the field values on GetPaymentMethodListRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetPaymentMethodListRequest) ValidateAll ¶
func (m *GetPaymentMethodListRequest) ValidateAll() error
ValidateAll checks the field values on GetPaymentMethodListRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetPaymentMethodListRequestMultiError, or nil if none found.
type GetPaymentMethodListRequestMultiError ¶
type GetPaymentMethodListRequestMultiError []error
GetPaymentMethodListRequestMultiError is an error wrapping multiple validation errors returned by GetPaymentMethodListRequest.ValidateAll() if the designated constraints aren't met.
func (GetPaymentMethodListRequestMultiError) AllErrors ¶
func (m GetPaymentMethodListRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetPaymentMethodListRequestMultiError) Error ¶
func (m GetPaymentMethodListRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetPaymentMethodListRequestValidationError ¶
type GetPaymentMethodListRequestValidationError struct {
// contains filtered or unexported fields
}
GetPaymentMethodListRequestValidationError is the validation error returned by GetPaymentMethodListRequest.Validate if the designated constraints aren't met.
func (GetPaymentMethodListRequestValidationError) Cause ¶
func (e GetPaymentMethodListRequestValidationError) Cause() error
Cause function returns cause value.
func (GetPaymentMethodListRequestValidationError) Error ¶
func (e GetPaymentMethodListRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetPaymentMethodListRequestValidationError) ErrorName ¶
func (e GetPaymentMethodListRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetPaymentMethodListRequestValidationError) Field ¶
func (e GetPaymentMethodListRequestValidationError) Field() string
Field function returns field value.
func (GetPaymentMethodListRequestValidationError) Key ¶
func (e GetPaymentMethodListRequestValidationError) Key() bool
Key function returns key value.
func (GetPaymentMethodListRequestValidationError) Reason ¶
func (e GetPaymentMethodListRequestValidationError) Reason() string
Reason function returns reason value.
type GetPaymentPlatformData ¶
type GetPaymentPlatformData struct {
List []*PaymentPlatform `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
// contains filtered or unexported fields
}
func (*GetPaymentPlatformData) Descriptor
deprecated
func (*GetPaymentPlatformData) Descriptor() ([]byte, []int)
Deprecated: Use GetPaymentPlatformData.ProtoReflect.Descriptor instead.
func (*GetPaymentPlatformData) GetList ¶
func (x *GetPaymentPlatformData) GetList() []*PaymentPlatform
func (*GetPaymentPlatformData) ProtoMessage ¶
func (*GetPaymentPlatformData) ProtoMessage()
func (*GetPaymentPlatformData) ProtoReflect ¶
func (x *GetPaymentPlatformData) ProtoReflect() protoreflect.Message
func (*GetPaymentPlatformData) Reset ¶
func (x *GetPaymentPlatformData) Reset()
func (*GetPaymentPlatformData) String ¶
func (x *GetPaymentPlatformData) String() string
func (*GetPaymentPlatformData) Validate ¶
func (m *GetPaymentPlatformData) Validate() error
Validate checks the field values on GetPaymentPlatformData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetPaymentPlatformData) ValidateAll ¶
func (m *GetPaymentPlatformData) ValidateAll() error
ValidateAll checks the field values on GetPaymentPlatformData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetPaymentPlatformDataMultiError, or nil if none found.
type GetPaymentPlatformDataMultiError ¶
type GetPaymentPlatformDataMultiError []error
GetPaymentPlatformDataMultiError is an error wrapping multiple validation errors returned by GetPaymentPlatformData.ValidateAll() if the designated constraints aren't met.
func (GetPaymentPlatformDataMultiError) AllErrors ¶
func (m GetPaymentPlatformDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetPaymentPlatformDataMultiError) Error ¶
func (m GetPaymentPlatformDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetPaymentPlatformDataValidationError ¶
type GetPaymentPlatformDataValidationError struct {
// contains filtered or unexported fields
}
GetPaymentPlatformDataValidationError is the validation error returned by GetPaymentPlatformData.Validate if the designated constraints aren't met.
func (GetPaymentPlatformDataValidationError) Cause ¶
func (e GetPaymentPlatformDataValidationError) Cause() error
Cause function returns cause value.
func (GetPaymentPlatformDataValidationError) Error ¶
func (e GetPaymentPlatformDataValidationError) Error() string
Error satisfies the builtin error interface
func (GetPaymentPlatformDataValidationError) ErrorName ¶
func (e GetPaymentPlatformDataValidationError) ErrorName() string
ErrorName returns error name.
func (GetPaymentPlatformDataValidationError) Field ¶
func (e GetPaymentPlatformDataValidationError) Field() string
Field function returns field value.
func (GetPaymentPlatformDataValidationError) Key ¶
func (e GetPaymentPlatformDataValidationError) Key() bool
Key function returns key value.
func (GetPaymentPlatformDataValidationError) Reason ¶
func (e GetPaymentPlatformDataValidationError) Reason() string
Reason function returns reason value.
type GetPaymentPlatformReply ¶
type GetPaymentPlatformReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Data *GetPaymentPlatformData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*GetPaymentPlatformReply) Descriptor
deprecated
func (*GetPaymentPlatformReply) Descriptor() ([]byte, []int)
Deprecated: Use GetPaymentPlatformReply.ProtoReflect.Descriptor instead.
func (*GetPaymentPlatformReply) GetCode ¶
func (x *GetPaymentPlatformReply) GetCode() int32
func (*GetPaymentPlatformReply) GetData ¶
func (x *GetPaymentPlatformReply) GetData() *GetPaymentPlatformData
func (*GetPaymentPlatformReply) GetMessage ¶
func (x *GetPaymentPlatformReply) GetMessage() string
func (*GetPaymentPlatformReply) ProtoMessage ¶
func (*GetPaymentPlatformReply) ProtoMessage()
func (*GetPaymentPlatformReply) ProtoReflect ¶
func (x *GetPaymentPlatformReply) ProtoReflect() protoreflect.Message
func (*GetPaymentPlatformReply) Reset ¶
func (x *GetPaymentPlatformReply) Reset()
func (*GetPaymentPlatformReply) String ¶
func (x *GetPaymentPlatformReply) String() string
func (*GetPaymentPlatformReply) Validate ¶
func (m *GetPaymentPlatformReply) Validate() error
Validate checks the field values on GetPaymentPlatformReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetPaymentPlatformReply) ValidateAll ¶
func (m *GetPaymentPlatformReply) ValidateAll() error
ValidateAll checks the field values on GetPaymentPlatformReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetPaymentPlatformReplyMultiError, or nil if none found.
type GetPaymentPlatformReplyMultiError ¶
type GetPaymentPlatformReplyMultiError []error
GetPaymentPlatformReplyMultiError is an error wrapping multiple validation errors returned by GetPaymentPlatformReply.ValidateAll() if the designated constraints aren't met.
func (GetPaymentPlatformReplyMultiError) AllErrors ¶
func (m GetPaymentPlatformReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetPaymentPlatformReplyMultiError) Error ¶
func (m GetPaymentPlatformReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetPaymentPlatformReplyValidationError ¶
type GetPaymentPlatformReplyValidationError struct {
// contains filtered or unexported fields
}
GetPaymentPlatformReplyValidationError is the validation error returned by GetPaymentPlatformReply.Validate if the designated constraints aren't met.
func (GetPaymentPlatformReplyValidationError) Cause ¶
func (e GetPaymentPlatformReplyValidationError) Cause() error
Cause function returns cause value.
func (GetPaymentPlatformReplyValidationError) Error ¶
func (e GetPaymentPlatformReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetPaymentPlatformReplyValidationError) ErrorName ¶
func (e GetPaymentPlatformReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetPaymentPlatformReplyValidationError) Field ¶
func (e GetPaymentPlatformReplyValidationError) Field() string
Field function returns field value.
func (GetPaymentPlatformReplyValidationError) Key ¶
func (e GetPaymentPlatformReplyValidationError) Key() bool
Key function returns key value.
func (GetPaymentPlatformReplyValidationError) Reason ¶
func (e GetPaymentPlatformReplyValidationError) Reason() string
Reason function returns reason value.
type GetPaymentPlatformRequest ¶
type GetPaymentPlatformRequest struct {
// contains filtered or unexported fields
}
func (*GetPaymentPlatformRequest) Descriptor
deprecated
func (*GetPaymentPlatformRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPaymentPlatformRequest.ProtoReflect.Descriptor instead.
func (*GetPaymentPlatformRequest) ProtoMessage ¶
func (*GetPaymentPlatformRequest) ProtoMessage()
func (*GetPaymentPlatformRequest) ProtoReflect ¶
func (x *GetPaymentPlatformRequest) ProtoReflect() protoreflect.Message
func (*GetPaymentPlatformRequest) Reset ¶
func (x *GetPaymentPlatformRequest) Reset()
func (*GetPaymentPlatformRequest) String ¶
func (x *GetPaymentPlatformRequest) String() string
func (*GetPaymentPlatformRequest) Validate ¶
func (m *GetPaymentPlatformRequest) Validate() error
Validate checks the field values on GetPaymentPlatformRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetPaymentPlatformRequest) ValidateAll ¶
func (m *GetPaymentPlatformRequest) ValidateAll() error
ValidateAll checks the field values on GetPaymentPlatformRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetPaymentPlatformRequestMultiError, or nil if none found.
type GetPaymentPlatformRequestMultiError ¶
type GetPaymentPlatformRequestMultiError []error
GetPaymentPlatformRequestMultiError is an error wrapping multiple validation errors returned by GetPaymentPlatformRequest.ValidateAll() if the designated constraints aren't met.
func (GetPaymentPlatformRequestMultiError) AllErrors ¶
func (m GetPaymentPlatformRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetPaymentPlatformRequestMultiError) Error ¶
func (m GetPaymentPlatformRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetPaymentPlatformRequestValidationError ¶
type GetPaymentPlatformRequestValidationError struct {
// contains filtered or unexported fields
}
GetPaymentPlatformRequestValidationError is the validation error returned by GetPaymentPlatformRequest.Validate if the designated constraints aren't met.
func (GetPaymentPlatformRequestValidationError) Cause ¶
func (e GetPaymentPlatformRequestValidationError) Cause() error
Cause function returns cause value.
func (GetPaymentPlatformRequestValidationError) Error ¶
func (e GetPaymentPlatformRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetPaymentPlatformRequestValidationError) ErrorName ¶
func (e GetPaymentPlatformRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetPaymentPlatformRequestValidationError) Field ¶
func (e GetPaymentPlatformRequestValidationError) Field() string
Field function returns field value.
func (GetPaymentPlatformRequestValidationError) Key ¶
func (e GetPaymentPlatformRequestValidationError) Key() bool
Key function returns key value.
func (GetPaymentPlatformRequestValidationError) Reason ¶
func (e GetPaymentPlatformRequestValidationError) Reason() string
Reason function returns reason value.
type PaymentConfig ¶
type PaymentConfig struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Platform string `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
Icon string `protobuf:"bytes,5,opt,name=icon,proto3" json:"icon,omitempty"`
Domain string `protobuf:"bytes,6,opt,name=domain,proto3" json:"domain,omitempty"`
Config *structpb.Struct `protobuf:"bytes,7,opt,name=config,proto3" json:"config,omitempty"`
FeeMode uint32 `protobuf:"varint,8,opt,name=fee_mode,json=feeMode,proto3" json:"fee_mode,omitempty"`
FeePercent int64 `protobuf:"varint,9,opt,name=fee_percent,json=feePercent,proto3" json:"fee_percent,omitempty"`
FeeAmount int64 `protobuf:"varint,10,opt,name=fee_amount,json=feeAmount,proto3" json:"fee_amount,omitempty"`
Sort int32 `protobuf:"varint,11,opt,name=sort,proto3" json:"sort,omitempty"`
Enable *bool `protobuf:"varint,12,opt,name=enable,proto3,oneof" json:"enable,omitempty"`
// contains filtered or unexported fields
}
func (*PaymentConfig) Descriptor
deprecated
func (*PaymentConfig) Descriptor() ([]byte, []int)
Deprecated: Use PaymentConfig.ProtoReflect.Descriptor instead.
func (*PaymentConfig) GetConfig ¶
func (x *PaymentConfig) GetConfig() *structpb.Struct
func (*PaymentConfig) GetDescription ¶
func (x *PaymentConfig) GetDescription() string
func (*PaymentConfig) GetDomain ¶
func (x *PaymentConfig) GetDomain() string
func (*PaymentConfig) GetEnable ¶
func (x *PaymentConfig) GetEnable() bool
func (*PaymentConfig) GetFeeAmount ¶
func (x *PaymentConfig) GetFeeAmount() int64
func (*PaymentConfig) GetFeeMode ¶
func (x *PaymentConfig) GetFeeMode() uint32
func (*PaymentConfig) GetFeePercent ¶
func (x *PaymentConfig) GetFeePercent() int64
func (*PaymentConfig) GetIcon ¶
func (x *PaymentConfig) GetIcon() string
func (*PaymentConfig) GetId ¶
func (x *PaymentConfig) GetId() int64
func (*PaymentConfig) GetName ¶
func (x *PaymentConfig) GetName() string
func (*PaymentConfig) GetPlatform ¶
func (x *PaymentConfig) GetPlatform() string
func (*PaymentConfig) GetSort ¶
func (x *PaymentConfig) GetSort() int32
func (*PaymentConfig) ProtoMessage ¶
func (*PaymentConfig) ProtoMessage()
func (*PaymentConfig) ProtoReflect ¶
func (x *PaymentConfig) ProtoReflect() protoreflect.Message
func (*PaymentConfig) Reset ¶
func (x *PaymentConfig) Reset()
func (*PaymentConfig) String ¶
func (x *PaymentConfig) String() string
func (*PaymentConfig) Validate ¶
func (m *PaymentConfig) Validate() error
Validate checks the field values on PaymentConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PaymentConfig) ValidateAll ¶
func (m *PaymentConfig) ValidateAll() error
ValidateAll checks the field values on PaymentConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PaymentConfigMultiError, or nil if none found.
type PaymentConfigMultiError ¶
type PaymentConfigMultiError []error
PaymentConfigMultiError is an error wrapping multiple validation errors returned by PaymentConfig.ValidateAll() if the designated constraints aren't met.
func (PaymentConfigMultiError) AllErrors ¶
func (m PaymentConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PaymentConfigMultiError) Error ¶
func (m PaymentConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PaymentConfigValidationError ¶
type PaymentConfigValidationError struct {
// contains filtered or unexported fields
}
PaymentConfigValidationError is the validation error returned by PaymentConfig.Validate if the designated constraints aren't met.
func (PaymentConfigValidationError) Cause ¶
func (e PaymentConfigValidationError) Cause() error
Cause function returns cause value.
func (PaymentConfigValidationError) Error ¶
func (e PaymentConfigValidationError) Error() string
Error satisfies the builtin error interface
func (PaymentConfigValidationError) ErrorName ¶
func (e PaymentConfigValidationError) ErrorName() string
ErrorName returns error name.
func (PaymentConfigValidationError) Field ¶
func (e PaymentConfigValidationError) Field() string
Field function returns field value.
func (PaymentConfigValidationError) Key ¶
func (e PaymentConfigValidationError) Key() bool
Key function returns key value.
func (PaymentConfigValidationError) Reason ¶
func (e PaymentConfigValidationError) Reason() string
Reason function returns reason value.
type PaymentMethodDetail ¶
type PaymentMethodDetail struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Platform string `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
Icon string `protobuf:"bytes,5,opt,name=icon,proto3" json:"icon,omitempty"`
Domain string `protobuf:"bytes,6,opt,name=domain,proto3" json:"domain,omitempty"`
Config *structpb.Struct `protobuf:"bytes,7,opt,name=config,proto3" json:"config,omitempty"`
FeeMode uint32 `protobuf:"varint,8,opt,name=fee_mode,json=feeMode,proto3" json:"fee_mode,omitempty"`
FeePercent int64 `protobuf:"varint,9,opt,name=fee_percent,json=feePercent,proto3" json:"fee_percent,omitempty"`
FeeAmount int64 `protobuf:"varint,10,opt,name=fee_amount,json=feeAmount,proto3" json:"fee_amount,omitempty"`
Sort int32 `protobuf:"varint,11,opt,name=sort,proto3" json:"sort,omitempty"`
Enable bool `protobuf:"varint,12,opt,name=enable,proto3" json:"enable,omitempty"`
NotifyUrl string `protobuf:"bytes,13,opt,name=notify_url,json=notifyUrl,proto3" json:"notify_url,omitempty"`
// contains filtered or unexported fields
}
func (*PaymentMethodDetail) Descriptor
deprecated
func (*PaymentMethodDetail) Descriptor() ([]byte, []int)
Deprecated: Use PaymentMethodDetail.ProtoReflect.Descriptor instead.
func (*PaymentMethodDetail) GetConfig ¶
func (x *PaymentMethodDetail) GetConfig() *structpb.Struct
func (*PaymentMethodDetail) GetDescription ¶
func (x *PaymentMethodDetail) GetDescription() string
func (*PaymentMethodDetail) GetDomain ¶
func (x *PaymentMethodDetail) GetDomain() string
func (*PaymentMethodDetail) GetEnable ¶
func (x *PaymentMethodDetail) GetEnable() bool
func (*PaymentMethodDetail) GetFeeAmount ¶
func (x *PaymentMethodDetail) GetFeeAmount() int64
func (*PaymentMethodDetail) GetFeeMode ¶
func (x *PaymentMethodDetail) GetFeeMode() uint32
func (*PaymentMethodDetail) GetFeePercent ¶
func (x *PaymentMethodDetail) GetFeePercent() int64
func (*PaymentMethodDetail) GetIcon ¶
func (x *PaymentMethodDetail) GetIcon() string
func (*PaymentMethodDetail) GetId ¶
func (x *PaymentMethodDetail) GetId() int64
func (*PaymentMethodDetail) GetName ¶
func (x *PaymentMethodDetail) GetName() string
func (*PaymentMethodDetail) GetNotifyUrl ¶
func (x *PaymentMethodDetail) GetNotifyUrl() string
func (*PaymentMethodDetail) GetPlatform ¶
func (x *PaymentMethodDetail) GetPlatform() string
func (*PaymentMethodDetail) GetSort ¶
func (x *PaymentMethodDetail) GetSort() int32
func (*PaymentMethodDetail) ProtoMessage ¶
func (*PaymentMethodDetail) ProtoMessage()
func (*PaymentMethodDetail) ProtoReflect ¶
func (x *PaymentMethodDetail) ProtoReflect() protoreflect.Message
func (*PaymentMethodDetail) Reset ¶
func (x *PaymentMethodDetail) Reset()
func (*PaymentMethodDetail) String ¶
func (x *PaymentMethodDetail) String() string
func (*PaymentMethodDetail) Validate ¶
func (m *PaymentMethodDetail) Validate() error
Validate checks the field values on PaymentMethodDetail with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PaymentMethodDetail) ValidateAll ¶
func (m *PaymentMethodDetail) ValidateAll() error
ValidateAll checks the field values on PaymentMethodDetail with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PaymentMethodDetailMultiError, or nil if none found.
type PaymentMethodDetailMultiError ¶
type PaymentMethodDetailMultiError []error
PaymentMethodDetailMultiError is an error wrapping multiple validation errors returned by PaymentMethodDetail.ValidateAll() if the designated constraints aren't met.
func (PaymentMethodDetailMultiError) AllErrors ¶
func (m PaymentMethodDetailMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PaymentMethodDetailMultiError) Error ¶
func (m PaymentMethodDetailMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PaymentMethodDetailValidationError ¶
type PaymentMethodDetailValidationError struct {
// contains filtered or unexported fields
}
PaymentMethodDetailValidationError is the validation error returned by PaymentMethodDetail.Validate if the designated constraints aren't met.
func (PaymentMethodDetailValidationError) Cause ¶
func (e PaymentMethodDetailValidationError) Cause() error
Cause function returns cause value.
func (PaymentMethodDetailValidationError) Error ¶
func (e PaymentMethodDetailValidationError) Error() string
Error satisfies the builtin error interface
func (PaymentMethodDetailValidationError) ErrorName ¶
func (e PaymentMethodDetailValidationError) ErrorName() string
ErrorName returns error name.
func (PaymentMethodDetailValidationError) Field ¶
func (e PaymentMethodDetailValidationError) Field() string
Field function returns field value.
func (PaymentMethodDetailValidationError) Key ¶
func (e PaymentMethodDetailValidationError) Key() bool
Key function returns key value.
func (PaymentMethodDetailValidationError) Reason ¶
func (e PaymentMethodDetailValidationError) Reason() string
Reason function returns reason value.
type PaymentPlatform ¶
type PaymentPlatform struct {
Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"`
PlatformUrl string `protobuf:"bytes,2,opt,name=platform_url,proto3" json:"platform_url,omitempty"`
PlatformFieldDescription map[string]string `` /* 193-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*PaymentPlatform) Descriptor
deprecated
func (*PaymentPlatform) Descriptor() ([]byte, []int)
Deprecated: Use PaymentPlatform.ProtoReflect.Descriptor instead.
func (*PaymentPlatform) GetPlatform ¶
func (x *PaymentPlatform) GetPlatform() string
func (*PaymentPlatform) GetPlatformFieldDescription ¶
func (x *PaymentPlatform) GetPlatformFieldDescription() map[string]string
func (*PaymentPlatform) GetPlatformUrl ¶
func (x *PaymentPlatform) GetPlatformUrl() string
func (*PaymentPlatform) ProtoMessage ¶
func (*PaymentPlatform) ProtoMessage()
func (*PaymentPlatform) ProtoReflect ¶
func (x *PaymentPlatform) ProtoReflect() protoreflect.Message
func (*PaymentPlatform) Reset ¶
func (x *PaymentPlatform) Reset()
func (*PaymentPlatform) String ¶
func (x *PaymentPlatform) String() string
func (*PaymentPlatform) Validate ¶
func (m *PaymentPlatform) Validate() error
Validate checks the field values on PaymentPlatform with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PaymentPlatform) ValidateAll ¶
func (m *PaymentPlatform) ValidateAll() error
ValidateAll checks the field values on PaymentPlatform with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PaymentPlatformMultiError, or nil if none found.
type PaymentPlatformMultiError ¶
type PaymentPlatformMultiError []error
PaymentPlatformMultiError is an error wrapping multiple validation errors returned by PaymentPlatform.ValidateAll() if the designated constraints aren't met.
func (PaymentPlatformMultiError) AllErrors ¶
func (m PaymentPlatformMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PaymentPlatformMultiError) Error ¶
func (m PaymentPlatformMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PaymentPlatformValidationError ¶
type PaymentPlatformValidationError struct {
// contains filtered or unexported fields
}
PaymentPlatformValidationError is the validation error returned by PaymentPlatform.Validate if the designated constraints aren't met.
func (PaymentPlatformValidationError) Cause ¶
func (e PaymentPlatformValidationError) Cause() error
Cause function returns cause value.
func (PaymentPlatformValidationError) Error ¶
func (e PaymentPlatformValidationError) Error() string
Error satisfies the builtin error interface
func (PaymentPlatformValidationError) ErrorName ¶
func (e PaymentPlatformValidationError) ErrorName() string
ErrorName returns error name.
func (PaymentPlatformValidationError) Field ¶
func (e PaymentPlatformValidationError) Field() string
Field function returns field value.
func (PaymentPlatformValidationError) Key ¶
func (e PaymentPlatformValidationError) Key() bool
Key function returns key value.
func (PaymentPlatformValidationError) Reason ¶
func (e PaymentPlatformValidationError) Reason() string
Reason function returns reason value.
type PaymentServiceClient ¶
type PaymentServiceClient interface {
CreatePaymentMethod(ctx context.Context, in *CreatePaymentMethodRequest, opts ...grpc.CallOption) (*CreatePaymentMethodReply, error)
UpdatePaymentMethod(ctx context.Context, in *UpdatePaymentMethodRequest, opts ...grpc.CallOption) (*UpdatePaymentMethodReply, error)
DeletePaymentMethod(ctx context.Context, in *DeletePaymentMethodRequest, opts ...grpc.CallOption) (*DeletePaymentMethodReply, error)
GetPaymentMethodList(ctx context.Context, in *GetPaymentMethodListRequest, opts ...grpc.CallOption) (*GetPaymentMethodListReply, error)
GetPaymentPlatform(ctx context.Context, in *GetPaymentPlatformRequest, opts ...grpc.CallOption) (*GetPaymentPlatformReply, error)
}
PaymentServiceClient is the client API for PaymentService 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 NewPaymentServiceClient ¶
func NewPaymentServiceClient(cc grpc.ClientConnInterface) PaymentServiceClient
type PaymentServiceHTTPClient ¶
type PaymentServiceHTTPClient interface {
CreatePaymentMethod(ctx context.Context, req *CreatePaymentMethodRequest, opts ...http.CallOption) (rsp *CreatePaymentMethodReply, err error)
DeletePaymentMethod(ctx context.Context, req *DeletePaymentMethodRequest, opts ...http.CallOption) (rsp *DeletePaymentMethodReply, err error)
GetPaymentMethodList(ctx context.Context, req *GetPaymentMethodListRequest, opts ...http.CallOption) (rsp *GetPaymentMethodListReply, err error)
GetPaymentPlatform(ctx context.Context, req *GetPaymentPlatformRequest, opts ...http.CallOption) (rsp *GetPaymentPlatformReply, err error)
UpdatePaymentMethod(ctx context.Context, req *UpdatePaymentMethodRequest, opts ...http.CallOption) (rsp *UpdatePaymentMethodReply, err error)
}
func NewPaymentServiceHTTPClient ¶
func NewPaymentServiceHTTPClient(client *http.Client) PaymentServiceHTTPClient
type PaymentServiceHTTPClientImpl ¶
type PaymentServiceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*PaymentServiceHTTPClientImpl) CreatePaymentMethod ¶
func (c *PaymentServiceHTTPClientImpl) CreatePaymentMethod(ctx context.Context, in *CreatePaymentMethodRequest, opts ...http.CallOption) (*CreatePaymentMethodReply, error)
func (*PaymentServiceHTTPClientImpl) DeletePaymentMethod ¶
func (c *PaymentServiceHTTPClientImpl) DeletePaymentMethod(ctx context.Context, in *DeletePaymentMethodRequest, opts ...http.CallOption) (*DeletePaymentMethodReply, error)
func (*PaymentServiceHTTPClientImpl) GetPaymentMethodList ¶
func (c *PaymentServiceHTTPClientImpl) GetPaymentMethodList(ctx context.Context, in *GetPaymentMethodListRequest, opts ...http.CallOption) (*GetPaymentMethodListReply, error)
func (*PaymentServiceHTTPClientImpl) GetPaymentPlatform ¶
func (c *PaymentServiceHTTPClientImpl) GetPaymentPlatform(ctx context.Context, in *GetPaymentPlatformRequest, opts ...http.CallOption) (*GetPaymentPlatformReply, error)
func (*PaymentServiceHTTPClientImpl) UpdatePaymentMethod ¶
func (c *PaymentServiceHTTPClientImpl) UpdatePaymentMethod(ctx context.Context, in *UpdatePaymentMethodRequest, opts ...http.CallOption) (*UpdatePaymentMethodReply, error)
type PaymentServiceHTTPServer ¶
type PaymentServiceHTTPServer interface {
CreatePaymentMethod(context.Context, *CreatePaymentMethodRequest) (*CreatePaymentMethodReply, error)
DeletePaymentMethod(context.Context, *DeletePaymentMethodRequest) (*DeletePaymentMethodReply, error)
GetPaymentMethodList(context.Context, *GetPaymentMethodListRequest) (*GetPaymentMethodListReply, error)
GetPaymentPlatform(context.Context, *GetPaymentPlatformRequest) (*GetPaymentPlatformReply, error)
UpdatePaymentMethod(context.Context, *UpdatePaymentMethodRequest) (*UpdatePaymentMethodReply, error)
}
type PaymentServiceServer ¶
type PaymentServiceServer interface {
CreatePaymentMethod(context.Context, *CreatePaymentMethodRequest) (*CreatePaymentMethodReply, error)
UpdatePaymentMethod(context.Context, *UpdatePaymentMethodRequest) (*UpdatePaymentMethodReply, error)
DeletePaymentMethod(context.Context, *DeletePaymentMethodRequest) (*DeletePaymentMethodReply, error)
GetPaymentMethodList(context.Context, *GetPaymentMethodListRequest) (*GetPaymentMethodListReply, error)
GetPaymentPlatform(context.Context, *GetPaymentPlatformRequest) (*GetPaymentPlatformReply, error)
// contains filtered or unexported methods
}
PaymentServiceServer is the server API for PaymentService service. All implementations must embed UnimplementedPaymentServiceServer for forward compatibility.
type UnimplementedPaymentServiceServer ¶
type UnimplementedPaymentServiceServer struct{}
UnimplementedPaymentServiceServer 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 (UnimplementedPaymentServiceServer) CreatePaymentMethod ¶
func (UnimplementedPaymentServiceServer) CreatePaymentMethod(context.Context, *CreatePaymentMethodRequest) (*CreatePaymentMethodReply, error)
func (UnimplementedPaymentServiceServer) DeletePaymentMethod ¶
func (UnimplementedPaymentServiceServer) DeletePaymentMethod(context.Context, *DeletePaymentMethodRequest) (*DeletePaymentMethodReply, error)
func (UnimplementedPaymentServiceServer) GetPaymentMethodList ¶
func (UnimplementedPaymentServiceServer) GetPaymentMethodList(context.Context, *GetPaymentMethodListRequest) (*GetPaymentMethodListReply, error)
func (UnimplementedPaymentServiceServer) GetPaymentPlatform ¶
func (UnimplementedPaymentServiceServer) GetPaymentPlatform(context.Context, *GetPaymentPlatformRequest) (*GetPaymentPlatformReply, error)
func (UnimplementedPaymentServiceServer) UpdatePaymentMethod ¶
func (UnimplementedPaymentServiceServer) UpdatePaymentMethod(context.Context, *UpdatePaymentMethodRequest) (*UpdatePaymentMethodReply, error)
type UnsafePaymentServiceServer ¶
type UnsafePaymentServiceServer interface {
// contains filtered or unexported methods
}
UnsafePaymentServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PaymentServiceServer will result in compilation errors.
type UpdatePaymentMethodReply ¶
type UpdatePaymentMethodReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Data *PaymentConfig `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*UpdatePaymentMethodReply) Descriptor
deprecated
func (*UpdatePaymentMethodReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePaymentMethodReply.ProtoReflect.Descriptor instead.
func (*UpdatePaymentMethodReply) GetCode ¶
func (x *UpdatePaymentMethodReply) GetCode() int32
func (*UpdatePaymentMethodReply) GetData ¶
func (x *UpdatePaymentMethodReply) GetData() *PaymentConfig
func (*UpdatePaymentMethodReply) GetMessage ¶
func (x *UpdatePaymentMethodReply) GetMessage() string
func (*UpdatePaymentMethodReply) ProtoMessage ¶
func (*UpdatePaymentMethodReply) ProtoMessage()
func (*UpdatePaymentMethodReply) ProtoReflect ¶
func (x *UpdatePaymentMethodReply) ProtoReflect() protoreflect.Message
func (*UpdatePaymentMethodReply) Reset ¶
func (x *UpdatePaymentMethodReply) Reset()
func (*UpdatePaymentMethodReply) String ¶
func (x *UpdatePaymentMethodReply) String() string
func (*UpdatePaymentMethodReply) Validate ¶
func (m *UpdatePaymentMethodReply) Validate() error
Validate checks the field values on UpdatePaymentMethodReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdatePaymentMethodReply) ValidateAll ¶
func (m *UpdatePaymentMethodReply) ValidateAll() error
ValidateAll checks the field values on UpdatePaymentMethodReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdatePaymentMethodReplyMultiError, or nil if none found.
type UpdatePaymentMethodReplyMultiError ¶
type UpdatePaymentMethodReplyMultiError []error
UpdatePaymentMethodReplyMultiError is an error wrapping multiple validation errors returned by UpdatePaymentMethodReply.ValidateAll() if the designated constraints aren't met.
func (UpdatePaymentMethodReplyMultiError) AllErrors ¶
func (m UpdatePaymentMethodReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdatePaymentMethodReplyMultiError) Error ¶
func (m UpdatePaymentMethodReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdatePaymentMethodReplyValidationError ¶
type UpdatePaymentMethodReplyValidationError struct {
// contains filtered or unexported fields
}
UpdatePaymentMethodReplyValidationError is the validation error returned by UpdatePaymentMethodReply.Validate if the designated constraints aren't met.
func (UpdatePaymentMethodReplyValidationError) Cause ¶
func (e UpdatePaymentMethodReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdatePaymentMethodReplyValidationError) Error ¶
func (e UpdatePaymentMethodReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdatePaymentMethodReplyValidationError) ErrorName ¶
func (e UpdatePaymentMethodReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdatePaymentMethodReplyValidationError) Field ¶
func (e UpdatePaymentMethodReplyValidationError) Field() string
Field function returns field value.
func (UpdatePaymentMethodReplyValidationError) Key ¶
func (e UpdatePaymentMethodReplyValidationError) Key() bool
Key function returns key value.
func (UpdatePaymentMethodReplyValidationError) Reason ¶
func (e UpdatePaymentMethodReplyValidationError) Reason() string
Reason function returns reason value.
type UpdatePaymentMethodRequest ¶
type UpdatePaymentMethodRequest struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Platform string `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
Icon string `protobuf:"bytes,5,opt,name=icon,proto3" json:"icon,omitempty"`
Domain string `protobuf:"bytes,6,opt,name=domain,proto3" json:"domain,omitempty"`
Config *structpb.Struct `protobuf:"bytes,7,opt,name=config,proto3" json:"config,omitempty"`
FeeMode uint32 `protobuf:"varint,8,opt,name=fee_mode,json=feeMode,proto3" json:"fee_mode,omitempty"`
FeePercent int64 `protobuf:"varint,9,opt,name=fee_percent,json=feePercent,proto3" json:"fee_percent,omitempty"`
FeeAmount int64 `protobuf:"varint,10,opt,name=fee_amount,json=feeAmount,proto3" json:"fee_amount,omitempty"`
Sort int32 `protobuf:"varint,11,opt,name=sort,proto3" json:"sort,omitempty"`
Enable *bool `protobuf:"varint,12,opt,name=enable,proto3,oneof" json:"enable,omitempty"`
// contains filtered or unexported fields
}
func (*UpdatePaymentMethodRequest) Descriptor
deprecated
func (*UpdatePaymentMethodRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePaymentMethodRequest.ProtoReflect.Descriptor instead.
func (*UpdatePaymentMethodRequest) GetConfig ¶
func (x *UpdatePaymentMethodRequest) GetConfig() *structpb.Struct
func (*UpdatePaymentMethodRequest) GetDescription ¶
func (x *UpdatePaymentMethodRequest) GetDescription() string
func (*UpdatePaymentMethodRequest) GetDomain ¶
func (x *UpdatePaymentMethodRequest) GetDomain() string
func (*UpdatePaymentMethodRequest) GetEnable ¶
func (x *UpdatePaymentMethodRequest) GetEnable() bool
func (*UpdatePaymentMethodRequest) GetFeeAmount ¶
func (x *UpdatePaymentMethodRequest) GetFeeAmount() int64
func (*UpdatePaymentMethodRequest) GetFeeMode ¶
func (x *UpdatePaymentMethodRequest) GetFeeMode() uint32
func (*UpdatePaymentMethodRequest) GetFeePercent ¶
func (x *UpdatePaymentMethodRequest) GetFeePercent() int64
func (*UpdatePaymentMethodRequest) GetIcon ¶
func (x *UpdatePaymentMethodRequest) GetIcon() string
func (*UpdatePaymentMethodRequest) GetId ¶
func (x *UpdatePaymentMethodRequest) GetId() int64
func (*UpdatePaymentMethodRequest) GetName ¶
func (x *UpdatePaymentMethodRequest) GetName() string
func (*UpdatePaymentMethodRequest) GetPlatform ¶
func (x *UpdatePaymentMethodRequest) GetPlatform() string
func (*UpdatePaymentMethodRequest) GetSort ¶
func (x *UpdatePaymentMethodRequest) GetSort() int32
func (*UpdatePaymentMethodRequest) ProtoMessage ¶
func (*UpdatePaymentMethodRequest) ProtoMessage()
func (*UpdatePaymentMethodRequest) ProtoReflect ¶
func (x *UpdatePaymentMethodRequest) ProtoReflect() protoreflect.Message
func (*UpdatePaymentMethodRequest) Reset ¶
func (x *UpdatePaymentMethodRequest) Reset()
func (*UpdatePaymentMethodRequest) String ¶
func (x *UpdatePaymentMethodRequest) String() string
func (*UpdatePaymentMethodRequest) Validate ¶
func (m *UpdatePaymentMethodRequest) Validate() error
Validate checks the field values on UpdatePaymentMethodRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdatePaymentMethodRequest) ValidateAll ¶
func (m *UpdatePaymentMethodRequest) ValidateAll() error
ValidateAll checks the field values on UpdatePaymentMethodRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdatePaymentMethodRequestMultiError, or nil if none found.
type UpdatePaymentMethodRequestMultiError ¶
type UpdatePaymentMethodRequestMultiError []error
UpdatePaymentMethodRequestMultiError is an error wrapping multiple validation errors returned by UpdatePaymentMethodRequest.ValidateAll() if the designated constraints aren't met.
func (UpdatePaymentMethodRequestMultiError) AllErrors ¶
func (m UpdatePaymentMethodRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdatePaymentMethodRequestMultiError) Error ¶
func (m UpdatePaymentMethodRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdatePaymentMethodRequestValidationError ¶
type UpdatePaymentMethodRequestValidationError struct {
// contains filtered or unexported fields
}
UpdatePaymentMethodRequestValidationError is the validation error returned by UpdatePaymentMethodRequest.Validate if the designated constraints aren't met.
func (UpdatePaymentMethodRequestValidationError) Cause ¶
func (e UpdatePaymentMethodRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdatePaymentMethodRequestValidationError) Error ¶
func (e UpdatePaymentMethodRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdatePaymentMethodRequestValidationError) ErrorName ¶
func (e UpdatePaymentMethodRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdatePaymentMethodRequestValidationError) Field ¶
func (e UpdatePaymentMethodRequestValidationError) Field() string
Field function returns field value.
func (UpdatePaymentMethodRequestValidationError) Key ¶
func (e UpdatePaymentMethodRequestValidationError) Key() bool
Key function returns key value.
func (UpdatePaymentMethodRequestValidationError) Reason ¶
func (e UpdatePaymentMethodRequestValidationError) Reason() string
Reason function returns reason value.