Interface ReferenceType
- All Superinterfaces:
io.vrap.rmf.base.client.JsonEnum
- All Known Implementing Classes:
ReferenceType.ReferenceTypeEnum
The type of the referenced resource.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
possible values of ReferenceType -
Field Summary
Modifier and TypeFieldDescriptionstatic final ReferenceType
References a cart.static final ReferenceType
References a cart discount.static final ReferenceType
References a category.static final ReferenceType
References a channel.static final ReferenceType
References a customer.static final ReferenceType
References a customer group.static final ReferenceType
References a discount code.static final ReferenceType
References a custom objectstatic final ReferenceType
References an order.static final ReferenceType
References a paymentstatic final ReferenceType
References a price.static final ReferenceType
References a product.static final ReferenceType
References a product discount.static final ReferenceType
References a product type.static final ReferenceType
References a product variant.static final ReferenceType
References a shipping method.static final ReferenceType
References a state.static final ReferenceType
References a store.static final ReferenceType
References a tax-category.static final ReferenceType
References a type. -
Method Summary
Modifier and TypeMethodDescriptionstatic ReferenceType
factory method for a enum value of ReferenceType if no enum has been found an anonymous instance will be createdstatic Optional<ReferenceType>
findEnumViaJsonName
(String jsonName) method to find enum using the JSON valuethe JSON valuename()
the enum valuetoString()
convert value to stringstatic ReferenceType[]
values()
possible enum values
-
Field Details
-
CART
References a cart.
-
CART_DISCOUNT
References a cart discount.
-
CATEGORY
References a category.
-
CHANNEL
References a channel.
-
CUSTOMER
References a customer.
-
CUSTOMER_GROUP
References a customer group.
-
DISCOUNT_CODE
References a discount code.
-
ORDER
References an order.
-
PAYMENT
References a payment
-
PRICE
References a price.
-
PRODUCT
References a product.
-
PRODUCT_DISCOUNT
References a product discount.
-
PRODUCT_TYPE
References a product type.
-
PRODUCT_VARIANT
References a product variant.
-
SHIPPING_METHOD
References a shipping method.
-
STATE
References a state.
-
STORE
References a store.
-
TAX_CATEGORY
References a tax-category.
-
TYPE
References a type.
-
KEY_VALUE_DOCUMENT
References a custom object
-
-
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 ReferenceType 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
-