export var validatePayment = (methods, errorLabels) => {
  var isMethodSelected = methods.some(method => method.selected);
  return isMethodSelected ? null : {
    paymentMethod: errorLabels.selectPaymentMethod
  };
};
//# sourceMappingURL=validatePayment.js.map