OpenPit C++ SDK
C++17 SDK for the OpenPit pre-trade risk engine
openpit::accountadjustment::Amount Struct Reference

Public Member Functions

 Amount ()=default
 
OpenPitAccountAdjustmentAmount Raw () const noexcept
 

Static Public Member Functions

static Amount FromRaw (const OpenPitAccountAdjustmentAmount &raw)
 

Public Attributes

std::optional< param::AdjustmentAmountbalance
 
std::optional< param::AdjustmentAmountheld
 
std::optional< param::AdjustmentAmountincoming
 

Constructor & Destructor Documentation

◆ Amount()

openpit::accountadjustment::Amount::Amount ( )
default

Member Function Documentation

◆ FromRaw()

static Amount openpit::accountadjustment::Amount::FromRaw ( const OpenPitAccountAdjustmentAmount &  raw)
inlinestatic

◆ Raw()

OpenPitAccountAdjustmentAmount openpit::accountadjustment::Amount::Raw ( ) const
inlinenoexcept

Member Data Documentation

◆ balance

std::optional<param::AdjustmentAmount> openpit::accountadjustment::Amount::balance

◆ held

std::optional<param::AdjustmentAmount> openpit::accountadjustment::Amount::held

◆ incoming

std::optional<param::AdjustmentAmount> openpit::accountadjustment::Amount::incoming