Class CrossOrganizationReference

    • Constructor Detail

      • CrossOrganizationReference

        public CrossOrganizationReference()
    • Method Detail

      • createOrder

        protected Order createOrder​(String orgId)
        Creates a default order
      • createOrder

        protected Order createOrder​(String orgId,
                                    String warehouseId)
        Creates a default order in the given warehouse
      • createOrder

        protected Order createOrder​(String orgId,
                                    Map<String,​Object> propertyValues)
        Creates a default order being possible to overwrite any value
      • createOrderLine

        protected OrderLine createOrderLine​(Order order)
        Creates a default order line for given order
      • createOrderLine

        protected OrderLine createOrderLine​(Order order,
                                            Map<String,​Object> propertyValues)
        Creates a default order line for given order allowing to overwrite any value
      • setRole

        public void setRole()
      • removeCreatedObjects

        public static void removeCreatedObjects()