public class Account extends APIObject
Java class for Account complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Account"> <complexContent> <extension base="{http://exacttarget.com/wsdl/partnerAPI}APIObject"> <sequence> <element name="AccountType" type="{http://exacttarget.com/wsdl/partnerAPI}AccountTypeEnum"/> <element name="ParentID" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="BrandID" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="PrivateLabelID" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="ReportingParentID" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="Email" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="FromName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="BusinessName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="Phone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="Address" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="Fax" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="City" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="State" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="Zip" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="Country" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="IsActive" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="IsTestAccount" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="OrgID" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="DBID" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="ParentName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="CustomerID" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> <element name="DeletedDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="EditionID" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="Children" type="{http://exacttarget.com/wsdl/partnerAPI}AccountDataItem" maxOccurs="unbounded" minOccurs="0"/> <element name="Subscription" type="{http://exacttarget.com/wsdl/partnerAPI}Subscription" minOccurs="0"/> <element name="PrivateLabels" type="{http://exacttarget.com/wsdl/partnerAPI}PrivateLabel" maxOccurs="unbounded" minOccurs="0"/> <element name="BusinessRules" type="{http://exacttarget.com/wsdl/partnerAPI}BusinessRule" maxOccurs="unbounded" minOccurs="0"/> <element name="AccountUsers" type="{http://exacttarget.com/wsdl/partnerAPI}AccountUser" maxOccurs="unbounded" minOccurs="0"/> <element name="InheritAddress" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="IsTrialAccount" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="Locale" type="{http://exacttarget.com/wsdl/partnerAPI}Locale" minOccurs="0"/> <element name="ParentAccount" type="{http://exacttarget.com/wsdl/partnerAPI}Account" minOccurs="0"/> <element name="TimeZone" type="{http://exacttarget.com/wsdl/partnerAPI}TimeZone" minOccurs="0"/> <element name="Roles" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Role" type="{http://exacttarget.com/wsdl/partnerAPI}Role" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="LanguageLocale" type="{http://exacttarget.com/wsdl/partnerAPI}Locale" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Class and Description |
---|---|
static class |
Account.Roles
Java class for anonymous complex type.
|
client, correlationID, createdDate, customerKey, id, modifiedDate, objectID, objectState, owner, partnerKey, partnerProperties
Constructor and Description |
---|
Account() |
Modifier and Type | Method and Description |
---|---|
AccountTypeEnum |
getAccountType()
Gets the value of the accountType property.
|
List<AccountUser> |
getAccountUsers()
Gets the value of the accountUsers property.
|
String |
getAddress()
Gets the value of the address property.
|
Integer |
getBrandID()
Gets the value of the brandID property.
|
String |
getBusinessName()
Gets the value of the businessName property.
|
List<BusinessRule> |
getBusinessRules()
Gets the value of the businessRules property.
|
List<AccountDataItem> |
getChildren()
Gets the value of the children property.
|
String |
getCity()
Gets the value of the city property.
|
String |
getCountry()
Gets the value of the country property.
|
Long |
getCustomerID()
Gets the value of the customerID property.
|
Integer |
getDBID()
Gets the value of the dbid property.
|
Date |
getDeletedDate()
Gets the value of the deletedDate property.
|
Integer |
getEditionID()
Gets the value of the editionID property.
|
String |
getEmail()
Gets the value of the email property.
|
String |
getFax()
Gets the value of the fax property.
|
String |
getFromName()
Gets the value of the fromName property.
|
Boolean |
getInheritAddress()
Gets the value of the inheritAddress property.
|
Integer |
getIsActive()
Gets the value of the isActive property.
|
Boolean |
getIsTestAccount()
Gets the value of the isTestAccount property.
|
Boolean |
getIsTrialAccount()
Gets the value of the isTrialAccount property.
|
Locale |
getLanguageLocale()
Gets the value of the languageLocale property.
|
Locale |
getLocale()
Gets the value of the locale property.
|
String |
getName()
Gets the value of the name property.
|
Integer |
getOrgID()
Gets the value of the orgID property.
|
Account |
getParentAccount()
Gets the value of the parentAccount property.
|
Integer |
getParentID()
Gets the value of the parentID property.
|
String |
getParentName()
Gets the value of the parentName property.
|
String |
getPhone()
Gets the value of the phone property.
|
Integer |
getPrivateLabelID()
Gets the value of the privateLabelID property.
|
List<PrivateLabel> |
getPrivateLabels()
Gets the value of the privateLabels property.
|
Integer |
getReportingParentID()
Gets the value of the reportingParentID property.
|
Account.Roles |
getRoles()
Gets the value of the roles property.
|
String |
getState()
Gets the value of the state property.
|
Subscription |
getSubscription()
Gets the value of the subscription property.
|
TimeZone |
getTimeZone()
Gets the value of the timeZone property.
|
String |
getZip()
Gets the value of the zip property.
|
void |
setAccountType(AccountTypeEnum value)
Sets the value of the accountType property.
|
void |
setAddress(String value)
Sets the value of the address property.
|
void |
setBrandID(Integer value)
Sets the value of the brandID property.
|
void |
setBusinessName(String value)
Sets the value of the businessName property.
|
void |
setCity(String value)
Sets the value of the city property.
|
void |
setCountry(String value)
Sets the value of the country property.
|
void |
setCustomerID(Long value)
Sets the value of the customerID property.
|
void |
setDBID(Integer value)
Sets the value of the dbid property.
|
void |
setDeletedDate(Date value)
Sets the value of the deletedDate property.
|
void |
setEditionID(Integer value)
Sets the value of the editionID property.
|
void |
setEmail(String value)
Sets the value of the email property.
|
void |
setFax(String value)
Sets the value of the fax property.
|
void |
setFromName(String value)
Sets the value of the fromName property.
|
void |
setInheritAddress(Boolean value)
Sets the value of the inheritAddress property.
|
void |
setIsActive(Integer value)
Sets the value of the isActive property.
|
void |
setIsTestAccount(Boolean value)
Sets the value of the isTestAccount property.
|
void |
setIsTrialAccount(Boolean value)
Sets the value of the isTrialAccount property.
|
void |
setLanguageLocale(Locale value)
Sets the value of the languageLocale property.
|
void |
setLocale(Locale value)
Sets the value of the locale property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setOrgID(Integer value)
Sets the value of the orgID property.
|
void |
setParentAccount(Account value)
Sets the value of the parentAccount property.
|
void |
setParentID(Integer value)
Sets the value of the parentID property.
|
void |
setParentName(String value)
Sets the value of the parentName property.
|
void |
setPhone(String value)
Sets the value of the phone property.
|
void |
setPrivateLabelID(Integer value)
Sets the value of the privateLabelID property.
|
void |
setReportingParentID(Integer value)
Sets the value of the reportingParentID property.
|
void |
setRoles(Account.Roles value)
Sets the value of the roles property.
|
void |
setState(String value)
Sets the value of the state property.
|
void |
setSubscription(Subscription value)
Sets the value of the subscription property.
|
void |
setTimeZone(TimeZone value)
Sets the value of the timeZone property.
|
void |
setZip(String value)
Sets the value of the zip property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
getClient, getCorrelationID, getCreatedDate, getCustomerKey, getId, getModifiedDate, getObjectID, getObjectState, getOwner, getPartnerKey, getPartnerProperties, setClient, setCorrelationID, setCreatedDate, setCustomerKey, setId, setModifiedDate, setObjectID, setObjectState, setOwner, setPartnerKey
protected AccountTypeEnum accountType
protected Integer parentID
protected Integer brandID
protected Integer privateLabelID
protected Integer reportingParentID
protected String name
protected String email
protected String fromName
protected String businessName
protected String phone
protected String address
protected String fax
protected String city
protected String state
protected String zip
protected String country
protected Integer isActive
protected Boolean isTestAccount
protected Integer orgID
protected Integer dbid
protected String parentName
protected Long customerID
protected Date deletedDate
protected Integer editionID
protected List<AccountDataItem> children
protected Subscription subscription
protected List<PrivateLabel> privateLabels
protected List<BusinessRule> businessRules
protected List<AccountUser> accountUsers
protected Boolean inheritAddress
protected Boolean isTrialAccount
protected Locale locale
protected Account parentAccount
protected TimeZone timeZone
protected Account.Roles roles
protected Locale languageLocale
public AccountTypeEnum getAccountType()
AccountTypeEnum
public void setAccountType(AccountTypeEnum value)
value
- allowed object is
AccountTypeEnum
public Integer getParentID()
Integer
public void setParentID(Integer value)
value
- allowed object is
Integer
public Integer getBrandID()
Integer
public void setBrandID(Integer value)
value
- allowed object is
Integer
public Integer getPrivateLabelID()
Integer
public void setPrivateLabelID(Integer value)
value
- allowed object is
Integer
public Integer getReportingParentID()
Integer
public void setReportingParentID(Integer value)
value
- allowed object is
Integer
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public String getEmail()
String
public void setEmail(String value)
value
- allowed object is
String
public String getFromName()
String
public void setFromName(String value)
value
- allowed object is
String
public String getBusinessName()
String
public void setBusinessName(String value)
value
- allowed object is
String
public String getPhone()
String
public void setPhone(String value)
value
- allowed object is
String
public String getAddress()
String
public void setAddress(String value)
value
- allowed object is
String
public String getFax()
String
public void setFax(String value)
value
- allowed object is
String
public String getCity()
String
public void setCity(String value)
value
- allowed object is
String
public String getState()
String
public void setState(String value)
value
- allowed object is
String
public String getZip()
String
public void setZip(String value)
value
- allowed object is
String
public String getCountry()
String
public void setCountry(String value)
value
- allowed object is
String
public Integer getIsActive()
Integer
public void setIsActive(Integer value)
value
- allowed object is
Integer
public Boolean getIsTestAccount()
Boolean
public void setIsTestAccount(Boolean value)
value
- allowed object is
Boolean
public Integer getOrgID()
Integer
public void setOrgID(Integer value)
value
- allowed object is
Integer
public Integer getDBID()
Integer
public void setDBID(Integer value)
value
- allowed object is
Integer
public String getParentName()
String
public void setParentName(String value)
value
- allowed object is
String
public Long getCustomerID()
Long
public void setCustomerID(Long value)
value
- allowed object is
Long
public Date getDeletedDate()
String
public void setDeletedDate(Date value)
value
- allowed object is
String
public Integer getEditionID()
Integer
public void setEditionID(Integer value)
value
- allowed object is
Integer
public List<AccountDataItem> getChildren()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the children property.
For example, to add a new item, do as follows:
getChildren().add(newItem);
Objects of the following type(s) are allowed in the list
AccountDataItem
public Subscription getSubscription()
Subscription
public void setSubscription(Subscription value)
value
- allowed object is
Subscription
public List<PrivateLabel> getPrivateLabels()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the privateLabels property.
For example, to add a new item, do as follows:
getPrivateLabels().add(newItem);
Objects of the following type(s) are allowed in the list
PrivateLabel
public List<BusinessRule> getBusinessRules()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the businessRules property.
For example, to add a new item, do as follows:
getBusinessRules().add(newItem);
Objects of the following type(s) are allowed in the list
BusinessRule
public List<AccountUser> getAccountUsers()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the accountUsers property.
For example, to add a new item, do as follows:
getAccountUsers().add(newItem);
Objects of the following type(s) are allowed in the list
AccountUser
public Boolean getInheritAddress()
Boolean
public void setInheritAddress(Boolean value)
value
- allowed object is
Boolean
public Boolean getIsTrialAccount()
Boolean
public void setIsTrialAccount(Boolean value)
value
- allowed object is
Boolean
public Locale getLocale()
Locale
public void setLocale(Locale value)
value
- allowed object is
Locale
public Account getParentAccount()
Account
public void setParentAccount(Account value)
value
- allowed object is
Account
public TimeZone getTimeZone()
TimeZone
public void setTimeZone(TimeZone value)
value
- allowed object is
TimeZone
public Account.Roles getRoles()
Account.Roles
public void setRoles(Account.Roles value)
value
- allowed object is
Account.Roles
public Locale getLanguageLocale()
Locale
public void setLanguageLocale(Locale value)
value
- allowed object is
Locale
Copyright © 2017. All rights reserved.