Table of Contents

Class PaymentDocumentDTO

Namespace
NuvTools.Payment.DTOs
Assembly
NuvTools.Payment.dll

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

FileName string

A name to save it under, from its number.

ContentType string

Its media type, application/pdf.

Content byte[]

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

string

FileName

A name to save it under, from its number.

public string FileName { get; init; }

Property Value

string