Package microsoft.dynamics.crm.entity
Class Account
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Account
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Account extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccount.Builder
-
Field Summary
-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAccount()
-
Method Summary
-
-
-
Field Detail
-
overriddencreatedon
protected OffsetDateTime overriddencreatedon
-
territorycode
protected Integer territorycode
-
accountid
protected UUID accountid
-
address1_telephone1
protected String address1_telephone1
-
address1_postofficebox
protected String address1_postofficebox
-
address1_line2
protected String address1_line2
-
emailaddress3
protected String emailaddress3
-
address1_telephone3
protected String address1_telephone3
-
address2_county
protected String address2_county
-
createdon
protected OffsetDateTime createdon
-
numberofemployees
protected Integer numberofemployees
-
_owningbusinessunit_value
protected UUID _owningbusinessunit_value
-
timespentbymeonemailandmeetings
protected String timespentbymeonemailandmeetings
-
address2_longitude
protected Double address2_longitude
-
ownershipcode
protected Integer ownershipcode
-
timezoneruleversionnumber
protected Integer timezoneruleversionnumber
-
primarysatoriid
protected String primarysatoriid
-
_masterid_value
protected UUID _masterid_value
-
address2_latitude
protected Double address2_latitude
-
address2_fax
protected String address2_fax
-
_slaid_value
protected UUID _slaid_value
-
aging60_base
protected BigDecimal aging60_base
-
telephone1
protected String telephone1
-
entityimage
protected byte[] entityimage
-
revenue
protected BigDecimal revenue
-
industrycode
protected Integer industrycode
-
aging30_base
protected BigDecimal aging30_base
-
emailaddress1
protected String emailaddress1
-
address1_latitude
protected Double address1_latitude
-
_transactioncurrencyid_value
protected UUID _transactioncurrencyid_value
-
tickersymbol
protected String tickersymbol
-
address2_shippingmethodcode
protected Integer address2_shippingmethodcode
-
customersizecode
protected Integer customersizecode
-
address2_name
protected String address2_name
-
address1_stateorprovince
protected String address1_stateorprovince
-
address1_line3
protected String address1_line3
-
accountratingcode
protected Integer accountratingcode
-
address1_line1
protected String address1_line1
-
importsequencenumber
protected Integer importsequencenumber
-
paymenttermscode
protected Integer paymenttermscode
-
donotfax
protected Boolean donotfax
-
aging90_base
protected BigDecimal aging90_base
-
businesstypecode
protected Integer businesstypecode
-
address2_line3
protected String address2_line3
-
address2_utcoffset
protected Integer address2_utcoffset
-
donotphone
protected Boolean donotphone
-
exchangerate
protected BigDecimal exchangerate
-
_ownerid_value
protected UUID _ownerid_value
-
_modifiedonbehalfby_value
protected UUID _modifiedonbehalfby_value
-
utcconversiontimezonecode
protected Integer utcconversiontimezonecode
-
ftpsiteurl
protected String ftpsiteurl
-
shippingmethodcode
protected Integer shippingmethodcode
-
stockexchange
protected String stockexchange
-
address2_telephone3
protected String address2_telephone3
-
address2_line1
protected String address2_line1
-
_owningteam_value
protected UUID _owningteam_value
-
aging60
protected BigDecimal aging60
-
participatesinworkflow
protected Boolean participatesinworkflow
-
address1_postalcode
protected String address1_postalcode
-
address2_addressid
protected UUID address2_addressid
-
marketcap
protected BigDecimal marketcap
-
address2_addresstypecode
protected Integer address2_addresstypecode
-
aging90
protected BigDecimal aging90
-
donotbulkemail
protected Boolean donotbulkemail
-
aging30
protected BigDecimal aging30
-
entityimage_url
protected String entityimage_url
-
sic
protected String sic
-
sharesoutstanding
protected Integer sharesoutstanding
-
accountcategorycode
protected Integer accountcategorycode
-
_owninguser_value
protected UUID _owninguser_value
-
stageid
protected UUID stageid
-
versionnumber
protected Long versionnumber
-
preferredappointmenttimecode
protected Integer preferredappointmenttimecode
-
donotsendmm
protected Boolean donotsendmm
-
address1_name
protected String address1_name
-
fax
protected String fax
-
address1_fax
protected String address1_fax
-
merged
protected Boolean merged
-
address1_city
protected String address1_city
-
description
protected String description
-
address2_stateorprovince
protected String address2_stateorprovince
-
yominame
protected String yominame
-
donotpostalmail
protected Boolean donotpostalmail
-
address1_country
protected String address1_country
-
donotemail
protected Boolean donotemail
-
address1_composite
protected String address1_composite
-
_slainvokedid_value
protected UUID _slainvokedid_value
-
address1_primarycontactname
protected String address1_primarycontactname
-
onholdtime
protected Integer onholdtime
-
_createdbyexternalparty_value
protected UUID _createdbyexternalparty_value
-
marketingonly
protected Boolean marketingonly
-
statuscode
protected Integer statuscode
-
traversedpath
protected String traversedpath
-
processid
protected UUID processid
-
_createdonbehalfby_value
protected UUID _createdonbehalfby_value
-
_modifiedbyexternalparty_value
protected UUID _modifiedbyexternalparty_value
-
address2_postalcode
protected String address2_postalcode
-
_modifiedby_value
protected UUID _modifiedby_value
-
address1_shippingmethodcode
protected Integer address1_shippingmethodcode
-
_createdby_value
protected UUID _createdby_value
-
entityimage_timestamp
protected Long entityimage_timestamp
-
address1_upszone
protected String address1_upszone
-
address2_primarycontactname
protected String address2_primarycontactname
-
primarytwitterid
protected String primarytwitterid
-
customertypecode
protected Integer customertypecode
-
address2_postofficebox
protected String address2_postofficebox
-
statecode
protected Integer statecode
-
address2_city
protected String address2_city
-
_primarycontactid_value
protected UUID _primarycontactid_value
-
address1_freighttermscode
protected Integer address1_freighttermscode
-
address1_longitude
protected Double address1_longitude
-
telephone2
protected String telephone2
-
address1_addresstypecode
protected Integer address1_addresstypecode
-
donotbulkpostalmail
protected Boolean donotbulkpostalmail
-
lastusedincampaign
protected OffsetDateTime lastusedincampaign
-
_preferredsystemuserid_value
protected UUID _preferredsystemuserid_value
-
creditlimit_base
protected BigDecimal creditlimit_base
-
telephone3
protected String telephone3
-
address1_addressid
protected UUID address1_addressid
-
preferredappointmentdaycode
protected Integer preferredappointmentdaycode
-
websiteurl
protected String websiteurl
-
accountclassificationcode
protected Integer accountclassificationcode
-
address2_composite
protected String address2_composite
-
name
protected String name
-
address2_telephone1
protected String address2_telephone1
-
creditlimit
protected BigDecimal creditlimit
-
lastonholdtime
protected OffsetDateTime lastonholdtime
-
address2_line2
protected String address2_line2
-
creditonhold
protected Boolean creditonhold
-
entityimageid
protected UUID entityimageid
-
accountnumber
protected String accountnumber
-
followemail
protected Boolean followemail
-
modifiedon
protected OffsetDateTime modifiedon
-
address1_county
protected String address1_county
-
marketcap_base
protected BigDecimal marketcap_base
-
address2_upszone
protected String address2_upszone
-
address2_country
protected String address2_country
-
address1_telephone2
protected String address1_telephone2
-
address2_freighttermscode
protected Integer address2_freighttermscode
-
address1_utcoffset
protected Integer address1_utcoffset
-
emailaddress2
protected String emailaddress2
-
_parentaccountid_value
protected UUID _parentaccountid_value
-
preferredcontactmethodcode
protected Integer preferredcontactmethodcode
-
revenue_base
protected BigDecimal revenue_base
-
address2_telephone2
protected String address2_telephone2
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderAccount
public static Account.Builder builderAccount()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classCrmbaseentity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classCrmbaseentity
-
getOverriddencreatedon
public Optional<OffsetDateTime> getOverriddencreatedon()
-
withOverriddencreatedon
public Account withOverriddencreatedon(OffsetDateTime overriddencreatedon)
-
withAddress1_postofficebox
public Account withAddress1_postofficebox(String address1_postofficebox)
-
getCreatedon
public Optional<OffsetDateTime> getCreatedon()
-
withCreatedon
public Account withCreatedon(OffsetDateTime createdon)
-
with_owningbusinessunit_value
public Account with_owningbusinessunit_value(UUID _owningbusinessunit_value)
-
withTimespentbymeonemailandmeetings
public Account withTimespentbymeonemailandmeetings(String timespentbymeonemailandmeetings)
-
withTimezoneruleversionnumber
public Account withTimezoneruleversionnumber(Integer timezoneruleversionnumber)
-
getAging60_base
public Optional<BigDecimal> getAging60_base()
-
withAging60_base
public Account withAging60_base(BigDecimal aging60_base)
-
getEntityimage
public Optional<byte[]> getEntityimage()
-
withEntityimage
public Account withEntityimage(byte[] entityimage)
-
getRevenue
public Optional<BigDecimal> getRevenue()
-
withRevenue
public Account withRevenue(BigDecimal revenue)
-
getAging30_base
public Optional<BigDecimal> getAging30_base()
-
withAging30_base
public Account withAging30_base(BigDecimal aging30_base)
-
with_transactioncurrencyid_value
public Account with_transactioncurrencyid_value(UUID _transactioncurrencyid_value)
-
withAddress2_shippingmethodcode
public Account withAddress2_shippingmethodcode(Integer address2_shippingmethodcode)
-
withAddress1_stateorprovince
public Account withAddress1_stateorprovince(String address1_stateorprovince)
-
getAging90_base
public Optional<BigDecimal> getAging90_base()
-
withAging90_base
public Account withAging90_base(BigDecimal aging90_base)
-
getExchangerate
public Optional<BigDecimal> getExchangerate()
-
withExchangerate
public Account withExchangerate(BigDecimal exchangerate)
-
with_modifiedonbehalfby_value
public Account with_modifiedonbehalfby_value(UUID _modifiedonbehalfby_value)
-
withUtcconversiontimezonecode
public Account withUtcconversiontimezonecode(Integer utcconversiontimezonecode)
-
getAging60
public Optional<BigDecimal> getAging60()
-
withAging60
public Account withAging60(BigDecimal aging60)
-
withParticipatesinworkflow
public Account withParticipatesinworkflow(Boolean participatesinworkflow)
-
getMarketcap
public Optional<BigDecimal> getMarketcap()
-
withMarketcap
public Account withMarketcap(BigDecimal marketcap)
-
withAddress2_addresstypecode
public Account withAddress2_addresstypecode(Integer address2_addresstypecode)
-
getAging90
public Optional<BigDecimal> getAging90()
-
withAging90
public Account withAging90(BigDecimal aging90)
-
getAging30
public Optional<BigDecimal> getAging30()
-
withAging30
public Account withAging30(BigDecimal aging30)
-
withPreferredappointmenttimecode
public Account withPreferredappointmenttimecode(Integer preferredappointmenttimecode)
-
withAddress2_stateorprovince
public Account withAddress2_stateorprovince(String address2_stateorprovince)
-
withAddress1_primarycontactname
public Account withAddress1_primarycontactname(String address1_primarycontactname)
-
with_createdbyexternalparty_value
public Account with_createdbyexternalparty_value(UUID _createdbyexternalparty_value)
-
with_createdonbehalfby_value
public Account with_createdonbehalfby_value(UUID _createdonbehalfby_value)
-
with_modifiedbyexternalparty_value
public Account with_modifiedbyexternalparty_value(UUID _modifiedbyexternalparty_value)
-
withAddress1_shippingmethodcode
public Account withAddress1_shippingmethodcode(Integer address1_shippingmethodcode)
-
withAddress2_primarycontactname
public Account withAddress2_primarycontactname(String address2_primarycontactname)
-
withAddress2_postofficebox
public Account withAddress2_postofficebox(String address2_postofficebox)
-
with_primarycontactid_value
public Account with_primarycontactid_value(UUID _primarycontactid_value)
-
withAddress1_freighttermscode
public Account withAddress1_freighttermscode(Integer address1_freighttermscode)
-
withAddress1_addresstypecode
public Account withAddress1_addresstypecode(Integer address1_addresstypecode)
-
getLastusedincampaign
public Optional<OffsetDateTime> getLastusedincampaign()
-
withLastusedincampaign
public Account withLastusedincampaign(OffsetDateTime lastusedincampaign)
-
with_preferredsystemuserid_value
public Account with_preferredsystemuserid_value(UUID _preferredsystemuserid_value)
-
getCreditlimit_base
public Optional<BigDecimal> getCreditlimit_base()
-
withCreditlimit_base
public Account withCreditlimit_base(BigDecimal creditlimit_base)
-
withPreferredappointmentdaycode
public Account withPreferredappointmentdaycode(Integer preferredappointmentdaycode)
-
withAccountclassificationcode
public Account withAccountclassificationcode(Integer accountclassificationcode)
-
getCreditlimit
public Optional<BigDecimal> getCreditlimit()
-
withCreditlimit
public Account withCreditlimit(BigDecimal creditlimit)
-
getLastonholdtime
public Optional<OffsetDateTime> getLastonholdtime()
-
withLastonholdtime
public Account withLastonholdtime(OffsetDateTime lastonholdtime)
-
getModifiedon
public Optional<OffsetDateTime> getModifiedon()
-
withModifiedon
public Account withModifiedon(OffsetDateTime modifiedon)
-
getMarketcap_base
public Optional<BigDecimal> getMarketcap_base()
-
withMarketcap_base
public Account withMarketcap_base(BigDecimal marketcap_base)
-
withAddress2_freighttermscode
public Account withAddress2_freighttermscode(Integer address2_freighttermscode)
-
withPreferredcontactmethodcode
public Account withPreferredcontactmethodcode(Integer preferredcontactmethodcode)
-
getRevenue_base
public Optional<BigDecimal> getRevenue_base()
-
withRevenue_base
public Account withRevenue_base(BigDecimal revenue_base)
-
withUnmappedField
public Account withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getAccount_principalobjectattributeaccess
public PrincipalobjectattributeaccessCollectionRequest getAccount_principalobjectattributeaccess()
-
getOwnerid
public PrincipalRequest getOwnerid()
-
getAccount_ActivityPointers
public ActivitypointerCollectionRequest getAccount_ActivityPointers()
-
getAccount_SyncErrors
public SyncerrorCollectionRequest getAccount_SyncErrors()
-
getCreatedby
public SystemuserRequest getCreatedby()
-
getAccount_Email_SendersAccount
public EmailCollectionRequest getAccount_Email_SendersAccount()
-
getAccount_Email_EmailSender
public EmailCollectionRequest getAccount_Email_EmailSender()
-
getAccount_Annotation
public AnnotationCollectionRequest getAccount_Annotation()
-
getAccount_SharepointDocumentLocation
public SharepointdocumentlocationCollectionRequest getAccount_SharepointDocumentLocation()
-
getSla_account_sla
public SlaRequest getSla_account_sla()
-
getAccount_connections2
public ConnectionCollectionRequest getAccount_connections2()
-
getModifiedby
public SystemuserRequest getModifiedby()
-
getAccount_PostFollows
public PostfollowCollectionRequest getAccount_PostFollows()
-
getAccount_PostRegardings
public PostregardingCollectionRequest getAccount_PostRegardings()
-
getAccount_ProcessSessions
public ProcesssessionCollectionRequest getAccount_ProcessSessions()
-
getAccount_Faxes
public FaxCollectionRequest getAccount_Faxes()
-
getMasterid
public AccountRequest getMasterid()
-
getAccount_master_account
public AccountCollectionRequest getAccount_master_account()
-
getOwningbusinessunit
public BusinessunitRequest getOwningbusinessunit()
-
getAccount_AsyncOperations
public AsyncoperationCollectionRequest getAccount_AsyncOperations()
-
getTransactioncurrencyid
public TransactioncurrencyRequest getTransactioncurrencyid()
-
getAccount_DuplicateBaseRecord
public DuplicaterecordCollectionRequest getAccount_DuplicateBaseRecord()
-
getPreferredsystemuserid
public SystemuserRequest getPreferredsystemuserid()
-
getCreatedonbehalfby
public SystemuserRequest getCreatedonbehalfby()
-
getAccount_RecurringAppointmentMasters
public RecurringappointmentmasterCollectionRequest getAccount_RecurringAppointmentMasters()
-
getAccount_Phonecalls
public PhonecallCollectionRequest getAccount_Phonecalls()
-
getPrimarycontactid
public ContactRequest getPrimarycontactid()
-
getAccount_SocialActivities
public SocialactivityCollectionRequest getAccount_SocialActivities()
-
getAccount_MailboxTrackingFolder
public MailboxtrackingfolderCollectionRequest getAccount_MailboxTrackingFolder()
-
getSocialActivity_PostAuthorAccount_accounts
public SocialactivityCollectionRequest getSocialActivity_PostAuthorAccount_accounts()
-
getAccount_CustomerAddress
public CustomeraddressCollectionRequest getAccount_CustomerAddress()
-
getSlakpiinstance_account
public SlakpiinstanceCollectionRequest getSlakpiinstance_account()
-
getAccount_Tasks
public TaskCollectionRequest getAccount_Tasks()
-
getSlainvokedid_account_sla
public SlaRequest getSlainvokedid_account_sla()
-
getAccount_BulkDeleteFailures
public BulkdeletefailureCollectionRequest getAccount_BulkDeleteFailures()
-
getSocialActivity_PostAuthor_accounts
public SocialactivityCollectionRequest getSocialActivity_PostAuthor_accounts()
-
getContact_customer_accounts
public ContactCollectionRequest getContact_customer_accounts()
-
getAccount_Appointments
public AppointmentCollectionRequest getAccount_Appointments()
-
getAccount_Emails
public EmailCollectionRequest getAccount_Emails()
-
getParentaccountid
public AccountRequest getParentaccountid()
-
getAccount_parent_account
public AccountCollectionRequest getAccount_parent_account()
-
getSocialprofile_customer_accounts
public SocialprofileCollectionRequest getSocialprofile_customer_accounts()
-
getAccount_DuplicateMatchingRecord
public DuplicaterecordCollectionRequest getAccount_DuplicateMatchingRecord()
-
getAccount_activity_parties
public ActivitypartyCollectionRequest getAccount_activity_parties()
-
getAccount_connections1
public ConnectionCollectionRequest getAccount_connections1()
-
getOwningteam
public TeamRequest getOwningteam()
-
getAccount_actioncard
public ActioncardCollectionRequest getAccount_actioncard()
-
getOwninguser
public SystemuserRequest getOwninguser()
-
getAccount_Letters
public LetterCollectionRequest getAccount_Letters()
-
getStageid_processstage
public ProcessstageRequest getStageid_processstage()
-
getModifiedonbehalfby
public SystemuserRequest getModifiedonbehalfby()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classCrmbaseentity
-
patch
public Account patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classCrmbaseentity- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public Account put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classCrmbaseentity- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classCrmbaseentity
-
-