C# Class IdokladSdk.Clients.DocumentAddressClient

Methods for work with contact information of the invoices (documents).
Inheritance: BaseClient
Mostra file Open project: mholec/idoklad-sdk-csharp

Public Methods

Method Description
DocumentAddress ( int documentAddressId ) : DocumentAddress

GET api/DocumentAddresses/{id} Returns document contact information. Every invoice has two of this entities - one for supplier and one purchaser. This contact informations are created from Contacts, but can also contain different informations.

DocumentAddressClient ( ApiContext apiContext ) : IdokladSdk.ApiModels
Update ( int documentAddressId, DocumentAddress model ) : DocumentAddress

PUT api/DocumentAddresses/{id} Method updates contact information on the invoice by DocumentAddressId.

Method Details

DocumentAddress() public method

GET api/DocumentAddresses/{id} Returns document contact information. Every invoice has two of this entities - one for supplier and one purchaser. This contact informations are created from Contacts, but can also contain different informations.
public DocumentAddress ( int documentAddressId ) : DocumentAddress
documentAddressId int
return IdokladSdk.ApiModels.DocumentAddress

DocumentAddressClient() public method

public DocumentAddressClient ( ApiContext apiContext ) : IdokladSdk.ApiModels
apiContext ApiContext
return IdokladSdk.ApiModels

Update() public method

PUT api/DocumentAddresses/{id} Method updates contact information on the invoice by DocumentAddressId.
public Update ( int documentAddressId, DocumentAddress model ) : DocumentAddress
documentAddressId int
model IdokladSdk.ApiModels.DocumentAddress
return IdokladSdk.ApiModels.DocumentAddress