Inheritance: Enumeration
 public DisputeStatusHistory(NodeWrapper node)
 {
     EffectiveDate    = node.GetDateTime("effective-date");
     DisbursementDate = node.GetDateTime("disbursement-date");
     Timestamp        = node.GetDateTime("timestamp");
     Status           = node.GetEnum("status", DisputeStatus.UNRECOGNIZED);
 }
Beispiel #2
0
 public DisputeStatusHistory(NodeWrapper node)
 {
     EffectiveDate    = node.GetDateTime("effective-date");
     DisbursementDate = node.GetDateTime("disbursement-date");
     Timestamp        = node.GetDateTime("timestamp");
     Status           = (DisputeStatus)CollectionUtil.Find(DisputeStatus.ALL, node.GetString("status"), DisputeStatus.UNRECOGNIZED);
 }