Interface ResourceTypeId
- All Superinterfaces:
io.vrap.rmf.base.client.JsonEnum
- All Known Implementing Classes:
ResourceTypeId.ResourceTypeIdEnum
IDs indicating the customizable resources and data types. Maps to Type.resourceTypeId
.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
possible values of ResourceTypeId -
Field Summary
Modifier and TypeFieldDescriptionstatic final ResourceTypeId
static final ResourceTypeId
static final ResourceTypeId
static final ResourceTypeId
static final ResourceTypeId
static final ResourceTypeId
static final ResourceTypeId
static final ResourceTypeId
static final ResourceTypeId
static final ResourceTypeId
static final ResourceTypeId
static final ResourceTypeId
static final ResourceTypeId
static final ResourceTypeId
static final ResourceTypeId
static final ResourceTypeId
static final ResourceTypeId
static final ResourceTypeId
static final ResourceTypeId
static final ResourceTypeId
static final ResourceTypeId
static final ResourceTypeId
static final ResourceTypeId
static final ResourceTypeId
static final ResourceTypeId
static final ResourceTypeId
static final ResourceTypeId
static final ResourceTypeId
static final ResourceTypeId
static final ResourceTypeId
-
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
-
ASSET
Asset on Category and ProductVariant
-
BUSINESS_UNIT
-
CART_DISCOUNT
-
CATEGORY
-
CHANNEL
-
CUSTOMER
-
CUSTOMER_GROUP
-
CUSTOM_LINE_ITEM
CustomLineItem on Cart and Order
-
DISCOUNT_CODE
-
INVENTORY_ENTRY
-
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
-
ORDER_DELIVERY
-
ORDER_PARCEL
-
ORDER_RETURN_ITEM
-
PAYMENT
-
PAYMENT_INTERFACE_INTERACTION
-
PRODUCT_PRICE
-
PRODUCT_SELECTION
-
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
-
SHIPPING
-
SHIPPING_METHOD
-
SHOPPING_LIST
-
SHOPPING_LIST_TEXT_LINE_ITEM
-
STANDALONE_PRICE
-
STORE
-
TRANSACTION
-
-
Method Details
-
getJsonName
the JSON value- Specified by:
getJsonName
in interfaceio.vrap.rmf.base.client.JsonEnum
- Returns:
- json value
-
name
the enum value- Specified by:
name
in interfaceio.vrap.rmf.base.client.JsonEnum
- Returns:
- name
-
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
-