Skip to content

Add mechanism for Business requirements gathering and checks #14

Open
@MarcinCelej

Description

@MarcinCelej

Sample:

Business.When(transactionType == TransactionType.OnlinePayment)
        .And(onlinePaymentLimit != null)
        .Requires(paymentAmount <= onlinePaymentLimit)
        .Throws($"Online Payment Amount ({paymentAmount}) exceeds the Online Payment Limit ({onlinePaymentLimit})");

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions