Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public interface CustomLineItem extends com.commercetools.api.models.Customizabl
public Long getQuantity();

/**
* <p>State of the Custom Line Item in the Cart or Order.</p>
* <p>Tracks specific quantities of the Custom Line Item within a given State. When a Custom Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Custom Line Items are managed on the Order.</p>
* @return state
*/
@NotNull
Expand Down Expand Up @@ -270,15 +270,15 @@ public interface CustomLineItem extends com.commercetools.api.models.Customizabl
public void setQuantity(final Long quantity);

/**
* <p>State of the Custom Line Item in the Cart or Order.</p>
* <p>Tracks specific quantities of the Custom Line Item within a given State. When a Custom Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Custom Line Items are managed on the Order.</p>
* @param state values to be set
*/

@JsonIgnore
public void setState(final ItemState... state);

/**
* <p>State of the Custom Line Item in the Cart or Order.</p>
* <p>Tracks specific quantities of the Custom Line Item within a given State. When a Custom Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Custom Line Items are managed on the Order.</p>
* @param state values to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ public CustomLineItemBuilder quantity(final Long quantity) {
}

/**
* <p>State of the Custom Line Item in the Cart or Order.</p>
* <p>Tracks specific quantities of the Custom Line Item within a given State. When a Custom Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Custom Line Items are managed on the Order.</p>
* @param state value to be set
* @return Builder
*/
Expand All @@ -353,7 +353,7 @@ public CustomLineItemBuilder state(final com.commercetools.api.models.order.Item
}

/**
* <p>State of the Custom Line Item in the Cart or Order.</p>
* <p>Tracks specific quantities of the Custom Line Item within a given State. When a Custom Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Custom Line Items are managed on the Order.</p>
* @param state value to be set
* @return Builder
*/
Expand All @@ -364,7 +364,7 @@ public CustomLineItemBuilder state(final java.util.List<com.commercetools.api.mo
}

/**
* <p>State of the Custom Line Item in the Cart or Order.</p>
* <p>Tracks specific quantities of the Custom Line Item within a given State. When a Custom Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Custom Line Items are managed on the Order.</p>
* @param state value to be set
* @return Builder
*/
Expand All @@ -378,7 +378,7 @@ public CustomLineItemBuilder plusState(final com.commercetools.api.models.order.
}

/**
* <p>State of the Custom Line Item in the Cart or Order.</p>
* <p>Tracks specific quantities of the Custom Line Item within a given State. When a Custom Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Custom Line Items are managed on the Order.</p>
* @param builder function to build the state value
* @return Builder
*/
Expand All @@ -393,7 +393,7 @@ public CustomLineItemBuilder plusState(
}

/**
* <p>State of the Custom Line Item in the Cart or Order.</p>
* <p>Tracks specific quantities of the Custom Line Item within a given State. When a Custom Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Custom Line Items are managed on the Order.</p>
* @param builder function to build the state value
* @return Builder
*/
Expand All @@ -406,7 +406,7 @@ public CustomLineItemBuilder withState(
}

/**
* <p>State of the Custom Line Item in the Cart or Order.</p>
* <p>Tracks specific quantities of the Custom Line Item within a given State. When a Custom Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Custom Line Items are managed on the Order.</p>
* @param builder function to build the state value
* @return Builder
*/
Expand All @@ -417,7 +417,7 @@ public CustomLineItemBuilder addState(
}

/**
* <p>State of the Custom Line Item in the Cart or Order.</p>
* <p>Tracks specific quantities of the Custom Line Item within a given State. When a Custom Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Custom Line Items are managed on the Order.</p>
* @param builder function to build the state value
* @return Builder
*/
Expand Down Expand Up @@ -857,7 +857,7 @@ public Long getQuantity() {
}

/**
* <p>State of the Custom Line Item in the Cart or Order.</p>
* <p>Tracks specific quantities of the Custom Line Item within a given State. When a Custom Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Custom Line Items are managed on the Order.</p>
* @return state
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public Long getQuantity() {
}

/**
* <p>State of the Custom Line Item in the Cart or Order.</p>
* <p>Tracks specific quantities of the Custom Line Item within a given State. When a Custom Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Custom Line Items are managed on the Order.</p>
*/

public java.util.List<com.commercetools.api.models.order.ItemState> getState() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public interface LineItem extends com.commercetools.api.models.Customizable<Line
public List<MethodTaxedPrice> getTaxedPricePortions();

