events_v1

package
v0.0.0-...-97f8d3b Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PaymentProcessedEvent_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "TYPE_FAILED",
		2: "TYPE_SUCCESS",
	}
	PaymentProcessedEvent_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"TYPE_FAILED":      1,
		"TYPE_SUCCESS":     2,
	}
)

Enum value maps for PaymentProcessedEvent_Type.

View Source
var (
	ProductPriceQuoteEvent_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "TYPE_UNAVALIABLE",
		2: "TYPE_AVALIABLE",
	}
	ProductPriceQuoteEvent_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"TYPE_UNAVALIABLE": 1,
		"TYPE_AVALIABLE":   2,
	}
)

Enum value maps for ProductPriceQuoteEvent_Type.

View Source
var (
	ShipmentAllocationEvent_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "TYPE_FAILED",
		2: "TYPE_ALLOCATED",
		3: "TYPE_ALLOCATION_RELEASED",
	}
	ShipmentAllocationEvent_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED":         0,
		"TYPE_FAILED":              1,
		"TYPE_ALLOCATED":           2,
		"TYPE_ALLOCATION_RELEASED": 3,
	}
)

Enum value maps for ShipmentAllocationEvent_Type.

View Source
var (
	StockReservationEvent_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "TYPE_INSUFFICIENT_STOCK",
		2: "TYPE_STOCK_RESERVED",
		3: "TYPE_STOCK_RETURNED",
		4: "TYPE_STOCK_CONSUMED",
	}
	StockReservationEvent_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED":        0,
		"TYPE_INSUFFICIENT_STOCK": 1,
		"TYPE_STOCK_RESERVED":     2,
		"TYPE_STOCK_RETURNED":     3,
		"TYPE_STOCK_CONSUMED":     4,
	}
)

Enum value maps for StockReservationEvent_Type.

View Source
var File_stocklet_events_v1_order_proto protoreflect.FileDescriptor
View Source
var File_stocklet_events_v1_payment_proto protoreflect.FileDescriptor
View Source
var File_stocklet_events_v1_product_proto protoreflect.FileDescriptor
View Source
var File_stocklet_events_v1_shipping_proto protoreflect.FileDescriptor
View Source
var File_stocklet_events_v1_user_proto protoreflect.FileDescriptor
View Source
var File_stocklet_events_v1_warehouse_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BalanceClosedEvent

type BalanceClosedEvent struct {
	Revision   int32   `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
	CustomerId string  `protobuf:"bytes,2,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	Balance    float32 `protobuf:"fixed32,3,opt,name=balance,proto3" json:"balance,omitempty"`
	// contains filtered or unexported fields
}

func (*BalanceClosedEvent) Descriptor deprecated

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

Deprecated: Use BalanceClosedEvent.ProtoReflect.Descriptor instead.

func (*BalanceClosedEvent) GetBalance

func (x *BalanceClosedEvent) GetBalance() float32

func (*BalanceClosedEvent) GetCustomerId

func (x *BalanceClosedEvent) GetCustomerId() string

func (*BalanceClosedEvent) GetRevision

func (x *BalanceClosedEvent) GetRevision() int32

func (*BalanceClosedEvent) ProtoMessage

func (*BalanceClosedEvent) ProtoMessage()

func (*BalanceClosedEvent) ProtoReflect

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

func (*BalanceClosedEvent) Reset

func (x *BalanceClosedEvent) Reset()

func (*BalanceClosedEvent) String

func (x *BalanceClosedEvent) String() string

type BalanceCreatedEvent

type BalanceCreatedEvent struct {
	Revision   int32   `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
	CustomerId string  `protobuf:"bytes,2,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	Balance    float32 `protobuf:"fixed32,3,opt,name=balance,proto3" json:"balance,omitempty"`
	// contains filtered or unexported fields
}

func (*BalanceCreatedEvent) Descriptor deprecated

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

Deprecated: Use BalanceCreatedEvent.ProtoReflect.Descriptor instead.

func (*BalanceCreatedEvent) GetBalance

func (x *BalanceCreatedEvent) GetBalance() float32

func (*BalanceCreatedEvent) GetCustomerId

func (x *BalanceCreatedEvent) GetCustomerId() string

func (*BalanceCreatedEvent) GetRevision

func (x *BalanceCreatedEvent) GetRevision() int32

func (*BalanceCreatedEvent) ProtoMessage

func (*BalanceCreatedEvent) ProtoMessage()

func (*BalanceCreatedEvent) ProtoReflect

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

func (*BalanceCreatedEvent) Reset

func (x *BalanceCreatedEvent) Reset()

func (*BalanceCreatedEvent) String

func (x *BalanceCreatedEvent) String() string

type BalanceCreditedEvent

type BalanceCreditedEvent struct {
	Revision   int32   `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
	CustomerId string  `protobuf:"bytes,2,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	Amount     float32 `protobuf:"fixed32,3,opt,name=amount,proto3" json:"amount,omitempty"`
	NewBalance float32 `protobuf:"fixed32,4,opt,name=new_balance,json=newBalance,proto3" json:"new_balance,omitempty"`
	// contains filtered or unexported fields
}

func (*BalanceCreditedEvent) Descriptor deprecated

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

Deprecated: Use BalanceCreditedEvent.ProtoReflect.Descriptor instead.

func (*BalanceCreditedEvent) GetAmount

func (x *BalanceCreditedEvent) GetAmount() float32

