public class Customer extends Object
| Constructor and Description |
|---|
Customer(int ID,
String year) |
Customer(String name,
String year) |
Customer(String name,
String year,
String address,
String town,
String state,
String zipCode,
Double lat,
Double lon,
String phone,
String paid,
String delivered,
String email,
String orderId,
String nameEdited,
BigDecimal Donation) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteCustomer() |
String |
getAddr() |
String[] |
getCustAddressFrmName() |
String |
getDelivered()
Return Delivery status of the customer whose name has been specified.
|
BigDecimal |
getDontation()
Return Donation amount of the customer whose name has been specified.
|
String |
getEmail()
Return Email Address of the customer whose name has been specified.
|
Integer |
getId() |
Double |
getLat() |
Double |
getLon() |
String |
getName() |
int |
getNoLawnProductsOrdered()
Loops through Table to get total amount of Lawn Products ordered.
|
int |
getNoLivePlantsOrdered()
Loops through Table to get total amount of Lawn and Garden Products ordered.
|
int |
getNoMulchOrdered()
Loops through Table to get total amount of Bulk Mulch ordered.
|
String |
getOrderId()
Return Utilities.Order ID of the customer whose name has been specified.
|
String |
getPaid()
Returns if the customer has paid.
|
String |
getPhone()
Return Phone number of the customer whose name has been specified.
|
String |
getState() |
String |
getTown() |
String |
getZip() |
void |
setAddress(String address) |
void |
setDelivered(String delivered) |
void |
setDonation(BigDecimal donation) |
void |
setEmail(String email) |
void |
setLat(Double lat) |
void |
setLon(Double lon) |
void |
setName(String name) |
void |
setOrderId(String orderId) |
void |
setPaid(String paid) |
void |
setPhone(String phone) |
void |
setState(String state) |
void |
setTown(String town) |
void |
setYear(String year) |
void |
setZipCode(String zipCode) |
void |
updateValues(ABOS.Derby.Customer.updateProgCallback updateProg,
ABOS.Derby.Customer.failCallback fail,
ABOS.Derby.Customer.updateMessageCallback updateMessage,
ABOS.Derby.Customer.getProgCallback getProgress) |
public Customer(String name, String year, String address, String town, String state, String zipCode, Double lat, Double lon, String phone, String paid, String delivered, String email, String orderId, String nameEdited, BigDecimal Donation)
public Customer(int ID,
String year)
public Double getLat()
public void setLat(Double lat)
public Double getLon()
public void setLon(Double lon)
public void setYear(String year)
public void setAddress(String address)
public void setZipCode(String zipCode)
public void setDonation(BigDecimal donation)
public void updateValues(ABOS.Derby.Customer.updateProgCallback updateProg,
ABOS.Derby.Customer.failCallback fail,
ABOS.Derby.Customer.updateMessageCallback updateMessage,
ABOS.Derby.Customer.getProgCallback getProgress)
throws Exception
Exceptionpublic void deleteCustomer()
public String[] getCustAddressFrmName()
public int getNoMulchOrdered()
public int getNoLivePlantsOrdered()
public int getNoLawnProductsOrdered()
public Integer getId()
public String getAddr()
public String getTown()
public void setTown(String town)
public String getState()
public void setState(String state)
public String getZip()
public String getName()
public void setName(String name)
public String getPhone()
public void setPhone(String phone)
public String getPaid()
public void setPaid(String paid)
public String getDelivered()
public void setDelivered(String delivered)
public String getEmail()
public void setEmail(String email)
public String getOrderId()
public void setOrderId(String orderId)
public BigDecimal getDontation()
Copyright © 2014–2018. All rights reserved.