concertspb

package
v0.0.0-...-e2d27dd Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_order_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Address

type Address struct {
	Street  *string `protobuf:"bytes,1,opt,name=street,proto3,oneof" json:"street,omitempty"`
	City    *string `protobuf:"bytes,2,opt,name=city,proto3,oneof" json:"city,omitempty"`
	State   *string `protobuf:"bytes,3,opt,name=state,proto3,oneof" json:"state,omitempty"`
	Country *string `protobuf:"bytes,4,opt,name=country,proto3,oneof" json:"country,omitempty"`
	// contains filtered or unexported fields
}

func CreateAddress

func CreateAddress(street, city, state, country string) *Address

func (*Address) Descriptor deprecated

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

Deprecated: Use Address.ProtoReflect.Descriptor instead.

func (*Address) GetCity

func (x *Address) GetCity() string

func (*Address) GetCountry

func (x *Address) GetCountry() string

func (*Address) GetState

func (x *Address) GetState() string

func (*Address) GetStreet

func (x *Address) GetStreet() string

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) ProtoReflect

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

func (*Address) Reset

func (x *Address) Reset()

func (*Address) String

func (x *Address) String() string

type Item

type Item struct {
	ProductName *string `protobuf:"bytes,1,opt,name=product_name,json=productName,proto3,oneof" json:"product_name,omitempty"`
	Quantity    *int32  `protobuf:"varint,2,opt,name=quantity,proto3,oneof" json:"quantity,omitempty"`
	// contains filtered or unexported fields
}

func CreateItem

func CreateItem(productName string, quantity int32) *Item

func (*Item) Descriptor deprecated

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

Deprecated: Use Item.ProtoReflect.Descriptor instead.

func (*Item) GetProductName

func (x *Item) GetProductName() string

func (*Item) GetQuantity

func (x *Item) GetQuantity() int32

func (*Item) ProtoMessage

func (*Item) ProtoMessage()

func (*Item) ProtoReflect

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

func (*Item) Reset

func (x *Item) Reset()

func (*Item) String

func (x *Item) String() string

type TicketOrder

type TicketOrder struct {
	OrderNumber     *string  `protobuf:"bytes,1,opt,name=order_number,json=orderNumber,proto3,oneof" json:"order_number,omitempty"`
	Date            *int64   `protobuf:"varint,2,opt,name=date,proto3,oneof" json:"date,omitempty"`
	ShippingAddress *Address `protobuf:"bytes,3,opt,name=shipping_address,json=shippingAddress,proto3,oneof" json:"shipping_address,omitempty"`
	LineItem        []*Item  `protobuf:"bytes,4,rep,name=line_item,json=lineItem,proto3" json:"line_item,omitempty"`
	// contains filtered or unexported fields
}

func CreateTicketOrder

func CreateTicketOrder(orderNumber string, date int64, shippingAddress *Address, items []*Item) *TicketOrder

func (*TicketOrder) Descriptor deprecated

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

Deprecated: Use TicketOrder.ProtoReflect.Descriptor instead.

func (*TicketOrder) GetDate

func (x *TicketOrder) GetDate() int64

func (*TicketOrder) GetLineItem

func (x *TicketOrder) GetLineItem() []*Item

func (*TicketOrder) GetOrderNumber

func (x *TicketOrder) GetOrderNumber() string

func (*TicketOrder) GetShippingAddress

func (x *TicketOrder) GetShippingAddress() *Address

func (*TicketOrder) ProtoMessage

func (*TicketOrder) ProtoMessage()

func (*TicketOrder) ProtoReflect

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

func (*TicketOrder) Reset

func (x *TicketOrder) Reset()

func (*TicketOrder) Scan

func (x *TicketOrder) Scan(dest interface{}) error

func (*TicketOrder) String

func (x *TicketOrder) String() string

func (*TicketOrder) Value

func (x *TicketOrder) Value() (driver.Value, error)

type TicketOrderHistory

type TicketOrderHistory struct {
	OrderNumber *string `protobuf:"bytes,1,opt,name=order_number,json=orderNumber,proto3,oneof" json:"order_number,omitempty"`
	Date        *int64  `protobuf:"varint,2,opt,name=date,proto3,oneof" json:"date,omitempty"`
	// contains filtered or unexported fields
}

func (*TicketOrderHistory) Descriptor deprecated

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

Deprecated: Use TicketOrderHistory.ProtoReflect.Descriptor instead.

func (*TicketOrderHistory) GetDate

func (x *TicketOrderHistory) GetDate() int64

func (*TicketOrderHistory) GetOrderNumber

func (x *TicketOrderHistory) GetOrderNumber() string

func (*TicketOrderHistory) ProtoMessage

func (*TicketOrderHistory) ProtoMessage()

func (*TicketOrderHistory) ProtoReflect

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

func (*TicketOrderHistory) Reset

func (x *TicketOrderHistory) Reset()

func (*TicketOrderHistory) String

func (x *TicketOrderHistory) String() string

Jump to

Keyboard shortcuts

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