func (*BalanceCreditedEvent) GetCustomerId

func (x *BalanceCreditedEvent) GetCustomerId() string

func (*BalanceCreditedEvent) GetNewBalance

func (x *BalanceCreditedEvent) GetNewBalance() float32

func (*BalanceCreditedEvent) GetRevision

func (x *BalanceCreditedEvent) GetRevision() int32

func (*BalanceCreditedEvent) ProtoMessage

func (*BalanceCreditedEvent) ProtoMessage()

func (*BalanceCreditedEvent) ProtoReflect

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

func (*BalanceCreditedEvent) Reset

func (x *BalanceCreditedEvent) Reset()

func (*BalanceCreditedEvent) String

func (x *BalanceCreditedEvent) String() string

type BalanceDebitedEvent

type BalanceDebitedEvent struct {
	Revision   int32   `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
	CustomerId string  `protobuf:"bytes,2,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	Amount     float32 `protobuf:"fixed32,3,opt,name=amount,proto3" json:"amount,omitempty"`
	NewBalance float32 `protobuf:"fixed32,4,opt,name=new_balance,json=newBalance,proto3" json:"new_balance,omitempty"`
	// contains filtered or unexported fields
}

func (*BalanceDebitedEvent) Descriptor deprecated

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

Deprecated: Use BalanceDebitedEvent.ProtoReflect.Descriptor instead.

func (*BalanceDebitedEvent) GetAmount

func (x *BalanceDebitedEvent) GetAmount() float32

func (*BalanceDebitedEvent) GetCustomerId

func (x *BalanceDebitedEvent) GetCustomerId() string

func (*BalanceDebitedEvent) GetNewBalance

func (x *BalanceDebitedEvent) GetNewBalance() float32

func (*BalanceDebitedEvent) GetRevision

func (x *BalanceDebitedEvent) GetRevision() int32

func (*BalanceDebitedEvent) ProtoMessage

func (*BalanceDebitedEvent) ProtoMessage()

func (*BalanceDebitedEvent) ProtoReflect

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

func (*BalanceDebitedEvent) Reset

func (x *BalanceDebitedEvent) Reset()

func (*BalanceDebitedEvent) String

func (x *BalanceDebitedEvent) String() string

type OrderApprovedEvent

type OrderApprovedEvent struct {
	Revision      int32  `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
	OrderId       string `protobuf:"bytes,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	TransactionId string `protobuf:"bytes,3,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
	ShippingId    string `protobuf:"bytes,4,opt,name=shipping_id,json=shippingId,proto3" json:"shipping_id,omitempty"`
	// contains filtered or unexported fields
}

Order Status = approved

func (*OrderApprovedEvent) Descriptor deprecated

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

Deprecated: Use OrderApprovedEvent.ProtoReflect.Descriptor instead.

func (*OrderApprovedEvent) GetOrderId

func (x *OrderApprovedEvent) GetOrderId() string

func (*OrderApprovedEvent) GetRevision

func (x *OrderApprovedEvent) GetRevision() int32

func (*OrderApprovedEvent) GetShippingId

func (x *OrderApprovedEvent) GetShippingId() string

func (*OrderApprovedEvent) GetTransactionId

func (x *OrderApprovedEvent) GetTransactionId() string

func (*OrderApprovedEvent) ProtoMessage

func (*OrderApprovedEvent) ProtoMessage()

func (*OrderApprovedEvent) ProtoReflect

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

func (*OrderApprovedEvent) Reset

func (x *OrderApprovedEvent) Reset()

func (*OrderApprovedEvent) String

func (x *OrderApprovedEvent) String() string

type OrderCreatedEvent

type OrderCreatedEvent struct {
	Revision       int32            `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
	OrderId        string           `protobuf:"bytes,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	CustomerId     string           `protobuf:"bytes,3,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	ItemQuantities map[string]int32 `` /* 192-byte string literal not displayed */
	// contains filtered or unexported fields
}

Order Status = processing

func (*OrderCreatedEvent) Descriptor deprecated

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

Deprecated: Use OrderCreatedEvent.ProtoReflect.Descriptor instead.

func (*OrderCreatedEvent) GetCustomerId

func (x *OrderCreatedEvent) GetCustomerId() string

func (*OrderCreatedEvent) GetItemQuantities

func (x *OrderCreatedEvent) GetItemQuantities() map[string]int32

func (*OrderCreatedEvent) GetOrderId

func (x *OrderCreatedEvent) GetOrderId() string

func (*OrderCreatedEvent) GetRevision

func (x *OrderCreatedEvent) GetRevision() int32

func (*OrderCreatedEvent) ProtoMessage

func (*OrderCreatedEvent) ProtoMessage()

func (*OrderCreatedEvent) ProtoReflect

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

func (*OrderCreatedEvent) Reset

func (x *OrderCreatedEvent) Reset()

func (*OrderCreatedEvent) String

func (x *OrderCreatedEvent) String() string

type OrderPendingEvent

type OrderPendingEvent struct {
	Revision       int32            `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
	OrderId        string           `protobuf:"bytes,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	CustomerId     string           `protobuf:"bytes,3,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	ItemQuantities map[string]int32 `` /* 192-byte string literal not displayed */
	ItemsPrice     float32          `protobuf:"fixed32,5,opt,name=items_price,json=itemsPrice,proto3" json:"items_price,omitempty"`
	TotalPrice     float32          `protobuf:"fixed32,6,opt,name=total_price,json=totalPrice,proto3" json:"total_price,omitempty"`
	// contains filtered or unexported fields
}

