public Dictionary <string, object> ToDictionary() => new Dictionary <string, object> { { nameof(SoldToCreditorId), SoldToCreditorId.ToString() }, { nameof(CreditorId), CreditorId?.ToString() }, { nameof(MoneyAdviserId), MoneyAdviserId?.ToString() } };
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() } };