GnuCash c935c2f+
Loading...
Searching...
No Matches
Data Fields
GNCPrice Struct Reference

Price of commodity on a given date. More...

Data Fields

QofInstance inst
 
GNCPriceDB * db
 
gnc_commodity * commodity
 
gnc_commodity * currency
 
time64 tmspec
 
PriceSource source
 
const char * type
 
gnc_numeric value
 
guint32 refcount
 

Detailed Description

Price of commodity on a given date.

A GNCPrice encapsulates price information: the cost of a commodity expressed as a currency, on a given date. It also holds info about the provenance of the price: where it came from, its general validity.

Definition at line 37 of file gnc-pricedb-p.h.

Field Documentation

◆ commodity

gnc_commodity* GNCPrice::commodity

Definition at line 43 of file gnc-pricedb-p.h.

◆ currency

gnc_commodity* GNCPrice::currency

Definition at line 44 of file gnc-pricedb-p.h.

◆ db

GNCPriceDB* GNCPrice::db

Definition at line 42 of file gnc-pricedb-p.h.

◆ inst

QofInstance GNCPrice::inst

Definition at line 40 of file gnc-pricedb-p.h.

◆ refcount

guint32 GNCPrice::refcount

Definition at line 51 of file gnc-pricedb-p.h.

◆ source

PriceSource GNCPrice::source

Definition at line 46 of file gnc-pricedb-p.h.

◆ tmspec

time64 GNCPrice::tmspec

Definition at line 45 of file gnc-pricedb-p.h.

◆ type

const char* GNCPrice::type

Definition at line 47 of file gnc-pricedb-p.h.

◆ value

gnc_numeric GNCPrice::value

Definition at line 48 of file gnc-pricedb-p.h.


The documentation for this struct was generated from the following file: