C# Класс BatchBook.Company

Наследование: Contact
Показать файл Открыть проект

Открытые методы

Метод Описание
AddLocation ( string label, bool isPrimary, string email, string website, string phone, string cell, string fax, string street1, string street2, string city, string state, string postalCode, string country ) : void
Create ( string name, string notes ) : int
Create ( string apiKey, string name, string notes ) : int
Destroy ( int companyId ) : void
Destroy ( string apiKey, int companyId ) : void
Get ( int companyId ) : Company
Get ( string apiKey, int companyId ) : Company
GetCommunications ( string apiKey ) : BatchBook.Communication[]
GetPeople ( string apiKey ) : BatchBook.Person[]
GetTodos ( string apiKey ) : BatchBook.Todo[]
List ( int limit, int offset ) : BatchBook.Company[]
List ( string apiKey, int limit, int offset ) : BatchBook.Company[]
Search ( string name, string email, System.DateTime updatedSince, string tag, string state ) : BatchBook.Company[]
Search ( string apiKey, string name, string email, System.DateTime updatedSince, string tag, string state ) : BatchBook.Company[]
Update ( int companyId, string name, string notes ) : void
Update ( string apiKey, int companyId, string name, string notes ) : void

Приватные методы

Метод Описание
BuildList ( XmlReader rdr ) : BatchBook.Company[]
Company ( XmlReader rdr ) : System

Описание методов

AddLocation() публичный Метод

public AddLocation ( string label, bool isPrimary, string email, string website, string phone, string cell, string fax, string street1, string street2, string city, string state, string postalCode, string country ) : void
label string
isPrimary bool
email string
website string
phone string
cell string
fax string
street1 string
street2 string
city string
state string
postalCode string
country string
Результат void

Create() публичный статический Метод

public static Create ( string name, string notes ) : int
name string
notes string
Результат int

Create() публичный статический Метод

public static Create ( string apiKey, string name, string notes ) : int
apiKey string
name string
notes string
Результат int

Destroy() публичный статический Метод

public static Destroy ( int companyId ) : void
companyId int
Результат void

Destroy() публичный статический Метод

public static Destroy ( string apiKey, int companyId ) : void
apiKey string
companyId int
Результат void

Get() публичный статический Метод

public static Get ( int companyId ) : Company
companyId int
Результат Company

Get() публичный статический Метод

public static Get ( string apiKey, int companyId ) : Company
apiKey string
companyId int
Результат Company

GetCommunications() публичный Метод

public GetCommunications ( string apiKey ) : BatchBook.Communication[]
apiKey string
Результат BatchBook.Communication[]

GetPeople() публичный Метод

public GetPeople ( string apiKey ) : BatchBook.Person[]
apiKey string
Результат BatchBook.Person[]

GetTodos() публичный Метод

public GetTodos ( string apiKey ) : BatchBook.Todo[]
apiKey string
Результат BatchBook.Todo[]

List() публичный статический Метод

public static List ( int limit, int offset ) : BatchBook.Company[]
limit int
offset int
Результат BatchBook.Company[]

List() публичный статический Метод

public static List ( string apiKey, int limit, int offset ) : BatchBook.Company[]
apiKey string
limit int
offset int
Результат BatchBook.Company[]

Search() публичный статический Метод

public static Search ( string name, string email, System.DateTime updatedSince, string tag, string state ) : BatchBook.Company[]
name string
email string
updatedSince System.DateTime
tag string
state string
Результат BatchBook.Company[]

Search() публичный статический Метод

public static Search ( string apiKey, string name, string email, System.DateTime updatedSince, string tag, string state ) : BatchBook.Company[]
apiKey string
name string
email string
updatedSince System.DateTime
tag string
state string
Результат BatchBook.Company[]

Update() публичный статический Метод

public static Update ( int companyId, string name, string notes ) : void
companyId int
name string
notes string
Результат void

Update() публичный статический Метод

public static Update ( string apiKey, int companyId, string name, string notes ) : void
apiKey string
companyId int
name string
notes string
Результат void