Méthode | Description | |
---|---|---|
CleanupXmlForDeserialization ( |
Remove tags w/ "nil=true" for "type=decimal" or "type=datetime". Do this because XMLSerializer crashes on these cases.
|
|
CleanupXmlForShopifySubmission ( |
Add " type="array" " to elements that require it. Remove xsi:nil="true" elements.
|
|
CreateCollection ( |
||
CreateMetafield ( |
||
CreateProduct ( |
||
DateTimeToShopifyString ( System.DateTime time ) : string |
encode a datetime as a string for filtering products, metafields etc. As per shopify's specification.
|
|
DeleteProduct ( |
||
GetAllMetafields ( |
|
|
GetAllProducts ( |
||
GetCollection ( |
||
GetCollectionByName ( |
||
GetListAllOrders ( |
||
GetOrder ( |
||
GetPageOfProducts ( |
||
GetProduct ( |
||
GetShopInformation ( |
||
Instance ( ) : |
||
UpdateProduct ( |
Méthode | Description | |
---|---|---|
HashString ( string value ) : string |
Hashes(MD5) the given value. Typically used as "HashString(shopsterSecret + storeAuthToken)"
|
|
IsValidXml ( string input ) : |
||
ShopifyCommunicator ( ) : System | ||
ShopifyDelete ( string path, string storePassword ) : |
||
ShopifyGet ( string path, string storePassword ) : |
loads and returns the XML document found at path , using the storePassword.
|
|
ShopifyPutPost ( string path, string storePassword, |
PUT/POSTs the given XMLDocument to the path w/ the storePassword.
|
public static CleanupXmlForDeserialization ( |
||
inDoc | The XmlDocument you want cleaned up for deserialization. | |
Résultat |
public static CleanupXmlForShopifySubmission ( |
||
inDoc | XmlDocument to be cleaned before submission to Shopify. | |
Résultat |
public CreateCollection ( |
||
storeAuth | ||
collection | ||
Résultat | ShopifyResponse |
public CreateMetafield ( |
||
storeAuth | ||
metaField | ||
productId | int | |
Résultat | ShopifyResponse |
public CreateProduct ( |
||
storeAuth | ||
sP | IShopifyProduct | |
Résultat | ShopifyResponse |
public DateTimeToShopifyString ( System.DateTime time ) : string | ||
time | System.DateTime | |
Résultat | string |
public DeleteProduct ( |
||
storeAuth | ||
productId | int | |
Résultat | bool |
public GetAllMetafields ( |
||
storeAuth | ||
limit | int | |
createdMin | System.DateTime | |
createdMax | System.DateTime | |
updatedMin | System.DateTime | |
updatedMax | System.DateTime | |
fieldNamespace | string | |
key | string | |
valueType | string | |
productId | int | If productId is >0 get all metafields for that product, if null get metafields tagged to the shop. |
Résultat | List |
public GetAllProducts ( |
||
storeAuth | ||
Résultat | List |
public GetCollection ( |
||
storeAuth | ||
collectionId | int | |
Résultat | ShopifyResponse |
public GetCollectionByName ( |
||
storeAuth | ||
name | string | |
Résultat | ShopifyResponse |
public GetListAllOrders ( |
||
storeAuth | ||
Résultat | List |
public GetOrder ( |
||
storeAuth | ||
orderId | int | |
Résultat | ShopifyResponse |
public GetPageOfProducts ( |
||
storeAuth | ||
numWanted | int | |
pageNumber | int | |
Résultat | List |
public GetProduct ( |
||
storeAuth | ||
productId | int | |
Résultat | ShopifyResponse |
public GetShopInformation ( |
||
storeAuth | ||
Résultat | ShopifyResponse |
public static Instance ( ) : |
||
Résultat |
public UpdateProduct ( |
||
storeAuth | ||
shopifyProduct | ||
Résultat | ShopifyResponse |