Class SaveAdjustmentsHookRequest
Inheritance
System.Object
SaveAdjustmentsHookRequest
Namespace: DirectScale.Disco.Extension.Hooks.Merchants.MoneyOut
Assembly: DirectScale.Disco.Extension.Abstractions.dll
Syntax
public class SaveAdjustmentsHookRequest : Object
Constructors
SaveAdjustmentsHookRequest()
Declaration
public SaveAdjustmentsHookRequest()
Properties
Adjustments
Declaration
public List<Adjustment> Adjustments { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Adjustment> | Note: AdjustmentId will not be set yet when this hook is called, but must be set in the return array. |
SingleAdjustmentOnly
Declaration
public bool SingleAdjustmentOnly { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | If true, the SaveAdjustmentsHookResponse returned must have exactly one adjustment. If true and more or less than 1 are returned, then an exception will be thrown. |