@@ -1273,6 +1273,9 @@ |
||
1273 | 1273 | return $js; |
1274 | 1274 | } |
1275 | 1275 | |
1276 | + /** |
|
1277 | + * @param string $type |
|
1278 | + */ |
|
1276 | 1279 | function isPaymentTypeAccepted($type) { |
1277 | 1280 | return in_array($type, $this->payment_types); |
1278 | 1281 | } |