v1

package
v0.0.5-0...-8e55a6f Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: Apache-2.0, MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_order_event_v1_event_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type OrderPaySuccessEvent

type OrderPaySuccessEvent struct {
	Order *v1.Order `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"`
	// contains filtered or unexported fields
}

func (*OrderPaySuccessEvent) Descriptor deprecated

func (*OrderPaySuccessEvent) Descriptor() ([]byte, []int)

Deprecated: Use OrderPaySuccessEvent.ProtoReflect.Descriptor instead.

func (*OrderPaySuccessEvent) GetOrder

func (x *OrderPaySuccessEvent) GetOrder() *v1.Order

func (*OrderPaySuccessEvent) ProtoMessage

func (*OrderPaySuccessEvent) ProtoMessage()

func (*OrderPaySuccessEvent) ProtoReflect

func (x *OrderPaySuccessEvent) ProtoReflect() protoreflect.Message

func (*OrderPaySuccessEvent) Reset

func (x *OrderPaySuccessEvent) Reset()

func (*OrderPaySuccessEvent) String

func (x *OrderPaySuccessEvent) String() string

func (*OrderPaySuccessEvent) Validate

func (m *OrderPaySuccessEvent) Validate() error

Validate checks the field values on OrderPaySuccessEvent 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 (*OrderPaySuccessEvent) ValidateAll

func (m *OrderPaySuccessEvent) ValidateAll() error

ValidateAll checks the field values on OrderPaySuccessEvent 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 OrderPaySuccessEventMultiError, or nil if none found.

type OrderPaySuccessEventMultiError

type OrderPaySuccessEventMultiError []error

OrderPaySuccessEventMultiError is an error wrapping multiple validation errors returned by OrderPaySuccessEvent.ValidateAll() if the designated constraints aren't met.

func (OrderPaySuccessEventMultiError) AllErrors

func (m OrderPaySuccessEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OrderPaySuccessEventMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type OrderPaySuccessEventValidationError

type OrderPaySuccessEventValidationError struct {
	// contains filtered or unexported fields
}

OrderPaySuccessEventValidationError is the validation error returned by OrderPaySuccessEvent.Validate if the designated constraints aren't met.

func (OrderPaySuccessEventValidationError) Cause

Cause function returns cause value.

func (OrderPaySuccessEventValidationError) Error

Error satisfies the builtin error interface

func (OrderPaySuccessEventValidationError) ErrorName

ErrorName returns error name.

func (OrderPaySuccessEventValidationError) Field

Field function returns field value.

func (OrderPaySuccessEventValidationError) Key

Key function returns key value.

func (OrderPaySuccessEventValidationError) Reason

Reason function returns reason value.

type OrderRefundSuccessEvent

type OrderRefundSuccessEvent struct {
	Order *v1.Order `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"`
	// contains filtered or unexported fields
}

func (*OrderRefundSuccessEvent) Descriptor deprecated

func (*OrderRefundSuccessEvent) Descriptor() ([]byte, []int)

Deprecated: Use OrderRefundSuccessEvent.ProtoReflect.Descriptor instead.

func (*OrderRefundSuccessEvent) GetOrder

func (x *OrderRefundSuccessEvent) GetOrder() *v1.Order

func (*OrderRefundSuccessEvent) ProtoMessage

func (*OrderRefundSuccessEvent) ProtoMessage()

func (*OrderRefundSuccessEvent) ProtoReflect

func (x *OrderRefundSuccessEvent) ProtoReflect() protoreflect.Message

func (*OrderRefundSuccessEvent) Reset

func (x *OrderRefundSuccessEvent) Reset()

func (*OrderRefundSuccessEvent) String

func (x *OrderRefundSuccessEvent) String() string

func (*OrderRefundSuccessEvent) Validate

func (m *OrderRefundSuccessEvent) Validate() error

Validate checks the field values on OrderRefundSuccessEvent 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 (*OrderRefundSuccessEvent) ValidateAll

func (m *OrderRefundSuccessEvent) ValidateAll() error

ValidateAll checks the field values on OrderRefundSuccessEvent 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 OrderRefundSuccessEventMultiError, or nil if none found.

type OrderRefundSuccessEventMultiError

type OrderRefundSuccessEventMultiError []error

OrderRefundSuccessEventMultiError is an error wrapping multiple validation errors returned by OrderRefundSuccessEvent.ValidateAll() if the designated constraints aren't met.

func (OrderRefundSuccessEventMultiError) AllErrors

func (m OrderRefundSuccessEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OrderRefundSuccessEventMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type OrderRefundSuccessEventValidationError

type OrderRefundSuccessEventValidationError struct {
	// contains filtered or unexported fields
}

OrderRefundSuccessEventValidationError is the validation error returned by OrderRefundSuccessEvent.Validate if the designated constraints aren't met.

func (OrderRefundSuccessEventValidationError) Cause

Cause function returns cause value.

func (OrderRefundSuccessEventValidationError) Error

Error satisfies the builtin error interface

func (OrderRefundSuccessEventValidationError) ErrorName

ErrorName returns error name.

func (OrderRefundSuccessEventValidationError) Field

Field function returns field value.

func (OrderRefundSuccessEventValidationError) Key

Key function returns key value.

func (OrderRefundSuccessEventValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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