Class AccrualMethodServiceContribution

java.lang.Object
ch.tocco.nice2.optional.accrualexport.api.action.AccrualMethodServiceContribution

public class AccrualMethodServiceContribution extends Object
example:

 @Bean
 public AccrualMethodServiceContribution reservationAccrualMethodServiceContribution(ReservationAccrualMethodServiceImpl service) {
     AccrualMethodServiceContribution contribution = new AccrualMethodServiceContribution();
     contribution.setUniqueId("reservation");
     contribution.setService(service);
     return contribution;
 }
 
  • Constructor Details

    • AccrualMethodServiceContribution

      public AccrualMethodServiceContribution()
  • Method Details

    • getUniqueId

      public String getUniqueId()
    • setUniqueId

      public void setUniqueId(String uniqueId)
    • getService

      public AccrualMethodService getService()
    • setService

      public void setService(AccrualMethodService service)
    • isDefaultService

      public boolean isDefaultService()
    • setDefaultService

      public void setDefaultService(boolean defaultService)