|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazon.webservices.awsecommerceservice._2007_04_04.Customer
public class Customer
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="CustomerId" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="Nickname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="Birthday" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="WishListId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="Location" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="UserDefinedLocation" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="City" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="State" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="Country" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}CustomerReviews" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Nested Class Summary | |
---|---|
static class |
Customer.Location
Java class for anonymous complex type. |
Field Summary | |
---|---|
protected java.lang.String |
birthday
|
protected java.lang.String |
customerId
|
protected java.util.List<CustomerReviews> |
customerReviews
|
protected Customer.Location |
location
|
protected java.lang.String |
nickname
|
protected java.lang.String |
wishListId
|
Constructor Summary | |
---|---|
Customer()
|
Method Summary | |
---|---|
java.lang.String |
getBirthday()
Gets the value of the birthday property. |
java.lang.String |
getCustomerId()
Gets the value of the customerId property. |
java.util.List<CustomerReviews> |
getCustomerReviews()
Gets the value of the customerReviews property. |
Customer.Location |
getLocation()
Gets the value of the location property. |
java.lang.String |
getNickname()
Gets the value of the nickname property. |
java.lang.String |
getWishListId()
Gets the value of the wishListId property. |
void |
setBirthday(java.lang.String value)
Sets the value of the birthday property. |
void |
setCustomerId(java.lang.String value)
Sets the value of the customerId property. |
void |
setLocation(Customer.Location value)
Sets the value of the location property. |
void |
setNickname(java.lang.String value)
Sets the value of the nickname property. |
void |
setWishListId(java.lang.String value)
Sets the value of the wishListId property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String customerId
protected java.lang.String nickname
protected java.lang.String birthday
protected java.lang.String wishListId
protected Customer.Location location
protected java.util.List<CustomerReviews> customerReviews
Constructor Detail |
---|
public Customer()
Method Detail |
---|
public java.lang.String getCustomerId()
String
public void setCustomerId(java.lang.String value)
value
- allowed object is
String
public java.lang.String getNickname()
String
public void setNickname(java.lang.String value)
value
- allowed object is
String
public java.lang.String getBirthday()
String
public void setBirthday(java.lang.String value)
value
- allowed object is
String
public java.lang.String getWishListId()
String
public void setWishListId(java.lang.String value)
value
- allowed object is
String
public Customer.Location getLocation()
Customer.Location
public void setLocation(Customer.Location value)
value
- allowed object is
Customer.Location
public java.util.List<CustomerReviews> getCustomerReviews()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the customerReviews property.
For example, to add a new item, do as follows:
getCustomerReviews().add(newItem);
Objects of the following type(s) are allowed in the list
CustomerReviews
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |