public class ChangeItemOp extends Object implements Operation
| Constructor and Description |
|---|
ChangeItemOp(int id,
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 |
getId()
Get existing item ID.
|
Integer |
getPaidBy()
Get "paid by" person ID.
|
Integer |
getPersonToPay()
Get "person to pay" person ID.
|
long |
getPrice()
Get price.
|
int |
getQuantity()
Get quantity.
|
String |
getTitle()
Get title.
|
public ChangeItemOp(int id,
String title,
long price,
int quantity,
Integer paidBy,
Integer personToPay,
Integer groupToPay)
id - ID of existing itemtitle - new titleprice - new price (in cents)quantity - new quantitypaidBy - new "paid by" person ID (optional)personToPay - new "person to pay" person ID (optional)groupToPay - new "group to pay" group ID (optional)public int getId()
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.