public class Coupon extends Object
Java class for Coupon complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Coupon">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="CouponCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ClassName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="CouponType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Amount" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
<element name="SpendThreshold" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
<element name="CurrencyCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="PercentOff" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
<element name="ActiveDuration" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="ExpirationDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="SendToEmail" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="SendToDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="IsRedeemed" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="RedemptionInfo" type="{https://bingads.microsoft.com/Customer/v13/Entities}CouponRedemption" minOccurs="0"/>
<element name="ClaimInfo" type="{https://bingads.microsoft.com/Customer/v13/Entities}CouponClaimInfo" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
Modifier and Type | Field and Description |
---|---|
protected Integer |
activeDuration |
protected Double |
amount |
protected CouponClaimInfo |
claimInfo |
protected String |
className |
protected String |
couponCode |
protected String |
couponType |
protected String |
currencyCode |
protected Calendar |
endDate |
protected Calendar |
expirationDate |
protected Boolean |
isRedeemed |
protected Double |
percentOff |
protected CouponRedemption |
redemptionInfo |
protected Calendar |
sendToDate |
protected String |
sendToEmail |
protected Double |
spendThreshold |
protected Calendar |
startDate |
Constructor and Description |
---|
Coupon() |
Modifier and Type | Method and Description |
---|---|
Integer |
getActiveDuration()
Gets the value of the activeDuration property.
|
Double |
getAmount()
Gets the value of the amount property.
|
CouponClaimInfo |
getClaimInfo()
Gets the value of the claimInfo property.
|
String |
getClassName()
Gets the value of the className property.
|
String |
getCouponCode()
Gets the value of the couponCode property.
|
String |
getCouponType()
Gets the value of the couponType property.
|
String |
getCurrencyCode()
Gets the value of the currencyCode property.
|
Calendar |
getEndDate()
Gets the value of the endDate property.
|
Calendar |
getExpirationDate()
Gets the value of the expirationDate property.
|
Boolean |
getIsRedeemed()
Gets the value of the isRedeemed property.
|
Double |
getPercentOff()
Gets the value of the percentOff property.
|
CouponRedemption |
getRedemptionInfo()
Gets the value of the redemptionInfo property.
|
Calendar |
getSendToDate()
Gets the value of the sendToDate property.
|
String |
getSendToEmail()
Gets the value of the sendToEmail property.
|
Double |
getSpendThreshold()
Gets the value of the spendThreshold property.
|
Calendar |
getStartDate()
Gets the value of the startDate property.
|
void |
setActiveDuration(Integer value)
Sets the value of the activeDuration property.
|
void |
setAmount(Double value)
Sets the value of the amount property.
|
void |
setClaimInfo(CouponClaimInfo value)
Sets the value of the claimInfo property.
|
void |
setClassName(String value)
Sets the value of the className property.
|
void |
setCouponCode(String value)
Sets the value of the couponCode property.
|
void |
setCouponType(String value)
Sets the value of the couponType property.
|
void |
setCurrencyCode(String value)
Sets the value of the currencyCode property.
|
void |
setEndDate(Calendar value)
Sets the value of the endDate property.
|
void |
setExpirationDate(Calendar value)
Sets the value of the expirationDate property.
|
void |
setIsRedeemed(Boolean value)
Sets the value of the isRedeemed property.
|
void |
setPercentOff(Double value)
Sets the value of the percentOff property.
|
void |
setRedemptionInfo(CouponRedemption value)
Sets the value of the redemptionInfo property.
|
void |
setSendToDate(Calendar value)
Sets the value of the sendToDate property.
|
void |
setSendToEmail(String value)
Sets the value of the sendToEmail property.
|
void |
setSpendThreshold(Double value)
Sets the value of the spendThreshold property.
|
void |
setStartDate(Calendar value)
Sets the value of the startDate property.
|
protected String couponCode
protected String className
protected String couponType
protected Double amount
protected Double spendThreshold
protected String currencyCode
protected Double percentOff
protected Integer activeDuration
protected Calendar expirationDate
protected Calendar startDate
protected Calendar endDate
protected String sendToEmail
protected Calendar sendToDate
protected Boolean isRedeemed
protected CouponRedemption redemptionInfo
protected CouponClaimInfo claimInfo
public String getCouponCode()
String
public void setCouponCode(String value)
value
- allowed object is
String
public String getClassName()
String
public void setClassName(String value)
value
- allowed object is
String
public String getCouponType()
String
public void setCouponType(String value)
value
- allowed object is
String
public Double getAmount()
Double
public void setAmount(Double value)
value
- allowed object is
Double
public Double getSpendThreshold()
Double
public void setSpendThreshold(Double value)
value
- allowed object is
Double
public String getCurrencyCode()
String
public void setCurrencyCode(String value)
value
- allowed object is
String
public Double getPercentOff()
Double
public void setPercentOff(Double value)
value
- allowed object is
Double
public Integer getActiveDuration()
Integer
public void setActiveDuration(Integer value)
value
- allowed object is
Integer
public Calendar getExpirationDate()
String
public void setExpirationDate(Calendar value)
value
- allowed object is
String
public Calendar getStartDate()
String
public void setStartDate(Calendar value)
value
- allowed object is
String
public Calendar getEndDate()
String
public void setEndDate(Calendar value)
value
- allowed object is
String
public String getSendToEmail()
String
public void setSendToEmail(String value)
value
- allowed object is
String
public Calendar getSendToDate()
String
public void setSendToDate(Calendar value)
value
- allowed object is
String
public Boolean getIsRedeemed()
Boolean
public void setIsRedeemed(Boolean value)
value
- allowed object is
Boolean
public CouponRedemption getRedemptionInfo()
CouponRedemption
public void setRedemptionInfo(CouponRedemption value)
value
- allowed object is
CouponRedemption
public CouponClaimInfo getClaimInfo()
CouponClaimInfo
public void setClaimInfo(CouponClaimInfo value)
value
- allowed object is
CouponClaimInfo
Copyright © 2024. All rights reserved.