Property | Type | Description |
---|
Method | Description | |
---|---|---|
OrderCancellation ( int merchantOrderId, System.DateTime cancelledAt, string cancelReason ) : System |
Creates an order cancellation
|
|
OrderCancellation ( string merchantOrderId, System.DateTime cancelledAt, string cancelReason ) : System |
Creates an order cancellation
|
|
Validate ( Validations validationType = Validations.Weak ) : void |
public OrderCancellation ( int merchantOrderId, System.DateTime cancelledAt, string cancelReason ) : System | ||
merchantOrderId | int | The unique id of the order at the merchant systems |
cancelledAt | System.DateTime | The date and time when the order was cancelled (optional) |
cancelReason | string | 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. |
return | System |
public OrderCancellation ( string merchantOrderId, System.DateTime cancelledAt, string cancelReason ) : System | ||
merchantOrderId | string | The unique id of the order at the merchant systems |
cancelledAt | System.DateTime | The date and time when the order was cancelled (optional) |
cancelReason | string | 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. |
return | System |
public Validate ( Validations validationType = Validations.Weak ) : void | ||
validationType | Validations | |
return | void |