Initial commit
This commit is contained in:
14
PartSource.Data/Shopify/Format.cs
Normal file
14
PartSource.Data/Shopify/Format.cs
Normal 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,
|
||||
}
|
||||
}
|
||||
29
PartSource.Data/Shopify/FulfillmentService.cs
Normal file
29
PartSource.Data/Shopify/FulfillmentService.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
14
PartSource.Data/Shopify/InventoryPolicy.cs
Normal file
14
PartSource.Data/Shopify/InventoryPolicy.cs
Normal 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,
|
||||
}
|
||||
}
|
||||
21
PartSource.Data/Shopify/Metafield.cs
Normal file
21
PartSource.Data/Shopify/Metafield.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
36
PartSource.Data/Shopify/Product.cs
Normal file
36
PartSource.Data/Shopify/Product.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
21
PartSource.Data/Shopify/ProductImage.cs
Normal file
21
PartSource.Data/Shopify/ProductImage.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
46
PartSource.Data/Shopify/ProductVariant.cs
Normal file
46
PartSource.Data/Shopify/ProductVariant.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
14
PartSource.Data/Shopify/PublishedScope.cs
Normal file
14
PartSource.Data/Shopify/PublishedScope.cs
Normal 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,
|
||||
}
|
||||
}
|
||||
14
PartSource.Data/Shopify/ValueType.cs
Normal file
14
PartSource.Data/Shopify/ValueType.cs
Normal 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,
|
||||
}
|
||||
}
|
||||
16
PartSource.Data/Shopify/WeightUnit.cs
Normal file
16
PartSource.Data/Shopify/WeightUnit.cs
Normal 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,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user