Interface LineItem.Builder

    • Method Detail

      • catalogItemId

        LineItem.Builder catalogItemId​(String catalogItemId)

        The ID of the catalog item.

        Parameters:
        catalogItemId - The ID of the catalog item.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lineItemId

        LineItem.Builder lineItemId​(String lineItemId)

        The ID of the line item.

        Parameters:
        lineItemId - The ID of the line item.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • quantity

        LineItem.Builder quantity​(Integer quantity)

        The quantity of the line item.

        Parameters:
        quantity - The quantity of the line item.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        LineItem.Builder status​(String status)

        The status of the line item.

        Parameters:
        status - The status of the line item.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LineItemStatus, LineItemStatus
      • shipmentInformation

        LineItem.Builder shipmentInformation​(ShipmentInformation shipmentInformation)

        Information about a line item shipment.

        Parameters:
        shipmentInformation - Information about a line item shipment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • assetInformationList

        LineItem.Builder assetInformationList​(Collection<LineItemAssetInformation> assetInformationList)

        Information about assets.

        Parameters:
        assetInformationList - Information about assets.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • assetInformationList

        LineItem.Builder assetInformationList​(LineItemAssetInformation... assetInformationList)

        Information about assets.

        Parameters:
        assetInformationList - Information about assets.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • previousLineItemId

        LineItem.Builder previousLineItemId​(String previousLineItemId)

        The ID of the previous line item.

        Parameters:
        previousLineItemId - The ID of the previous line item.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • previousOrderId

        LineItem.Builder previousOrderId​(String previousOrderId)

        The ID of the previous order.

        Parameters:
        previousOrderId - The ID of the previous order.
        Returns:
        Returns a reference to this object so that method calls can be chained together.