Initial commit

This commit is contained in:
2020-04-12 20:52:03 -04:00
parent e750d2848a
commit 01e7627293
249 changed files with 9733 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
// Decompiled with JetBrains decompiler
// Type: PartSource.Data.Shopify.Format
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
namespace PartSource.Data.Shopify
{
public enum Format
{
Json,
Xml,
}
}

View File

@@ -0,0 +1,29 @@
// Decompiled with JetBrains decompiler
// Type: PartSource.Data.Shopify.FulfillmentService
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
namespace PartSource.Data.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; }
}
}

View File

@@ -0,0 +1,14 @@
// Decompiled with JetBrains decompiler
// Type: PartSource.Data.Shopify.InventoryPolicy
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
namespace PartSource.Data.Shopify
{
public enum InventoryPolicy
{
Deny,
Continue,
}
}

View File

@@ -0,0 +1,21 @@
using Ratermania.Shopify;
namespace PartSource.Data.Shopify
{
public class Metafield : ShopifyEntity
{
public string Description { get; set; }
public string Namespace { get; set; }
public string Key { get; set; }
public string Value { get; set; }
public string OwnerResource { get; set; }
public long OwnerId { get; set; }
public string ValueType { get; set; }
}
}

View File

@@ -0,0 +1,36 @@
using Ratermania.Shopify;
using System;
namespace PartSource.Data.Shopify
{
public class Product : ShopifyEntity
{
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.Data.Shopify.PublishedScope? PublishedScope { get; set; }
}
}

View File

@@ -0,0 +1,21 @@
using Ratermania.Shopify;
namespace PartSource.Data.Shopify
{
public class ProductImage : ShopifyEntity
{
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; }
public string Alt { get; set; }
}
}

View File

@@ -0,0 +1,46 @@
using Ratermania.Shopify;
using System;
namespace PartSource.Data.Shopify
{
public class ProductVariant : ShopifyEntity
{
public string Option1 { get; set; }
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; }
}
}

View File

@@ -0,0 +1,14 @@
// Decompiled with JetBrains decompiler
// Type: PartSource.Data.Shopify.PublishedScope
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
namespace PartSource.Data.Shopify
{
public enum PublishedScope
{
Global,
Web,
}
}

View File

@@ -0,0 +1,14 @@
// Decompiled with JetBrains decompiler
// Type: PartSource.Data.Shopify.ValueType
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
namespace PartSource.Data.Shopify
{
public enum ValueType
{
Integer,
String,
}
}

View File

@@ -0,0 +1,16 @@
// Decompiled with JetBrains decompiler
// Type: PartSource.Data.Shopify.WeightUnit
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
namespace PartSource.Data.Shopify
{
public enum WeightUnit
{
G,
Kg,
Oz,
Lb,
}
}