Interface OfferCodeGenerationAdditionalOfferXref
- All Superinterfaces:
org.broadleafcommerce.common.copy.MultiTenantCloneable<OfferCodeGenerationAdditionalOfferXref>,Serializable
- All Known Implementing Classes:
OfferCodeGenerationAdditionalOfferXrefImpl
public interface OfferCodeGenerationAdditionalOfferXref
extends Serializable, org.broadleafcommerce.common.copy.MultiTenantCloneable<OfferCodeGenerationAdditionalOfferXref>
Represents the association between an
OfferCodeGenerationInfo and an Offer. This allows
more than one offer to be associated with a set of generated offer codes.- Author:
- Chad Harchar (charchar)
-
Method Summary
Modifier and TypeMethodDescriptiongetId()org.broadleafcommerce.core.offer.domain.OffergetOffer()voidSets the id for this xrefvoidsetOffer(org.broadleafcommerce.core.offer.domain.Offer offer) Sets the associatedOffervoidsetOfferCodeGenerationInfo(OfferCodeGenerationInfo offerCodeGenerationInfo) Sets the associatedOfferCodeGenerationInfoMethods inherited from interface org.broadleafcommerce.common.copy.MultiTenantCloneable
createOrRetrieveCopyInstance
-
Method Details
-
getId
Long getId()- Returns:
- the id for this xref
-
setId
Sets the id for this xref- Parameters:
id-
-
getOfferCodeGenerationInfo
OfferCodeGenerationInfo getOfferCodeGenerationInfo()- Returns:
- the associated
OfferCodeGenerationInfo
-
setOfferCodeGenerationInfo
Sets the associatedOfferCodeGenerationInfo- Parameters:
offerCodeGenerationInfo-
-
getOffer
org.broadleafcommerce.core.offer.domain.Offer getOffer()- Returns:
- the associated
Offer
-
setOffer
void setOffer(org.broadleafcommerce.core.offer.domain.Offer offer) Sets the associatedOffer- Parameters:
offer-
-