Class RATBuilder.RABuilder

Enclosing class:
RATBuilder

public static class RATBuilder.RABuilder extends BasicRebateAgreementBuilder
  • Field Details

  • Constructor Details

    • RABuilder

      public RABuilder(RATBuilder ratBuilder)
  • Method Details

    • getIstanceId

      public String getIstanceId()
    • addLineItemWithId

      public RATBuilder.RABuilder addLineItemWithId(String lineId, String rebateType)
      Adds a new line item to the Rebate Agreement, specified by the Rebate Type unique name.
      Parameters:
      lineId - usually a generated id
      rebateType - uniqueName of the Rebate Agreement Type
      Returns:
      itself
    • addLineItemWithId

      public RATBuilder.RABuilder addLineItemWithId(String parentId, String lineId, String rebateType)
      Adds a new line item to the specified parent folder of the Rebate Agreement.
      Example:
      .addLineItemWithId("ROOT", lineCustomerId, "Rebate Program")
      Parameters:
      parentId - the name of the folder you want to add a line item to
      lineId - usually a randomly generated id
      rebateType - uniqueName of the Rebate Agreement Type
      Returns:
      itself
    • applyPlaceholder

      public RATBuilder.RABuilder applyPlaceholder(String placeholder, Object value)
    • submitAfterBuild

      public RATBuilder.RABuilder submitAfterBuild()
    • toString

      public String toString()
      Overrides:
      toString in class Object