Owneat Technical Guide main Help

Class CreatePaymentCommand

Namespace: Payment.Application.Requests.Handlers.Payment
Assembly: Payment.Application.dll

public sealed class CreatePaymentCommand : IRequest<Result<Payment>>, IBaseRequest

Inheritance

object ← CreatePaymentCommand

Implements

IRequest<Result<Payment\>\>, IBaseRequest

Inherited Members

object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)

Properties

Amount

[Required] public double Amount { get; init; }

Property Value

double

CustomerId

[Required] public Guid CustomerId { get; init; }

Property Value

Guid

IsRestaurantCredit

[Required] public bool IsRestaurantCredit { get; init; }

Property Value

bool

PaymentPlatformId

[Required] public string PaymentPlatformId { get; init; }

Property Value

string

Products

public IEnumerable<ProductInputDto> Products { get; set; }

Property Value

IEnumerable < ProductInputDto \>

TableId

[Required] public Guid TableId { get; init; }

Property Value

Guid

Tip

public double Tip { get; init; }

Property Value

double

Last modified: 21 May 2024