class ImmutableLegalEntityDiscountingProvider implements LegalEntityDiscountingProvider, ImmutableBean, Serializable {

  public static ImmutableLegalEntityDiscountingProvider.Builder builder() {
    return new ImmutableLegalEntityDiscountingProvider.Builder();
  }

  private  ImmutableLegalEntityDiscountingProvider(
      LocalDate valuationDate,
      Map<SecurityId, RepoGroup> repoCurveSecurityGroups,
      Map<LegalEntityId, RepoGroup> repoCurveGroups,
      Map<Pair<RepoGroup, Currency>, DiscountFactors> repoCurves,
      Map<LegalEntityId, LegalEntityGroup> issuerCurveGroups,
      Map<Pair<LegalEntityGroup, Currency>, DiscountFactors> issuerCurves);

}