Skip to content

Commit 31c3fe6

Browse files
author
Michael Yu
committed
MAGETWO-69657: Credit Card Information disappear after user enters promotion code
- Fix code documentation
1 parent c5d2e3d commit 31c3fe6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 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+
* @returns {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+
* @returns {Number}
2626
*/
2727
getGrandTotal = function () {
2828
return quote.totals().grand_total; // jscs:ignore requireCamelCaseOrUpperCaseIdentifiers

0 commit comments

Comments
 (0)