/// <summary> /// Initializes a new instance of the <see cref="RetrieveInventoryAdjustmentResponse" /> class. /// </summary> /// <param name="Errors">Any errors that occurred during the request..</param> /// <param name="Adjustment">The requested [InventoryAdjustment](#type-inventoryadjustment)..</param> public RetrieveInventoryAdjustmentResponse(List <Error> Errors = default(List <Error>), InventoryAdjustment Adjustment = default(InventoryAdjustment)) { this.Errors = Errors; this.Adjustment = Adjustment; }
/// <summary> /// Initializes a new instance of the <see cref="InventoryChange" /> class. /// </summary> /// <param name="Type">Indicates how the inventory change was applied. See `InventoryChangeType` for all possible values. See [InventoryChangeType](#type-inventorychangetype) for possible values.</param> /// <param name="PhysicalCount">Contains details about the physical count when `type` is `PHYSICAL_COUNT` and unset for all other types..</param> /// <param name="Adjustment">Contains details about the inventory adjustment when `type` is `ADJUSTMENT` and unset for all other types..</param> /// <param name="Transfer">Contains details about the inventory transfer when `type` is `TRANSFER` and unset for all other types..</param> public InventoryChange(string Type = default(string), InventoryPhysicalCount PhysicalCount = default(InventoryPhysicalCount), InventoryAdjustment Adjustment = default(InventoryAdjustment), InventoryTransfer Transfer = default(InventoryTransfer)) { this.Type = Type; this.PhysicalCount = PhysicalCount; this.Adjustment = Adjustment; this.Transfer = Transfer; }