Class PaymentDocumentDTO
A document the provider renders — an invoice or a credit note — fetched for the caller to serve.
public record PaymentDocumentDTO : IEquatable<PaymentDocumentDTO>
- Inheritance
-
PaymentDocumentDTO
- Implements
- Inherited Members
Constructors
PaymentDocumentDTO(string, string, byte[])
A document the provider renders — an invoice or a credit note — fetched for the caller to serve.
public PaymentDocumentDTO(string FileName, string ContentType, byte[] Content)
Parameters
FileNamestringA name to save it under, from its number.
ContentTypestringIts media type,
application/pdf.Contentbyte[]The file.
Properties
Content
The file.
public byte[] Content { get; init; }
Property Value
- byte[]
ContentType
Its media type, application/pdf.
public string ContentType { get; init; }
Property Value
FileName
A name to save it under, from its number.
public string FileName { get; init; }