Documentation ¶
Index ¶
- Variables
- type BankAccount
- func (*BankAccount) Descriptor() ([]byte, []int)deprecated
- func (x *BankAccount) GetDisplayName() string
- func (x *BankAccount) GetName() string
- func (*BankAccount) InitTables(db *persistence.DB) (err error)
- func (*BankAccount) PrepareDelete(db *persistence.DB) (stmt *sql.Stmt, err error)
- func (*BankAccount) PrepareGet(db *persistence.DB) (stmt *sql.Stmt, err error)
- func (*BankAccount) PrepareList(db *persistence.DB) (stmt *sql.Stmt, err error)
- func (*BankAccount) PrepareReplace(db *persistence.DB) (stmt *sql.Stmt, err error)
- func (*BankAccount) PrepareUpdate(db *persistence.DB, columns []string) (stmt *sql.Stmt, err error)
- func (*BankAccount) ProtoMessage()
- func (x *BankAccount) ProtoReflect() protoreflect.Message
- func (p *BankAccount) ReplaceIntoArgs() []any
- func (x *BankAccount) Reset()
- func (*BankAccount) Scan(sc persistence.Scanner) (obj persistence.StorageObject, err error)
- func (x *BankAccount) String() string
- func (p *BankAccount) UpdateArgs(columns []string) (args []any)
- type CreateBankAccountRequest
- func (*CreateBankAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBankAccountRequest) GetBankAccount() *BankAccount
- func (*CreateBankAccountRequest) ProtoMessage()
- func (x *CreateBankAccountRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBankAccountRequest) Reset()
- func (x *CreateBankAccountRequest) String() string
- type CreatePortfolioRequest
- func (*CreatePortfolioRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePortfolioRequest) GetPortfolio() *Portfolio
- func (*CreatePortfolioRequest) ProtoMessage()
- func (x *CreatePortfolioRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePortfolioRequest) Reset()
- func (x *CreatePortfolioRequest) String() string
- type CreatePortfolioTransactionRequest
- func (*CreatePortfolioTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePortfolioTransactionRequest) GetTransaction() *PortfolioEvent
- func (*CreatePortfolioTransactionRequest) ProtoMessage()
- func (x *CreatePortfolioTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePortfolioTransactionRequest) Reset()
- func (x *CreatePortfolioTransactionRequest) String() string
- type CreateSecurityRequest
- func (*CreateSecurityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSecurityRequest) GetSecurity() *Security
- func (*CreateSecurityRequest) ProtoMessage()
- func (x *CreateSecurityRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSecurityRequest) Reset()
- func (x *CreateSecurityRequest) String() string
- type Currency
- func (*Currency) Descriptor() ([]byte, []int)deprecated
- func (x *Currency) GetSymbol() string
- func (x *Currency) GetValue() int32
- func (c *Currency) IsZero() bool
- func (c *Currency) MinusAssign(o *Currency)
- func (a *Currency) Plus(b *Currency) *Currency
- func (c *Currency) PlusAssign(o *Currency)
- func (c *Currency) Pretty() string
- func (*Currency) ProtoMessage()
- func (x *Currency) ProtoReflect() protoreflect.Message
- func (x *Currency) Reset()
- func (x *Currency) String() string
- type DeleteBankAccountRequest
- func (*DeleteBankAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBankAccountRequest) GetName() string
- func (*DeleteBankAccountRequest) ProtoMessage()
- func (x *DeleteBankAccountRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBankAccountRequest) Reset()
- func (x *DeleteBankAccountRequest) String() string
- type DeletePortfolioRequest
- func (*DeletePortfolioRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePortfolioRequest) GetName() string
- func (*DeletePortfolioRequest) ProtoMessage()
- func (x *DeletePortfolioRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePortfolioRequest) Reset()
- func (x *DeletePortfolioRequest) String() string
- type DeletePortfolioTransactionRequest
- func (*DeletePortfolioTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePortfolioTransactionRequest) GetTransactionId() int32
- func (*DeletePortfolioTransactionRequest) ProtoMessage()
- func (x *DeletePortfolioTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePortfolioTransactionRequest) Reset()
- func (x *DeletePortfolioTransactionRequest) String() string
- type DeleteSecurityRequest
- func (*DeleteSecurityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSecurityRequest) GetName() string
- func (*DeleteSecurityRequest) ProtoMessage()
- func (x *DeleteSecurityRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSecurityRequest) Reset()
- func (x *DeleteSecurityRequest) String() string
- type GetPortfolioRequest
- func (*GetPortfolioRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPortfolioRequest) GetName() string
- func (*GetPortfolioRequest) ProtoMessage()
- func (x *GetPortfolioRequest) ProtoReflect() protoreflect.Message
- func (x *GetPortfolioRequest) Reset()
- func (x *GetPortfolioRequest) String() string
- type GetPortfolioSnapshotRequest
- func (*GetPortfolioSnapshotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPortfolioSnapshotRequest) GetPortfolioName() string
- func (x *GetPortfolioSnapshotRequest) GetTime() *timestamppb.Timestamp
- func (*GetPortfolioSnapshotRequest) ProtoMessage()
- func (x *GetPortfolioSnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *GetPortfolioSnapshotRequest) Reset()
- func (x *GetPortfolioSnapshotRequest) String() string
- type GetPortfolioTransactionRequest
- func (*GetPortfolioTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPortfolioTransactionRequest) GetName() string
- func (*GetPortfolioTransactionRequest) ProtoMessage()
- func (x *GetPortfolioTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *GetPortfolioTransactionRequest) Reset()
- func (x *GetPortfolioTransactionRequest) String() string
- type GetSecurityRequest
- func (*GetSecurityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSecurityRequest) GetName() string
- func (*GetSecurityRequest) ProtoMessage()
- func (x *GetSecurityRequest) ProtoReflect() protoreflect.Message
- func (x *GetSecurityRequest) Reset()
- func (x *GetSecurityRequest) String() string
- type ImportTransactionsRequest
- func (*ImportTransactionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportTransactionsRequest) GetFromCsv() string
- func (x *ImportTransactionsRequest) GetPortfolioName() string
- func (*ImportTransactionsRequest) ProtoMessage()
- func (x *ImportTransactionsRequest) ProtoReflect() protoreflect.Message
- func (x *ImportTransactionsRequest) Reset()
- func (x *ImportTransactionsRequest) String() string
- type ListPortfolioTransactionsRequest
- func (*ListPortfolioTransactionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPortfolioTransactionsRequest) GetPortfolioName() string
- func (*ListPortfolioTransactionsRequest) ProtoMessage()
- func (x *ListPortfolioTransactionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListPortfolioTransactionsRequest) Reset()
- func (x *ListPortfolioTransactionsRequest) String() string
- type ListPortfolioTransactionsResponse
- func (*ListPortfolioTransactionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPortfolioTransactionsResponse) GetTransactions() []*PortfolioEvent
- func (*ListPortfolioTransactionsResponse) ProtoMessage()
- func (x *ListPortfolioTransactionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListPortfolioTransactionsResponse) Reset()
- func (x *ListPortfolioTransactionsResponse) String() string
- type ListPortfoliosRequest
- type ListPortfoliosResponse
- func (*ListPortfoliosResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPortfoliosResponse) GetPortfolios() []*Portfolio
- func (*ListPortfoliosResponse) ProtoMessage()
- func (x *ListPortfoliosResponse) ProtoReflect() protoreflect.Message
- func (x *ListPortfoliosResponse) Reset()
- func (x *ListPortfoliosResponse) String() string
- type ListSecuritiesRequest
- func (*ListSecuritiesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSecuritiesRequest) GetFilter() *ListSecuritiesRequest_Filter
- func (*ListSecuritiesRequest) ProtoMessage()
- func (x *ListSecuritiesRequest) ProtoReflect() protoreflect.Message
- func (x *ListSecuritiesRequest) Reset()
- func (x *ListSecuritiesRequest) String() string
- type ListSecuritiesRequest_Filter
- func (*ListSecuritiesRequest_Filter) Descriptor() ([]byte, []int)deprecated
- func (x *ListSecuritiesRequest_Filter) GetSecurityNames() []string
- func (*ListSecuritiesRequest_Filter) ProtoMessage()
- func (x *ListSecuritiesRequest_Filter) ProtoReflect() protoreflect.Message
- func (x *ListSecuritiesRequest_Filter) Reset()
- func (x *ListSecuritiesRequest_Filter) String() string
- type ListSecuritiesResponse
- func (*ListSecuritiesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSecuritiesResponse) GetSecurities() []*Security
- func (*ListSecuritiesResponse) ProtoMessage()
- func (x *ListSecuritiesResponse) ProtoReflect() protoreflect.Message
- func (x *ListSecuritiesResponse) Reset()
- func (x *ListSecuritiesResponse) String() string
- type ListedSecurity
- func (*ListedSecurity) Descriptor() ([]byte, []int)deprecated
- func (x *ListedSecurity) GetCurrency() string
- func (x *ListedSecurity) GetLatestQuote() *Currency
- func (x *ListedSecurity) GetLatestQuoteTimestamp() *timestamppb.Timestamp
- func (x *ListedSecurity) GetSecurityName() string
- func (x *ListedSecurity) GetTicker() string
- func (*ListedSecurity) InitTables(db *persistence.DB) (err error)
- func (ls *ListedSecurity) LogValue() slog.Value
- func (*ListedSecurity) PrepareDelete(db *persistence.DB) (stmt *sql.Stmt, err error)
- func (*ListedSecurity) PrepareGet(db *persistence.DB) (stmt *sql.Stmt, err error)
- func (*ListedSecurity) PrepareList(db *persistence.DB) (stmt *sql.Stmt, err error)
- func (*ListedSecurity) PrepareReplace(db *persistence.DB) (stmt *sql.Stmt, err error)
- func (*ListedSecurity) PrepareUpdate(db *persistence.DB, columns []string) (stmt *sql.Stmt, err error)
- func (*ListedSecurity) ProtoMessage()
- func (x *ListedSecurity) ProtoReflect() protoreflect.Message
- func (l *ListedSecurity) ReplaceIntoArgs() []any
- func (x *ListedSecurity) Reset()
- func (*ListedSecurity) Scan(sc persistence.Scanner) (obj persistence.StorageObject, err error)
- func (x *ListedSecurity) String() string
- func (l *ListedSecurity) UpdateArgs(columns []string) (args []any)
- type Portfolio
- func (*Portfolio) Descriptor() ([]byte, []int)deprecated
- func (p *Portfolio) EventMap() (m map[string][]*PortfolioEvent)
- func (x *Portfolio) GetBankAccountName() string
- func (x *Portfolio) GetDisplayName() string
- func (x *Portfolio) GetEvents() []*PortfolioEvent
- func (x *Portfolio) GetName() string
- func (*Portfolio) InitTables(db *persistence.DB) (err error)
- func (*Portfolio) PrepareDelete(db *persistence.DB) (stmt *sql.Stmt, err error)
- func (*Portfolio) PrepareGet(db *persistence.DB) (stmt *sql.Stmt, err error)
- func (*Portfolio) PrepareList(db *persistence.DB) (stmt *sql.Stmt, err error)
- func (*Portfolio) PrepareReplace(db *persistence.DB) (stmt *sql.Stmt, err error)
- func (*Portfolio) PrepareUpdate(db *persistence.DB, columns []string) (stmt *sql.Stmt, err error)
- func (*Portfolio) ProtoMessage()
- func (x *Portfolio) ProtoReflect() protoreflect.Message
- func (p *Portfolio) ReplaceIntoArgs() []any
- func (x *Portfolio) Reset()
- func (*Portfolio) Scan(sc persistence.Scanner) (obj persistence.StorageObject, err error)
- func (x *Portfolio) String() string
- func (p *Portfolio) UpdateArgs(columns []string) (args []any)
- type PortfolioEvent
- func (*PortfolioEvent) Descriptor() ([]byte, []int)deprecated
- func (x *PortfolioEvent) GetAmount() float64
- func (x *PortfolioEvent) GetFees() *Currency
- func (x *PortfolioEvent) GetName() string
- func (x *PortfolioEvent) GetPortfolioName() string
- func (x *PortfolioEvent) GetPrice() *Currency
- func (x *PortfolioEvent) GetSecurityName() string
- func (x *PortfolioEvent) GetTaxes() *Currency
- func (x *PortfolioEvent) GetTime() *timestamppb.Timestamp
- func (x *PortfolioEvent) GetType() PortfolioEventType
- func (*PortfolioEvent) InitTables(db *persistence.DB) (err error)
- func (tx *PortfolioEvent) LogValue() slog.Value
- func (tx *PortfolioEvent) MakeUniqueName()
- func (*PortfolioEvent) PrepareDelete(db *persistence.DB) (stmt *sql.Stmt, err error)
- func (*PortfolioEvent) PrepareGet(db *persistence.DB) (stmt *sql.Stmt, err error)
- func (*PortfolioEvent) PrepareList(db *persistence.DB) (stmt *sql.Stmt, err error)
- func (*PortfolioEvent) PrepareReplace(db *persistence.DB) (stmt *sql.Stmt, err error)
- func (*PortfolioEvent) PrepareUpdate(db *persistence.DB, columns []string) (stmt *sql.Stmt, err error)
- func (*PortfolioEvent) ProtoMessage()
- func (x *PortfolioEvent) ProtoReflect() protoreflect.Message
- func (e *PortfolioEvent) ReplaceIntoArgs() []any
- func (x *PortfolioEvent) Reset()
- func (*PortfolioEvent) Scan(sc persistence.Scanner) (obj persistence.StorageObject, err error)
- func (x *PortfolioEvent) String() string
- func (e *PortfolioEvent) UpdateArgs(columns []string) (args []any)
- type PortfolioEventType
- func (PortfolioEventType) Descriptor() protoreflect.EnumDescriptor
- func (x PortfolioEventType) Enum() *PortfolioEventType
- func (PortfolioEventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PortfolioEventType) Number() protoreflect.EnumNumber
- func (x PortfolioEventType) String() string
- func (PortfolioEventType) Type() protoreflect.EnumType
- type PortfolioPosition
- func (*PortfolioPosition) Descriptor() ([]byte, []int)deprecated
- func (x *PortfolioPosition) GetAmount() float64
- func (x *PortfolioPosition) GetGains() float64
- func (x *PortfolioPosition) GetMarketPrice() *Currency
- func (x *PortfolioPosition) GetMarketValue() *Currency
- func (x *PortfolioPosition) GetProfitOrLoss() *Currency
- func (x *PortfolioPosition) GetPurchasePrice() *Currency
- func (x *PortfolioPosition) GetPurchaseValue() *Currency
- func (x *PortfolioPosition) GetSecurity() *Security
- func (x *PortfolioPosition) GetTotalFees() *Currency
- func (*PortfolioPosition) ProtoMessage()
- func (x *PortfolioPosition) ProtoReflect() protoreflect.Message
- func (x *PortfolioPosition) Reset()
- func (x *PortfolioPosition) String() string
- type PortfolioSnapshot
- func (*PortfolioSnapshot) Descriptor() ([]byte, []int)deprecated
- func (x *PortfolioSnapshot) GetCash() *Currency
- func (x *PortfolioSnapshot) GetFirstTransactionTime() *timestamppb.Timestamp
- func (x *PortfolioSnapshot) GetPositions() map[string]*PortfolioPosition
- func (x *PortfolioSnapshot) GetTime() *timestamppb.Timestamp
- func (x *PortfolioSnapshot) GetTotalGains() float64
- func (x *PortfolioSnapshot) GetTotalMarketValue() *Currency
- func (x *PortfolioSnapshot) GetTotalPortfolioValue() *Currency
- func (x *PortfolioSnapshot) GetTotalProfitOrLoss() *Currency
- func (x *PortfolioSnapshot) GetTotalPurchaseValue() *Currency
- func (*PortfolioSnapshot) ProtoMessage()
- func (x *PortfolioSnapshot) ProtoReflect() protoreflect.Message
- func (x *PortfolioSnapshot) Reset()
- func (x *PortfolioSnapshot) String() string
- type Security
- func (*Security) Descriptor() ([]byte, []int)deprecated
- func (x *Security) GetDisplayName() string
- func (x *Security) GetListedOn() []*ListedSecurity
- func (x *Security) GetName() string
- func (x *Security) GetQuoteProvider() string
- func (*Security) InitTables(db *persistence.DB) (err error)
- func (*Security) PrepareDelete(db *persistence.DB) (stmt *sql.Stmt, err error)
- func (*Security) PrepareGet(db *persistence.DB) (stmt *sql.Stmt, err error)
- func (*Security) PrepareList(db *persistence.DB) (stmt *sql.Stmt, err error)
- func (*Security) PrepareReplace(db *persistence.DB) (stmt *sql.Stmt, err error)
- func (*Security) PrepareUpdate(db *persistence.DB, columns []string) (stmt *sql.Stmt, err error)
- func (*Security) ProtoMessage()
- func (x *Security) ProtoReflect() protoreflect.Message
- func (s *Security) ReplaceIntoArgs() []any
- func (x *Security) Reset()
- func (*Security) Scan(sc persistence.Scanner) (obj persistence.StorageObject, err error)
- func (x *Security) String() string
- func (s *Security) UpdateArgs(columns []string) (args []any)
- type TriggerQuoteUpdateRequest
- func (*TriggerQuoteUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerQuoteUpdateRequest) GetSecurityNames() []string
- func (*TriggerQuoteUpdateRequest) ProtoMessage()
- func (x *TriggerQuoteUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *TriggerQuoteUpdateRequest) Reset()
- func (x *TriggerQuoteUpdateRequest) String() string
- type TriggerQuoteUpdateResponse
- type UpdateBankAccountRequest
- func (*UpdateBankAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBankAccountRequest) GetAccount() *BankAccount
- func (x *UpdateBankAccountRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateBankAccountRequest) ProtoMessage()
- func (x *UpdateBankAccountRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBankAccountRequest) Reset()
- func (x *UpdateBankAccountRequest) String() string
- type UpdatePortfolioRequest
- func (*UpdatePortfolioRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePortfolioRequest) GetPortfolio() *Portfolio
- func (x *UpdatePortfolioRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdatePortfolioRequest) ProtoMessage()
- func (x *UpdatePortfolioRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePortfolioRequest) Reset()
- func (x *UpdatePortfolioRequest) String() string
- type UpdatePortfolioTransactionRequest
- func (*UpdatePortfolioTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePortfolioTransactionRequest) GetTransaction() *PortfolioEvent
- func (x *UpdatePortfolioTransactionRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdatePortfolioTransactionRequest) ProtoMessage()
- func (x *UpdatePortfolioTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePortfolioTransactionRequest) Reset()
- func (x *UpdatePortfolioTransactionRequest) String() string
- type UpdateSecurityRequest
- func (*UpdateSecurityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSecurityRequest) GetSecurity() *Security
- func (x *UpdateSecurityRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateSecurityRequest) ProtoMessage()
- func (x *UpdateSecurityRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSecurityRequest) Reset()
- func (x *UpdateSecurityRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var ( PortfolioEventType_name = map[int32]string{ 0: "PORTFOLIO_EVENT_TYPE_UNSPECIFIED", 1: "PORTFOLIO_EVENT_TYPE_BUY", 2: "PORTFOLIO_EVENT_TYPE_SELL", 3: "PORTFOLIO_EVENT_TYPE_DELIVERY_INBOUND", 4: "PORTFOLIO_EVENT_TYPE_DELIVERY_OUTBOUND", 10: "PORTFOLIO_EVENT_TYPE_DIVIDEND", 11: "PORTFOLIO_EVENT_TYPE_INTEREST", 20: "PORTFOLIO_EVENT_TYPE_DEPOSIT_CASH", 21: "PORTFOLIO_EVENT_TYPE_WITHDRAW_CASH", 30: "PORTFOLIO_EVENT_TYPE_ACCOUNT_FEES", 31: "PORTFOLIO_EVENT_TYPE_TAX_REFUND", } PortfolioEventType_value = map[string]int32{ "PORTFOLIO_EVENT_TYPE_UNSPECIFIED": 0, "PORTFOLIO_EVENT_TYPE_BUY": 1, "PORTFOLIO_EVENT_TYPE_SELL": 2, "PORTFOLIO_EVENT_TYPE_DELIVERY_INBOUND": 3, "PORTFOLIO_EVENT_TYPE_DELIVERY_OUTBOUND": 4, "PORTFOLIO_EVENT_TYPE_DIVIDEND": 10, "PORTFOLIO_EVENT_TYPE_INTEREST": 11, "PORTFOLIO_EVENT_TYPE_DEPOSIT_CASH": 20, "PORTFOLIO_EVENT_TYPE_WITHDRAW_CASH": 21, "PORTFOLIO_EVENT_TYPE_ACCOUNT_FEES": 30, "PORTFOLIO_EVENT_TYPE_TAX_REFUND": 31, } )
Enum value maps for PortfolioEventType.
var File_mgo_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BankAccount ¶ added in v0.1.0
type BankAccount struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // contains filtered or unexported fields }
func (*BankAccount) Descriptor
deprecated
added in
v0.1.0
func (*BankAccount) Descriptor() ([]byte, []int)
Deprecated: Use BankAccount.ProtoReflect.Descriptor instead.
func (*BankAccount) GetDisplayName ¶ added in v0.1.0
func (x *BankAccount) GetDisplayName() string
func (*BankAccount) GetName ¶ added in v0.1.0
func (x *BankAccount) GetName() string
func (*BankAccount) InitTables ¶ added in v0.1.0
func (*BankAccount) InitTables(db *persistence.DB) (err error)
func (*BankAccount) PrepareDelete ¶ added in v0.1.0
func (*BankAccount) PrepareDelete(db *persistence.DB) (stmt *sql.Stmt, err error)
func (*BankAccount) PrepareGet ¶ added in v0.1.0
func (*BankAccount) PrepareGet(db *persistence.DB) (stmt *sql.Stmt, err error)
func (*BankAccount) PrepareList ¶ added in v0.1.0
func (*BankAccount) PrepareList(db *persistence.DB) (stmt *sql.Stmt, err error)
func (*BankAccount) PrepareReplace ¶ added in v0.1.0
func (*BankAccount) PrepareReplace(db *persistence.DB) (stmt *sql.Stmt, err error)
func (*BankAccount) PrepareUpdate ¶ added in v0.1.0
func (*BankAccount) PrepareUpdate(db *persistence.DB, columns []string) (stmt *sql.Stmt, err error)
func (*BankAccount) ProtoMessage ¶ added in v0.1.0
func (*BankAccount) ProtoMessage()
func (*BankAccount) ProtoReflect ¶ added in v0.1.0
func (x *BankAccount) ProtoReflect() protoreflect.Message
func (*BankAccount) ReplaceIntoArgs ¶ added in v0.1.0
func (p *BankAccount) ReplaceIntoArgs() []any
func (*BankAccount) Reset ¶ added in v0.1.0
func (x *BankAccount) Reset()
func (*BankAccount) Scan ¶ added in v0.1.0
func (*BankAccount) Scan(sc persistence.Scanner) (obj persistence.StorageObject, err error)
func (*BankAccount) String ¶ added in v0.1.0
func (x *BankAccount) String() string
func (*BankAccount) UpdateArgs ¶ added in v0.1.0
func (p *BankAccount) UpdateArgs(columns []string) (args []any)
type CreateBankAccountRequest ¶ added in v0.1.0
type CreateBankAccountRequest struct { BankAccount *BankAccount `protobuf:"bytes,1,opt,name=bank_account,json=bankAccount,proto3" json:"bank_account,omitempty"` // contains filtered or unexported fields }
func (*CreateBankAccountRequest) Descriptor
deprecated
added in
v0.1.0
func (*CreateBankAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBankAccountRequest.ProtoReflect.Descriptor instead.
func (*CreateBankAccountRequest) GetBankAccount ¶ added in v0.1.0
func (x *CreateBankAccountRequest) GetBankAccount() *BankAccount
func (*CreateBankAccountRequest) ProtoMessage ¶ added in v0.1.0
func (*CreateBankAccountRequest) ProtoMessage()
func (*CreateBankAccountRequest) ProtoReflect ¶ added in v0.1.0
func (x *CreateBankAccountRequest) ProtoReflect() protoreflect.Message
func (*CreateBankAccountRequest) Reset ¶ added in v0.1.0
func (x *CreateBankAccountRequest) Reset()
func (*CreateBankAccountRequest) String ¶ added in v0.1.0
func (x *CreateBankAccountRequest) String() string
type CreatePortfolioRequest ¶
type CreatePortfolioRequest struct { Portfolio *Portfolio `protobuf:"bytes,1,opt,name=portfolio,proto3" json:"portfolio,omitempty"` // contains filtered or unexported fields }
func (*CreatePortfolioRequest) Descriptor
deprecated
func (*CreatePortfolioRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePortfolioRequest.ProtoReflect.Descriptor instead.
func (*CreatePortfolioRequest) GetPortfolio ¶
func (x *CreatePortfolioRequest) GetPortfolio() *Portfolio
func (*CreatePortfolioRequest) ProtoMessage ¶
func (*CreatePortfolioRequest) ProtoMessage()
func (*CreatePortfolioRequest) ProtoReflect ¶
func (x *CreatePortfolioRequest) ProtoReflect() protoreflect.Message
func (*CreatePortfolioRequest) Reset ¶
func (x *CreatePortfolioRequest) Reset()
func (*CreatePortfolioRequest) String ¶
func (x *CreatePortfolioRequest) String() string
type CreatePortfolioTransactionRequest ¶
type CreatePortfolioTransactionRequest struct { Transaction *PortfolioEvent `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` // contains filtered or unexported fields }
func (*CreatePortfolioTransactionRequest) Descriptor
deprecated
func (*CreatePortfolioTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePortfolioTransactionRequest.ProtoReflect.Descriptor instead.
func (*CreatePortfolioTransactionRequest) GetTransaction ¶
func (x *CreatePortfolioTransactionRequest) GetTransaction() *PortfolioEvent
func (*CreatePortfolioTransactionRequest) ProtoMessage ¶
func (*CreatePortfolioTransactionRequest) ProtoMessage()
func (*CreatePortfolioTransactionRequest) ProtoReflect ¶
func (x *CreatePortfolioTransactionRequest) ProtoReflect() protoreflect.Message
func (*CreatePortfolioTransactionRequest) Reset ¶
func (x *CreatePortfolioTransactionRequest) Reset()
func (*CreatePortfolioTransactionRequest) String ¶
func (x *CreatePortfolioTransactionRequest) String() string
type CreateSecurityRequest ¶
type CreateSecurityRequest struct { Security *Security `protobuf:"bytes,1,opt,name=security,proto3" json:"security,omitempty"` // contains filtered or unexported fields }
func (*CreateSecurityRequest) Descriptor
deprecated
func (*CreateSecurityRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSecurityRequest.ProtoReflect.Descriptor instead.
func (*CreateSecurityRequest) GetSecurity ¶
func (x *CreateSecurityRequest) GetSecurity() *Security
func (*CreateSecurityRequest) ProtoMessage ¶
func (*CreateSecurityRequest) ProtoMessage()
func (*CreateSecurityRequest) ProtoReflect ¶
func (x *CreateSecurityRequest) ProtoReflect() protoreflect.Message
func (*CreateSecurityRequest) Reset ¶
func (x *CreateSecurityRequest) Reset()
func (*CreateSecurityRequest) String ¶
func (x *CreateSecurityRequest) String() string
type Currency ¶ added in v0.0.4
type Currency struct { Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` // contains filtered or unexported fields }
Currency is a currency value in the lowest unit of the selected currency (e.g., cents for EUR/USD).
func (*Currency) Descriptor
deprecated
added in
v0.0.4
func (*Currency) MinusAssign ¶ added in v0.0.4
func (*Currency) PlusAssign ¶ added in v0.0.4
func (*Currency) ProtoMessage ¶ added in v0.0.4
func (*Currency) ProtoMessage()
func (*Currency) ProtoReflect ¶ added in v0.0.4
func (x *Currency) ProtoReflect() protoreflect.Message
type DeleteBankAccountRequest ¶ added in v0.1.0
type DeleteBankAccountRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteBankAccountRequest) Descriptor
deprecated
added in
v0.1.0
func (*DeleteBankAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBankAccountRequest.ProtoReflect.Descriptor instead.
func (*DeleteBankAccountRequest) GetName ¶ added in v0.1.0
func (x *DeleteBankAccountRequest) GetName() string
func (*DeleteBankAccountRequest) ProtoMessage ¶ added in v0.1.0
func (*DeleteBankAccountRequest) ProtoMessage()
func (*DeleteBankAccountRequest) ProtoReflect ¶ added in v0.1.0
func (x *DeleteBankAccountRequest) ProtoReflect() protoreflect.Message
func (*DeleteBankAccountRequest) Reset ¶ added in v0.1.0
func (x *DeleteBankAccountRequest) Reset()
func (*DeleteBankAccountRequest) String ¶ added in v0.1.0
func (x *DeleteBankAccountRequest) String() string
type DeletePortfolioRequest ¶
type DeletePortfolioRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeletePortfolioRequest) Descriptor
deprecated
func (*DeletePortfolioRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePortfolioRequest.ProtoReflect.Descriptor instead.
func (*DeletePortfolioRequest) GetName ¶
func (x *DeletePortfolioRequest) GetName() string
func (*DeletePortfolioRequest) ProtoMessage ¶
func (*DeletePortfolioRequest) ProtoMessage()
func (*DeletePortfolioRequest) ProtoReflect ¶
func (x *DeletePortfolioRequest) ProtoReflect() protoreflect.Message
func (*DeletePortfolioRequest) Reset ¶
func (x *DeletePortfolioRequest) Reset()
func (*DeletePortfolioRequest) String ¶
func (x *DeletePortfolioRequest) String() string
type DeletePortfolioTransactionRequest ¶
type DeletePortfolioTransactionRequest struct { TransactionId int32 `protobuf:"varint,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` // contains filtered or unexported fields }
func (*DeletePortfolioTransactionRequest) Descriptor
deprecated
func (*DeletePortfolioTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePortfolioTransactionRequest.ProtoReflect.Descriptor instead.
func (*DeletePortfolioTransactionRequest) GetTransactionId ¶
func (x *DeletePortfolioTransactionRequest) GetTransactionId() int32
func (*DeletePortfolioTransactionRequest) ProtoMessage ¶
func (*DeletePortfolioTransactionRequest) ProtoMessage()
func (*DeletePortfolioTransactionRequest) ProtoReflect ¶
func (x *DeletePortfolioTransactionRequest) ProtoReflect() protoreflect.Message
func (*DeletePortfolioTransactionRequest) Reset ¶
func (x *DeletePortfolioTransactionRequest) Reset()
func (*DeletePortfolioTransactionRequest) String ¶
func (x *DeletePortfolioTransactionRequest) String() string
type DeleteSecurityRequest ¶
type DeleteSecurityRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteSecurityRequest) Descriptor
deprecated
func (*DeleteSecurityRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSecurityRequest.ProtoReflect.Descriptor instead.
func (*DeleteSecurityRequest) GetName ¶
func (x *DeleteSecurityRequest) GetName() string
func (*DeleteSecurityRequest) ProtoMessage ¶
func (*DeleteSecurityRequest) ProtoMessage()
func (*DeleteSecurityRequest) ProtoReflect ¶
func (x *DeleteSecurityRequest) ProtoReflect() protoreflect.Message
func (*DeleteSecurityRequest) Reset ¶
func (x *DeleteSecurityRequest) Reset()
func (*DeleteSecurityRequest) String ¶
func (x *DeleteSecurityRequest) String() string
type GetPortfolioRequest ¶
type GetPortfolioRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetPortfolioRequest) Descriptor
deprecated
func (*GetPortfolioRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPortfolioRequest.ProtoReflect.Descriptor instead.
func (*GetPortfolioRequest) GetName ¶
func (x *GetPortfolioRequest) GetName() string
func (*GetPortfolioRequest) ProtoMessage ¶
func (*GetPortfolioRequest) ProtoMessage()
func (*GetPortfolioRequest) ProtoReflect ¶
func (x *GetPortfolioRequest) ProtoReflect() protoreflect.Message
func (*GetPortfolioRequest) Reset ¶
func (x *GetPortfolioRequest) Reset()
func (*GetPortfolioRequest) String ¶
func (x *GetPortfolioRequest) String() string
type GetPortfolioSnapshotRequest ¶
type GetPortfolioSnapshotRequest struct { // PortfolioName is the name / identifier of the portfolio we want to // "snapshot". PortfolioName string `protobuf:"bytes,1,opt,name=portfolio_name,json=portfolioName,proto3" json:"portfolio_name,omitempty"` // Time is the point in time of the requested snapshot. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*GetPortfolioSnapshotRequest) Descriptor
deprecated
func (*GetPortfolioSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPortfolioSnapshotRequest.ProtoReflect.Descriptor instead.
func (*GetPortfolioSnapshotRequest) GetPortfolioName ¶
func (x *GetPortfolioSnapshotRequest) GetPortfolioName() string
func (*GetPortfolioSnapshotRequest) GetTime ¶
func (x *GetPortfolioSnapshotRequest) GetTime() *timestamppb.Timestamp
func (*GetPortfolioSnapshotRequest) ProtoMessage ¶
func (*GetPortfolioSnapshotRequest) ProtoMessage()
func (*GetPortfolioSnapshotRequest) ProtoReflect ¶
func (x *GetPortfolioSnapshotRequest) ProtoReflect() protoreflect.Message
func (*GetPortfolioSnapshotRequest) Reset ¶
func (x *GetPortfolioSnapshotRequest) Reset()
func (*GetPortfolioSnapshotRequest) String ¶
func (x *GetPortfolioSnapshotRequest) String() string
type GetPortfolioTransactionRequest ¶ added in v0.0.4
type GetPortfolioTransactionRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetPortfolioTransactionRequest) Descriptor
deprecated
added in
v0.0.4
func (*GetPortfolioTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPortfolioTransactionRequest.ProtoReflect.Descriptor instead.
func (*GetPortfolioTransactionRequest) GetName ¶ added in v0.0.4
func (x *GetPortfolioTransactionRequest) GetName() string
func (*GetPortfolioTransactionRequest) ProtoMessage ¶ added in v0.0.4
func (*GetPortfolioTransactionRequest) ProtoMessage()
func (*GetPortfolioTransactionRequest) ProtoReflect ¶ added in v0.0.4
func (x *GetPortfolioTransactionRequest) ProtoReflect() protoreflect.Message
func (*GetPortfolioTransactionRequest) Reset ¶ added in v0.0.4
func (x *GetPortfolioTransactionRequest) Reset()
func (*GetPortfolioTransactionRequest) String ¶ added in v0.0.4
func (x *GetPortfolioTransactionRequest) String() string
type GetSecurityRequest ¶
type GetSecurityRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetSecurityRequest) Descriptor
deprecated
func (*GetSecurityRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSecurityRequest.ProtoReflect.Descriptor instead.
func (*GetSecurityRequest) GetName ¶
func (x *GetSecurityRequest) GetName() string
func (*GetSecurityRequest) ProtoMessage ¶
func (*GetSecurityRequest) ProtoMessage()
func (*GetSecurityRequest) ProtoReflect ¶
func (x *GetSecurityRequest) ProtoReflect() protoreflect.Message
func (*GetSecurityRequest) Reset ¶
func (x *GetSecurityRequest) Reset()
func (*GetSecurityRequest) String ¶
func (x *GetSecurityRequest) String() string
type ImportTransactionsRequest ¶
type ImportTransactionsRequest struct { PortfolioName string `protobuf:"bytes,1,opt,name=portfolio_name,json=portfolioName,proto3" json:"portfolio_name,omitempty"` FromCsv string `protobuf:"bytes,2,opt,name=from_csv,json=fromCsv,proto3" json:"from_csv,omitempty"` // contains filtered or unexported fields }
func (*ImportTransactionsRequest) Descriptor
deprecated
func (*ImportTransactionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportTransactionsRequest.ProtoReflect.Descriptor instead.
func (*ImportTransactionsRequest) GetFromCsv ¶
func (x *ImportTransactionsRequest) GetFromCsv() string
func (*ImportTransactionsRequest) GetPortfolioName ¶
func (x *ImportTransactionsRequest) GetPortfolioName() string
func (*ImportTransactionsRequest) ProtoMessage ¶
func (*ImportTransactionsRequest) ProtoMessage()
func (*ImportTransactionsRequest) ProtoReflect ¶
func (x *ImportTransactionsRequest) ProtoReflect() protoreflect.Message
func (*ImportTransactionsRequest) Reset ¶
func (x *ImportTransactionsRequest) Reset()
func (*ImportTransactionsRequest) String ¶
func (x *ImportTransactionsRequest) String() string
type ListPortfolioTransactionsRequest ¶
type ListPortfolioTransactionsRequest struct { PortfolioName string `protobuf:"bytes,1,opt,name=portfolio_name,json=portfolioName,proto3" json:"portfolio_name,omitempty"` // contains filtered or unexported fields }
func (*ListPortfolioTransactionsRequest) Descriptor
deprecated
func (*ListPortfolioTransactionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPortfolioTransactionsRequest.ProtoReflect.Descriptor instead.
func (*ListPortfolioTransactionsRequest) GetPortfolioName ¶
func (x *ListPortfolioTransactionsRequest) GetPortfolioName() string
func (*ListPortfolioTransactionsRequest) ProtoMessage ¶
func (*ListPortfolioTransactionsRequest) ProtoMessage()
func (*ListPortfolioTransactionsRequest) ProtoReflect ¶
func (x *ListPortfolioTransactionsRequest) ProtoReflect() protoreflect.Message
func (*ListPortfolioTransactionsRequest) Reset ¶
func (x *ListPortfolioTransactionsRequest) Reset()
func (*ListPortfolioTransactionsRequest) String ¶
func (x *ListPortfolioTransactionsRequest) String() string
type ListPortfolioTransactionsResponse ¶
type ListPortfolioTransactionsResponse struct { Transactions []*PortfolioEvent `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
func (*ListPortfolioTransactionsResponse) Descriptor
deprecated
func (*ListPortfolioTransactionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPortfolioTransactionsResponse.ProtoReflect.Descriptor instead.
func (*ListPortfolioTransactionsResponse) GetTransactions ¶
func (x *ListPortfolioTransactionsResponse) GetTransactions() []*PortfolioEvent
func (*ListPortfolioTransactionsResponse) ProtoMessage ¶
func (*ListPortfolioTransactionsResponse) ProtoMessage()
func (*ListPortfolioTransactionsResponse) ProtoReflect ¶
func (x *ListPortfolioTransactionsResponse) ProtoReflect() protoreflect.Message
func (*ListPortfolioTransactionsResponse) Reset ¶
func (x *ListPortfolioTransactionsResponse) Reset()
func (*ListPortfolioTransactionsResponse) String ¶
func (x *ListPortfolioTransactionsResponse) String() string
type ListPortfoliosRequest ¶
type ListPortfoliosRequest struct {
// contains filtered or unexported fields
}
func (*ListPortfoliosRequest) Descriptor
deprecated
func (*ListPortfoliosRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPortfoliosRequest.ProtoReflect.Descriptor instead.
func (*ListPortfoliosRequest) ProtoMessage ¶
func (*ListPortfoliosRequest) ProtoMessage()
func (*ListPortfoliosRequest) ProtoReflect ¶
func (x *ListPortfoliosRequest) ProtoReflect() protoreflect.Message
func (*ListPortfoliosRequest) Reset ¶
func (x *ListPortfoliosRequest) Reset()
func (*ListPortfoliosRequest) String ¶
func (x *ListPortfoliosRequest) String() string
type ListPortfoliosResponse ¶
type ListPortfoliosResponse struct { Portfolios []*Portfolio `protobuf:"bytes,1,rep,name=portfolios,proto3" json:"portfolios,omitempty"` // contains filtered or unexported fields }
func (*ListPortfoliosResponse) Descriptor
deprecated
func (*ListPortfoliosResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPortfoliosResponse.ProtoReflect.Descriptor instead.
func (*ListPortfoliosResponse) GetPortfolios ¶
func (x *ListPortfoliosResponse) GetPortfolios() []*Portfolio
func (*ListPortfoliosResponse) ProtoMessage ¶
func (*ListPortfoliosResponse) ProtoMessage()
func (*ListPortfoliosResponse) ProtoReflect ¶
func (x *ListPortfoliosResponse) ProtoReflect() protoreflect.Message
func (*ListPortfoliosResponse) Reset ¶
func (x *ListPortfoliosResponse) Reset()
func (*ListPortfoliosResponse) String ¶
func (x *ListPortfoliosResponse) String() string
type ListSecuritiesRequest ¶
type ListSecuritiesRequest struct { Filter *ListSecuritiesRequest_Filter `protobuf:"bytes,5,opt,name=filter,proto3,oneof" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListSecuritiesRequest) Descriptor
deprecated
func (*ListSecuritiesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSecuritiesRequest.ProtoReflect.Descriptor instead.
func (*ListSecuritiesRequest) GetFilter ¶
func (x *ListSecuritiesRequest) GetFilter() *ListSecuritiesRequest_Filter
func (*ListSecuritiesRequest) ProtoMessage ¶
func (*ListSecuritiesRequest) ProtoMessage()
func (*ListSecuritiesRequest) ProtoReflect ¶
func (x *ListSecuritiesRequest) ProtoReflect() protoreflect.Message
func (*ListSecuritiesRequest) Reset ¶
func (x *ListSecuritiesRequest) Reset()
func (*ListSecuritiesRequest) String ¶
func (x *ListSecuritiesRequest) String() string
type ListSecuritiesRequest_Filter ¶
type ListSecuritiesRequest_Filter struct { SecurityNames []string `protobuf:"bytes,1,rep,name=security_names,json=securityNames,proto3" json:"security_names,omitempty"` // contains filtered or unexported fields }
func (*ListSecuritiesRequest_Filter) Descriptor
deprecated
func (*ListSecuritiesRequest_Filter) Descriptor() ([]byte, []int)
Deprecated: Use ListSecuritiesRequest_Filter.ProtoReflect.Descriptor instead.
func (*ListSecuritiesRequest_Filter) GetSecurityNames ¶
func (x *ListSecuritiesRequest_Filter) GetSecurityNames() []string
func (*ListSecuritiesRequest_Filter) ProtoMessage ¶
func (*ListSecuritiesRequest_Filter) ProtoMessage()
func (*ListSecuritiesRequest_Filter) ProtoReflect ¶
func (x *ListSecuritiesRequest_Filter) ProtoReflect() protoreflect.Message
func (*ListSecuritiesRequest_Filter) Reset ¶
func (x *ListSecuritiesRequest_Filter) Reset()
func (*ListSecuritiesRequest_Filter) String ¶
func (x *ListSecuritiesRequest_Filter) String() string
type ListSecuritiesResponse ¶
type ListSecuritiesResponse struct { Securities []*Security `protobuf:"bytes,1,rep,name=securities,proto3" json:"securities,omitempty"` // contains filtered or unexported fields }
func (*ListSecuritiesResponse) Descriptor
deprecated
func (*ListSecuritiesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSecuritiesResponse.ProtoReflect.Descriptor instead.
func (*ListSecuritiesResponse) GetSecurities ¶
func (x *ListSecuritiesResponse) GetSecurities() []*Security
func (*ListSecuritiesResponse) ProtoMessage ¶
func (*ListSecuritiesResponse) ProtoMessage()
func (*ListSecuritiesResponse) ProtoReflect ¶
func (x *ListSecuritiesResponse) ProtoReflect() protoreflect.Message
func (*ListSecuritiesResponse) Reset ¶
func (x *ListSecuritiesResponse) Reset()
func (*ListSecuritiesResponse) String ¶
func (x *ListSecuritiesResponse) String() string
type ListedSecurity ¶
type ListedSecurity struct { SecurityName string `protobuf:"bytes,1,opt,name=security_name,json=securityName,proto3" json:"security_name,omitempty"` Ticker string `protobuf:"bytes,3,opt,name=ticker,proto3" json:"ticker,omitempty"` Currency string `protobuf:"bytes,4,opt,name=currency,proto3" json:"currency,omitempty"` LatestQuote *Currency `protobuf:"bytes,5,opt,name=latest_quote,json=latestQuote,proto3,oneof" json:"latest_quote,omitempty"` LatestQuoteTimestamp *timestamppb.Timestamp `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ListedSecurity) Descriptor
deprecated
func (*ListedSecurity) Descriptor() ([]byte, []int)
Deprecated: Use ListedSecurity.ProtoReflect.Descriptor instead.
func (*ListedSecurity) GetCurrency ¶
func (x *ListedSecurity) GetCurrency() string
func (*ListedSecurity) GetLatestQuote ¶
func (x *ListedSecurity) GetLatestQuote() *Currency
func (*ListedSecurity) GetLatestQuoteTimestamp ¶
func (x *ListedSecurity) GetLatestQuoteTimestamp() *timestamppb.Timestamp
func (*ListedSecurity) GetSecurityName ¶
func (x *ListedSecurity) GetSecurityName() string
func (*ListedSecurity) GetTicker ¶
func (x *ListedSecurity) GetTicker() string
func (*ListedSecurity) InitTables ¶
func (*ListedSecurity) InitTables(db *persistence.DB) (err error)
func (*ListedSecurity) LogValue ¶ added in v0.0.4
func (ls *ListedSecurity) LogValue() slog.Value
LogValue implements slog.LogValuer.
func (*ListedSecurity) PrepareDelete ¶
func (*ListedSecurity) PrepareDelete(db *persistence.DB) (stmt *sql.Stmt, err error)
func (*ListedSecurity) PrepareGet ¶
func (*ListedSecurity) PrepareGet(db *persistence.DB) (stmt *sql.Stmt, err error)
func (*ListedSecurity) PrepareList ¶
func (*ListedSecurity) PrepareList(db *persistence.DB) (stmt *sql.Stmt, err error)
func (*ListedSecurity) PrepareReplace ¶
func (*ListedSecurity) PrepareReplace(db *persistence.DB) (stmt *sql.Stmt, err error)
func (*ListedSecurity) PrepareUpdate ¶
func (*ListedSecurity) PrepareUpdate(db *persistence.DB, columns []string) (stmt *sql.Stmt, err error)
func (*ListedSecurity) ProtoMessage ¶
func (*ListedSecurity) ProtoMessage()
func (*ListedSecurity) ProtoReflect ¶
func (x *ListedSecurity) ProtoReflect() protoreflect.Message
func (*ListedSecurity) ReplaceIntoArgs ¶
func (l *ListedSecurity) ReplaceIntoArgs() []any
func (*ListedSecurity) Reset ¶
func (x *ListedSecurity) Reset()
func (*ListedSecurity) Scan ¶
func (*ListedSecurity) Scan(sc persistence.Scanner) (obj persistence.StorageObject, err error)
func (*ListedSecurity) String ¶
func (x *ListedSecurity) String() string
func (*ListedSecurity) UpdateArgs ¶
func (l *ListedSecurity) UpdateArgs(columns []string) (args []any)
type Portfolio ¶
type Portfolio struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // BankAccountName contains the name/identifier of the underlying bank // account. BankAccountName string `protobuf:"bytes,3,opt,name=bank_account_name,json=bankAccountName,proto3" json:"bank_account_name,omitempty"` // Events contains all portfolio events, such as buy/sell transactions, // dividends or other. They need to be ordered by time (ascending). Events []*PortfolioEvent `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"` // contains filtered or unexported fields }
func (*Portfolio) Descriptor
deprecated
func (*Portfolio) EventMap ¶
func (p *Portfolio) EventMap() (m map[string][]*PortfolioEvent)
func (*Portfolio) GetBankAccountName ¶ added in v0.1.0
func (*Portfolio) GetDisplayName ¶
func (*Portfolio) GetEvents ¶
func (x *Portfolio) GetEvents() []*PortfolioEvent
func (*Portfolio) InitTables ¶
func (*Portfolio) InitTables(db *persistence.DB) (err error)
func (*Portfolio) PrepareDelete ¶
func (*Portfolio) PrepareGet ¶
func (*Portfolio) PrepareList ¶
func (*Portfolio) PrepareReplace ¶
func (*Portfolio) PrepareUpdate ¶
func (*Portfolio) ProtoMessage ¶
func (*Portfolio) ProtoMessage()
func (*Portfolio) ProtoReflect ¶
func (x *Portfolio) ProtoReflect() protoreflect.Message
func (*Portfolio) ReplaceIntoArgs ¶
func (*Portfolio) Scan ¶
func (*Portfolio) Scan(sc persistence.Scanner) (obj persistence.StorageObject, err error)
func (*Portfolio) UpdateArgs ¶
type PortfolioEvent ¶
type PortfolioEvent struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type PortfolioEventType `protobuf:"varint,2,opt,name=type,proto3,enum=mgo.portfolio.v1.PortfolioEventType" json:"type,omitempty"` Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` PortfolioName string `protobuf:"bytes,4,opt,name=portfolio_name,json=portfolioName,proto3" json:"portfolio_name,omitempty"` SecurityName string `protobuf:"bytes,5,opt,name=security_name,json=securityName,proto3" json:"security_name,omitempty"` Amount float64 `protobuf:"fixed64,10,opt,name=amount,proto3" json:"amount,omitempty"` Price *Currency `protobuf:"bytes,11,opt,name=price,proto3" json:"price,omitempty"` Fees *Currency `protobuf:"bytes,12,opt,name=fees,proto3" json:"fees,omitempty"` Taxes *Currency `protobuf:"bytes,13,opt,name=taxes,proto3" json:"taxes,omitempty"` // contains filtered or unexported fields }
func EventsBefore ¶
func EventsBefore(txs []*PortfolioEvent, t time.Time) (out []*PortfolioEvent)
func (*PortfolioEvent) Descriptor
deprecated
func (*PortfolioEvent) Descriptor() ([]byte, []int)
Deprecated: Use PortfolioEvent.ProtoReflect.Descriptor instead.
func (*PortfolioEvent) GetAmount ¶
func (x *PortfolioEvent) GetAmount() float64
func (*PortfolioEvent) GetFees ¶
func (x *PortfolioEvent) GetFees() *Currency
func (*PortfolioEvent) GetName ¶
func (x *PortfolioEvent) GetName() string
func (*PortfolioEvent) GetPortfolioName ¶
func (x *PortfolioEvent) GetPortfolioName() string
func (*PortfolioEvent) GetPrice ¶
func (x *PortfolioEvent) GetPrice() *Currency
func (*PortfolioEvent) GetSecurityName ¶
func (x *PortfolioEvent) GetSecurityName() string
func (*PortfolioEvent) GetTaxes ¶
func (x *PortfolioEvent) GetTaxes() *Currency
func (*PortfolioEvent) GetTime ¶
func (x *PortfolioEvent) GetTime() *timestamppb.Timestamp
func (*PortfolioEvent) GetType ¶
func (x *PortfolioEvent) GetType() PortfolioEventType
func (*PortfolioEvent) InitTables ¶
func (*PortfolioEvent) InitTables(db *persistence.DB) (err error)
func (*PortfolioEvent) LogValue ¶ added in v0.0.4
func (tx *PortfolioEvent) LogValue() slog.Value
LogValue implements slog.LogValuer.
func (*PortfolioEvent) MakeUniqueName ¶
func (tx *PortfolioEvent) MakeUniqueName()
func (*PortfolioEvent) PrepareDelete ¶
func (*PortfolioEvent) PrepareDelete(db *persistence.DB) (stmt *sql.Stmt, err error)
func (*PortfolioEvent) PrepareGet ¶
func (*PortfolioEvent) PrepareGet(db *persistence.DB) (stmt *sql.Stmt, err error)
func (*PortfolioEvent) PrepareList ¶
func (*PortfolioEvent) PrepareList(db *persistence.DB) (stmt *sql.Stmt, err error)
func (*PortfolioEvent) PrepareReplace ¶
func (*PortfolioEvent) PrepareReplace(db *persistence.DB) (stmt *sql.Stmt, err error)
func (*PortfolioEvent) PrepareUpdate ¶
func (*PortfolioEvent) PrepareUpdate(db *persistence.DB, columns []string) (stmt *sql.Stmt, err error)
func (*PortfolioEvent) ProtoMessage ¶
func (*PortfolioEvent) ProtoMessage()
func (*PortfolioEvent) ProtoReflect ¶
func (x *PortfolioEvent) ProtoReflect() protoreflect.Message
func (*PortfolioEvent) ReplaceIntoArgs ¶
func (e *PortfolioEvent) ReplaceIntoArgs() []any
func (*PortfolioEvent) Reset ¶
func (x *PortfolioEvent) Reset()
func (*PortfolioEvent) Scan ¶
func (*PortfolioEvent) Scan(sc persistence.Scanner) (obj persistence.StorageObject, err error)
func (*PortfolioEvent) String ¶
func (x *PortfolioEvent) String() string
func (*PortfolioEvent) UpdateArgs ¶
func (e *PortfolioEvent) UpdateArgs(columns []string) (args []any)
type PortfolioEventType ¶
type PortfolioEventType int32
const ( PortfolioEventType_PORTFOLIO_EVENT_TYPE_UNSPECIFIED PortfolioEventType = 0 PortfolioEventType_PORTFOLIO_EVENT_TYPE_BUY PortfolioEventType = 1 PortfolioEventType_PORTFOLIO_EVENT_TYPE_SELL PortfolioEventType = 2 PortfolioEventType_PORTFOLIO_EVENT_TYPE_DELIVERY_INBOUND PortfolioEventType = 3 PortfolioEventType_PORTFOLIO_EVENT_TYPE_DELIVERY_OUTBOUND PortfolioEventType = 4 PortfolioEventType_PORTFOLIO_EVENT_TYPE_DIVIDEND PortfolioEventType = 10 PortfolioEventType_PORTFOLIO_EVENT_TYPE_INTEREST PortfolioEventType = 11 PortfolioEventType_PORTFOLIO_EVENT_TYPE_DEPOSIT_CASH PortfolioEventType = 20 PortfolioEventType_PORTFOLIO_EVENT_TYPE_WITHDRAW_CASH PortfolioEventType = 21 PortfolioEventType_PORTFOLIO_EVENT_TYPE_ACCOUNT_FEES PortfolioEventType = 30 PortfolioEventType_PORTFOLIO_EVENT_TYPE_TAX_REFUND PortfolioEventType = 31 )
func (PortfolioEventType) Descriptor ¶
func (PortfolioEventType) Descriptor() protoreflect.EnumDescriptor
func (PortfolioEventType) Enum ¶
func (x PortfolioEventType) Enum() *PortfolioEventType
func (PortfolioEventType) EnumDescriptor
deprecated
func (PortfolioEventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PortfolioEventType.Descriptor instead.
func (PortfolioEventType) Number ¶
func (x PortfolioEventType) Number() protoreflect.EnumNumber
func (PortfolioEventType) String ¶
func (x PortfolioEventType) String() string
func (PortfolioEventType) Type ¶
func (PortfolioEventType) Type() protoreflect.EnumType
type PortfolioPosition ¶
type PortfolioPosition struct { Security *Security `protobuf:"bytes,1,opt,name=security,proto3" json:"security,omitempty"` Amount float64 `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"` // PurchaseValue was the market value of this position when it was bought // (net; exclusive of any fees). PurchaseValue *Currency `protobuf:"bytes,5,opt,name=purchase_value,json=purchaseValue,proto3" json:"purchase_value,omitempty"` // PurchasePrice was the market price of this position when it was bought // (net; exclusive of any fees). PurchasePrice *Currency `protobuf:"bytes,6,opt,name=purchase_price,json=purchasePrice,proto3" json:"purchase_price,omitempty"` // MarketValue is the current market value of this position, as retrieved from // the securities service. MarketValue *Currency `protobuf:"bytes,10,opt,name=market_value,json=marketValue,proto3" json:"market_value,omitempty"` // MarketPrice is the current market price of this position, as retrieved from // the securities service. MarketPrice *Currency `protobuf:"bytes,11,opt,name=market_price,json=marketPrice,proto3" json:"market_price,omitempty"` // TotalFees is the total amount of fees accumulating in this position through // various transactions. TotalFees *Currency `protobuf:"bytes,15,opt,name=total_fees,json=totalFees,proto3" json:"total_fees,omitempty"` // ProfitOrLoss contains the absolute amount of profit or loss in this // position. ProfitOrLoss *Currency `protobuf:"bytes,20,opt,name=profit_or_loss,json=profitOrLoss,proto3" json:"profit_or_loss,omitempty"` // Gains contains the relative amount of profit or loss in this position. Gains float64 `protobuf:"fixed64,21,opt,name=gains,proto3" json:"gains,omitempty"` // contains filtered or unexported fields }
func (*PortfolioPosition) Descriptor
deprecated
func (*PortfolioPosition) Descriptor() ([]byte, []int)
Deprecated: Use PortfolioPosition.ProtoReflect.Descriptor instead.
func (*PortfolioPosition) GetAmount ¶
func (x *PortfolioPosition) GetAmount() float64
func (*PortfolioPosition) GetGains ¶ added in v0.0.3
func (x *PortfolioPosition) GetGains() float64
func (*PortfolioPosition) GetMarketPrice ¶
func (x *PortfolioPosition) GetMarketPrice() *Currency
func (*PortfolioPosition) GetMarketValue ¶
func (x *PortfolioPosition) GetMarketValue() *Currency
func (*PortfolioPosition) GetProfitOrLoss ¶ added in v0.0.3
func (x *PortfolioPosition) GetProfitOrLoss() *Currency
func (*PortfolioPosition) GetPurchasePrice ¶
func (x *PortfolioPosition) GetPurchasePrice() *Currency
func (*PortfolioPosition) GetPurchaseValue ¶
func (x *PortfolioPosition) GetPurchaseValue() *Currency
func (*PortfolioPosition) GetSecurity ¶
func (x *PortfolioPosition) GetSecurity() *Security
func (*PortfolioPosition) GetTotalFees ¶
func (x *PortfolioPosition) GetTotalFees() *Currency
func (*PortfolioPosition) ProtoMessage ¶
func (*PortfolioPosition) ProtoMessage()
func (*PortfolioPosition) ProtoReflect ¶
func (x *PortfolioPosition) ProtoReflect() protoreflect.Message
func (*PortfolioPosition) Reset ¶
func (x *PortfolioPosition) Reset()
func (*PortfolioPosition) String ¶
func (x *PortfolioPosition) String() string
type PortfolioSnapshot ¶
type PortfolioSnapshot struct { // Time is the time when this snapshot was taken. Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` // Positions holds the current positions within the snapshot and their value. Positions map[string]*PortfolioPosition `` /* 159-byte string literal not displayed */ // FirstTransactionTime is the time of the first transaction with the // snapshot. FirstTransactionTime *timestamppb.Timestamp `` /* 129-byte string literal not displayed */ // TotalPurchaseValue contains the total purchase value of all asset positions TotalPurchaseValue *Currency `protobuf:"bytes,10,opt,name=total_purchase_value,json=totalPurchaseValue,proto3" json:"total_purchase_value,omitempty"` // TotalMarketValue contains the total market value of all asset positions TotalMarketValue *Currency `protobuf:"bytes,11,opt,name=total_market_value,json=totalMarketValue,proto3" json:"total_market_value,omitempty"` // TotalProfitOrLoss contains the total absolute amount of profit or loss in // this snapshot, based on asset value. TotalProfitOrLoss *Currency `protobuf:"bytes,20,opt,name=total_profit_or_loss,json=totalProfitOrLoss,proto3" json:"total_profit_or_loss,omitempty"` // TotalGains contains the total relative amount of profit or loss in this // snapshot, based on asset value. TotalGains float64 `protobuf:"fixed64,21,opt,name=total_gains,json=totalGains,proto3" json:"total_gains,omitempty"` // Cash contains the current amount of cash in the portfolio's bank // account(s). Cash *Currency `protobuf:"bytes,22,opt,name=cash,proto3" json:"cash,omitempty"` // TotalPortfolioValue contains the amount of cash plus the total market value // of all assets. TotalPortfolioValue *Currency `protobuf:"bytes,23,opt,name=total_portfolio_value,json=totalPortfolioValue,proto3" json:"total_portfolio_value,omitempty"` // contains filtered or unexported fields }
PortfolioSnapshot represents a snapshot in time of the portfolio. It can for example be the current state of the portfolio but also represent the state of the portfolio at a certain time in the past.
func (*PortfolioSnapshot) Descriptor
deprecated
func (*PortfolioSnapshot) Descriptor() ([]byte, []int)
Deprecated: Use PortfolioSnapshot.ProtoReflect.Descriptor instead.
func (*PortfolioSnapshot) GetCash ¶ added in v0.1.0
func (x *PortfolioSnapshot) GetCash() *Currency
func (*PortfolioSnapshot) GetFirstTransactionTime ¶
func (x *PortfolioSnapshot) GetFirstTransactionTime() *timestamppb.Timestamp
func (*PortfolioSnapshot) GetPositions ¶
func (x *PortfolioSnapshot) GetPositions() map[string]*PortfolioPosition
func (*PortfolioSnapshot) GetTime ¶
func (x *PortfolioSnapshot) GetTime() *timestamppb.Timestamp
func (*PortfolioSnapshot) GetTotalGains ¶ added in v0.0.3
func (x *PortfolioSnapshot) GetTotalGains() float64
func (*PortfolioSnapshot) GetTotalMarketValue ¶
func (x *PortfolioSnapshot) GetTotalMarketValue() *Currency
func (*PortfolioSnapshot) GetTotalPortfolioValue ¶ added in v0.1.0
func (x *PortfolioSnapshot) GetTotalPortfolioValue() *Currency
func (*PortfolioSnapshot) GetTotalProfitOrLoss ¶ added in v0.0.3
func (x *PortfolioSnapshot) GetTotalProfitOrLoss() *Currency
func (*PortfolioSnapshot) GetTotalPurchaseValue ¶
func (x *PortfolioSnapshot) GetTotalPurchaseValue() *Currency
func (*PortfolioSnapshot) ProtoMessage ¶
func (*PortfolioSnapshot) ProtoMessage()
func (*PortfolioSnapshot) ProtoReflect ¶
func (x *PortfolioSnapshot) ProtoReflect() protoreflect.Message
func (*PortfolioSnapshot) Reset ¶
func (x *PortfolioSnapshot) Reset()
func (*PortfolioSnapshot) String ¶
func (x *PortfolioSnapshot) String() string
type Security ¶
type Security struct { // Name contains the unique resource name. For a stock or bond, this should be // an ISIN. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // DisplayName contains the human readable name. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` ListedOn []*ListedSecurity `protobuf:"bytes,4,rep,name=listed_on,json=listedOn,proto3" json:"listed_on,omitempty"` QuoteProvider *string `protobuf:"bytes,10,opt,name=quote_provider,json=quoteProvider,proto3,oneof" json:"quote_provider,omitempty"` // contains filtered or unexported fields }
func (*Security) Descriptor
deprecated
func (*Security) GetDisplayName ¶
func (*Security) GetListedOn ¶
func (x *Security) GetListedOn() []*ListedSecurity
func (*Security) GetQuoteProvider ¶
func (*Security) InitTables ¶
func (*Security) InitTables(db *persistence.DB) (err error)
func (*Security) PrepareDelete ¶
func (*Security) PrepareGet ¶
func (*Security) PrepareList ¶
func (*Security) PrepareReplace ¶
func (*Security) PrepareUpdate ¶
func (*Security) ProtoMessage ¶
func (*Security) ProtoMessage()
func (*Security) ProtoReflect ¶
func (x *Security) ProtoReflect() protoreflect.Message
func (*Security) ReplaceIntoArgs ¶
func (*Security) Scan ¶
func (*Security) Scan(sc persistence.Scanner) (obj persistence.StorageObject, err error)
func (*Security) UpdateArgs ¶
type TriggerQuoteUpdateRequest ¶
type TriggerQuoteUpdateRequest struct { SecurityNames []string `protobuf:"bytes,1,rep,name=security_names,json=securityNames,proto3" json:"security_names,omitempty"` // contains filtered or unexported fields }
func (*TriggerQuoteUpdateRequest) Descriptor
deprecated
func (*TriggerQuoteUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use TriggerQuoteUpdateRequest.ProtoReflect.Descriptor instead.
func (*TriggerQuoteUpdateRequest) GetSecurityNames ¶
func (x *TriggerQuoteUpdateRequest) GetSecurityNames() []string
func (*TriggerQuoteUpdateRequest) ProtoMessage ¶
func (*TriggerQuoteUpdateRequest) ProtoMessage()
func (*TriggerQuoteUpdateRequest) ProtoReflect ¶
func (x *TriggerQuoteUpdateRequest) ProtoReflect() protoreflect.Message
func (*TriggerQuoteUpdateRequest) Reset ¶
func (x *TriggerQuoteUpdateRequest) Reset()
func (*TriggerQuoteUpdateRequest) String ¶
func (x *TriggerQuoteUpdateRequest) String() string
type TriggerQuoteUpdateResponse ¶
type TriggerQuoteUpdateResponse struct {
// contains filtered or unexported fields
}
func (*TriggerQuoteUpdateResponse) Descriptor
deprecated
func (*TriggerQuoteUpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use TriggerQuoteUpdateResponse.ProtoReflect.Descriptor instead.
func (*TriggerQuoteUpdateResponse) ProtoMessage ¶
func (*TriggerQuoteUpdateResponse) ProtoMessage()
func (*TriggerQuoteUpdateResponse) ProtoReflect ¶
func (x *TriggerQuoteUpdateResponse) ProtoReflect() protoreflect.Message
func (*TriggerQuoteUpdateResponse) Reset ¶
func (x *TriggerQuoteUpdateResponse) Reset()
func (*TriggerQuoteUpdateResponse) String ¶
func (x *TriggerQuoteUpdateResponse) String() string
type UpdateBankAccountRequest ¶ added in v0.1.0
type UpdateBankAccountRequest struct { Account *BankAccount `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateBankAccountRequest) Descriptor
deprecated
added in
v0.1.0
func (*UpdateBankAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBankAccountRequest.ProtoReflect.Descriptor instead.
func (*UpdateBankAccountRequest) GetAccount ¶ added in v0.1.0
func (x *UpdateBankAccountRequest) GetAccount() *BankAccount
func (*UpdateBankAccountRequest) GetUpdateMask ¶ added in v0.1.0
func (x *UpdateBankAccountRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateBankAccountRequest) ProtoMessage ¶ added in v0.1.0
func (*UpdateBankAccountRequest) ProtoMessage()
func (*UpdateBankAccountRequest) ProtoReflect ¶ added in v0.1.0
func (x *UpdateBankAccountRequest) ProtoReflect() protoreflect.Message
func (*UpdateBankAccountRequest) Reset ¶ added in v0.1.0
func (x *UpdateBankAccountRequest) Reset()
func (*UpdateBankAccountRequest) String ¶ added in v0.1.0
func (x *UpdateBankAccountRequest) String() string
type UpdatePortfolioRequest ¶
type UpdatePortfolioRequest struct { Portfolio *Portfolio `protobuf:"bytes,1,opt,name=portfolio,proto3" json:"portfolio,omitempty"` UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdatePortfolioRequest) Descriptor
deprecated
func (*UpdatePortfolioRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePortfolioRequest.ProtoReflect.Descriptor instead.
func (*UpdatePortfolioRequest) GetPortfolio ¶
func (x *UpdatePortfolioRequest) GetPortfolio() *Portfolio
func (*UpdatePortfolioRequest) GetUpdateMask ¶
func (x *UpdatePortfolioRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdatePortfolioRequest) ProtoMessage ¶
func (*UpdatePortfolioRequest) ProtoMessage()
func (*UpdatePortfolioRequest) ProtoReflect ¶
func (x *UpdatePortfolioRequest) ProtoReflect() protoreflect.Message
func (*UpdatePortfolioRequest) Reset ¶
func (x *UpdatePortfolioRequest) Reset()
func (*UpdatePortfolioRequest) String ¶
func (x *UpdatePortfolioRequest) String() string
type UpdatePortfolioTransactionRequest ¶
type UpdatePortfolioTransactionRequest struct { Transaction *PortfolioEvent `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdatePortfolioTransactionRequest) Descriptor
deprecated
func (*UpdatePortfolioTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePortfolioTransactionRequest.ProtoReflect.Descriptor instead.
func (*UpdatePortfolioTransactionRequest) GetTransaction ¶
func (x *UpdatePortfolioTransactionRequest) GetTransaction() *PortfolioEvent
func (*UpdatePortfolioTransactionRequest) GetUpdateMask ¶
func (x *UpdatePortfolioTransactionRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdatePortfolioTransactionRequest) ProtoMessage ¶
func (*UpdatePortfolioTransactionRequest) ProtoMessage()
func (*UpdatePortfolioTransactionRequest) ProtoReflect ¶
func (x *UpdatePortfolioTransactionRequest) ProtoReflect() protoreflect.Message
func (*UpdatePortfolioTransactionRequest) Reset ¶
func (x *UpdatePortfolioTransactionRequest) Reset()
func (*UpdatePortfolioTransactionRequest) String ¶
func (x *UpdatePortfolioTransactionRequest) String() string
type UpdateSecurityRequest ¶
type UpdateSecurityRequest struct { Security *Security `protobuf:"bytes,1,opt,name=security,proto3" json:"security,omitempty"` UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateSecurityRequest) Descriptor
deprecated
func (*UpdateSecurityRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSecurityRequest.ProtoReflect.Descriptor instead.
func (*UpdateSecurityRequest) GetSecurity ¶
func (x *UpdateSecurityRequest) GetSecurity() *Security
func (*UpdateSecurityRequest) GetUpdateMask ¶
func (x *UpdateSecurityRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateSecurityRequest) ProtoMessage ¶
func (*UpdateSecurityRequest) ProtoMessage()
func (*UpdateSecurityRequest) ProtoReflect ¶
func (x *UpdateSecurityRequest) ProtoReflect() protoreflect.Message
func (*UpdateSecurityRequest) Reset ¶
func (x *UpdateSecurityRequest) Reset()
func (*UpdateSecurityRequest) String ¶
func (x *UpdateSecurityRequest) String() string