Order Status = pending

func (*OrderPendingEvent) Descriptor deprecated

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

Deprecated: Use OrderPendingEvent.ProtoReflect.Descriptor instead.

func (*OrderPendingEvent) GetCustomerId

func (x *OrderPendingEvent) GetCustomerId() string

func (*OrderPendingEvent) GetItemQuantities

func (x *OrderPendingEvent) GetItemQuantities() map[string]int32

func (*OrderPendingEvent) GetItemsPrice

func (x *OrderPendingEvent) GetItemsPrice() float32

func (*OrderPendingEvent) GetOrderId

func (x *OrderPendingEvent) GetOrderId() string

func (*OrderPendingEvent) GetRevision

func (x *OrderPendingEvent) GetRevision() int32

func (*OrderPendingEvent) GetTotalPrice

func (x *OrderPendingEvent) GetTotalPrice() float32

func (*OrderPendingEvent) ProtoMessage

func (*OrderPendingEvent) ProtoMessage()

func (*OrderPendingEvent) ProtoReflect

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

func (*OrderPendingEvent) Reset

func (x *OrderPendingEvent) Reset()

func (*OrderPendingEvent) String

func (x *OrderPendingEvent) String() string

type OrderRejectedEvent

type OrderRejectedEvent struct {
	Revision      int32   `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
	OrderId       string  `protobuf:"bytes,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	TransactionId *string `protobuf:"bytes,3,opt,name=transaction_id,json=transactionId,proto3,oneof" json:"transaction_id,omitempty"`
	ShippingId    *string `protobuf:"bytes,4,opt,name=shipping_id,json=shippingId,proto3,oneof" json:"shipping_id,omitempty"`
	// contains filtered or unexported fields
}

Order Status = rejected

func (*OrderRejectedEvent) Descriptor deprecated

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

Deprecated: Use OrderRejectedEvent.ProtoReflect.Descriptor instead.

func (*OrderRejectedEvent) GetOrderId

func (x *OrderRejectedEvent) GetOrderId() string

func (*OrderRejectedEvent) GetRevision

func (x *OrderRejectedEvent) GetRevision() int32

func (*OrderRejectedEvent) GetShippingId

func (x *OrderRejectedEvent) GetShippingId() string

func (*OrderRejectedEvent) GetTransactionId

func (x *OrderRejectedEvent) GetTransactionId() string

func (*OrderRejectedEvent) ProtoMessage

func (*OrderRejectedEvent) ProtoMessage()

func (*OrderRejectedEvent) ProtoReflect

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

func (*OrderRejectedEvent) Reset

func (x *OrderRejectedEvent) Reset()

func (*OrderRejectedEvent) String

func (x *OrderRejectedEvent) String() string

type PaymentProcessedEvent

type PaymentProcessedEvent struct {
	Revision      int32                      `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
	Type          PaymentProcessedEvent_Type `protobuf:"varint,2,opt,name=type,proto3,enum=stocklet.events.v1.PaymentProcessedEvent_Type" json:"type,omitempty"`
	OrderId       string                     `protobuf:"bytes,3,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	CustomerId    string                     `protobuf:"bytes,4,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	Amount        float32                    `protobuf:"fixed32,5,opt,name=amount,proto3" json:"amount,omitempty"`
	TransactionId *string                    `protobuf:"bytes,6,opt,name=transaction_id,json=transactionId,proto3,oneof" json:"transaction_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PaymentProcessedEvent) Descriptor deprecated

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

Deprecated: Use PaymentProcessedEvent.ProtoReflect.Descriptor instead.

func (*PaymentProcessedEvent) GetAmount

func (x *PaymentProcessedEvent) GetAmount() float32

func (*PaymentProcessedEvent) GetCustomerId

func (x *PaymentProcessedEvent) GetCustomerId() string

func (*PaymentProcessedEvent) GetOrderId

func (x *PaymentProcessedEvent) GetOrderId() string

func (*PaymentProcessedEvent) GetRevision

func (x *PaymentProcessedEvent) GetRevision() int32

func (*PaymentProcessedEvent) GetTransactionId

func (x *PaymentProcessedEvent) GetTransactionId() string

func (*PaymentProcessedEvent) GetType

func (*PaymentProcessedEvent) ProtoMessage

func (*PaymentProcessedEvent) ProtoMessage()

func (*PaymentProcessedEvent) ProtoReflect

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

func (*PaymentProcessedEvent) Reset

func (x *PaymentProcessedEvent) Reset()

func (*PaymentProcessedEvent) String

func (x *PaymentProcessedEvent) String() string

type PaymentProcessedEvent_Type

type PaymentProcessedEvent_Type int32
const (
	PaymentProcessedEvent_TYPE_UNSPECIFIED PaymentProcessedEvent_Type = 0
	PaymentProcessedEvent_TYPE_FAILED      PaymentProcessedEvent_Type = 1
	PaymentProcessedEvent_TYPE_SUCCESS     PaymentProcessedEvent_Type = 2
)

func (PaymentProcessedEvent_Type) Descriptor

func (PaymentProcessedEvent_Type) Enum

func (PaymentProcessedEvent_Type) EnumDescriptor deprecated

func (PaymentProcessedEvent_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use PaymentProcessedEvent_Type.Descriptor instead.

func (PaymentProcessedEvent_Type) Number

func (PaymentProcessedEvent_Type) String

func (PaymentProcessedEvent_Type) Type

type ProductCreatedEvent

type ProductCreatedEvent struct {
	Revision    int32   `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
	ProductId   string  `protobuf:"bytes,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
	Name        string  `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Description string  `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Price       float32 `protobuf:"fixed32,5,opt,name=price,proto3" json:"price,omitempty"`
	// contains filtered or unexported fields
}

func (*ProductCreatedEvent) Descriptor deprecated

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

Deprecated: Use ProductCreatedEvent.ProtoReflect.Descriptor instead.

func (*ProductCreatedEvent) GetDescription

func (x *ProductCreatedEvent) GetDescription() string

func (*ProductCreatedEvent) GetName

func (x *ProductCreatedEvent) GetName() string

func (*ProductCreatedEvent) GetPrice

func (x *ProductCreatedEvent) GetPrice() float32

func (*ProductCreatedEvent) GetProductId

func (x *ProductCreatedEvent) GetProductId() string

func (*ProductCreatedEvent) GetRevision

func (x *ProductCreatedEvent) GetRevision() int32

func (*ProductCreatedEvent) ProtoMessage

func (*ProductCreatedEvent) ProtoMessage()

func (*ProductCreatedEvent) ProtoReflect

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

func (*ProductCreatedEvent) Reset

func (x *ProductCreatedEvent) Reset()

func (*ProductCreatedEvent) String

func (x *ProductCreatedEvent) String() string

type ProductDeletedEvent

type ProductDeletedEvent struct {
	Revision  int32  `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
	ProductId string `protobuf:"bytes,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ProductDeletedEvent) Descriptor deprecated

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

Deprecated: Use ProductDeletedEvent.ProtoReflect.Descriptor instead.

func (*ProductDeletedEvent) GetProductId

func (x *ProductDeletedEvent) GetProductId() string

func (*ProductDeletedEvent) GetRevision

func (x *ProductDeletedEvent) GetRevision() int32

func (*ProductDeletedEvent) ProtoMessage

func (*ProductDeletedEvent) ProtoMessage()

func (*ProductDeletedEvent) ProtoReflect

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

func (*ProductDeletedEvent) Reset

func (x *ProductDeletedEvent) Reset()

func (*ProductDeletedEvent) String

func (x *ProductDeletedEvent) String() string

type ProductPriceQuoteEvent

type ProductPriceQuoteEvent struct {
	Revision int32                       `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
	Type     ProductPriceQuoteEvent_Type `protobuf:"varint,2,opt,name=type,proto3,enum=stocklet.events.v1.ProductPriceQuoteEvent_Type" json:"type,omitempty"`
	OrderId  string                      `protobuf:"bytes,3,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	// Product ID: Quantity
	ProductQuantities map[string]int32 `` /* 201-byte string literal not displayed */
	// Product ID: Unit Price
	ProductPrices map[string]float32 `` /* 190-byte string literal not displayed */
	TotalPrice    float32            `protobuf:"fixed32,6,opt,name=total_price,json=totalPrice,proto3" json:"total_price,omitempty"`
	// contains filtered or unexported fields
}

func (*ProductPriceQuoteEvent) Descriptor deprecated

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

Deprecated: Use ProductPriceQuoteEvent.ProtoReflect.Descriptor instead.

func (*ProductPriceQuoteEvent) GetOrderId

func (x *ProductPriceQuoteEvent) GetOrderId() string

func (*ProductPriceQuoteEvent) GetProductPrices

func (x *ProductPriceQuoteEvent) GetProductPrices() map[string]float32

func (*ProductPriceQuoteEvent) GetProductQuantities

func (x *ProductPriceQuoteEvent) GetProductQuantities() map[string]int32

func (*ProductPriceQuoteEvent) GetRevision

func (x *ProductPriceQuoteEvent) GetRevision() int32

func (*ProductPriceQuoteEvent) GetTotalPrice

func (x *ProductPriceQuoteEvent) GetTotalPrice() float32

func (*ProductPriceQuoteEvent) GetType

func (*ProductPriceQuoteEvent) ProtoMessage

func (*ProductPriceQuoteEvent) ProtoMessage()

func (*ProductPriceQuoteEvent) ProtoReflect

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

func (*ProductPriceQuoteEvent) Reset

func (x *ProductPriceQuoteEvent) Reset()

func (*ProductPriceQuoteEvent) String

func (x *ProductPriceQuoteEvent) String() string

type ProductPriceQuoteEvent_Type

type ProductPriceQuoteEvent_Type int32
const (
	ProductPriceQuoteEvent_TYPE_UNSPECIFIED ProductPriceQuoteEvent_Type = 0
	ProductPriceQuoteEvent_TYPE_UNAVALIABLE ProductPriceQuoteEvent_Type = 1
	ProductPriceQuoteEvent_TYPE_AVALIABLE   ProductPriceQuoteEvent_Type = 2
)

func (ProductPriceQuoteEvent_Type) Descriptor

func (ProductPriceQuoteEvent_Type) Enum

func (ProductPriceQuoteEvent_Type) EnumDescriptor deprecated

func (ProductPriceQuoteEvent_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use ProductPriceQuoteEvent_Type.Descriptor instead.

func (ProductPriceQuoteEvent_Type) Number

func (ProductPriceQuoteEvent_Type) String

func (ProductPriceQuoteEvent_Type) Type

type ProductPriceUpdatedEvent

type ProductPriceUpdatedEvent struct {
	Revision  int32   `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
	ProductId string  `protobuf:"bytes,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
	Price     float32 `protobuf:"fixed32,3,opt,name=price,proto3" json:"price,omitempty"`
	// contains filtered or unexported fields
}

func (*ProductPriceUpdatedEvent) Descriptor deprecated

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

Deprecated: Use ProductPriceUpdatedEvent.ProtoReflect.Descriptor instead.

func (*ProductPriceUpdatedEvent) GetPrice

func (x *ProductPriceUpdatedEvent) GetPrice() float32

func (*ProductPriceUpdatedEvent) GetProductId

func (x *ProductPriceUpdatedEvent) GetProductId() string

func (*ProductPriceUpdatedEvent) GetRevision

func (x *ProductPriceUpdatedEvent) GetRevision() int32

func (*ProductPriceUpdatedEvent) ProtoMessage

func (*ProductPriceUpdatedEvent) ProtoMessage()

func (*ProductPriceUpdatedEvent) ProtoReflect

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

func (*ProductPriceUpdatedEvent) Reset

func (x *ProductPriceUpdatedEvent) Reset()

func (*ProductPriceUpdatedEvent) String

func (x *ProductPriceUpdatedEvent) String() string

type ShipmentAllocationEvent

type ShipmentAllocationEvent struct {
	Revision          int32                                  `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
	Type              ShipmentAllocationEvent_Type           `protobuf:"varint,2,opt,name=type,proto3,enum=stocklet.events.v1.ShipmentAllocationEvent_Type" json:"type,omitempty"`
	OrderId           string                                 `protobuf:"bytes,3,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	OrderMetadata     *ShipmentAllocationEvent_OrderMetadata `protobuf:"bytes,4,opt,name=order_metadata,json=orderMetadata,proto3" json:"order_metadata,omitempty"`
	ShipmentId        string                                 `protobuf:"bytes,5,opt,name=shipment_id,json=shipmentId,proto3" json:"shipment_id,omitempty"` // provided with type enum value 2+
	ProductQuantities map[string]int32                       ``                                                                                            /* 201-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ShipmentAllocationEvent) Descriptor deprecated

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

Deprecated: Use ShipmentAllocationEvent.ProtoReflect.Descriptor instead.

func (*ShipmentAllocationEvent) GetOrderId

func (x *ShipmentAllocationEvent) GetOrderId() string

func (*ShipmentAllocationEvent) GetOrderMetadata

func (*ShipmentAllocationEvent) GetProductQuantities

func (x *ShipmentAllocationEvent) GetProductQuantities() map[string]int32

func (*ShipmentAllocationEvent) GetRevision

func (x *ShipmentAllocationEvent) GetRevision() int32

func (*ShipmentAllocationEvent) GetShipmentId

func (x *ShipmentAllocationEvent) GetShipmentId() string

func (*ShipmentAllocationEvent) GetType

func (*ShipmentAllocationEvent) ProtoMessage

func (*ShipmentAllocationEvent) ProtoMessage()

func (*ShipmentAllocationEvent) ProtoReflect

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

func (*ShipmentAllocationEvent) Reset

func (x *ShipmentAllocationEvent) Reset()

func (*ShipmentAllocationEvent) String

func (x *ShipmentAllocationEvent) String() string

type ShipmentAllocationEvent_OrderMetadata

type ShipmentAllocationEvent_OrderMetadata struct {
	CustomerId string  `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	ItemsPrice float32 `protobuf:"fixed32,2,opt,name=items_price,json=itemsPrice,proto3" json:"items_price,omitempty"`
	TotalPrice float32 `protobuf:"fixed32,3,opt,name=total_price,json=totalPrice,proto3" json:"total_price,omitempty"`
	// contains filtered or unexported fields
}

