Interface ReferenceTypeId

All Superinterfaces:
JsonEnum
All Known Implementing Classes:
ReferenceTypeId.ReferenceTypeIdEnum

public interface ReferenceTypeId extends JsonEnum

Type of resource the value should reference. Supported resource type identifiers are:

  • Field Details

    • APPROVAL_FLOW

      static final ReferenceTypeId APPROVAL_FLOW

      References an ApprovalFlow.

    • APPROVAL_RULE

      static final ReferenceTypeId APPROVAL_RULE

      References an ApprovalRule.

    • ASSOCIATE_ROLE

      static final ReferenceTypeId ASSOCIATE_ROLE

      References an AssociateRole.

    • ATTRIBUTE_GROUP

      static final ReferenceTypeId ATTRIBUTE_GROUP

      References an AttributeGroup.

    • BUSINESS_UNIT

      static final ReferenceTypeId BUSINESS_UNIT

      References a BusinessUnit.

    • CART

      static final ReferenceTypeId CART

      References a Cart.

    • CART_DISCOUNT

      static final ReferenceTypeId CART_DISCOUNT

      References a CartDiscount.

    • CATEGORY

      static final ReferenceTypeId CATEGORY

      References a Category.

    • CHANNEL

      static final ReferenceTypeId CHANNEL

      References a Channel.

    • CUSTOMER

      static final ReferenceTypeId CUSTOMER

      References a Customer.

    • CUSTOMER_EMAIL_TOKEN

      static final ReferenceTypeId CUSTOMER_EMAIL_TOKEN

      References a CustomerToken for email verification.

    • CUSTOMER_GROUP

      static final ReferenceTypeId CUSTOMER_GROUP

      References a CustomerGroup.

    • CUSTOMER_PASSWORD_TOKEN

      static final ReferenceTypeId CUSTOMER_PASSWORD_TOKEN

      References a CustomerToken for password reset.

    • DIRECT_DISCOUNT

      static final ReferenceTypeId DIRECT_DISCOUNT

      References a DirectDiscount.

    • DISCOUNT_CODE

      static final ReferenceTypeId DISCOUNT_CODE

      References a DiscountCode.

    • EXTENSION

      static final ReferenceTypeId EXTENSION

      References an Extension.

    • INVENTORY_ENTRY

      static final ReferenceTypeId INVENTORY_ENTRY

      References an InventoryEntry.

    • KEY_VALUE_DOCUMENT

      static final ReferenceTypeId KEY_VALUE_DOCUMENT

      References a CustomObject.

    • ORDER

      static final ReferenceTypeId ORDER

      References an Order.

    • ORDER_EDIT

      static final ReferenceTypeId ORDER_EDIT

      References an Order Edit.

    • PAYMENT

      static final ReferenceTypeId PAYMENT

      References a Payment.

    • PRODUCT

      static final ReferenceTypeId PRODUCT

      References a Product.

    • PRODUCT_DISCOUNT

      static final ReferenceTypeId PRODUCT_DISCOUNT

      References a ProductDiscount.

    • PRODUCT_PRICE

      static final ReferenceTypeId PRODUCT_PRICE

      References an Embedded Price.

    • PRODUCT_SELECTION

      static final ReferenceTypeId PRODUCT_SELECTION

      References a ProductSelection.

    • PRODUCT_TAILORING

      static final ReferenceTypeId PRODUCT_TAILORING

      References a ProductTailoring.

    • PRODUCT_TYPE

      static final ReferenceTypeId PRODUCT_TYPE

      References a ProductType.

    • QUOTE

      static final ReferenceTypeId QUOTE

      References a Quote.

    • QUOTE_REQUEST

      static final ReferenceTypeId QUOTE_REQUEST

      References a QuoteRequest.

    • REVIEW

      static final ReferenceTypeId REVIEW

      References a Review.

    • SHIPPING_METHOD

      static final ReferenceTypeId SHIPPING_METHOD

      References a ShippingMethod.

    • SHOPPING_LIST

      static final ReferenceTypeId SHOPPING_LIST

      References a ShoppingList.

    • STAGED_QUOTE

      static final ReferenceTypeId STAGED_QUOTE

      References a StagedQuote.

    • STANDALONE_PRICE

      static final ReferenceTypeId STANDALONE_PRICE

      References a StandalonePrice.

    • STATE

      static final ReferenceTypeId STATE

      References a State.

    • STORE

      static final ReferenceTypeId STORE

      References a Store.

    • SUBSCRIPTION

      static final ReferenceTypeId SUBSCRIPTION

      References a Subscription.

    • TAX_CATEGORY

      static final ReferenceTypeId TAX_CATEGORY

      References a TaxCategory.

    • TYPE

      static final ReferenceTypeId TYPE

      References a Type.

    • ZONE

      static final ReferenceTypeId ZONE

      References a Zone.

  • Method Details

    • getJsonName

      String getJsonName()
      the JSON value
      Specified by:
      getJsonName in interface JsonEnum
      Returns:
      json value
    • name

      String name()
      the enum value
      Specified by:
      name in interface JsonEnum
      Returns:
      name
    • toString

      String toString()
      convert value to string
      Specified by:
      toString in interface JsonEnum
      Overrides:
      toString in class Object
      Returns:
      string representation
    • findEnum

      static ReferenceTypeId findEnum(String value)
      factory method for a enum value of ReferenceTypeId if no enum has been found an anonymous instance will be created
      Parameters:
      value - the enum value to be wrapped
      Returns:
      enum instance
    • findEnumViaJsonName

      static Optional<ReferenceTypeId> findEnumViaJsonName(String jsonName)
      method to find enum using the JSON value
      Parameters:
      jsonName - the json value to be wrapped
      Returns:
      optional of enum instance
    • values

      static ReferenceTypeId[] values()
      possible enum values
      Returns:
      array of possible enum values