Class CouponValidityPeriodType
java.lang.Object
de.hybris.platform.oneorderfacades.oneorder.osin.CouponValidityPeriodType
Date range a coupon is valid for with an optional time component.
Java class for CouponValidityPeriodType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CouponValidityPeriodType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Duration" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderSalesInformationNotifRQ}DurationType"/>
<element name="EffectiveDate" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderSalesInformationNotifRQ}DateType"/>
<element name="ExpirationDate" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderSalesInformationNotifRQ}DateType"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Durationprotected XMLGregorianCalendarprotected XMLGregorianCalendar -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the duration property.Gets the value of the effectiveDate property.Gets the value of the expirationDate property.voidsetDuration(Duration value) Sets the value of the duration property.voidSets the value of the effectiveDate property.voidSets the value of the expirationDate property.
-
Field Details
-
duration
-
effectiveDate
-
expirationDate
-
-
Constructor Details
-
CouponValidityPeriodType
public CouponValidityPeriodType()
-
-
Method Details
-
getDuration
Gets the value of the duration property.- Returns:
- possible object is
Duration
-
setDuration
Sets the value of the duration property.- Parameters:
value- allowed object isDuration
-
getEffectiveDate
Gets the value of the effectiveDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setEffectiveDate
Sets the value of the effectiveDate property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getExpirationDate
Gets the value of the expirationDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setExpirationDate
Sets the value of the expirationDate property.- Parameters:
value- allowed object isXMLGregorianCalendar
-