Is A No Refund Policy Legal?

Are no refund policies legal?

.