* Validate the payment method. * * @param {string} paymentMethod * @return {boolean} if the current payment method is valid.
(paymentMethod)
| 16124 | * @return {boolean} if the current payment method is valid. |
| 16125 | */ |
| 16126 | function isPaymentMethodValid(paymentMethod) { |
| 16127 | return Object.values(Constants.PaymentMethod).includes(paymentMethod); |
| 16128 | } |
| 16129 | |
| 16130 | /** |
| 16131 | * Validate the auth method. |
nothing calls this directly
no outgoing calls
no test coverage detected