Struct CreateMerchantDto
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
Properties
Address
public string Address { get; init; }
Property Value
Description
public string Description { get; init; }
Property Value
Name
public string Name { get; init; }
Property Value
ParentCompanyIdentifier
public Guid ParentCompanyIdentifier { get; init; }
Property Value
Methods
ToMerchant()
Method used to convert the DTO to a merchant.
public Merchant ToMerchant()