accountsv2

package
v1.34.1-20240521104053... 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_accounts_v2_accounts_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AccountBalance

type AccountBalance struct {

	// Number of the internal account
	Number string `protobuf:"bytes,1,opt,name=number,proto3" json:"number,omitempty"`
	// Internal currency 3-letters code
	// LNQ for wallet balance, for example
	Currency string `protobuf:"bytes,2,opt,name=currency,proto3" json:"currency,omitempty"`
	// Actual balance of the user in coins
	Balance *Balance `protobuf:"bytes,3,opt,name=balance,proto3" json:"balance,omitempty"`
	// contains filtered or unexported fields
}

Returns detailed information about user balance on the requested account

func (*AccountBalance) Descriptor deprecated

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

Deprecated: Use AccountBalance.ProtoReflect.Descriptor instead.

func (*AccountBalance) GetBalance

func (x *AccountBalance) GetBalance() *Balance

func (*AccountBalance) GetCurrency

func (x *AccountBalance) GetCurrency() string

func (*AccountBalance) GetNumber

func (x *AccountBalance) GetNumber() string

func (*AccountBalance) ProtoMessage

func (*AccountBalance) ProtoMessage()

func (*AccountBalance) ProtoReflect

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

func (*AccountBalance) Reset

func (x *AccountBalance) Reset()

func (*AccountBalance) String

func (x *AccountBalance) String() string

type AccountsResponse

type AccountsResponse struct {

	// Returns list of accounts, limited by user access
	// For the game request only LNQ and this game accounts will be returned
	Accounts []*AccountBalance `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// contains filtered or unexported fields
}

List of active accounts for the current user

func (*AccountsResponse) Descriptor deprecated

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

Deprecated: Use AccountsResponse.ProtoReflect.Descriptor instead.

func (*AccountsResponse) GetAccounts

func (x *AccountsResponse) GetAccounts() []*AccountBalance

func (*AccountsResponse) ProtoMessage

func (*AccountsResponse) ProtoMessage()

func (*AccountsResponse) ProtoReflect

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

func (*AccountsResponse) Reset

func (x *AccountsResponse) Reset()

func (*AccountsResponse) String

func (x *AccountsResponse) String() string

type Balance

type Balance struct {

	// Current balance of the account in coins
	Current uint32 `protobuf:"varint,1,opt,name=current,proto3" json:"current,omitempty"`
	// Available to spend balance of the user in coins
	Available uint32 `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"`
	// contains filtered or unexported fields
}

Object containing current and available balances Values presented in currency coins, which means that values should be devided by 100

func (*Balance) Descriptor deprecated

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

Deprecated: Use Balance.ProtoReflect.Descriptor instead.

func (*Balance) GetAvailable

func (x *Balance) GetAvailable() uint32

func (*Balance) GetCurrent

func (x *Balance) GetCurrent() uint32

func (*Balance) ProtoMessage

func (*Balance) ProtoMessage()

func (*Balance) ProtoReflect

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

func (*Balance) Reset

func (x *Balance) Reset()

func (*Balance) String

func (x *Balance) String() string

Jump to

Keyboard shortcuts

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