public class WishList extends java.lang.Object implements WishListIf
Constructor and Description |
---|
WishList()
Constructor
|
WishList(com.workingdogs.village.Record vr,
KKCriteria c)
Instantiates the attributes of the WishList object from a Record object
|
Modifier and Type | Method and Description |
---|---|
AddressIf |
getAddress()
Shipping address object to be used for shipping list items
|
int |
getAddressId()
Shipping address id to be used for shipping list items
|
java.lang.String |
getCustom1() |
java.lang.String |
getCustom2() |
java.lang.String |
getCustom3() |
java.lang.String |
getCustom4() |
java.lang.String |
getCustom5() |
java.lang.String |
getCustomer1FirstName()
First name of 2nd wish list customer.
|
java.lang.String |
getCustomer1LastName()
Last name of 2nd wish list customer.
|
java.util.Calendar |
getCustomerBirthDate()
Birth date of wish list customer
|
java.lang.String |
getCustomerCity()
City of wish list customer
|
java.lang.String |
getCustomerFirstName()
First name of wish list customer
|
int |
getCustomerId() |
java.lang.String |
getCustomerLastName()
Last name of wish list customer
|
java.lang.String |
getCustomerState()
State of wish list customer
|
java.util.Calendar |
getDateAdded() |
java.lang.String |
getDescription()
Description for the wish list
|
java.util.Calendar |
getEventDate()
Date of the event
|
java.math.BigDecimal |
getFinalPriceExTax() |
java.math.BigDecimal |
getFinalPriceIncTax() |
int |
getId() |
java.lang.String |
getLinkUrl()
URL that points to a page containing event details
|
int |
getListType()
Type of list.
|
java.lang.String |
getName()
Name of the wish list
|
WishListItemIf[] |
getWishListItems()
An array of WishListItem objects belonging to this wish list.
|
boolean |
isPublicWishList()
If set, the wish list is public.
|
void |
setAddress(AddressIf address)
Shipping address object to be used for shipping list items
|
void |
setAddressId(int addressId)
Shipping address id to be used for shipping list items
|
void |
setCustom1(java.lang.String custom1) |
void |
setCustom2(java.lang.String custom2) |
void |
setCustom3(java.lang.String custom3) |
void |
setCustom4(java.lang.String custom4) |
void |
setCustom5(java.lang.String custom5) |
void |
setCustomer1FirstName(java.lang.String customer1FirstName)
First name of 2nd wish list customer.
|
void |
setCustomer1LastName(java.lang.String customer1LastName)
Last name of 2nd wish list customer.
|
void |
setCustomerBirthDate(java.util.Calendar customerBirthDate)
Birth date of wish list customer
|
void |
setCustomerCity(java.lang.String customerCity)
City of wish list customer
|
void |
setCustomerFirstName(java.lang.String customerFirstName)
First name of wish list customer
|
void |
setCustomerId(int customerId) |
void |
setCustomerLastName(java.lang.String customerLastName)
Last name of wish list customer
|
void |
setCustomerState(java.lang.String customerState)
State of wish list customer
|
void |
setDateAdded(java.util.Calendar dateAdded) |
void |
setDescription(java.lang.String description)
Description for the wish list
|
void |
setEventDate(java.util.Calendar eventDate)
Date of the event
|
void |
setFinalPriceExTax(java.math.BigDecimal finalPriceExTax) |
void |
setFinalPriceIncTax(java.math.BigDecimal finalPriceIncTax) |
void |
setFinalPrices()
Sets the final price attributes by adding up the prices of all of the items.
|
void |
setId(int id) |
void |
setLinkUrl(java.lang.String linkUrl)
URL that points to a page containing event details
|
void |
setListType(int listType)
Type of list.
|
void |
setName(java.lang.String name)
Name of the wish list
|
void |
setPublicWishList(boolean publicWishList)
If set, the wish list is public.
|
void |
setWishListItems(WishListItemIf[] wishListItems)
An array of WishListItem objects belonging to this wish list.
|
java.lang.String |
toString() |
public WishList()
public WishList(com.workingdogs.village.Record vr, KKCriteria c) throws com.workingdogs.village.DataSetException
vr
- Record containing datac
- Criteria containing column namescom.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)public java.lang.String toString()
toString
in class java.lang.Object
public void setFinalPrices() throws com.konakart.app.KKException
KKException
- an unexpected KKException exceptionpublic int getId()
getId
in interface WishListIf
public void setId(int id)
setId
in interface WishListIf
id
- The id to set.public WishListItemIf[] getWishListItems()
WishListIf
getWishListItems
in interface WishListIf
public void setWishListItems(WishListItemIf[] wishListItems)
WishListIf
setWishListItems
in interface WishListIf
wishListItems
- The wishListItems to set.public java.lang.String getName()
WishListIf
getName
in interface WishListIf
public void setName(java.lang.String name)
WishListIf
setName
in interface WishListIf
name
- The name to set.public java.lang.String getDescription()
WishListIf
getDescription
in interface WishListIf
public void setDescription(java.lang.String description)
WishListIf
setDescription
in interface WishListIf
description
- The description to set.public java.math.BigDecimal getFinalPriceIncTax()
getFinalPriceIncTax
in interface WishListIf
public void setFinalPriceIncTax(java.math.BigDecimal finalPriceIncTax)
setFinalPriceIncTax
in interface WishListIf
finalPriceIncTax
- The finalPriceIncTax to set.public java.math.BigDecimal getFinalPriceExTax()
getFinalPriceExTax
in interface WishListIf
public void setFinalPriceExTax(java.math.BigDecimal finalPriceExTax)
setFinalPriceExTax
in interface WishListIf
finalPriceExTax
- The finalPriceExTax to set.public java.util.Calendar getDateAdded()
getDateAdded
in interface WishListIf
public void setDateAdded(java.util.Calendar dateAdded)
setDateAdded
in interface WishListIf
dateAdded
- The dateAdded to set.public java.lang.String getCustom1()
getCustom1
in interface WishListIf
public void setCustom1(java.lang.String custom1)
setCustom1
in interface WishListIf
custom1
- The custom1 to set.public java.lang.String getCustom2()
getCustom2
in interface WishListIf
public void setCustom2(java.lang.String custom2)
setCustom2
in interface WishListIf
custom2
- The custom2 to set.public java.lang.String getCustom3()
getCustom3
in interface WishListIf
public void setCustom3(java.lang.String custom3)
setCustom3
in interface WishListIf
custom3
- The custom3 to set.public java.lang.String getCustom4()
getCustom4
in interface WishListIf
public void setCustom4(java.lang.String custom4)
setCustom4
in interface WishListIf
custom4
- The custom4 to set.public java.lang.String getCustom5()
getCustom5
in interface WishListIf
public void setCustom5(java.lang.String custom5)
setCustom5
in interface WishListIf
custom5
- The custom5 to set.public int getCustomerId()
getCustomerId
in interface WishListIf
public void setCustomerId(int customerId)
setCustomerId
in interface WishListIf
customerId
- The customerId to set.public boolean isPublicWishList()
WishListIf
isPublicWishList
in interface WishListIf
public void setPublicWishList(boolean publicWishList)
WishListIf
setPublicWishList
in interface WishListIf
publicWishList
- The publicWishList to set.public java.lang.String getCustomerFirstName()
WishListIf
getCustomerFirstName
in interface WishListIf
public void setCustomerFirstName(java.lang.String customerFirstName)
WishListIf
setCustomerFirstName
in interface WishListIf
customerFirstName
- The customerFirstName to set.public java.lang.String getCustomerLastName()
WishListIf
getCustomerLastName
in interface WishListIf
public void setCustomerLastName(java.lang.String customerLastName)
WishListIf
setCustomerLastName
in interface WishListIf
customerLastName
- The customerLastName to set.public java.lang.String getCustomerCity()
WishListIf
getCustomerCity
in interface WishListIf
public void setCustomerCity(java.lang.String customerCity)
WishListIf
setCustomerCity
in interface WishListIf
customerCity
- The customerCity to set.public java.util.Calendar getCustomerBirthDate()
WishListIf
getCustomerBirthDate
in interface WishListIf
public void setCustomerBirthDate(java.util.Calendar customerBirthDate)
WishListIf
setCustomerBirthDate
in interface WishListIf
customerBirthDate
- The customerBirthDate to set.public java.lang.String getCustomerState()
WishListIf
getCustomerState
in interface WishListIf
public void setCustomerState(java.lang.String customerState)
WishListIf
setCustomerState
in interface WishListIf
customerState
- The customerState to set.public java.lang.String getCustomer1FirstName()
WishListIf
getCustomer1FirstName
in interface WishListIf
public void setCustomer1FirstName(java.lang.String customer1FirstName)
WishListIf
setCustomer1FirstName
in interface WishListIf
customer1FirstName
- the customer1FirstName to setpublic java.lang.String getCustomer1LastName()
WishListIf
getCustomer1LastName
in interface WishListIf
public void setCustomer1LastName(java.lang.String customer1LastName)
WishListIf
setCustomer1LastName
in interface WishListIf
customer1LastName
- the customer1LastName to setpublic java.lang.String getLinkUrl()
WishListIf
getLinkUrl
in interface WishListIf
public void setLinkUrl(java.lang.String linkUrl)
WishListIf
setLinkUrl
in interface WishListIf
linkUrl
- the linkUrl to setpublic int getListType()
WishListIf
getListType
in interface WishListIf
public void setListType(int listType)
WishListIf
setListType
in interface WishListIf
listType
- the listType to setpublic int getAddressId()
WishListIf
getAddressId
in interface WishListIf
public void setAddressId(int addressId)
WishListIf
setAddressId
in interface WishListIf
addressId
- the addressId to setpublic java.util.Calendar getEventDate()
WishListIf
getEventDate
in interface WishListIf
public void setEventDate(java.util.Calendar eventDate)
WishListIf
setEventDate
in interface WishListIf
eventDate
- the eventDate to setpublic AddressIf getAddress()
WishListIf
getAddress
in interface WishListIf
public void setAddress(AddressIf address)
WishListIf
setAddress
in interface WishListIf
address
- the address to setCopyright © 2018 DS Data Systems UK Ltd.