Tabnine Logo
Project$Builder.withHourlyRate
Code IndexAdd Tabnine to your IDE (free)

How to use
withHourlyRate
method
in
it.tidalwave.accounting.model.Project$Builder

Best Java code snippets using it.tidalwave.accounting.model.Project$Builder.withHourlyRate (Showing top 4 results out of 315)

origin: it.tidalwave.accounting/it-tidalwave-accounting-marshalling-xml

 @Nonnull
 public Project.Builder toBuilder (final @Nonnull Accounting accounting)
  {
   try 
    {
     final Customer customer = accounting.getCustomerRegistry().findCustomers().withId(customerXml.getId()).result();
     return new Project.Builder().withId(id)
                   .withCustomer(customer) 
                   .withName(name)
                   .withNumber(number)
                   .withDescription(description)
                   .withNotes(notes)
                   .withStatus(status)
                   .withHourlyRate(hourlyRate)
                   .withBudget(budget)
                   .withStartDate(startDate)
                   .withEndDate(endDate)
                   .withEvents(JobEventXml.toJobEvents(jobEventsXml));
    } 
   catch (NotFoundException e) 
    {
     throw new RuntimeException(e);
    }
  }
}
origin: it.tidalwave.accounting/it-tidalwave-accounting-importer-ibiz

.withNumber(projectConfig.getString("projectNumber"))
.withStatus(status.getMappedStatus())
.withHourlyRate(getHourlyRate(projectConfig, jobEvents))
.withEvents(jobEvents)
.create();
origin: it.tidalwave.accounting/it-tidalwave-accounting-model-impl-inmemory

                  .withNotes("Notes for project 1")
                  .withNumber("1")
                  .withHourlyRate(new Money(43, "EUR"))
                  .create();
assertThat(p.toString(), is("InMemoryProject(id=2, customer=InMemoryCustomer(id=1, name=Acme Corp., billingAddress="
origin: it.tidalwave.accounting/it-tidalwave-accounting-model

.withNumber("PRJ ACME-1")
.withEvents(je1)
.withHourlyRate(rate1)
.withBudget(new Money(123456, "EUR"))
.create();
.withNumber("PRJ ACME-2")
.withEvents(je2)
.withHourlyRate(rate2)
.withBudget(new Money(234567, "EUR"))
.create();
.withEndDate(project3EndDate)
.withNumber("PRJ ACME-3")
.withHourlyRate(rate3)
.withEvents(je3)
.withBudget(new Money(345678, "EUR"))
.withEndDate(project4EndDate)
.withNumber("PRJ ACME-4")
.withHourlyRate(rate4)
.withEvents(je4)
.withBudget(new Money(456789, "EUR"))
it.tidalwave.accounting.modelProject$BuilderwithHourlyRate

Popular methods of Project$Builder

  • create
  • withBudget
  • withCustomer
  • withEndDate
  • withId
  • withName
  • withNumber
  • withStartDate
  • withDescription
  • withEvents
  • withNotes
  • <init>
  • withNotes,
  • <init>,
  • withStatus,
  • getBudget,
  • getCustomer,
  • getDescription,
  • getEndDate,
  • getHourlyRate,
  • getId

Popular in Java

  • Parsing JSON documents to java classes using gson
  • putExtra (Intent)
  • setContentView (Activity)
  • getContentResolver (Context)
  • Kernel (java.awt.image)
  • Path (java.nio.file)
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • JCheckBox (javax.swing)
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now