net.worcade.client.get.WorkOrder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api-client Show documentation
Show all versions of api-client Show documentation
A library for interacting with the Worcade API
// Copyright (c) 2017, Worcade. Please see the AUTHORS file for details.
// All rights reserved. Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package net.worcade.client.get;
import net.worcade.client.modify.WorkOrderModification;
import net.worcade.client.modify.WorkOrderRowModification;
import java.time.Duration;
import java.util.Collection;
import java.util.Currency;
public interface WorkOrder extends Entity, ReferenceWithName {
WorkOrderModification modify();
@Override
String getName();
Collection extends Row> getRows();
boolean isApproved();
boolean isRejected();
interface Row {
WorkOrderRowModification modify();
String getId();
String getDescription();
Duration getDuration();
Double getCostAmount();
Currency getCostCurrency();
}
}