45 message_out(
INFO,
"Created OfxDummyContainer to hold unsupported aggregate " + para_tag_identifier);
76 memset(&data, 0,
sizeof(data));
78 if (parentcontainer != NULL)
84 OfxStatusContainer::~OfxStatusContainer()
88 libofx_context->statusCallback(data);
90 if ( data.server_message_valid )
98 if ( identifier ==
"CODE")
105 else if (identifier ==
"SEVERITY")
107 data.severity_valid =
true;
112 else if (value ==
"WARN")
116 else if (value ==
"ERROR")
123 data.severity_valid =
false;
126 else if ((identifier ==
"MESSAGE") || (identifier ==
"MESSAGE2"))
130 data.server_message_valid =
true;
148 amount_valid =
false;
150 margin_balance_valid =
false;
151 short_balance_valid =
false;
152 buying_power_valid =
false;
156 OfxBalanceContainer::~OfxBalanceContainer()
158 if (parentcontainer->
type ==
"STATEMENT")
164 message_out (
ERROR,
"I completed a " +
type +
" element, but I haven't found a suitable parent to save it");
169 if (identifier ==
"BALAMT" ||
170 identifier ==
"AVAILCASH" ||
171 identifier ==
"CASHBAL")
175 else if (identifier ==
"MARGINBALANCE")
179 else if (identifier ==
"SHORTBALANCE")
183 else if (identifier ==
"BUYPOWER")
187 else if (identifier ==
"DTASOF")
209 message_out(
INFO,
"Created OfxInv401kContainer to hold unsupported aggregate " + para_tag_identifier);
213 if (identifier ==
"DTSTART" || identifier ==
"DTEND" || identifier ==
"DTASOF")