All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xyz.stratalab.indexer.services.GetTransactionByIdRequestValidator.scala Maven / Gradle / Ivy

The newest version!
package xyz.stratalab.indexer.services

object GetTransactionByIdRequestValidator extends scalapb.validate.Validator[xyz.stratalab.indexer.services.GetTransactionByIdRequest] {
  def validate(input: xyz.stratalab.indexer.services.GetTransactionByIdRequest): scalapb.validate.Result =
    xyz.stratalab.sdk.models.TransactionIdValidator.validate(input.transactionId) &&
    scalapb.validate.Result.optional(input.confidenceFactor) { _value =>
      xyz.stratalab.indexer.services.ConfidenceFactorValidator.validate(_value)
    }
  
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy