com.microsoft.bingads.v13.customerbilling.CouponRedemption Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of microsoft.bingads Show documentation
Show all versions of microsoft.bingads Show documentation
The Bing Ads Java SDK is a library improving developer experience when working with the Bing Ads services by providing high-level access to features such as Bulk API, OAuth Authorization and SOAP API.
package com.microsoft.bingads.v13.customerbilling;
import java.util.Calendar;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for CouponRedemption complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
{@code
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CouponRedemption", namespace = "https://bingads.microsoft.com/Customer/v13/Entities", propOrder = {
"accountId",
"accountNumber",
"spendToThreshold",
"balance",
"currencyCode",
"redemptionDate",
"expirationDate",
"activationDate"
})
public class CouponRedemption {
@XmlElement(name = "AccountId")
protected Long accountId;
@XmlElement(name = "AccountNumber", nillable = true)
protected String accountNumber;
@XmlElement(name = "SpendToThreshold")
protected Double spendToThreshold;
@XmlElement(name = "Balance")
protected Double balance;
@XmlElement(name = "CurrencyCode", nillable = true)
protected String currencyCode;
@XmlElement(name = "RedemptionDate", type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Calendar redemptionDate;
@XmlElement(name = "ExpirationDate", type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Calendar expirationDate;
@XmlElement(name = "ActivationDate", type = String.class, nillable = true)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Calendar activationDate;
/**
* Gets the value of the accountId property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getAccountId() {
return accountId;
}
/**
* Sets the value of the accountId property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setAccountId(Long value) {
this.accountId = value;
}
/**
* Gets the value of the accountNumber property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAccountNumber() {
return accountNumber;
}
/**
* Sets the value of the accountNumber property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAccountNumber(String value) {
this.accountNumber = value;
}
/**
* Gets the value of the spendToThreshold property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getSpendToThreshold() {
return spendToThreshold;
}
/**
* Sets the value of the spendToThreshold property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setSpendToThreshold(Double value) {
this.spendToThreshold = value;
}
/**
* Gets the value of the balance property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getBalance() {
return balance;
}
/**
* Sets the value of the balance property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setBalance(Double value) {
this.balance = value;
}
/**
* Gets the value of the currencyCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCurrencyCode() {
return currencyCode;
}
/**
* Sets the value of the currencyCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCurrencyCode(String value) {
this.currencyCode = value;
}
/**
* Gets the value of the redemptionDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public Calendar getRedemptionDate() {
return redemptionDate;
}
/**
* Sets the value of the redemptionDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRedemptionDate(Calendar value) {
this.redemptionDate = value;
}
/**
* Gets the value of the expirationDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public Calendar getExpirationDate() {
return expirationDate;
}
/**
* Sets the value of the expirationDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setExpirationDate(Calendar value) {
this.expirationDate = value;
}
/**
* Gets the value of the activationDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public Calendar getActivationDate() {
return activationDate;
}
/**
* Sets the value of the activationDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setActivationDate(Calendar value) {
this.activationDate = value;
}
}