public class AddItemOp extends Object implements Operation
| Constructor and Description |
|---|
AddItemOp(int invoiceId,
String title,
long price,
int quantity,
Integer paidBy,
Integer personToPay,
Integer groupToPay)
Create operation.
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getGroupToPay()
Get "group to pay" group ID.
|
int |
getInvoiceId()
Get ID of parent invoice.
|
Integer |
getPaidBy()
Get "paid by" person ID.
|
Integer |
getPersonToPay()
Get "person to pay" person ID.
|
long |
getPrice()
Get price (in cents).
|
int |
getQuantity()
Get quantity.
|
String |
getTitle()
Get title.
|
public AddItemOp(int invoiceId,
String title,
long price,
int quantity,
Integer paidBy,
Integer personToPay,
Integer groupToPay)
invoiceId - ID of parent invoicetitle - new item titleprice - new item price (in cents)quantity - new item quantitypaidBy - new "paid by" person ID (optional, if different from invoice
"paid by")personToPay - new "person to pay" person ID (optional)groupToPay - new "group to pay group ID (optional)public int getInvoiceId()
public String getTitle()
public long getPrice()
public int getQuantity()
public Integer getPaidBy()
public Integer getPersonToPay()
public Integer getGroupToPay()
Copyright © 2015 illucIT Software GmbH. All rights reserved.