public InventoryTransfer(string id                       = null,
                          string referenceId              = null,
                          string state                    = null,
                          string fromLocationId           = null,
                          string toLocationId             = null,
                          string catalogObjectId          = null,
                          string catalogObjectType        = null,
                          string quantity                 = null,
                          string occurredAt               = null,
                          string createdAt                = null,
                          Models.SourceApplication source = null,
                          string employeeId               = null)
 {
     Id                = id;
     ReferenceId       = referenceId;
     State             = state;
     FromLocationId    = fromLocationId;
     ToLocationId      = toLocationId;
     CatalogObjectId   = catalogObjectId;
     CatalogObjectType = catalogObjectType;
     Quantity          = quantity;
     OccurredAt        = occurredAt;
     CreatedAt         = createdAt;
     Source            = source;
     EmployeeId        = employeeId;
 }
 public CatalogCustomAttributeDefinition(string type,
                                         string name,
                                         IList <string> allowedObjectTypes,
                                         string description = null,
                                         Models.SourceApplication sourceApplication = null,
                                         string sellerVisibility = null,
                                         string appVisibility    = null,
                                         Models.CatalogCustomAttributeDefinitionStringConfig stringConfig       = null,
                                         Models.CatalogCustomAttributeDefinitionNumberConfig numberConfig       = null,
                                         Models.CatalogCustomAttributeDefinitionSelectionConfig selectionConfig = null,
                                         int?customAttributeUsageCount = null,
                                         string key = null)
 {
     Type                      = type;
     Name                      = name;
     Description               = description;
     SourceApplication         = sourceApplication;
     AllowedObjectTypes        = allowedObjectTypes;
     SellerVisibility          = sellerVisibility;
     AppVisibility             = appVisibility;
     StringConfig              = stringConfig;
     NumberConfig              = numberConfig;
     SelectionConfig           = selectionConfig;
     CustomAttributeUsageCount = customAttributeUsageCount;
     Key = key;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="InventoryPhysicalCount"/> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="referenceId">reference_id.</param>
 /// <param name="catalogObjectId">catalog_object_id.</param>
 /// <param name="catalogObjectType">catalog_object_type.</param>
 /// <param name="state">state.</param>
 /// <param name="locationId">location_id.</param>
 /// <param name="quantity">quantity.</param>
 /// <param name="source">source.</param>
 /// <param name="employeeId">employee_id.</param>
 /// <param name="occurredAt">occurred_at.</param>
 /// <param name="createdAt">created_at.</param>
 public InventoryPhysicalCount(
     string id                       = null,
     string referenceId              = null,
     string catalogObjectId          = null,
     string catalogObjectType        = null,
     string state                    = null,
     string locationId               = null,
     string quantity                 = null,
     Models.SourceApplication source = null,
     string employeeId               = null,
     string occurredAt               = null,
     string createdAt                = null)
 {
     this.Id                = id;
     this.ReferenceId       = referenceId;
     this.CatalogObjectId   = catalogObjectId;
     this.CatalogObjectType = catalogObjectType;
     this.State             = state;
     this.LocationId        = locationId;
     this.Quantity          = quantity;
     this.Source            = source;
     this.EmployeeId        = employeeId;
     this.OccurredAt        = occurredAt;
     this.CreatedAt         = createdAt;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="InventoryTransfer"/> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="referenceId">reference_id.</param>
 /// <param name="state">state.</param>
 /// <param name="fromLocationId">from_location_id.</param>
 /// <param name="toLocationId">to_location_id.</param>
 /// <param name="catalogObjectId">catalog_object_id.</param>
 /// <param name="catalogObjectType">catalog_object_type.</param>
 /// <param name="quantity">quantity.</param>
 /// <param name="occurredAt">occurred_at.</param>
 /// <param name="createdAt">created_at.</param>
 /// <param name="source">source.</param>
 /// <param name="employeeId">employee_id.</param>
 public InventoryTransfer(
     string id                       = null,
     string referenceId              = null,
     string state                    = null,
     string fromLocationId           = null,
     string toLocationId             = null,
     string catalogObjectId          = null,
     string catalogObjectType        = null,
     string quantity                 = null,
     string occurredAt               = null,
     string createdAt                = null,
     Models.SourceApplication source = null,
     string employeeId               = null)
 {
     this.Id                = id;
     this.ReferenceId       = referenceId;
     this.State             = state;
     this.FromLocationId    = fromLocationId;
     this.ToLocationId      = toLocationId;
     this.CatalogObjectId   = catalogObjectId;
     this.CatalogObjectType = catalogObjectType;
     this.Quantity          = quantity;
     this.OccurredAt        = occurredAt;
     this.CreatedAt         = createdAt;
     this.Source            = source;
     this.EmployeeId        = employeeId;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="InventoryAdjustment"/> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="referenceId">reference_id.</param>
 /// <param name="fromState">from_state.</param>
 /// <param name="toState">to_state.</param>
 /// <param name="locationId">location_id.</param>
 /// <param name="catalogObjectId">catalog_object_id.</param>
 /// <param name="catalogObjectType">catalog_object_type.</param>
 /// <param name="quantity">quantity.</param>
 /// <param name="totalPriceMoney">total_price_money.</param>
 /// <param name="occurredAt">occurred_at.</param>
 /// <param name="createdAt">created_at.</param>
 /// <param name="source">source.</param>
 /// <param name="employeeId">employee_id.</param>
 /// <param name="transactionId">transaction_id.</param>
 /// <param name="refundId">refund_id.</param>
 /// <param name="purchaseOrderId">purchase_order_id.</param>
 /// <param name="goodsReceiptId">goods_receipt_id.</param>
 /// <param name="adjustmentGroup">adjustment_group.</param>
 public InventoryAdjustment(
     string id                       = null,
     string referenceId              = null,
     string fromState                = null,
     string toState                  = null,
     string locationId               = null,
     string catalogObjectId          = null,
     string catalogObjectType        = null,
     string quantity                 = null,
     Models.Money totalPriceMoney    = null,
     string occurredAt               = null,
     string createdAt                = null,
     Models.SourceApplication source = null,
     string employeeId               = null,
     string transactionId            = null,
     string refundId                 = null,
     string purchaseOrderId          = null,
     string goodsReceiptId           = null,
     Models.InventoryAdjustmentGroup adjustmentGroup = null)
 {
     this.Id                = id;
     this.ReferenceId       = referenceId;
     this.FromState         = fromState;
     this.ToState           = toState;
     this.LocationId        = locationId;
     this.CatalogObjectId   = catalogObjectId;
     this.CatalogObjectType = catalogObjectType;
     this.Quantity          = quantity;
     this.TotalPriceMoney   = totalPriceMoney;
     this.OccurredAt        = occurredAt;
     this.CreatedAt         = createdAt;
     this.Source            = source;
     this.EmployeeId        = employeeId;
     this.TransactionId     = transactionId;
     this.RefundId          = refundId;
     this.PurchaseOrderId   = purchaseOrderId;
     this.GoodsReceiptId    = goodsReceiptId;
     this.AdjustmentGroup   = adjustmentGroup;
 }
 public InventoryAdjustment(string id                       = null,
                            string referenceId              = null,
                            string fromState                = null,
                            string toState                  = null,
                            string locationId               = null,
                            string catalogObjectId          = null,
                            string catalogObjectType        = null,
                            string quantity                 = null,
                            Models.Money totalPriceMoney    = null,
                            string occurredAt               = null,
                            string createdAt                = null,
                            Models.SourceApplication source = null,
                            string employeeId               = null,
                            string transactionId            = null,
                            string refundId                 = null,
                            string purchaseOrderId          = null,
                            string goodsReceiptId           = null)
 {
     Id                = id;
     ReferenceId       = referenceId;
     FromState         = fromState;
     ToState           = toState;
     LocationId        = locationId;
     CatalogObjectId   = catalogObjectId;
     CatalogObjectType = catalogObjectType;
     Quantity          = quantity;
     TotalPriceMoney   = totalPriceMoney;
     OccurredAt        = occurredAt;
     CreatedAt         = createdAt;
     Source            = source;
     EmployeeId        = employeeId;
     TransactionId     = transactionId;
     RefundId          = refundId;
     PurchaseOrderId   = purchaseOrderId;
     GoodsReceiptId    = goodsReceiptId;
 }
 public Builder Source(Models.SourceApplication source)
 {
     this.source = source;
     return(this);
 }
Exemple #8
0
 public Builder SourceApplication(Models.SourceApplication value)
 {
     sourceApplication = value;
     return(this);
 }
 public Builder SourceApplication(Models.SourceApplication sourceApplication)
 {
     this.sourceApplication = sourceApplication;
     return(this);
 }