Skip to main content

SessionValue

Final or maximum session value on a recording's finalValue and maxValue, expressed as integers scaled by 10,000 (10000 = 1 currency unit) in the indicated currencies.

type SessionValue {
displayCurrency: String
displayWorth: Int
originalCurrency: String
originalWorth: Int
isConverted: Boolean!
}

Fields​

SessionValue.displayCurrency ● String scalar​

Display currency code selected for the site, falling back to the account currency and then USD.

SessionValue.displayWorth ● Int scalar​

Amount in displayCurrency scaled by 10,000 (10000 = 1 currency unit); returns 0 when no amount can be computed.

SessionValue.originalCurrency ● String scalar​

Original recorded currency; null when absent.

SessionValue.originalWorth ● Int scalar​

Original amount in originalCurrency scaled by 10,000; null when absent.

SessionValue.isConverted ● Boolean! non-null scalar​

True when the original currency differs from displayCurrency, so displayWorth is a converted amount.

Member Of​

Recording object