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 java.lang.String
account
protected java.math.BigDecimal
amount
protected java.time.LocalDate
dueDate
protected java.lang.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(java.util.UUID uuid, java.lang.String subject, FileType fileType, java.lang.String kid, java.math.BigDecimal amount, java.lang.String account, java.time.LocalDate dueDate)
Constructor for just the required fields of a document.Invoice(java.util.UUID uuid, java.lang.String subject, FileType fileType, java.lang.String kid, java.math.BigDecimal amount, java.lang.String account, java.time.LocalDate dueDate, java.lang.Boolean opened, java.lang.String technicalType, AuthenticationLevel authenticationLevel)
Invoice(java.util.UUID uuid, java.lang.String subject, FileType fileType, java.lang.String openingReceipt, SmsNotification smsNotification, EmailNotification emailNotification, AuthenticationLevel authenticationLevel, SensitivityLevel sensitivityLevel, java.lang.String kid, java.math.BigDecimal amount, java.lang.String account, java.time.LocalDate dueDate)
Invoice(java.util.UUID uuid, java.lang.String subject, FileType fileType, java.lang.String openingReceipt, SmsNotification smsNotification, EmailNotification emailNotification, AuthenticationLevel authenticationLevel, SensitivityLevel sensitivityLevel, java.lang.String kid, java.math.BigDecimal amount, java.lang.String account, java.time.LocalDate dueDate, java.lang.Boolean opened, java.lang.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
-
-
-
-
Constructor Detail
-
Invoice
public Invoice(java.util.UUID uuid, java.lang.String subject, FileType fileType, java.lang.String kid, java.math.BigDecimal amount, java.lang.String account, java.time.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(java.util.UUID uuid, java.lang.String subject, FileType fileType, java.lang.String kid, java.math.BigDecimal amount, java.lang.String account, java.time.LocalDate dueDate, java.lang.Boolean opened, java.lang.String technicalType, AuthenticationLevel authenticationLevel)
-
Invoice
public Invoice(java.util.UUID uuid, java.lang.String subject, FileType fileType, java.lang.String openingReceipt, SmsNotification smsNotification, EmailNotification emailNotification, AuthenticationLevel authenticationLevel, SensitivityLevel sensitivityLevel, java.lang.String kid, java.math.BigDecimal amount, java.lang.String account, java.time.LocalDate dueDate)
-
Invoice
public Invoice(java.util.UUID uuid, java.lang.String subject, FileType fileType, java.lang.String openingReceipt, SmsNotification smsNotification, EmailNotification emailNotification, AuthenticationLevel authenticationLevel, SensitivityLevel sensitivityLevel, java.lang.String kid, java.math.BigDecimal amount, java.lang.String account, java.time.LocalDate dueDate, java.lang.Boolean opened, java.lang.String... technicalType)
-
-