Skip to main content

ShopHelper

A static class in Alta.Api.DataTransferModels, Alta.Api.DataTransferModels.Helpers.

Helpers for shop SKUs. Item sets are told apart from single items by a set_ prefix on the SKU.

Fields​

MemberWhat it is
const string ItemSetPrefixThe SKU prefix that marks an item set, set_.

Methods​

MemberWhat it is
static string EnsureItemSetSku(string sku)Adds the set_ prefix to a SKU if it doesn't have it yet.
static bool IsItemSet(string itemSku)True if the SKU starts with set_. Null gives false.