diff --git a/Riskified.SDK/Model/OrderCancellation.cs b/Riskified.SDK/Model/OrderCancellation.cs
index 793de7d..f34c1dc 100644
--- a/Riskified.SDK/Model/OrderCancellation.cs
+++ b/Riskified.SDK/Model/OrderCancellation.cs
@@ -22,6 +22,22 @@ public OrderCancellation(int merchantOrderId, DateTime cancelledAt, string cance
CancelReason = cancelReason;
}
+ ///
+ /// Creates an order cancellation
+ ///
+ /// The unique id of the order at the merchant systems
+ /// The date and time when the order was cancelled (optional)
+ /// If the order was cancelled, the value will be one of the following:
+ /// "customer": The customer changed or cancelled the order.
+ /// "fraud": The order was fraudulent.
+ /// "inventory": Items in the order were not in inventory.
+ /// "other": The order was cancelled for a reason not in the list above.
+ public OrderCancellation(string merchantOrderId, DateTime cancelledAt, string cancelReason) : base(merchantOrderId)
+ {
+ CancelledAt = cancelledAt;
+ CancelReason = cancelReason;
+ }
+
public override void Validate(Validations validationType = Validations.Weak)
{
base.Validate(validationType);