package quotation

import (
	"github.com/shopspring/decimal"
	"github.com/tech/sendico/payments/quotation/internal/service/plan"
	"github.com/tech/sendico/payments/storage/model"
)

func sendDirectionForRail(rail model.Rail) plan.SendDirection {
	return plan.SendDirectionForRail(rail)
}

func isGatewayEligible(gw *model.GatewayInstanceDescriptor, rail model.Rail, network, currency string, action model.RailOperation, dir plan.SendDirection, amount decimal.Decimal) error {
	return plan.IsGatewayEligible(gw, rail, network, currency, action, dir, amount)
}
