# validateValueForPaymentProductField static method

Future<List<ValidationErrorMessage>> validateValueForPaymentProductField(

1. String value,
2. String fieldId

)

## Implementation

    static Future<List<ValidationErrorMessage>> validateValueForPaymentProductField(String value, String fieldId) async {
      final validationRequest = PaymentProductFieldValidationRequest(value, fieldId);
      final validationResultStr = await _NativeValidationInterface.instance.validateValueForPaymentProductField(jsonEncode(validationRequest));
      return _parseValidationErrorMessages(validationResultStr);
    }