v1

package
v1.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2026 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
View Source
const OperationPaymentServiceCreatePaymentMethod = "/api.admin.payment.v1.PaymentService/CreatePaymentMethod"
View Source
const OperationPaymentServiceDeletePaymentMethod = "/api.admin.payment.v1.PaymentService/DeletePaymentMethod"
View Source
const OperationPaymentServiceGetPaymentMethodList = "/api.admin.payment.v1.PaymentService/GetPaymentMethodList"
View Source
const OperationPaymentServiceGetPaymentPlatform = "/api.admin.payment.v1.PaymentService/GetPaymentPlatform"
View Source
const OperationPaymentServiceUpdatePaymentMethod = "/api.admin.payment.v1.PaymentService/UpdatePaymentMethod"

Variables

View Source
var File_admin_payment_v1_payment_proto protoreflect.FileDescriptor
View Source
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 (*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

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

Cause function returns cause value.

func (CreatePaymentMethodReplyValidationError) Error

Error satisfies the builtin error interface

func (CreatePaymentMethodReplyValidationError) ErrorName

ErrorName returns error name.

func (CreatePaymentMethodReplyValidationError) Field

Field function returns field value.

func (CreatePaymentMethodReplyValidationError) Key

Key function returns key value.

func (CreatePaymentMethodReplyValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (CreatePaymentMethodRequestMultiError) Error

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

Cause function returns cause value.

func (CreatePaymentMethodRequestValidationError) Error

Error satisfies the builtin error interface

func (CreatePaymentMethodRequestValidationError) ErrorName

ErrorName returns error name.

func (CreatePaymentMethodRequestValidationError) Field

Field function returns field value.

func (CreatePaymentMethodRequestValidationError) Key

Key function returns key value.

func (CreatePaymentMethodRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeletePaymentMethodReplyValidationError) Error

Error satisfies the builtin error interface

func (DeletePaymentMethodReplyValidationError) ErrorName

ErrorName returns error name.

func (DeletePaymentMethodReplyValidationError) Field

Field function returns field value.

func (DeletePaymentMethodReplyValidationError) Key

Key function returns key value.

func (DeletePaymentMethodReplyValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (DeletePaymentMethodRequestMultiError) Error

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

Cause function returns cause value.

func (DeletePaymentMethodRequestValidationError) Error

Error satisfies the builtin error interface

func (DeletePaymentMethodRequestValidationError) ErrorName

ErrorName returns error name.

func (DeletePaymentMethodRequestValidationError) Field

Field function returns field value.

func (DeletePaymentMethodRequestValidationError) Key

Key function returns key value.

func (DeletePaymentMethodRequestValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (GetPaymentMethodListDataValidationError) Error

Error satisfies the builtin error interface

func (GetPaymentMethodListDataValidationError) ErrorName

ErrorName returns error name.

func (GetPaymentMethodListDataValidationError) Field

Field function returns field value.

func (GetPaymentMethodListDataValidationError) Key

Key function returns key value.

func (GetPaymentMethodListDataValidationError) Reason

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 (*GetPaymentMethodListReply) GetMessage

func (x *GetPaymentMethodListReply) GetMessage() string

func (*GetPaymentMethodListReply) ProtoMessage

func (*GetPaymentMethodListReply) ProtoMessage()

func (*GetPaymentMethodListReply) ProtoReflect

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

AllErrors returns a list of validation violation errors.

func (GetPaymentMethodListReplyMultiError) Error

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

Cause function returns cause value.

func (GetPaymentMethodListReplyValidationError) Error

Error satisfies the builtin error interface

func (GetPaymentMethodListReplyValidationError) ErrorName

ErrorName returns error name.

func (GetPaymentMethodListReplyValidationError) Field

Field function returns field value.

func (GetPaymentMethodListReplyValidationError) Key

Key function returns key value.

func (GetPaymentMethodListReplyValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (GetPaymentMethodListRequestMultiError) Error

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

Cause function returns cause value.

func (GetPaymentMethodListRequestValidationError) Error

Error satisfies the builtin error interface

func (GetPaymentMethodListRequestValidationError) ErrorName

ErrorName returns error name.

func (GetPaymentMethodListRequestValidationError) Field

Field function returns field value.

func (GetPaymentMethodListRequestValidationError) Key

Key function returns key value.

func (GetPaymentMethodListRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetPaymentPlatformDataValidationError) Error

Error satisfies the builtin error interface

func (GetPaymentPlatformDataValidationError) ErrorName

ErrorName returns error name.

func (GetPaymentPlatformDataValidationError) Field

Field function returns field value.

func (GetPaymentPlatformDataValidationError) Key

Key function returns key value.

func (GetPaymentPlatformDataValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (GetPaymentPlatformReplyValidationError) Error

Error satisfies the builtin error interface

func (GetPaymentPlatformReplyValidationError) ErrorName

ErrorName returns error name.

func (GetPaymentPlatformReplyValidationError) Field

Field function returns field value.

func (GetPaymentPlatformReplyValidationError) Key

Key function returns key value.

func (GetPaymentPlatformReplyValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (GetPaymentPlatformRequestMultiError) Error

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

Cause function returns cause value.

func (GetPaymentPlatformRequestValidationError) Error

Error satisfies the builtin error interface

func (GetPaymentPlatformRequestValidationError) ErrorName

ErrorName returns error name.

func (GetPaymentPlatformRequestValidationError) Field

Field function returns field value.

func (GetPaymentPlatformRequestValidationError) Key

Key function returns key value.

func (GetPaymentPlatformRequestValidationError) Reason

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

Cause function returns cause value.

func (PaymentConfigValidationError) Error

Error satisfies the builtin error interface

func (PaymentConfigValidationError) ErrorName

func (e PaymentConfigValidationError) ErrorName() string

ErrorName returns error name.

func (PaymentConfigValidationError) Field

Field function returns field value.

func (PaymentConfigValidationError) Key

Key function returns key value.

func (PaymentConfigValidationError) Reason

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

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

Cause function returns cause value.

func (PaymentMethodDetailValidationError) Error

Error satisfies the builtin error interface

func (PaymentMethodDetailValidationError) ErrorName

ErrorName returns error name.

func (PaymentMethodDetailValidationError) Field

Field function returns field value.

func (PaymentMethodDetailValidationError) Key

Key function returns key value.

func (PaymentMethodDetailValidationError) Reason

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

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

Cause function returns cause value.

func (PaymentPlatformValidationError) Error

Error satisfies the builtin error interface

func (PaymentPlatformValidationError) ErrorName

func (e PaymentPlatformValidationError) ErrorName() string

ErrorName returns error name.

func (PaymentPlatformValidationError) Field

Field function returns field value.

func (PaymentPlatformValidationError) Key

Key function returns key value.

func (PaymentPlatformValidationError) Reason

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.

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 (*PaymentServiceHTTPClientImpl) DeletePaymentMethod

func (*PaymentServiceHTTPClientImpl) GetPaymentMethodList

func (*PaymentServiceHTTPClientImpl) GetPaymentPlatform

func (*PaymentServiceHTTPClientImpl) UpdatePaymentMethod

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) DeletePaymentMethod

func (UnimplementedPaymentServiceServer) GetPaymentMethodList

func (UnimplementedPaymentServiceServer) GetPaymentPlatform

func (UnimplementedPaymentServiceServer) UpdatePaymentMethod

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 (*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

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

Cause function returns cause value.

func (UpdatePaymentMethodReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdatePaymentMethodReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdatePaymentMethodReplyValidationError) Field

Field function returns field value.

func (UpdatePaymentMethodReplyValidationError) Key

Key function returns key value.

func (UpdatePaymentMethodReplyValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (UpdatePaymentMethodRequestMultiError) Error

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

Cause function returns cause value.

func (UpdatePaymentMethodRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdatePaymentMethodRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdatePaymentMethodRequestValidationError) Field

Field function returns field value.

func (UpdatePaymentMethodRequestValidationError) Key

Key function returns key value.

func (UpdatePaymentMethodRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL