Table of Contents

Struct CreateMerchantDto

Namespace
arolariu.Backend.Domain.Invoices.DTOs
Assembly
arolariu.Backend.Domain.Invoices.dll

The CreateMerchant DTO class represents the merchant data transfer object.

[Serializable]
public readonly record struct CreateMerchantDto : IEquatable<CreateMerchantDto>
Implements
Inherited Members

Constructors

CreateMerchantDto(string, string, string, Guid)

The CreateMerchant DTO class represents the merchant data transfer object.

public CreateMerchantDto(string Name, string Description, string Address, Guid ParentCompanyIdentifier)

Parameters

Name string
Description string
Address string
ParentCompanyIdentifier Guid

Properties

Address

public string Address { get; init; }

Property Value

string

Description

public string Description { get; init; }

Property Value

string

Name

public string Name { get; init; }

Property Value

string

ParentCompanyIdentifier

public Guid ParentCompanyIdentifier { get; init; }

Property Value

Guid

Methods

ToMerchant()

Method used to convert the DTO to a merchant.

public Merchant ToMerchant()

Returns

Merchant