public static TaxDetail ToWebModel(this CartModule.Client.Model.TaxDetail taxDetail, Currency currency) { var result = new TaxDetail(currency); result.InjectFrom(taxDetail); return(result); }
public static CartModule.Client.Model.TaxDetail ToCartApiModel(this TaxDetail taxDetail) { var result = new CartModule.Client.Model.TaxDetail(); result.InjectFrom(taxDetail); return(result); }