Class Invoice
- java.lang.Object
-
- no.digipost.api.client.representations.Representation
-
- no.digipost.api.client.representations.Document
-
- no.digipost.api.client.representations.Invoice
-
public class Invoice extends Document
-
-
Field Summary
Fields Modifier and Type Field Description protected String
account
protected BigDecimal
amount
protected LocalDate
dueDate
protected String
kid
-
Fields inherited from class no.digipost.api.client.representations.Document
authenticationLevel, contentHash, dataType, digipostFileType, emailNotification, encrypted, opened, openingReceipt, sensitivityLevel, smsNotification, subject, uuid
-
Fields inherited from class no.digipost.api.client.representations.Representation
links
-
-
Constructor Summary
Constructors Constructor Description Invoice(UUID uuid, String subject, FileType fileType, String kid, BigDecimal amount, String account, LocalDate dueDate)
Constructor for just the required fields of a document.Invoice(UUID uuid, String subject, FileType fileType, String kid, BigDecimal amount, String account, LocalDate dueDate, Boolean opened, String technicalType, AuthenticationLevel authenticationLevel)
Invoice(UUID uuid, String subject, FileType fileType, String openingReceipt, SmsNotification smsNotification, EmailNotification emailNotification, AuthenticationLevel authenticationLevel, SensitivityLevel sensitivityLevel, String kid, BigDecimal amount, String account, LocalDate dueDate)
Invoice(UUID uuid, String subject, FileType fileType, String openingReceipt, SmsNotification smsNotification, EmailNotification emailNotification, AuthenticationLevel authenticationLevel, SensitivityLevel sensitivityLevel, String kid, BigDecimal amount, String account, LocalDate dueDate, Boolean opened, String... technicalType)
-
Method Summary
-
Methods inherited from class no.digipost.api.client.representations.Document
copyDocumentAndSetDigipostFileTypeToPdf, encrypt, getAddContentLink, getAddDataLink, getDataType, getDigipostFileType, getEncrypted, getEncryptionKeyLink, getLinks, getTechnicalType, is, isOpened, setContentHash, setDigipostFileType, setNumberOfEncryptedPages, technicalAttachment, toString, willBeEncrypted
-
Methods inherited from class no.digipost.api.client.representations.Representation
addLink, getLinkByRelationName
-
-
-
-
Field Detail
-
kid
protected String kid
-
amount
protected BigDecimal amount
-
account
protected String account
-
dueDate
protected LocalDate dueDate
-
-
Constructor Detail
-
Invoice
public Invoice(UUID uuid, String subject, FileType fileType, String kid, BigDecimal amount, String account, LocalDate dueDate)
Constructor for just the required fields of a document. Non-specified fields will get their respective standard values when sent to Digipost.
-
Invoice
public Invoice(UUID uuid, String subject, FileType fileType, String kid, BigDecimal amount, String account, LocalDate dueDate, Boolean opened, String technicalType, AuthenticationLevel authenticationLevel)
-
Invoice
public Invoice(UUID uuid, String subject, FileType fileType, String openingReceipt, SmsNotification smsNotification, EmailNotification emailNotification, AuthenticationLevel authenticationLevel, SensitivityLevel sensitivityLevel, String kid, BigDecimal amount, String account, LocalDate dueDate)
-
Invoice
public Invoice(UUID uuid, String subject, FileType fileType, String openingReceipt, SmsNotification smsNotification, EmailNotification emailNotification, AuthenticationLevel authenticationLevel, SensitivityLevel sensitivityLevel, String kid, BigDecimal amount, String account, LocalDate dueDate, Boolean opened, String... technicalType)
-
-