Back to project page Book-MetaSearch.
The source code is released under:
Apache License
If you think the Android project Book-MetaSearch listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.ECS.client.jax; /* w ww . j a v a2s. c o m*/ import java.util.ArrayList; import java.util.List; public class Offer { protected Merchant merchant; protected OfferAttributes offerAttributes; protected List<OfferListing> offerListing; protected LoyaltyPoints loyaltyPoints; protected Promotions promotions; /** * Gets the value of the merchant property. * * @return * possible object is * {@link Merchant } * */ public Merchant getMerchant() { return merchant; } /** * Sets the value of the merchant property. * * @param value * allowed object is * {@link Merchant } * */ public void setMerchant(Merchant value) { this.merchant = value; } /** * Gets the value of the offerAttributes property. * * @return * possible object is * {@link OfferAttributes } * */ public OfferAttributes getOfferAttributes() { return offerAttributes; } /** * Sets the value of the offerAttributes property. * * @param value * allowed object is * {@link OfferAttributes } * */ public void setOfferAttributes(OfferAttributes value) { this.offerAttributes = value; } /** * Gets the value of the offerListing property. * * <p> * 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 <CODE>set</CODE> method for the offerListing property. * * <p> * For example, to add a new item, do as follows: * <pre> * getOfferListing().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link OfferListing } * * */ public List<OfferListing> getOfferListing() { if (offerListing == null) { offerListing = new ArrayList<OfferListing>(); } return this.offerListing; } /** * Gets the value of the loyaltyPoints property. * * @return * possible object is * {@link LoyaltyPoints } * */ public LoyaltyPoints getLoyaltyPoints() { return loyaltyPoints; } /** * Sets the value of the loyaltyPoints property. * * @param value * allowed object is * {@link LoyaltyPoints } * */ public void setLoyaltyPoints(LoyaltyPoints value) { this.loyaltyPoints = value; } /** * Gets the value of the promotions property. * * @return * possible object is * {@link Promotions } * */ public Promotions getPromotions() { return promotions; } /** * Sets the value of the promotions property. * * @param value * allowed object is * {@link Promotions } * */ public void setPromotions(Promotions value) { this.promotions = value; } }