示例#1
0
 /// <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 &#x60;InventoryChangeType&#x60; for all possible values. See [InventoryChangeType](#type-inventorychangetype) for possible values.</param>
 /// <param name="PhysicalCount">Contains details about the physical count when &#x60;type&#x60; is &#x60;PHYSICAL_COUNT&#x60; and unset for all other types..</param>
 /// <param name="Adjustment">Contains details about the inventory adjustment when &#x60;type&#x60; is &#x60;ADJUSTMENT&#x60; and unset for all other types..</param>
 /// <param name="Transfer">Contains details about the inventory transfer when &#x60;type&#x60; is &#x60;TRANSFER&#x60; 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;
 }