public object Clone() { var result = new ExchangeData(); result.Exchangeable = Exchangeable; result.Charge = Charge?.Copy(); if (Prohibitions != null) { result.Prohibitions = new ConditionsList(Prohibitions); } return(result); }
public object Clone() { var result = new RefundData(); result.RefundableTarrif = RefundableTarrif; result.Charge = Charge?.Copy(); if (Prohibitions != null) { result.Prohibitions = new ConditionsList(Prohibitions); } if (Notes != null) { result.Notes = new ConditionsList(Notes); } if (FullRefundAllowances != null) { result.FullRefundAllowances = new ConditionsList(FullRefundAllowances); } return(result); }