package com.microsoft.bingads.v11.customerbilling; import java.util.Calendar; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** * <p>Java class for BillingDocumentInfo complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="BillingDocumentInfo"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="AccountId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> * <element name="AccountName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="AccountNumber" 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="CurrencyCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="DocumentDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> * <element name="DocumentId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "BillingDocumentInfo", namespace = "https://bingads.microsoft.com/Customer/v11/Entities", propOrder = { "accountId", "accountName", "accountNumber", "amount", "currencyCode", "documentDate", "documentId" }) public class BillingDocumentInfo { @XmlElement(name = "AccountId") protected Long accountId; @XmlElement(name = "AccountName", nillable = true) protected String accountName; @XmlElement(name = "AccountNumber", nillable = true) protected String accountNumber; @XmlElement(name = "Amount") protected Double amount; @XmlElement(name = "CurrencyCode", nillable = true) protected String currencyCode; @XmlElement(name = "DocumentDate", type = String.class, nillable = true) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "dateTime") protected Calendar documentDate; @XmlElement(name = "DocumentId", nillable = true) protected Long documentId; /** * 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 accountName property. * * @return * possible object is * {@link String } * */ public String getAccountName() { return accountName; } /** * Sets the value of the accountName property. * * @param value * allowed object is * {@link String } * */ public void setAccountName(String value) { this.accountName = 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 amount property. * * @return * possible object is * {@link Double } * */ public Double getAmount() { return amount; } /** * Sets the value of the amount property. * * @param value * allowed object is * {@link Double } * */ public void setAmount(Double value) { this.amount = 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 documentDate property. * * @return * possible object is * {@link String } * */ public Calendar getDocumentDate() { return documentDate; } /** * Sets the value of the documentDate property. * * @param value * allowed object is * {@link String } * */ public void setDocumentDate(Calendar value) { this.documentDate = value; } /** * Gets the value of the documentId property. * * @return * possible object is * {@link Long } * */ public Long getDocumentId() { return documentId; } /** * Sets the value of the documentId property. * * @param value * allowed object is * {@link Long } * */ public void setDocumentId(Long value) { this.documentId = value; } }