Пример #1
0
        public bool TryGetCustomRequest(out DestinationRequest request)
        {
            request = Requests.SingleOrDefault(x => x.Amount.Type is MoneyRequestType.Change or MoneyRequestType.AllRemaining);

            return(request is { });
Пример #2
0
        public bool TryGetFeeSubtractionRequest(out DestinationRequest request)
        {
            request = Requests.SingleOrDefault(x => x.Amount.SubtractFee);

            return(request != null);
        }