func (*ShipmentAllocationEvent_OrderMetadata) Descriptor deprecated

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

Deprecated: Use ShipmentAllocationEvent_OrderMetadata.ProtoReflect.Descriptor instead.

func (*ShipmentAllocationEvent_OrderMetadata) GetCustomerId

func (x *ShipmentAllocationEvent_OrderMetadata) GetCustomerId() string

func (*ShipmentAllocationEvent_OrderMetadata) GetItemsPrice

func (*ShipmentAllocationEvent_OrderMetadata) GetTotalPrice

func (*ShipmentAllocationEvent_OrderMetadata) ProtoMessage

func (*ShipmentAllocationEvent_OrderMetadata) ProtoMessage()

func (*ShipmentAllocationEvent_OrderMetadata) ProtoReflect

func (*ShipmentAllocationEvent_OrderMetadata) Reset

func (*ShipmentAllocationEvent_OrderMetadata) String

type ShipmentAllocationEvent_Type

type ShipmentAllocationEvent_Type int32
const (
	ShipmentAllocationEvent_TYPE_UNSPECIFIED         ShipmentAllocationEvent_Type = 0
	ShipmentAllocationEvent_TYPE_FAILED              ShipmentAllocationEvent_Type = 1
	ShipmentAllocationEvent_TYPE_ALLOCATED           ShipmentAllocationEvent_Type = 2
	ShipmentAllocationEvent_TYPE_ALLOCATION_RELEASED ShipmentAllocationEvent_Type = 3
)

func (ShipmentAllocationEvent_Type) Descriptor

func (ShipmentAllocationEvent_Type) Enum

func (ShipmentAllocationEvent_Type) EnumDescriptor deprecated

