This repository was archived by the owner on Jun 23, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Add missing members to ResourceTypeIdΒ #216
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
The SDK's ResourceTypeId enum doesn't include every available ResourceType that's described in the API
https://docs.commercetools.com/api/projects/types#resourcetypeid
Describe the solution you'd like
Add missing type id's to the ResourceTypeId enum:
public enum ResourceTypeId
{
[Description("address")]
Address,
[Description("asset")]
Asset,
[Description("cart-discount")]
CartDiscount,
[Description("category")]
Category,
[Description("channel")]
Channel,
[Description("customer")]
Customer,
[Description("customer-group")]
CustomerGroup,
[Description("custom-line-item")]
CustomLineItem,
[Description("discount-code")]
DiscountCode,
[Description("inventory-entry")]
InventoryEntry,
[Description("line-item")]
LineItem,
[Description("order")]
Order,
[Description("order-edit")]
OrderEdit,
[Description("order-delivery")]
OrderDelivery,
[Description("order-parcel")]
OrderParcel,
[Description("order-return-item")]
OrderReturnItem,
[Description("payment")]
Payment,
[Description("payment-interface-interaction")]
PaymentInterfaceInteraction,
[Description("product-price")]
ProductPrice,
[Description("product-selection")]
ProductSelection,
[Description("review")]
Review,
[Description("shipping-method")]
ShippingMethod,
[Description("shopping-list")]
ShoppingList,
[Description("shopping-list-text-line-item")]
ShoppingListTextLineItem,
[Description("store")]
Store,
[Description("transaction")]
Transaction
}Describe alternatives you've considered
The types are available in SDK v2 which we are planning to migrate to, but would be appreciated if the types could be added to v1 in the meantime.
henrikmagn
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request