/**
* <p>State of the Line Item in the Cart or the Order.</p>
* <p>Tracks specific quantities of the Line Item within a given State. When a Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Line Items are managed on the Order.</p>
* @return state
*/
@NotNull
Expand Down Expand Up @@ -408,15 +408,15 @@ public void setDiscountedPricePerQuantity(
public void setTaxedPricePortions(final List<MethodTaxedPrice> taxedPricePortions);

/**
* <p>State of the Line Item in the Cart or the Order.</p>
* <p>Tracks specific quantities of the Line Item within a given State. When a Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Line Items are managed on the Order.</p>
* @param state values to be set
*/

@JsonIgnore
public void setState(final ItemState... state);

/**
* <p>State of the Line Item in the Cart or the Order.</p>
* <p>Tracks specific quantities of the Line Item within a given State. When a Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Line Items are managed on the Order.</p>
* @param state values to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ public LineItemBuilder setTaxedPricePortions(
}

/**
* <p>State of the Line Item in the Cart or the Order.</p>
* <p>Tracks specific quantities of the Line Item within a given State. When a Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Line Items are managed on the Order.</p>
* @param state value to be set
* @return Builder
*/
Expand All @@ -612,7 +612,7 @@ public LineItemBuilder state(final com.commercetools.api.models.order.ItemState.
}

/**
* <p>State of the Line Item in the Cart or the Order.</p>
* <p>Tracks specific quantities of the Line Item within a given State. When a Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Line Items are managed on the Order.</p>
* @param state value to be set
* @return Builder
*/
Expand All @@ -623,7 +623,7 @@ public LineItemBuilder state(final java.util.List<com.commercetools.api.models.o
}

/**
* <p>State of the Line Item in the Cart or the Order.</p>
* <p>Tracks specific quantities of the Line Item within a given State. When a Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Line Items are managed on the Order.</p>
* @param state value to be set
* @return Builder
*/
Expand All @@ -637,7 +637,7 @@ public LineItemBuilder plusState(final com.commercetools.api.models.order.ItemSt
}

/**
* <p>State of the Line Item in the Cart or the Order.</p>
* <p>Tracks specific quantities of the Line Item within a given State. When a Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Line Items are managed on the Order.</p>
* @param builder function to build the state value
* @return Builder
*/
Expand All @@ -652,7 +652,7 @@ public LineItemBuilder plusState(
}

/**
* <p>State of the Line Item in the Cart or the Order.</p>
* <p>Tracks specific quantities of the Line Item within a given State. When a Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Line Items are managed on the Order.</p>
* @param builder function to build the state value
* @return Builder
*/
Expand All @@ -665,7 +665,7 @@ public LineItemBuilder withState(
}

/**
* <p>State of the Line Item in the Cart or the Order.</p>
* <p>Tracks specific quantities of the Line Item within a given State. When a Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Line Items are managed on the Order.</p>
* @param builder function to build the state value
* @return Builder
*/
Expand All @@ -676,7 +676,7 @@ public LineItemBuilder addState(
}

/**
* <p>State of the Line Item in the Cart or the Order.</p>
* <p>Tracks specific quantities of the Line Item within a given State. When a Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Line Items are managed on the Order.</p>
* @param builder function to build the state value
* @return Builder
*/
Expand Down Expand Up @@ -1157,7 +1157,7 @@ public java.util.List<com.commercetools.api.models.cart.MethodTaxedPrice> getTax
}

/**
* <p>State of the Line Item in the Cart or the Order.</p>
* <p>Tracks specific quantities of the Line Item within a given State. When a Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Line Items are managed on the Order.</p>
* @return state
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ public java.util.List<com.commercetools.api.models.cart.MethodTaxedPrice> getTax
}

/**
* <p>State of the Line Item in the Cart or the Order.</p>
* <p>Tracks specific quantities of the Line Item within a given State. When a Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Line Items are managed on the Order.</p>
*/

public java.util.List<com.commercetools.api.models.order.ItemState> getState() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public interface StateTypeEnum extends JsonEnum {
<p>Used by Orders.</p> */
StateTypeEnum ORDER_STATE = StateTypeEnumEnum.ORDER_STATE;
/**
<p>Used by LineItems and CustomLineItems in Carts and Orders.</p> */
<p>Used by LineItems and CustomLineItems in Carts and Orders, with the <code>builtin</code> field always set to <code>true</code> by default. In addition, the <code>initial</code> field is set to <code>true</code> upon creation.</p> */
StateTypeEnum LINE_ITEM_STATE = StateTypeEnumEnum.LINE_ITEM_STATE;
/**
<p>Used by Products.</p> */
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -413,3 +413,4 @@ ab2859c84d9f146e5d8556e905538b92af4aa044
dd595db3882a9eef83a47515f013be37deae6bff
10b807d404cfeba225736763251d8ba6d8b16db3
fcc6480a0c34dde0eb5c0a44b1b166a4fdc212fc
e68ca35e345e284ffc6281baa6fcfb56a3e93582