Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountBalance ¶
type AccountBalance struct { Descriptor string `json:"descriptor,omitempty"` HoldingCurrency string `json:"holding_currency,omitempty"` Balances Balances `json:"balances,omitempty"` }
QueryResponse
type Balances ¶
type Balances struct { Pending int64 `json:"pending,omitempty"` Available int64 `json:"available,omitempty"` Payable int64 `json:"payable,omitempty"` Collateral int64 `json:"collateral,omitempty"` }
QueryResponse
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(configuration *configuration.Configuration, apiClient client.HttpClient) *Client
func (*Client) RetrieveEntityBalances ¶
func (c *Client) RetrieveEntityBalances(entityId string, query QueryFilter) (*QueryResponse, error)
type QueryFilter ¶
type QueryFilter struct {
Query string `url:"query,omitempty"`
}
type QueryResponse ¶
type QueryResponse struct { HttpMetadata common.HttpMetadata Data []AccountBalance `json:"data,omitempty"` }
QueryResponse
Click to show internal directories.
Click to hide internal directories.