Enum SalesDocumentTestHelper
- java.lang.Object
-
- java.lang.Enum<SalesDocumentTestHelper>
-
- de.hybris.platform.sap.sapordermgmtbol.integtests.base.SalesDocumentTestHelper
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SalesDocumentTestHelper>
public enum SalesDocumentTestHelper extends java.lang.Enum<SalesDocumentTestHelper>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ItemaddItemTo(SalesDocument salesDoc, java.lang.String productId, java.lang.String quantity, java.lang.String handle)ItemaddItemTo(SalesDocument salesDoc, java.lang.String productId, java.lang.String quantity, java.lang.String handle, java.lang.String unit)OrdercreateAndPrepareOrder(java.lang.String soldToParty)ItemgetItemAtPostion(ItemList items, java.lang.Integer posNumber)voidprepareCart(java.lang.String soldToParty, Basket cart)voidprepareOrder(java.lang.String soldToParty, Order order)PartnerListpreparePartnerList(java.lang.String soldToParty)static SalesDocumentTestHelpervalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SalesDocumentTestHelper[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final SalesDocumentTestHelper INSTANCE
-
-
Method Detail
-
values
public static SalesDocumentTestHelper[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SalesDocumentTestHelper c : SalesDocumentTestHelper.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SalesDocumentTestHelper valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
createAndPrepareOrder
public Order createAndPrepareOrder(java.lang.String soldToParty)
-
prepareOrder
public void prepareOrder(java.lang.String soldToParty, Order order)
-
prepareCart
public void prepareCart(java.lang.String soldToParty, Basket cart)
-
preparePartnerList
public PartnerList preparePartnerList(java.lang.String soldToParty)
-
addItemTo
public Item addItemTo(SalesDocument salesDoc, java.lang.String productId, java.lang.String quantity, java.lang.String handle)
-
addItemTo
public Item addItemTo(SalesDocument salesDoc, java.lang.String productId, java.lang.String quantity, java.lang.String handle, java.lang.String unit)
-
-