001package io.konik.sdk.invoice; 002 003import io.konik.zugferd.Invoice; 004 005public class InvoiceDocument { 006 007 public enum Type { 008 INCOMING, 009 OUTGOING; 010 } 011 012 private String id; 013 014 private Invoice invoice; 015 016 public String getId() { 017 return id; 018 } 019 020 public void setId(String id) { 021 this.id = id; 022 } 023 024 public Invoice getInvoice() { 025 return invoice; 026 } 027 028 public void setInvoice(Invoice invoice) { 029 this.invoice = invoice; 030 } 031 032 public static class Response { 033 InvoiceDocument document; 034 035 public InvoiceDocument getDocument() { 036 return document; 037 } 038 039 public void setDocument(InvoiceDocument document) { 040 this.document = document; 041 } 042 } 043}