Uses of Class
com.xero.models.accounting.Contact
Packages that use Contact
-
Uses of Contact in com.xero.models.accounting
Methods in com.xero.models.accounting that return ContactModifier and TypeMethodDescriptionContact.accountNumber(String accountNumber) A user defined account number.Contact.accountsPayableTaxType(String accountsPayableTaxType) The tax type from TaxRatesContact.accountsReceivableTaxType(String accountsReceivableTaxType) The tax type from TaxRatesContact.addAddressesItem(Address addressesItem) Store certain address types for a contact – see address typesContact.addAttachmentsItem(Attachment attachmentsItem) Displays array of attachments from the APIContact.addContactGroupsItem(ContactGroup contactGroupsItem) Displays which contact groups a contact is included inContact.addContactPersonsItem(ContactPerson contactPersonsItem) See contact personsContact.addPhonesItem(Phone phonesItem) Store certain phone types for a contact – see phone typesContact.addPurchasesTrackingCategoriesItem(SalesTrackingCategory purchasesTrackingCategoriesItem) The default purchases tracking categories for contactsStore certain address types for a contact – see address typesContact.addSalesTrackingCategoriesItem(SalesTrackingCategory salesTrackingCategoriesItem) The default sales tracking categories for contactsContact.addValidationErrorsItem(ValidationError validationErrorsItem) Displays validation errors returned from the APIContact.attachments(List<Attachment> attachments) Displays array of attachments from the APIbalancesContact.bankAccountDetails(String bankAccountDetails) Bank account number of contactContact.batchPayments(BatchPaymentDetails batchPayments) batchPaymentsContact.brandingTheme(BrandingTheme brandingTheme) brandingThemeContact.companyNumber(String companyNumber) Company registration number (max length = 50)Contact.contactGroups(List<ContactGroup> contactGroups) Displays which contact groups a contact is included inXero identifierContact.contactNumber(String contactNumber) This can be updated via the API only i.e.Contact.contactPersons(List<ContactPerson> contactPersons) See contact personsContact.contactStatus(Contact.ContactStatusEnum contactStatus) Current status of a contact – see contact status typesContact.defaultCurrency(CurrencyCode defaultCurrency) defaultCurrencyContact.emailAddress(String emailAddress) Email address of contact person (umlauts not supported) (max length = 255)First name of contact person (max length = 255)BankTransaction.getContact()Get contactCreditNote.getContact()Get contactInvoice.getContact()Get contactOverpayment.getContact()Get contactPrepayment.getContact()Get contactPurchaseOrder.getContact()Get contactQuote.getContact()Get contactReceipt.getContact()Get contactRepeatingInvoice.getContact()Get contactContact.hasAttachments(Boolean hasAttachments) A boolean to indicate if a contact has an attachmentContact.hasValidationErrors(Boolean hasValidationErrors) A boolean to indicate if a contact has an validation errorsContact.isCustomer(Boolean isCustomer) true or false – Boolean that describes if a contact has any AR invoices entered against them.Contact.isSupplier(Boolean isSupplier) true or false – Boolean that describes if a contact that has any AP invoices entered against them.Last name of contact person (max length = 255)Contact.mergedToContactID(UUID mergedToContactID) ID for the destination of a merged contact.Full name of contact/organisation (max length = 255)Contact.paymentTerms(PaymentTerm paymentTerms) paymentTermsStore certain phone types for a contact – see phone typesContact.purchasesDefaultAccountCode(String purchasesDefaultAccountCode) The default purchases account code for contactsContact.purchasesDefaultLineAmountType(Contact.PurchasesDefaultLineAmountTypeEnum purchasesDefaultLineAmountType) The default purchases line amount type for a contact Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber.Contact.purchasesTrackingCategories(List<SalesTrackingCategory> purchasesTrackingCategories) The default purchases tracking categories for contactsContact.salesDefaultAccountCode(String salesDefaultAccountCode) The default sales account code for contactsContact.salesDefaultLineAmountType(Contact.SalesDefaultLineAmountTypeEnum salesDefaultLineAmountType) The default sales line amount type for a contact.Contact.salesTrackingCategories(List<SalesTrackingCategory> salesTrackingCategories) The default sales tracking categories for contactsContact.statusAttributeString(String statusAttributeString) Status of objectTax number of contact – this is also known as the ABN (Australia), GST Number (New Zealand), VAT Number (UK) or Tax ID Number (US and global) in the Xero UI depending on which regionalized version of Xero you are using (max length = 50)Contact.trackingCategoryName(String trackingCategoryName) The name of the Tracking Category assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategoriesContact.trackingCategoryOption(String trackingCategoryOption) The name of the Tracking Option assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategoriesContact.validationErrors(List<ValidationError> validationErrors) Displays validation errors returned from the APIContact.xeroNetworkKey(String xeroNetworkKey) Store XeroNetworkKey for contacts.Methods in com.xero.models.accounting that return types with arguments of type ContactModifier and TypeMethodDescriptionContactGroup.getContacts()The ContactID and Name of Contacts in a contact group.Contacts.getContacts()Get contactsMethods in com.xero.models.accounting with parameters of type ContactModifier and TypeMethodDescriptionContactGroup.addContactsItem(Contact contactsItem) The ContactID and Name of Contacts in a contact group.Contacts.addContactsItem(Contact contactsItem) contactscontactcontactcontactcontactcontactcontactcontactcontactcontactvoidBankTransaction.setContact(Contact contact) contactvoidCreditNote.setContact(Contact contact) contactvoidInvoice.setContact(Contact contact) contactvoidOverpayment.setContact(Contact contact) contactvoidPrepayment.setContact(Contact contact) contactvoidPurchaseOrder.setContact(Contact contact) contactvoidQuote.setContact(Contact contact) contactvoidReceipt.setContact(Contact contact) contactvoidRepeatingInvoice.setContact(Contact contact) contactMethod parameters in com.xero.models.accounting with type arguments of type ContactModifier and TypeMethodDescriptionThe ContactID and Name of Contacts in a contact group.contactsvoidContactGroup.setContacts(List<Contact> contacts) The ContactID and Name of Contacts in a contact group.voidContacts.setContacts(List<Contact> contacts) contacts