public Dictionary <string, object> ToDictionary() => new Dictionary <string, object> { { nameof(SoldToCreditorId), SoldToCreditorId.ToString() }, { nameof(CreditorId), CreditorId?.ToString() }, { nameof(MoneyAdviserId), MoneyAdviserId?.ToString() } };
public override IDictionary <string, object> ToDictionary() { var dictionary = ToNonIdAndDateDictionary(); dictionary.Add("CreditorName", CreditorName); dictionary.Add("CreditorIdIn", CreditorId.ToString()); return(dictionary); }
public Dictionary <string, object> ToDictionary(DynamicsGatewayOptions options) => new Dictionary <string, object> { { "EligibilityReviewReasonId", options .GetDebtEligibilityReviewReasonId(ReviewType.Value) .ToString() }, { nameof(CreditorNotes), CreditorNotes }, { nameof(CreditorId), CreditorId?.ToString() }, { nameof(MoneyAdviserId), MoneyAdviserId?.ToString() } };