C# Класс DineroPortableClientSDK.Contacts.DineroContacts

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

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

Метод Описание
Add ( ContactCreate modelToCreate ) : ContactCreatedResult

Add the contact to the organization's contacts.

AddAsync ( ContactCreate modelToCreate ) : Task

Add the contact to the organization's contacts.

Delete ( System.Guid guid ) : void

Delete the organization's contact with the given guid.

DeleteAsync ( System.Guid guid ) : System.Threading.Tasks.Task

Delete the organization's contact with the given guid.

Get ( System.Guid guid ) : Contact

Gets the organization's contact with the given guid.

GetAsync ( System.Guid guid ) : Task

Gets the organization's contact with the given guid.

GetList ( string fields = null, string queryFilter = null, System.DateTime changesSince = null, bool includeDeleted = null, int page = null, int pageSize = null ) : ContactCollection

Gets a list the organization's contacts. If no parameters are given it returns all (not deleted) contacts.

GetListAsync ( string fields = null, string queryFilter = null, System.DateTime changesSince = null, bool deletedOnly = null, int page = null, int pageSize = null ) : Task

Gets a list the organization's contacts. If no parameters are given it returns all (not deleted) contacts.

Update ( System.Guid guid, ContactUpdate updatedModel ) : void

Update the organization's contact.

UpdateAsync ( System.Guid guid, ContactUpdate updatedModel ) : System.Threading.Tasks.Task

Update the organization's contact.

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

Метод Описание
DineroContacts ( Dinero dinero ) : System

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

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

Add the contact to the organization's contacts.
public Add ( ContactCreate modelToCreate ) : ContactCreatedResult
modelToCreate ContactCreate The contact to be added.
Результат ContactCreatedResult

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

Add the contact to the organization's contacts.
public AddAsync ( ContactCreate modelToCreate ) : Task
modelToCreate ContactCreate The contact to be added.
Результат Task

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

Delete the organization's contact with the given guid.
public Delete ( System.Guid guid ) : void
guid System.Guid The guid of the contact to delete
Результат void

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

Delete the organization's contact with the given guid.
public DeleteAsync ( System.Guid guid ) : System.Threading.Tasks.Task
guid System.Guid The guid of the contact to delete
Результат System.Threading.Tasks.Task

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

Gets the organization's contact with the given guid.
public Get ( System.Guid guid ) : Contact
guid System.Guid
Результат Contact

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

Gets the organization's contact with the given guid.
public GetAsync ( System.Guid guid ) : Task
guid System.Guid
Результат Task

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

Gets a list the organization's contacts. If no parameters are given it returns all (not deleted) contacts.
public GetList ( string fields = null, string queryFilter = null, System.DateTime changesSince = null, bool includeDeleted = null, int page = null, int pageSize = null ) : ContactCollection
fields string Comma separated list of properties to fetch in the resultset, e.g. "Name,ContactGuid,IsPro". /// If left empty, the server default is used.
queryFilter string Filter specific for contacts. Filtering can be applied to following fields: ExternalReference,Name, Email,IsPerson,VatNumber,EanNumber. See API documentation for filtering format. If left empty no filtering is applied.
changesSince System.DateTime Only return contacts that was created, deleted or updated at or after given time. If left empty, this filter will not be applyed, and contacts will be returned regardless of change history. The time must be UTC.
includeDeleted bool Include deleted contacts. If left empty, will defaults to false.
page int The 0-based page number
pageSize int The maximum number of items to include in a page
Результат ContactCollection

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

Gets a list the organization's contacts. If no parameters are given it returns all (not deleted) contacts.
public GetListAsync ( string fields = null, string queryFilter = null, System.DateTime changesSince = null, bool deletedOnly = null, int page = null, int pageSize = null ) : Task
fields string Comma separated list of properties to fetch in the resultset, e.g. "Name,ContactGuid,ExternalReference". /// If left empty, the server default is used.
queryFilter string Filter specific for contacts. Filtering can be applied to following fields: ExternalReference,Name, Email,IsPerson,VatNumber,EanNumber. See API documentation for filtering format. If left empty no filtering is applied.
changesSince System.DateTime Only return contacts that was created, deleted or updated at or after given time. If left empty, this filter will not be applyed, and contacts will be returned regardless of change history. The time must be UTC.
deletedOnly bool Include deleted contacts. If left empty, will defaults to false.
page int The 0-based page number
pageSize int The maximum number of items to include in a page
Результат Task

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

Update the organization's contact.
public Update ( System.Guid guid, ContactUpdate updatedModel ) : void
guid System.Guid The guid of the contact to update
updatedModel ContactUpdate The updated contact
Результат void

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

Update the organization's contact.
public UpdateAsync ( System.Guid guid, ContactUpdate updatedModel ) : System.Threading.Tasks.Task
guid System.Guid The guid of the contact to update
updatedModel ContactUpdate The updated contact
Результат System.Threading.Tasks.Task