Skip to content

Commit 97aa15d

Browse files
author
Michael Yu
committed
MAGETWO-69657: Credit Card Information disappear after user enters promotion code
- Fix code documentation
1 parent 4df430a commit 97aa15d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/Checkout/view/frontend/web/js/model/payment-service.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ define([
1414
/**
1515
* Free method filter
1616
* @param {Object} paymentMethod
17-
* @returns {Boolean}
17+
* @return {Boolean}
1818
*/
1919
var isFreePaymentMethod = function (paymentMethod) {
2020
return paymentMethod.method === 'free';
2121
},
2222

2323
/**
2424
* Grabs the grand total from quote
25-
* @returns {Number}
25+
* @return {Number}
2626
*/
2727
getGrandTotal = function () {
2828
return quote.totals()['grand_total'];
@@ -81,7 +81,7 @@ define([
8181

8282
/**
8383
* Get the list of available payment methods.
84-
* @returns {Array}
84+
* @return {Array}
8585
*/
8686
getAvailablePaymentMethods: function () {
8787
var allMethods = methodList().slice(),

0 commit comments

Comments
 (0)