operationsv1

package
v1.33.0-20240417131334... Latest Latest
Warning

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

Go to latest
Published: unknown License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_linq_money_operations_v1_operations_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type HistoryEntry

type HistoryEntry struct {

	// Order identifier, uuid string
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Order status
	// Possible values:
	// - pending: just created order
	// - awaiting: checkout linq created, it is awaiting payment from user
	// - processing: order handling by services to validate payment internally
	// - accepted: order was paid and it transaction was applied
	// - declined: order was declined by payment provides due any kind of error
	// - completed: order completed and its status may be used as final for guther decisions
	// - cancelled: order was canceled by user
	// - terminated: order was canceled by system
	Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// order type: charge, entry_fee, prize, transfer
	Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	// Amount in the order
	Amount uint32 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// Order last status change
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// Order app id
	AppLabel string `protobuf:"bytes,6,opt,name=app_label,json=appLabel,proto3" json:"app_label,omitempty"`
	// Order app name
	App string `protobuf:"bytes,7,opt,name=app,proto3" json:"app,omitempty"`
	// Order money in or out
	// charge, prize = true
	// entry_fee = false
	// transfer:
	// - to current app = true
	// - from current app = false
	IsIncoming bool `protobuf:"varint,8,opt,name=is_incoming,json=isIncoming,proto3" json:"is_incoming,omitempty"`
	// Name of the app from which transfer occurs
	TransferSourceApp *string `protobuf:"bytes,9,opt,name=transfer_source_app,json=transferSourceApp,proto3,oneof" json:"transfer_source_app,omitempty"`
	// Name of the app to which transfer occurs
	TransferDestinationApp *string `` /* 136-byte string literal not displayed */
	// Real money currency
	Currency string `protobuf:"bytes,11,opt,name=currency,proto3" json:"currency,omitempty"`
	// contains filtered or unexported fields
}

func (*HistoryEntry) Descriptor deprecated

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

Deprecated: Use HistoryEntry.ProtoReflect.Descriptor instead.

func (*HistoryEntry) GetAmount

func (x *HistoryEntry) GetAmount() uint32

func (*HistoryEntry) GetApp

func (x *HistoryEntry) GetApp() string

func (*HistoryEntry) GetAppLabel

func (x *HistoryEntry) GetAppLabel() string

func (*HistoryEntry) GetCurrency

func (x *HistoryEntry) GetCurrency() string

func (*HistoryEntry) GetId

func (x *HistoryEntry) GetId() string

func (*HistoryEntry) GetIsIncoming

func (x *HistoryEntry) GetIsIncoming() bool

func (*HistoryEntry) GetStatus

func (x *HistoryEntry) GetStatus() string

func (*HistoryEntry) GetTransferDestinationApp

func (x *HistoryEntry) GetTransferDestinationApp() string

func (*HistoryEntry) GetTransferSourceApp

func (x *HistoryEntry) GetTransferSourceApp() string

func (*HistoryEntry) GetType

func (x *HistoryEntry) GetType() string

func (*HistoryEntry) GetUpdatedAt

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

func (*HistoryEntry) ProtoMessage

func (*HistoryEntry) ProtoMessage()

func (*HistoryEntry) ProtoReflect

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

func (*HistoryEntry) Reset

func (x *HistoryEntry) Reset()

func (*HistoryEntry) String

func (x *HistoryEntry) String() string

type OrdersHistory

type OrdersHistory struct {
	Entries []*HistoryEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// Total number of orders
	Total uint32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// Pagination, next order id if present
	NextId *string `protobuf:"bytes,3,opt,name=next_id,json=nextId,proto3,oneof" json:"next_id,omitempty"`
	// contains filtered or unexported fields
}

func (*OrdersHistory) Descriptor deprecated

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

Deprecated: Use OrdersHistory.ProtoReflect.Descriptor instead.

func (*OrdersHistory) GetEntries

func (x *OrdersHistory) GetEntries() []*HistoryEntry

func (*OrdersHistory) GetNextId

func (x *OrdersHistory) GetNextId() string

func (*OrdersHistory) GetTotal

func (x *OrdersHistory) GetTotal() uint32

func (*OrdersHistory) ProtoMessage

func (*OrdersHistory) ProtoMessage()

func (*OrdersHistory) ProtoReflect

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

func (*OrdersHistory) Reset

func (x *OrdersHistory) Reset()

func (*OrdersHistory) String

func (x *OrdersHistory) String() string

type OrdersHistoryRequest

type OrdersHistoryRequest struct {

	// order type: charge, entry_fee, prize, transfer
	Type *string `protobuf:"bytes,2,opt,name=type,proto3,oneof" json:"type,omitempty"`
	// Order status
	// Possible values:
	// - pending: just created order
	// - awaiting: checkout linq created, it is awaiting payment from user
	// - processing: order handling by services to validate payment internally
	// - accepted: order was paid and it transaction was applied
	// - declined: order was declined by payment provides due any kind of error
	// - completed: order completed and its status may be used as final
	// - cancelled: order was canceled by user
	// - terminated: order was canceled by system
	Status *string `protobuf:"bytes,3,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// Orders after start_date
	StartDate *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start_date,json=startDate,proto3,oneof" json:"start_date,omitempty"`
	// Orders before end_date
	EndDate *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=end_date,json=endDate,proto3,oneof" json:"end_date,omitempty"`
	// Response items limit
	Limit *uint32 `protobuf:"varint,6,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
	// Pagination, start from next_id returned in previous response
	NextId *string `protobuf:"bytes,7,opt,name=next_id,json=nextId,proto3,oneof" json:"next_id,omitempty"`
	// contains filtered or unexported fields
}

func (*OrdersHistoryRequest) Descriptor deprecated

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

Deprecated: Use OrdersHistoryRequest.ProtoReflect.Descriptor instead.

func (*OrdersHistoryRequest) GetEndDate

func (x *OrdersHistoryRequest) GetEndDate() *timestamppb.Timestamp

func (*OrdersHistoryRequest) GetLimit

func (x *OrdersHistoryRequest) GetLimit() uint32

func (*OrdersHistoryRequest) GetNextId

func (x *OrdersHistoryRequest) GetNextId() string

func (*OrdersHistoryRequest) GetStartDate

func (x *OrdersHistoryRequest) GetStartDate() *timestamppb.Timestamp

func (*OrdersHistoryRequest) GetStatus

func (x *OrdersHistoryRequest) GetStatus() string

func (*OrdersHistoryRequest) GetType

func (x *OrdersHistoryRequest) GetType() string

func (*OrdersHistoryRequest) ProtoMessage

func (*OrdersHistoryRequest) ProtoMessage()

func (*OrdersHistoryRequest) ProtoReflect

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

func (*OrdersHistoryRequest) Reset

func (x *OrdersHistoryRequest) Reset()

func (*OrdersHistoryRequest) String

func (x *OrdersHistoryRequest) String() string

Jump to

Keyboard shortcuts

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