func (ShipmentAllocationEvent_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use ShipmentAllocationEvent_Type.Descriptor instead.

func (ShipmentAllocationEvent_Type) Number

func (ShipmentAllocationEvent_Type) String

func (ShipmentAllocationEvent_Type) Type

type ShipmentDispatchedEvent

type ShipmentDispatchedEvent struct {
	Revision          int32            `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
	ShipmentId        string           `protobuf:"bytes,2,opt,name=shipment_id,json=shipmentId,proto3" json:"shipment_id,omitempty"`
	OrderId           string           `protobuf:"bytes,3,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	ProductQuantities map[string]int32 `` /* 201-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ShipmentDispatchedEvent) Descriptor deprecated

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

Deprecated: Use ShipmentDispatchedEvent.ProtoReflect.Descriptor instead.

func (*ShipmentDispatchedEvent) GetOrderId

func (x *ShipmentDispatchedEvent) GetOrderId() string

func (*ShipmentDispatchedEvent) GetProductQuantities

func (x *ShipmentDispatchedEvent) GetProductQuantities() map[string]int32

func (*ShipmentDispatchedEvent) GetRevision

func (x *ShipmentDispatchedEvent) GetRevision() int32

func (*ShipmentDispatchedEvent) GetShipmentId

func (x *ShipmentDispatchedEvent) GetShipmentId() string

func (*ShipmentDispatchedEvent) ProtoMessage

func (*ShipmentDispatchedEvent) ProtoMessage()

func (*ShipmentDispatchedEvent) ProtoReflect

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

func (*ShipmentDispatchedEvent) Reset

func (x *ShipmentDispatchedEvent) Reset()

func (*ShipmentDispatchedEvent) String

func (x *ShipmentDispatchedEvent) String() string

type StockAddedEvent

type StockAddedEvent struct {
	Revision  int32  `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
	ProductId string `protobuf:"bytes,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
	Amount    int32  `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// If the stock is returned as a result of a stock reservation outcome,
	// then the reservation id will be included for reference.
	ReservationId *string `protobuf:"bytes,4,opt,name=reservation_id,json=reservationId,proto3,oneof" json:"reservation_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StockAddedEvent) Descriptor deprecated

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

Deprecated: Use StockAddedEvent.ProtoReflect.Descriptor instead.

func (*StockAddedEvent) GetAmount

func (x *StockAddedEvent) GetAmount() int32

func (*StockAddedEvent) GetProductId

func (x *StockAddedEvent) GetProductId() string

func (*StockAddedEvent) GetReservationId

func (x *StockAddedEvent) GetReservationId() string

func (*StockAddedEvent) GetRevision

func (x *StockAddedEvent) GetRevision() int32

func (*StockAddedEvent) ProtoMessage

func (*StockAddedEvent) ProtoMessage()

func (*StockAddedEvent) ProtoReflect

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

func (*StockAddedEvent) Reset

func (x *StockAddedEvent) Reset()

func (*StockAddedEvent) String

func (x *StockAddedEvent) String() string

type StockCreatedEvent

type StockCreatedEvent struct {
	Revision  int32  `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
	ProductId string `protobuf:"bytes,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
	Quantity  int32  `protobuf:"varint,3,opt,name=quantity,proto3" json:"quantity,omitempty"`
	// contains filtered or unexported fields
}

func (*StockCreatedEvent) Descriptor deprecated

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

Deprecated: Use StockCreatedEvent.ProtoReflect.Descriptor instead.

func (*StockCreatedEvent) GetProductId

func (x *StockCreatedEvent) GetProductId() string

func (*StockCreatedEvent) GetQuantity

func (x *StockCreatedEvent) GetQuantity() int32

func (*StockCreatedEvent) GetRevision

func (x *StockCreatedEvent) GetRevision() int32

func (*StockCreatedEvent) ProtoMessage

func (*StockCreatedEvent) ProtoMessage()

func (*StockCreatedEvent) ProtoReflect

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

func (*StockCreatedEvent) Reset

func (x *StockCreatedEvent) Reset()

func (*StockCreatedEvent) String

func (x *StockCreatedEvent) String() string

type StockRemovedEvent

type StockRemovedEvent struct {
	Revision  int32  `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
	ProductId string `protobuf:"bytes,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
	Amount    int32  `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// If the stock is removed as a result of a stock reservation being closed,
	// then the reservation id will be included for reference.
	ReservationId *string `protobuf:"bytes,4,opt,name=reservation_id,json=reservationId,proto3,oneof" json:"reservation_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StockRemovedEvent) Descriptor deprecated

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

Deprecated: Use StockRemovedEvent.ProtoReflect.Descriptor instead.

func (*StockRemovedEvent) GetAmount

func (x *StockRemovedEvent) GetAmount() int32

func (*StockRemovedEvent) GetProductId

func (x *StockRemovedEvent) GetProductId() string

func (*StockRemovedEvent) GetReservationId

func (x *StockRemovedEvent) GetReservationId() string

func (*StockRemovedEvent) GetRevision

func (x *StockRemovedEvent) GetRevision() int32

func (*StockRemovedEvent) ProtoMessage

func (*StockRemovedEvent) ProtoMessage()

func (*StockRemovedEvent) ProtoReflect

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

func (*StockRemovedEvent) Reset

func (x *StockRemovedEvent) Reset()

func (*StockRemovedEvent) String

func (x *StockRemovedEvent) String() string

type StockReservationEvent

type StockReservationEvent struct {
	Revision         int32                                `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
	Type             StockReservationEvent_Type           `protobuf:"varint,2,opt,name=type,proto3,enum=stocklet.events.v1.StockReservationEvent_Type" json:"type,omitempty"`
	OrderId          string                               `protobuf:"bytes,3,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	OrderMetadata    *StockReservationEvent_OrderMetadata `protobuf:"bytes,4,opt,name=order_metadata,json=orderMetadata,proto3" json:"order_metadata,omitempty"`
	ReservationId    string                               `protobuf:"bytes,5,opt,name=reservation_id,json=reservationId,proto3" json:"reservation_id,omitempty"` // provided with type enum value 2+
	ReservationStock map[string]int32                     ``                                                                                                     // Product ID: Quantity (provided with type enum value 2+)
	/* 198-byte string literal not displayed */
	InsufficientStock []string `protobuf:"bytes,7,rep,name=insufficient_stock,json=insufficientStock,proto3" json:"insufficient_stock,omitempty"` // Product IDs (only provided with TYPE_INSUFFICIENT_STOCK)
	// contains filtered or unexported fields
}

func (*StockReservationEvent) Descriptor deprecated

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

Deprecated: Use StockReservationEvent.ProtoReflect.Descriptor instead.

func (*StockReservationEvent) GetInsufficientStock

func (x *StockReservationEvent) GetInsufficientStock() []string

func (*StockReservationEvent) GetOrderId

func (x *StockReservationEvent) GetOrderId() string

func (*StockReservationEvent) GetOrderMetadata

func (*StockReservationEvent) GetReservationId

func (x *StockReservationEvent) GetReservationId() string

func (*StockReservationEvent) GetReservationStock

func (x *StockReservationEvent) GetReservationStock() map[string]int32

func (*StockReservationEvent) GetRevision

func (x *StockReservationEvent) GetRevision() int32

func (*StockReservationEvent) GetType

func (*StockReservationEvent) ProtoMessage

func (*StockReservationEvent) ProtoMessage()

func (*StockReservationEvent) ProtoReflect

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

func (*StockReservationEvent) Reset

func (x *StockReservationEvent) Reset()

func (*StockReservationEvent) String

func (x *StockReservationEvent) String() string

type StockReservationEvent_OrderMetadata

type StockReservationEvent_OrderMetadata struct {
	CustomerId string  `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	ItemsPrice float32 `protobuf:"fixed32,2,opt,name=items_price,json=itemsPrice,proto3" json:"items_price,omitempty"`
	TotalPrice float32 `protobuf:"fixed32,3,opt,name=total_price,json=totalPrice,proto3" json:"total_price,omitempty"`
	// contains filtered or unexported fields
}

func (*StockReservationEvent_OrderMetadata) Descriptor deprecated

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

Deprecated: Use StockReservationEvent_OrderMetadata.ProtoReflect.Descriptor instead.

func (*StockReservationEvent_OrderMetadata) GetCustomerId

func (x *StockReservationEvent_OrderMetadata) GetCustomerId() string

func (*StockReservationEvent_OrderMetadata) GetItemsPrice

func (x *StockReservationEvent_OrderMetadata) GetItemsPrice() float32

func (*StockReservationEvent_OrderMetadata) GetTotalPrice

func (x *StockReservationEvent_OrderMetadata) GetTotalPrice() float32

func (*StockReservationEvent_OrderMetadata) ProtoMessage

func (*StockReservationEvent_OrderMetadata) ProtoMessage()

func (*StockReservationEvent_OrderMetadata) ProtoReflect

func (*StockReservationEvent_OrderMetadata) Reset

func (*StockReservationEvent_OrderMetadata) String

type StockReservationEvent_Type

type StockReservationEvent_Type int32
const (
	StockReservationEvent_TYPE_UNSPECIFIED        StockReservationEvent_Type = 0
	StockReservationEvent_TYPE_INSUFFICIENT_STOCK StockReservationEvent_Type = 1
	StockReservationEvent_TYPE_STOCK_RESERVED     StockReservationEvent_Type = 2
	StockReservationEvent_TYPE_STOCK_RETURNED     StockReservationEvent_Type = 3
	StockReservationEvent_TYPE_STOCK_CONSUMED     StockReservationEvent_Type = 4
)

func (StockReservationEvent_Type) Descriptor

func (StockReservationEvent_Type) Enum

func (StockReservationEvent_Type) EnumDescriptor deprecated

func (StockReservationEvent_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use StockReservationEvent_Type.Descriptor instead.

func (StockReservationEvent_Type) Number

func (StockReservationEvent_Type) String

func (StockReservationEvent_Type) Type

type TransactionLoggedEvent

type TransactionLoggedEvent struct {
	Revision      int32   `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
	TransactionId string  `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
	Amount        float32 `protobuf:"fixed32,3,opt,name=amount,proto3" json:"amount,omitempty"`
	OrderId       string  `protobuf:"bytes,4,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	CustomerId    string  `protobuf:"bytes,5,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionLoggedEvent) Descriptor deprecated

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

Deprecated: Use TransactionLoggedEvent.ProtoReflect.Descriptor instead.

func (*TransactionLoggedEvent) GetAmount

func (x *TransactionLoggedEvent) GetAmount() float32

func (*TransactionLoggedEvent) GetCustomerId

func (x *TransactionLoggedEvent) GetCustomerId() string

func (*TransactionLoggedEvent) GetOrderId

func (x *TransactionLoggedEvent) GetOrderId() string

func (*TransactionLoggedEvent) GetRevision

func (x *TransactionLoggedEvent) GetRevision() int32

func (*TransactionLoggedEvent) GetTransactionId

func (x *TransactionLoggedEvent) GetTransactionId() string

func (*TransactionLoggedEvent) ProtoMessage

func (*TransactionLoggedEvent) ProtoMessage()

func (*TransactionLoggedEvent) ProtoReflect

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

func (*TransactionLoggedEvent) Reset

func (x *TransactionLoggedEvent) Reset()

func (*TransactionLoggedEvent) String

func (x *TransactionLoggedEvent) String() string

type TransactionReversedEvent

type TransactionReversedEvent struct {
	Revision      int32   `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
	TransactionId string  `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
	Amount        float32 `protobuf:"fixed32,3,opt,name=amount,proto3" json:"amount,omitempty"`
	OrderId       string  `protobuf:"bytes,4,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	CustomerId    string  `protobuf:"bytes,5,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionReversedEvent) Descriptor deprecated

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

Deprecated: Use TransactionReversedEvent.ProtoReflect.Descriptor instead.

func (*TransactionReversedEvent) GetAmount

func (x *TransactionReversedEvent) GetAmount() float32

func (*TransactionReversedEvent) GetCustomerId

func (x *TransactionReversedEvent) GetCustomerId() string

func (*TransactionReversedEvent) GetOrderId

func (x *TransactionReversedEvent) GetOrderId() string

func (*TransactionReversedEvent) GetRevision

func (x *TransactionReversedEvent) GetRevision() int32

func (*TransactionReversedEvent) GetTransactionId

func (x *TransactionReversedEvent) GetTransactionId() string

func (*TransactionReversedEvent) ProtoMessage

func (*TransactionReversedEvent) ProtoMessage()

func (*TransactionReversedEvent) ProtoReflect

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

func (*TransactionReversedEvent) Reset

func (x *TransactionReversedEvent) Reset()

func (*TransactionReversedEvent) String

func (x *TransactionReversedEvent) String() string

type UserCreatedEvent

type UserCreatedEvent struct {
	Revision  int32  `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
	UserId    string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Email     string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	FirstName string `protobuf:"bytes,4,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	LastName  string `protobuf:"bytes,5,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	// contains filtered or unexported fields
}

func (*UserCreatedEvent) Descriptor deprecated

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

Deprecated: Use UserCreatedEvent.ProtoReflect.Descriptor instead.

func (*UserCreatedEvent) GetEmail

func (x *UserCreatedEvent) GetEmail() string

func (*UserCreatedEvent) GetFirstName

func (x *UserCreatedEvent) GetFirstName() string

func (*UserCreatedEvent) GetLastName

func (x *UserCreatedEvent) GetLastName() string

func (*UserCreatedEvent) GetRevision

func (x *UserCreatedEvent) GetRevision() int32

func (*UserCreatedEvent) GetUserId

func (x *UserCreatedEvent) GetUserId() string

func (*UserCreatedEvent) ProtoMessage

func (*UserCreatedEvent) ProtoMessage()

func (*UserCreatedEvent) ProtoReflect

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

func (*UserCreatedEvent) Reset

func (x *UserCreatedEvent) Reset()

func (*UserCreatedEvent) String

func (x *UserCreatedEvent) String() string

type UserDeletedEvent

type UserDeletedEvent struct {
	Revision int32  `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
	UserId   string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Email    string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*UserDeletedEvent) Descriptor deprecated

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

Deprecated: Use UserDeletedEvent.ProtoReflect.Descriptor instead.

func (*UserDeletedEvent) GetEmail

func (x *UserDeletedEvent) GetEmail() string

func (*UserDeletedEvent) GetRevision

func (x *UserDeletedEvent) GetRevision() int32

func (*UserDeletedEvent) GetUserId

func (x *UserDeletedEvent) GetUserId() string

func (*UserDeletedEvent) ProtoMessage

func (*UserDeletedEvent) ProtoMessage()

func (*UserDeletedEvent) ProtoReflect

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

func (*UserDeletedEvent) Reset

func (x *UserDeletedEvent) Reset()

func (*UserDeletedEvent) String

func (x *UserDeletedEvent) String() string

type UserEmailUpdatedEvent

type UserEmailUpdatedEvent struct {
	Revision int32  `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
	UserId   string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Email    string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*UserEmailUpdatedEvent) Descriptor deprecated

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

Deprecated: Use UserEmailUpdatedEvent.ProtoReflect.Descriptor instead.

func (*UserEmailUpdatedEvent) GetEmail

func (x *UserEmailUpdatedEvent) GetEmail() string

func (*UserEmailUpdatedEvent) GetRevision

func (x *UserEmailUpdatedEvent) GetRevision() int32

func (*UserEmailUpdatedEvent) GetUserId

func (x *UserEmailUpdatedEvent) GetUserId() string

func (*UserEmailUpdatedEvent) ProtoMessage

func (*UserEmailUpdatedEvent) ProtoMessage()

func (*UserEmailUpdatedEvent) ProtoReflect

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

func (*UserEmailUpdatedEvent) Reset

func (x *UserEmailUpdatedEvent) Reset()

func (*UserEmailUpdatedEvent) String

func (x *UserEmailUpdatedEvent) String() string

Jump to

Keyboard shortcuts

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