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
CustomerId
[Required]
public Guid CustomerId { get; init; }
Property Value
IsRestaurantCredit
[Required]
public bool IsRestaurantCredit { get; init; }
Property Value
PaymentPlatformId
[Required]
public string PaymentPlatformId { get; init; }
Property Value
Products
public IEnumerable<ProductInputDto> Products { get; set; }
Property Value
TableId
[Required]
public Guid TableId { get; init; }
Property Value
Tip
public double Tip { get; init; }
Property Value
Last modified: 21 May 2024