schema

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: Apache-2.0 Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_payment_schema_payment_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Payment

type Payment struct {
	Type   string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Id     string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Amount int32  `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*Payment) Descriptor deprecated

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

Deprecated: Use Payment.ProtoReflect.Descriptor instead.

func (*Payment) GetAmount

func (x *Payment) GetAmount() int32

func (*Payment) GetId

func (x *Payment) GetId() string

func (*Payment) GetType

func (x *Payment) GetType() string

func (*Payment) ProtoMessage

func (*Payment) ProtoMessage()

func (*Payment) ProtoReflect

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

func (*Payment) Reset

func (x *Payment) Reset()

func (*Payment) String

func (x *Payment) String() string

func (*Payment) Validate

func (this *Payment) Validate() error

type PaymentEvent

type PaymentEvent struct {
	Type   string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Id     string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Amount int32  `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*PaymentEvent) Descriptor deprecated

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

Deprecated: Use PaymentEvent.ProtoReflect.Descriptor instead.

func (*PaymentEvent) GetAmount

func (x *PaymentEvent) GetAmount() int32

func (*PaymentEvent) GetId

func (x *PaymentEvent) GetId() string

func (*PaymentEvent) GetType

func (x *PaymentEvent) GetType() string

func (*PaymentEvent) ProtoMessage

func (*PaymentEvent) ProtoMessage()

func (*PaymentEvent) ProtoReflect

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

func (*PaymentEvent) Reset

func (x *PaymentEvent) Reset()

func (*PaymentEvent) String

func (x *PaymentEvent) String() string

func (*PaymentEvent) Validate

func (this *PaymentEvent) Validate() error

type PaymentList

type PaymentList struct {
	Items []*Payment `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*PaymentList) Descriptor deprecated

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

Deprecated: Use PaymentList.ProtoReflect.Descriptor instead.

func (*PaymentList) GetItems

func (x *PaymentList) GetItems() []*Payment

func (*PaymentList) ProtoMessage

func (*PaymentList) ProtoMessage()

func (*PaymentList) ProtoReflect

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

func (*PaymentList) Reset

func (x *PaymentList) Reset()

func (*PaymentList) String

func (x *PaymentList) String() string

func (*PaymentList) Validate

func (this *PaymentList) Validate() error

Jump to

Keyboard shortcuts

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