Initial commit
This commit is contained in:
19
PartSource.Entities/Shopify/BaseShopifyModel.cs
Normal file
19
PartSource.Entities/Shopify/BaseShopifyModel.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Entities.Shopify.BaseShopifyModel
|
||||
// Assembly: PartSource.Entities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Entities.dll
|
||||
|
||||
using System;
|
||||
|
||||
namespace PartSource.Entities.Shopify
|
||||
{
|
||||
public class BaseShopifyModel
|
||||
{
|
||||
public long Id { get; set; }
|
||||
|
||||
public DateTime CreatedAt { get; set; }
|
||||
|
||||
public DateTime UpdatedAt { get; set; }
|
||||
}
|
||||
}
|
||||
14
PartSource.Entities/Shopify/Format.cs
Normal file
14
PartSource.Entities/Shopify/Format.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Entities.Shopify.Format
|
||||
// Assembly: PartSource.Entities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Entities.dll
|
||||
|
||||
namespace PartSource.Entities.Shopify
|
||||
{
|
||||
public enum Format
|
||||
{
|
||||
Json,
|
||||
Xml,
|
||||
}
|
||||
}
|
||||
29
PartSource.Entities/Shopify/FulfillmentService.cs
Normal file
29
PartSource.Entities/Shopify/FulfillmentService.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Entities.Shopify.FulfillmentService
|
||||
// Assembly: PartSource.Entities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Entities.dll
|
||||
|
||||
namespace PartSource.Entities.Shopify
|
||||
{
|
||||
public class FulfillmentService
|
||||
{
|
||||
public int LocationId { get; set; }
|
||||
|
||||
public string CallbackUrl { get; set; }
|
||||
|
||||
public string Handle { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
|
||||
public string ProviderId { get; set; }
|
||||
|
||||
public bool InventoryManagement { get; set; }
|
||||
|
||||
public bool RequiresShippingMethod { get; set; }
|
||||
|
||||
public bool TrackingSupport { get; set; }
|
||||
|
||||
public Format Format { get; set; }
|
||||
}
|
||||
}
|
||||
14
PartSource.Entities/Shopify/InventoryPolicy.cs
Normal file
14
PartSource.Entities/Shopify/InventoryPolicy.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Entities.Shopify.InventoryPolicy
|
||||
// Assembly: PartSource.Entities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Entities.dll
|
||||
|
||||
namespace PartSource.Entities.Shopify
|
||||
{
|
||||
public enum InventoryPolicy
|
||||
{
|
||||
Deny,
|
||||
Continue,
|
||||
}
|
||||
}
|
||||
21
PartSource.Entities/Shopify/Metafield.cs
Normal file
21
PartSource.Entities/Shopify/Metafield.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Entities.Shopify.Metafield
|
||||
// Assembly: PartSource.Entities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Entities.dll
|
||||
|
||||
namespace PartSource.Entities.Shopify
|
||||
{
|
||||
public class Metafield
|
||||
{
|
||||
public string Description { get; set; }
|
||||
|
||||
public string Key { get; set; }
|
||||
|
||||
public string Namespace { get; set; }
|
||||
|
||||
public string Value { get; set; }
|
||||
|
||||
public ValueType ValueType { get; set; }
|
||||
}
|
||||
}
|
||||
41
PartSource.Entities/Shopify/Product.cs
Normal file
41
PartSource.Entities/Shopify/Product.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Entities.Shopify.Product
|
||||
// Assembly: PartSource.Entities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Entities.dll
|
||||
|
||||
using System;
|
||||
|
||||
namespace PartSource.Entities.Shopify
|
||||
{
|
||||
public class Product : BaseShopifyModel
|
||||
{
|
||||
public string BodyHtml { get; set; }
|
||||
|
||||
public string Handle { get; set; }
|
||||
|
||||
public string MetafieldsGlobalTitleTag { get; set; }
|
||||
|
||||
public string MetafieldsGlobalDescriptionTag { get; set; }
|
||||
|
||||
public string ProductType { get; set; }
|
||||
|
||||
public string Tags { get; set; }
|
||||
|
||||
public string TemplateSuffix { get; set; }
|
||||
|
||||
public string Title { get; set; }
|
||||
|
||||
public string Vendor { get; set; }
|
||||
|
||||
public bool Published { get; set; }
|
||||
|
||||
public DateTime? PublishedAt { get; set; }
|
||||
|
||||
public ProductImage[] Images { get; set; }
|
||||
|
||||
public ProductVariant[] Variants { get; set; }
|
||||
|
||||
public PartSource.Entities.Shopify.PublishedScope? PublishedScope { get; set; }
|
||||
}
|
||||
}
|
||||
23
PartSource.Entities/Shopify/ProductImage.cs
Normal file
23
PartSource.Entities/Shopify/ProductImage.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Entities.Shopify.ProductImage
|
||||
// Assembly: PartSource.Entities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Entities.dll
|
||||
|
||||
namespace PartSource.Entities.Shopify
|
||||
{
|
||||
public class ProductImage : BaseShopifyModel
|
||||
{
|
||||
public int Height { get; set; }
|
||||
|
||||
public int Position { get; set; }
|
||||
|
||||
public int Width { get; set; }
|
||||
|
||||
public long ProductId { get; set; }
|
||||
|
||||
public long[] VariantIds { get; set; }
|
||||
|
||||
public string Src { get; set; }
|
||||
}
|
||||
}
|
||||
49
PartSource.Entities/Shopify/ProductVariant.cs
Normal file
49
PartSource.Entities/Shopify/ProductVariant.cs
Normal file
@@ -0,0 +1,49 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Entities.Shopify.ProductVariant
|
||||
// Assembly: PartSource.Entities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Entities.dll
|
||||
|
||||
using System;
|
||||
|
||||
namespace PartSource.Entities.Shopify
|
||||
{
|
||||
public class ProductVariant : BaseShopifyModel
|
||||
{
|
||||
public long ImageId { get; set; }
|
||||
|
||||
public long InventoryItemId { get; set; }
|
||||
|
||||
public long ProductId { get; set; }
|
||||
|
||||
public int Position { get; set; }
|
||||
|
||||
public bool RequiresShipping { get; set; }
|
||||
|
||||
public bool Taxable { get; set; }
|
||||
|
||||
public Decimal CompareAtPrice { get; set; }
|
||||
|
||||
public Decimal Price { get; set; }
|
||||
|
||||
public double Grams { get; set; }
|
||||
|
||||
public double Weight { get; set; }
|
||||
|
||||
public string Barcode { get; set; }
|
||||
|
||||
public string Sku { get; set; }
|
||||
|
||||
public string Title { get; set; }
|
||||
|
||||
public string FulfillmentService { get; set; }
|
||||
|
||||
public string InventoryManagement { get; set; }
|
||||
|
||||
public Metafield[] Metafields { get; set; }
|
||||
|
||||
public string InventoryPolicy { get; set; }
|
||||
|
||||
public string WeightUnit { get; set; }
|
||||
}
|
||||
}
|
||||
14
PartSource.Entities/Shopify/PublishedScope.cs
Normal file
14
PartSource.Entities/Shopify/PublishedScope.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Entities.Shopify.PublishedScope
|
||||
// Assembly: PartSource.Entities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Entities.dll
|
||||
|
||||
namespace PartSource.Entities.Shopify
|
||||
{
|
||||
public enum PublishedScope
|
||||
{
|
||||
Global,
|
||||
Web,
|
||||
}
|
||||
}
|
||||
14
PartSource.Entities/Shopify/ValueType.cs
Normal file
14
PartSource.Entities/Shopify/ValueType.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Entities.Shopify.ValueType
|
||||
// Assembly: PartSource.Entities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Entities.dll
|
||||
|
||||
namespace PartSource.Entities.Shopify
|
||||
{
|
||||
public enum ValueType
|
||||
{
|
||||
Integer,
|
||||
String,
|
||||
}
|
||||
}
|
||||
16
PartSource.Entities/Shopify/WeightUnit.cs
Normal file
16
PartSource.Entities/Shopify/WeightUnit.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Entities.Shopify.WeightUnit
|
||||
// Assembly: PartSource.Entities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Entities.dll
|
||||
|
||||
namespace PartSource.Entities.Shopify
|
||||
{
|
||||
public enum WeightUnit
|
||||
{
|
||||
G,
|
||||
Kg,
|
||||
Oz,
|
||||
Lb,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user