コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RetrieveInventoryPhysicalCountResponse" /> class.
 /// </summary>
 /// <param name="Errors">Any errors that occurred during the request..</param>
 /// <param name="Count">The requested &#x60;InventoryPhysicalCount&#x60;..</param>
 public RetrieveInventoryPhysicalCountResponse(List <Error> Errors = default(List <Error>), InventoryPhysicalCount Count = default(InventoryPhysicalCount))
 {
     this.Errors = Errors;
     this.Count  = Count;
 }