order_grpc_service

package
v0.0.0-...-064cf75 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 10 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_order_proto protoreflect.FileDescriptor
View Source
var OrderGrpcService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "orderGrpcService",
	HandlerType: (*OrderGrpcServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UpsertOrder",
			Handler:    _OrderGrpcService_UpsertOrder_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "order.proto",
}

OrderGrpcService_ServiceDesc is the grpc.ServiceDesc for OrderGrpcService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterOrderGrpcServiceServer

func RegisterOrderGrpcServiceServer(s grpc.ServiceRegistrar, srv OrderGrpcServiceServer)

Types

type OrderGrpcServiceClient

type OrderGrpcServiceClient interface {
	UpsertOrder(ctx context.Context, in *UpsertOrderGrpcRequest, opts ...grpc.CallOption) (*OrderIdGrpcResponse, error)
}

OrderGrpcServiceClient is the client API for OrderGrpcService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type OrderGrpcServiceServer

type OrderGrpcServiceServer interface {
	UpsertOrder(context.Context, *UpsertOrderGrpcRequest) (*OrderIdGrpcResponse, error)
}

OrderGrpcServiceServer is the server API for OrderGrpcService service. All implementations should embed UnimplementedOrderGrpcServiceServer for forward compatibility

type OrderIdGrpcResponse

type OrderIdGrpcResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*OrderIdGrpcResponse) Descriptor deprecated

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

Deprecated: Use OrderIdGrpcResponse.ProtoReflect.Descriptor instead.

func (*OrderIdGrpcResponse) GetId

func (x *OrderIdGrpcResponse) GetId() string

func (*OrderIdGrpcResponse) ProtoMessage

func (*OrderIdGrpcResponse) ProtoMessage()

func (*OrderIdGrpcResponse) ProtoReflect

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

func (*OrderIdGrpcResponse) Reset

func (x *OrderIdGrpcResponse) Reset()

func (*OrderIdGrpcResponse) String

func (x *OrderIdGrpcResponse) String() string

type UnimplementedOrderGrpcServiceServer

type UnimplementedOrderGrpcServiceServer struct {
}

UnimplementedOrderGrpcServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedOrderGrpcServiceServer) UpsertOrder

type UnsafeOrderGrpcServiceServer

type UnsafeOrderGrpcServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeOrderGrpcServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OrderGrpcServiceServer will result in compilation errors.

type UpsertOrderGrpcRequest

type UpsertOrderGrpcRequest struct {
	SourceFields         *common.SourceFields         `protobuf:"bytes,1,opt,name=sourceFields,proto3" json:"sourceFields,omitempty"`
	ExternalSystemFields *common.ExternalSystemFields `protobuf:"bytes,2,opt,name=externalSystemFields,proto3" json:"externalSystemFields,omitempty"`
	Id                   string                       `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	Tenant               string                       `protobuf:"bytes,4,opt,name=tenant,proto3" json:"tenant,omitempty"`
	LoggedInUserId       string                       `protobuf:"bytes,5,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	CreatedAt            *timestamppb.Timestamp       `protobuf:"bytes,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt            *timestamppb.Timestamp       `protobuf:"bytes,7,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	OrganizationId       string                       `protobuf:"bytes,8,opt,name=organizationId,proto3" json:"organizationId,omitempty"`
	ConfirmedAt          *timestamppb.Timestamp       `protobuf:"bytes,9,opt,name=confirmedAt,proto3,oneof" json:"confirmedAt,omitempty"`
	PaidAt               *timestamppb.Timestamp       `protobuf:"bytes,10,opt,name=paidAt,proto3,oneof" json:"paidAt,omitempty"`
	FulfilledAt          *timestamppb.Timestamp       `protobuf:"bytes,11,opt,name=fulfilledAt,proto3,oneof" json:"fulfilledAt,omitempty"`
	CanceledAt           *timestamppb.Timestamp       `protobuf:"bytes,12,opt,name=canceledAt,proto3,oneof" json:"canceledAt,omitempty"`
	// contains filtered or unexported fields
}

func (*UpsertOrderGrpcRequest) Descriptor deprecated

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

Deprecated: Use UpsertOrderGrpcRequest.ProtoReflect.Descriptor instead.

func (*UpsertOrderGrpcRequest) GetCanceledAt

func (x *UpsertOrderGrpcRequest) GetCanceledAt() *timestamppb.Timestamp

func (*UpsertOrderGrpcRequest) GetConfirmedAt

func (x *UpsertOrderGrpcRequest) GetConfirmedAt() *timestamppb.Timestamp

func (*UpsertOrderGrpcRequest) GetCreatedAt

func (x *UpsertOrderGrpcRequest) GetCreatedAt() *timestamppb.Timestamp

func (*UpsertOrderGrpcRequest) GetExternalSystemFields

func (x *UpsertOrderGrpcRequest) GetExternalSystemFields() *common.ExternalSystemFields

func (*UpsertOrderGrpcRequest) GetFulfilledAt

func (x *UpsertOrderGrpcRequest) GetFulfilledAt() *timestamppb.Timestamp

func (*UpsertOrderGrpcRequest) GetId

func (x *UpsertOrderGrpcRequest) GetId() string

func (*UpsertOrderGrpcRequest) GetLoggedInUserId

func (x *UpsertOrderGrpcRequest) GetLoggedInUserId() string

func (*UpsertOrderGrpcRequest) GetOrganizationId

func (x *UpsertOrderGrpcRequest) GetOrganizationId() string

func (*UpsertOrderGrpcRequest) GetPaidAt

func (*UpsertOrderGrpcRequest) GetSourceFields

func (x *UpsertOrderGrpcRequest) GetSourceFields() *common.SourceFields

func (*UpsertOrderGrpcRequest) GetTenant

func (x *UpsertOrderGrpcRequest) GetTenant() string

func (*UpsertOrderGrpcRequest) GetUpdatedAt

func (x *UpsertOrderGrpcRequest) GetUpdatedAt() *timestamppb.Timestamp

func (*UpsertOrderGrpcRequest) ProtoMessage

func (*UpsertOrderGrpcRequest) ProtoMessage()

func (*UpsertOrderGrpcRequest) ProtoReflect

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

func (*UpsertOrderGrpcRequest) Reset

func (x *UpsertOrderGrpcRequest) Reset()

func (*UpsertOrderGrpcRequest) String

func (x *UpsertOrderGrpcRequest) String() string

Jump to

Keyboard shortcuts

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