Riskified.SDK.Model.OrderDecision.Validate C# (CSharp) Method

Validate() public method

Validates the objects fields content
throws an exception if one of the parameters doesn't match the expected format
public Validate ( Validations validationType = Validations.Weak ) : void
validationType Validations Validation level of the model
return void
        public override void Validate(Validations validationType = Validations.Weak)
        {
            base.Validate(validationType);
            InputValidators.ValidateObjectNotNull(this.Decision, "Decision");
            this.Decision.Validate(validationType);
        }