package com.microsoft.bingads.v11.campaignmanagement; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for Address complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="Address"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="CityName" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="CountryCode" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="PostalCode" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="ProvinceCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="ProvinceName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="StreetAddress" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="StreetAddress2" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Address", propOrder = { "cityName", "countryCode", "postalCode", "provinceCode", "provinceName", "streetAddress", "streetAddress2" }) public class Address { @XmlElement(name = "CityName", required = true, nillable = true) protected String cityName; @XmlElement(name = "CountryCode", required = true, nillable = true) protected String countryCode; @XmlElement(name = "PostalCode", required = true, nillable = true) protected String postalCode; @XmlElement(name = "ProvinceCode", nillable = true) protected String provinceCode; @XmlElement(name = "ProvinceName", nillable = true) protected String provinceName; @XmlElement(name = "StreetAddress", required = true, nillable = true) protected String streetAddress; @XmlElement(name = "StreetAddress2", nillable = true) protected String streetAddress2; /** * Gets the value of the cityName property. * * @return * possible object is * {@link String } * */ public String getCityName() { return cityName; } /** * Sets the value of the cityName property. * * @param value * allowed object is * {@link String } * */ public void setCityName(String value) { this.cityName = value; } /** * Gets the value of the countryCode property. * * @return * possible object is * {@link String } * */ public String getCountryCode() { return countryCode; } /** * Sets the value of the countryCode property. * * @param value * allowed object is * {@link String } * */ public void setCountryCode(String value) { this.countryCode = value; } /** * Gets the value of the postalCode property. * * @return * possible object is * {@link String } * */ public String getPostalCode() { return postalCode; } /** * Sets the value of the postalCode property. * * @param value * allowed object is * {@link String } * */ public void setPostalCode(String value) { this.postalCode = value; } /** * Gets the value of the provinceCode property. * * @return * possible object is * {@link String } * */ public String getProvinceCode() { return provinceCode; } /** * Sets the value of the provinceCode property. * * @param value * allowed object is * {@link String } * */ public void setProvinceCode(String value) { this.provinceCode = value; } /** * Gets the value of the provinceName property. * * @return * possible object is * {@link String } * */ public String getProvinceName() { return provinceName; } /** * Sets the value of the provinceName property. * * @param value * allowed object is * {@link String } * */ public void setProvinceName(String value) { this.provinceName = value; } /** * Gets the value of the streetAddress property. * * @return * possible object is * {@link String } * */ public String getStreetAddress() { return streetAddress; } /** * Sets the value of the streetAddress property. * * @param value * allowed object is * {@link String } * */ public void setStreetAddress(String value) { this.streetAddress = value; } /** * Gets the value of the streetAddress2 property. * * @return * possible object is * {@link String } * */ public String getStreetAddress2() { return streetAddress2; } /** * Sets the value of the streetAddress2 property. * * @param value * allowed object is * {@link String } * */ public void setStreetAddress2(String value) { this.streetAddress2 = value; } }