schema

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2021 License: MIT Imports: 8 Imported by: 1 module, 1 package

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 added in v0.7.0

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

func (*Payment) Reset

func (x *Payment) Reset()

func (*Payment) String

func (x *Payment) String() string

func (*Payment) Validate added in v0.7.0

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 added in v0.7.0

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

func (*PaymentEvent) Reset

func (x *PaymentEvent) Reset()

func (*PaymentEvent) String

func (x *PaymentEvent) String() string

func (*PaymentEvent) Validate added in v0.7.0

func (this *PaymentEvent) Validate() error

type PaymentList added in v0.4.2

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

func (*PaymentList) Descriptor deprecated added in v0.4.2

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

Deprecated: Use PaymentList.ProtoReflect.Descriptor instead.

func (*PaymentList) GetItems added in v0.4.2

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

func (*PaymentList) ProtoMessage added in v0.4.2

func (*PaymentList) ProtoMessage()

func (*PaymentList) ProtoReflect added in v0.7.0

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

func (*PaymentList) Reset added in v0.4.2

func (x *PaymentList) Reset()

func (*PaymentList) String added in v0.4.2

func (x *PaymentList) String() string

func (*PaymentList) Validate added in v0.7.0

func (this *PaymentList) Validate() error

Jump to

Keyboard shortcuts

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