C# Class Riskified.SDK.Model.OrderDecision

Inheritance: Riskified.SDK.Model.AbstractOrder
Show file Open project: Riskified/sdk_net Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
OrderDecision ( int merchantOrderId, Riskified.SDK.Model.OrderElements.DecisionDetails decision ) : Newtonsoft.Json
Validate ( Validations validationType = Validations.Weak ) : void

Validates the objects fields content

Method Details

OrderDecision() public method

public OrderDecision ( int merchantOrderId, Riskified.SDK.Model.OrderElements.DecisionDetails decision ) : Newtonsoft.Json
merchantOrderId int
decision Riskified.SDK.Model.OrderElements.DecisionDetails
return Newtonsoft.Json

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