public class OrganizationClient extends Object
| Constructor and Description |
|---|
OrganizationClient(String organization,
DocumentsService documentsService) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
checkTicket(String id) |
javax.ws.rs.core.Response |
createCreditNote(DocumentRequestRepresentation creditNote,
boolean async) |
DocumentResponseRepresentation |
createCreditNoteAndParseAsEntity(DocumentRequestRepresentation creditNote,
boolean async) |
javax.ws.rs.core.Response |
createCreditNoteFromString(String creditNote,
boolean async) |
javax.ws.rs.core.Response |
createDebitNote(DocumentRequestRepresentation debitNote,
boolean async) |
DocumentResponseRepresentation |
createDebitNoteAndParseAsEntity(DocumentRequestRepresentation debitNote,
boolean async) |
javax.ws.rs.core.Response |
createDebitNoteFromString(String debitNote,
boolean async) |
javax.ws.rs.core.Response |
createInvoice(DocumentRequestRepresentation invoice,
boolean async) |
DocumentResponseRepresentation |
createInvoiceAndParseAsEntity(DocumentRequestRepresentation invoice,
boolean async) |
javax.ws.rs.core.Response |
createInvoiceFromString(String invoice,
boolean async) |
javax.ws.rs.core.Response |
createPerception(DocumentoSunatRepresentation perception,
boolean async) |
DocumentResponseRepresentation |
createPerceptionAndParseAsEntity(DocumentoSunatRepresentation perception,
boolean async) |
javax.ws.rs.core.Response |
createPerceptionFromString(String perception,
boolean async) |
javax.ws.rs.core.Response |
createRetention(DocumentoSunatRepresentation retention,
boolean async) |
DocumentResponseRepresentation |
createRetentionAndParseAsEntity(DocumentoSunatRepresentation perception,
boolean async) |
javax.ws.rs.core.Response |
createRetentionFromString(String retention,
boolean async) |
javax.ws.rs.core.Response |
createVoidedDocument(VoidedRepresentation voidedDocument,
boolean async) |
DocumentResponseRepresentation |
createVoidedDocumentAndParseAsEntity(VoidedRepresentation voidedDocument,
boolean async) |
javax.ws.rs.core.Response |
createVoidedDocumentFromString(String voidedDocument,
boolean async) |
javax.ws.rs.core.Response |
getCdr(String id) |
javax.ws.rs.core.Response |
getDocumentById(String id) |
DocumentResponseRepresentation |
getDocumentByIdAsEntity(String id) |
javax.ws.rs.core.Response |
getPdf(String id) |
javax.ws.rs.core.Response |
getXml(String id) |
javax.ws.rs.core.Response |
search(SearchCriteriaRepresentation criteria) |
javax.ws.rs.core.Response |
sendToCustomThirdParty(String id,
ThirdPartyEmailRepresentation thirdParty) |
javax.ws.rs.core.Response |
sendToThirdParty(String id) |
javax.ws.rs.core.Response |
updateCreditNote(String id,
DocumentRequestRepresentation creditNote,
boolean async) |
javax.ws.rs.core.Response |
updateCreditNoteFromString(String id,
String creditNote,
boolean async) |
javax.ws.rs.core.Response |
updateDebitNote(String id,
DocumentRequestRepresentation debitNote,
boolean async) |
javax.ws.rs.core.Response |
updateDebitNoteFromString(String id,
String debitNote,
boolean async) |
javax.ws.rs.core.Response |
updateInvoice(String id,
DocumentRequestRepresentation invoice,
boolean async) |
javax.ws.rs.core.Response |
updateInvoiceFromString(String id,
String invoice,
boolean async) |
javax.ws.rs.core.Response |
updatePerception(String id,
DocumentoSunatRepresentation perception,
boolean async) |
javax.ws.rs.core.Response |
updatePerceptionFromString(String id,
String perception,
boolean async) |
javax.ws.rs.core.Response |
updateRetention(String id,
DocumentoSunatRepresentation retention,
boolean async) |
javax.ws.rs.core.Response |
updateRetentionFromString(String id,
String retention,
boolean async) |
javax.ws.rs.core.Response |
updateVoidedDocument(String id,
VoidedRepresentation voidedDocument,
boolean async) |
javax.ws.rs.core.Response |
updateVoidedDocumentFromString(String id,
String voidedDocument,
boolean async) |
public OrganizationClient(String organization, DocumentsService documentsService)
public javax.ws.rs.core.Response getDocumentById(String id)
public DocumentResponseRepresentation getDocumentByIdAsEntity(String id)
public javax.ws.rs.core.Response getXml(String id)
public javax.ws.rs.core.Response getPdf(String id)
public javax.ws.rs.core.Response sendToThirdParty(String id)
public javax.ws.rs.core.Response sendToCustomThirdParty(String id, ThirdPartyEmailRepresentation thirdParty)
public javax.ws.rs.core.Response search(SearchCriteriaRepresentation criteria)
public javax.ws.rs.core.Response getCdr(String id)
public javax.ws.rs.core.Response checkTicket(String id)
public javax.ws.rs.core.Response createInvoice(DocumentRequestRepresentation invoice, boolean async)
public javax.ws.rs.core.Response createInvoiceFromString(String invoice, boolean async)
public DocumentResponseRepresentation createInvoiceAndParseAsEntity(DocumentRequestRepresentation invoice, boolean async)
public javax.ws.rs.core.Response updateInvoice(String id, DocumentRequestRepresentation invoice, boolean async)
public javax.ws.rs.core.Response updateInvoiceFromString(String id, String invoice, boolean async)
public javax.ws.rs.core.Response createCreditNote(DocumentRequestRepresentation creditNote, boolean async)
public javax.ws.rs.core.Response createCreditNoteFromString(String creditNote, boolean async)
public DocumentResponseRepresentation createCreditNoteAndParseAsEntity(DocumentRequestRepresentation creditNote, boolean async)
public javax.ws.rs.core.Response updateCreditNote(String id, DocumentRequestRepresentation creditNote, boolean async)
public javax.ws.rs.core.Response updateCreditNoteFromString(String id, String creditNote, boolean async)
public javax.ws.rs.core.Response createDebitNote(DocumentRequestRepresentation debitNote, boolean async)
public javax.ws.rs.core.Response createDebitNoteFromString(String debitNote, boolean async)
public DocumentResponseRepresentation createDebitNoteAndParseAsEntity(DocumentRequestRepresentation debitNote, boolean async)
public javax.ws.rs.core.Response updateDebitNote(String id, DocumentRequestRepresentation debitNote, boolean async)
public javax.ws.rs.core.Response updateDebitNoteFromString(String id, String debitNote, boolean async)
public javax.ws.rs.core.Response createPerception(DocumentoSunatRepresentation perception, boolean async)
public javax.ws.rs.core.Response createPerceptionFromString(String perception, boolean async)
public DocumentResponseRepresentation createPerceptionAndParseAsEntity(DocumentoSunatRepresentation perception, boolean async)
public javax.ws.rs.core.Response updatePerception(String id, DocumentoSunatRepresentation perception, boolean async)
public javax.ws.rs.core.Response updatePerceptionFromString(String id, String perception, boolean async)
public javax.ws.rs.core.Response createRetention(DocumentoSunatRepresentation retention, boolean async)
public javax.ws.rs.core.Response createRetentionFromString(String retention, boolean async)
public DocumentResponseRepresentation createRetentionAndParseAsEntity(DocumentoSunatRepresentation perception, boolean async)
public javax.ws.rs.core.Response updateRetention(String id, DocumentoSunatRepresentation retention, boolean async)
public javax.ws.rs.core.Response updateRetentionFromString(String id, String retention, boolean async)
public javax.ws.rs.core.Response createVoidedDocument(VoidedRepresentation voidedDocument, boolean async)
public DocumentResponseRepresentation createVoidedDocumentAndParseAsEntity(VoidedRepresentation voidedDocument, boolean async)
public javax.ws.rs.core.Response createVoidedDocumentFromString(String voidedDocument, boolean async)
public javax.ws.rs.core.Response updateVoidedDocument(String id, VoidedRepresentation voidedDocument, boolean async)
Copyright © 2018. All rights reserved.