Skip to content
This repository was archived by the owner on Oct 5, 2022. It is now read-only.

ACCINT-664: Send Customer Code to Xero Account Number #1

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 17 additions & 15 deletions source/XeroApi/Model/Contact.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,55 +6,57 @@ public class Contact : EndpointModelBase
{
[ItemId]
public Guid ContactID { get; set; }

[ItemNumber]
public string ContactNumber { get; set; }

[ItemUpdatedDate]
public DateTime? UpdatedDateUTC { get; set; }

public string ContactStatus { get; set; }

public string Name { get; set; }

public string FirstName { get; set; }

public string LastName { get; set; }

public string EmailAddress { get; set; }

public string SkypeUserName { get; set; }

public ContactPersons ContactPersons { get; set; }

public string BankAccountDetails { get; set; }

public string TaxNumber { get; set; }

public string AccountsReceivableTaxType { get; set; }

public string AccountsPayableTaxType { get; set; }

public Addresses Addresses { get; set; }

public Phones Phones { get; set; }

public ContactGroups ContactGroups { get; set; }

[ReadOnly]
public bool IsSupplier { get; set; }

[ReadOnly]
public bool IsCustomer { get; set; }
public string DefaultCurrency { get; set; }

public string DefaultCurrency { get; set; }

public Balances Balances { get; set; }

public BatchPayments BatchPayments { get; set; }

public PaymentTerms PaymentTerms { get; set; }

public string AccountNumber { get; set; }

public override string ToString()
{
return string.Format("Contact:{0}", Name);
Expand All @@ -64,5 +66,5 @@ public override string ToString()
public class Contacts : ModelList<Contact>
{
}

}