Total Complexity | 2 |
Complexity/F | 1 |
Lines of Code | 18 |
Function Count | 2 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | /** |
||
24 | define( |
||
25 | [ |
||
26 | 'Magento_Checkout/js/view/payment/default' |
||
27 | ], |
||
28 | function (Component) { |
||
29 | 'use strict'; |
||
30 | return Component.extend({ |
||
31 | defaults: { |
||
32 | template: 'Payone_Core/payment/safe_invoice' |
||
33 | }, |
||
34 | |||
35 | /** Returns payment method instructions */ |
||
36 | getInstructions: function () { |
||
37 | return window.checkoutConfig.payment.instructions[this.item.method]; |
||
38 | } |
||
39 | }); |
||
40 | } |
||
41 | ); |
||
42 |