C# 클래스 IdokladSdk.Clients.CreditNoteClient

Methods for credit note resources.
상속: BaseClient
파일 보기 프로젝트 열기: mholec/idoklad-sdk-csharp

공개 메소드들

메소드 설명
CreditNote ( int creditNoteId ) : CreditNote

GET api/CreditNotes/{id} Returns information about credit note including summaries.

CreditNoteClient ( ApiContext apiContext ) : System
CreditNoteExpand ( int creditNoteId ) : CreditNoteExpand

GET api/CreditNotes/{id}/Expand Returns Credit note with related entities by Id.

CreditNotes ( CreditNoteFilter filter = null ) : RowsResultWrapper

GET api/CreditNotes Returns list of credit notes. Filters are optional.

CreditNotesExpand ( CreditNoteFilter filter = null ) : RowsResultWrapper

GET api/CreditNotes/Expand Returns credit note list with related entities such as contact information etc.

FullyPay ( int creditNoteId, System.DateTime paid ) : bool

PUT api/CreditNotes/{id}/FullyPay?dateOfPayment={dateOfPayment} Method sets credit note as paid.

FullyUnpay ( int creditNoteId ) : bool

PUT api/CreditNotes/{id}/FullyUnpay Method sets credit note as unpaid.

UpdateExported ( int creditNoteId, ExportedStateEnum state ) : bool

PUT api/CreditNotes/{id}/Exported/{value} Method updates Exported property of the invoice.

메소드 상세

CreditNote() 공개 메소드

GET api/CreditNotes/{id} Returns information about credit note including summaries.
public CreditNote ( int creditNoteId ) : CreditNote
creditNoteId int
리턴 IdokladSdk.ApiModels.CreditNote.CreditNote

CreditNoteClient() 공개 메소드

public CreditNoteClient ( ApiContext apiContext ) : System
apiContext ApiContext
리턴 System

CreditNoteExpand() 공개 메소드

GET api/CreditNotes/{id}/Expand Returns Credit note with related entities by Id.
public CreditNoteExpand ( int creditNoteId ) : CreditNoteExpand
creditNoteId int
리턴 IdokladSdk.ApiModels.CreditNote.CreditNoteExpand

CreditNotes() 공개 메소드

GET api/CreditNotes Returns list of credit notes. Filters are optional.
public CreditNotes ( CreditNoteFilter filter = null ) : RowsResultWrapper
filter IdokladSdk.ApiFilters.CreditNoteFilter
리턴 RowsResultWrapper

CreditNotesExpand() 공개 메소드

GET api/CreditNotes/Expand Returns credit note list with related entities such as contact information etc.
public CreditNotesExpand ( CreditNoteFilter filter = null ) : RowsResultWrapper
filter IdokladSdk.ApiFilters.CreditNoteFilter
리턴 RowsResultWrapper

FullyPay() 공개 메소드

PUT api/CreditNotes/{id}/FullyPay?dateOfPayment={dateOfPayment} Method sets credit note as paid.
public FullyPay ( int creditNoteId, System.DateTime paid ) : bool
creditNoteId int
paid System.DateTime
리턴 bool

FullyUnpay() 공개 메소드

PUT api/CreditNotes/{id}/FullyUnpay Method sets credit note as unpaid.
public FullyUnpay ( int creditNoteId ) : bool
creditNoteId int
리턴 bool

UpdateExported() 공개 메소드

PUT api/CreditNotes/{id}/Exported/{value} Method updates Exported property of the invoice.
public UpdateExported ( int creditNoteId, ExportedStateEnum state ) : bool
creditNoteId int
state ExportedStateEnum
리턴 bool