Interface ResourceTypeId
- All Superinterfaces:
JsonEnum
- All Known Implementing Classes:
ResourceTypeId.ResourceTypeIdEnum
With Types, you can model your own Custom Fields on the following resources and data types.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
possible values of ResourceTypeId -
Field Summary
Modifier and TypeFieldDescriptionstatic final ResourceTypeId
Address on BusinessUnit, Cart, Order, OrderEdit, Customer, and Channelstatic final ResourceTypeId
ApprovalFlowstatic final ResourceTypeId
ApprovalRulestatic final ResourceTypeId
Asset on Category and ProductVariantstatic final ResourceTypeId
AssociateRolestatic final ResourceTypeId
BusinessUnitstatic final ResourceTypeId
CartDiscountstatic final ResourceTypeId
Categorystatic final ResourceTypeId
Channelstatic final ResourceTypeId
CustomLineItem on Cart and Orderstatic final ResourceTypeId
Customerstatic final ResourceTypeId
CustomerGroupstatic final ResourceTypeId
DiscountCodestatic final ResourceTypeId
InventoryEntrystatic final ResourceTypeId
LineItem on Cart and Order, and LineItem on ShoppingListstatic final ResourceTypeId
Cart and Order.static final ResourceTypeId
Deliverystatic final ResourceTypeId
OrderEditstatic final ResourceTypeId
Parcelstatic final ResourceTypeId
ReturnItemstatic final ResourceTypeId
Paymentstatic final ResourceTypeId
InterfaceInteraction on Paymentstatic final ResourceTypeId
Embedded Price on ProductVariantstatic final ResourceTypeId
ProductSelectionstatic final ResourceTypeId
ProductTailoringstatic final ResourceTypeId
Quote, QuoteRequest and StagedQuote.static final ResourceTypeId
Reviewstatic final ResourceTypeId
Shippingstatic final ResourceTypeId
ShippingMethodstatic final ResourceTypeId
ShoppingListstatic final ResourceTypeId
TextLineItem on ShoppingListstatic final ResourceTypeId
StandalonePricestatic final ResourceTypeId
Storestatic final ResourceTypeId
Transaction on Payment -
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceTypeId
factory method for a enum value of ResourceTypeId if no enum has been found an anonymous instance will be createdstatic Optional<ResourceTypeId>
findEnumViaJsonName
(String jsonName) method to find enum using the JSON valuethe JSON valuename()
the enum valuetoString()
convert value to stringstatic ResourceTypeId[]
values()
possible enum values
-
Field Details
-
ADDRESS
Address on BusinessUnit, Cart, Order, OrderEdit, Customer, and Channel
-
ASSET
Asset on Category and ProductVariant
-
APPROVAL_FLOW
ApprovalFlow
-
APPROVAL_RULE
ApprovalRule
-
ASSOCIATE_ROLE
AssociateRole
-
BUSINESS_UNIT
BusinessUnit
-
CART_DISCOUNT
CartDiscount
-
CATEGORY
Category
-
CHANNEL
Channel
-
CUSTOMER
Customer
-
CUSTOMER_GROUP
CustomerGroup
-
CUSTOM_LINE_ITEM
CustomLineItem on Cart and Order
-
DISCOUNT_CODE
DiscountCode
-
INVENTORY_ENTRY
InventoryEntry
-
LINE_ITEM
LineItem on Cart and Order, and LineItem on ShoppingList
-
ORDER
Cart and Order. When a Cart is ordered, the CustomFields need to be copied to the Order. For this reason, the Types for Carts are also valid for Orders, and hence both have the same identifier:
order
. -
ORDER_EDIT
OrderEdit
-
ORDER_DELIVERY
Delivery
-
ORDER_PARCEL
Parcel
-
ORDER_RETURN_ITEM
ReturnItem
-
PAYMENT
Payment
-
PAYMENT_INTERFACE_INTERACTION
InterfaceInteraction on Payment
-
PRODUCT_PRICE
Embedded Price on ProductVariant
-
PRODUCT_SELECTION
ProductSelection
-
PRODUCT_TAILORING
ProductTailoring
-
QUOTE
Quote, QuoteRequest and StagedQuote. When a StagedQuote is created, the CustomFields will be copied from the QuoteRequest and when a Quote is created, the CustomFields will be copied from the StagedQuote. For this reason, the Types for Quotes are also valid for QuoteRequests and StagedQuotes, and hence all have the same identifier:
quote
. -
REVIEW
Review
-
SHIPPING
Shipping
-
SHIPPING_METHOD
ShippingMethod
-
SHOPPING_LIST
ShoppingList
-
SHOPPING_LIST_TEXT_LINE_ITEM
TextLineItem on ShoppingList
-
STANDALONE_PRICE
StandalonePrice
-
STORE
Store
-
TRANSACTION
Transaction on Payment
-
-
Method Details
-
getJsonName
String getJsonName()the JSON value- Specified by:
getJsonName
in interfaceJsonEnum
- Returns:
- json value
-
name
String name()the enum value -
toString
String toString()convert value to string -
findEnum
factory method for a enum value of ResourceTypeId if no enum has been found an anonymous instance will be created- Parameters:
value
- the enum value to be wrapped- Returns:
- enum instance
-
findEnumViaJsonName
method to find enum using the JSON value- Parameters:
jsonName
- the json value to be wrapped- Returns:
- optional of enum instance
-
values
possible enum values- Returns:
- array of possible enum values
-