Interface PricingAnalysis.Builder

  • Method Details

    • modelComparison

      PricingAnalysis.Builder modelComparison(Collection<ModelComparison> modelComparison)

      Modeled outcome of each pricing model compared, under the same modeled demand.

      Parameters:
      modelComparison - Modeled outcome of each pricing model compared, under the same modeled demand.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelComparison

      PricingAnalysis.Builder modelComparison(ModelComparison... modelComparison)

      Modeled outcome of each pricing model compared, under the same modeled demand.

      Parameters:
      modelComparison - Modeled outcome of each pricing model compared, under the same modeled demand.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelComparison

      PricingAnalysis.Builder modelComparison(Consumer<ModelComparison.Builder>... modelComparison)

      Modeled outcome of each pricing model compared, under the same modeled demand.

      This is a convenience method that creates an instance of the ModelComparison.Builder avoiding the need to create one manually via ModelComparison.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to modelComparison(List<ModelComparison>).

      Parameters:
      modelComparison - a consumer that will call methods on ModelComparison.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • pricingModelCaveatsWithStrings

      PricingAnalysis.Builder pricingModelCaveatsWithStrings(Collection<String> pricingModelCaveats)

      Caveats on the comparison of pricing models by modeled profit. Empty when none applies or none was checked (see PricingModelCaveat).

      Parameters:
      pricingModelCaveats - Caveats on the comparison of pricing models by modeled profit. Empty when none applies or none was checked (see PricingModelCaveat).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pricingModelCaveatsWithStrings

      PricingAnalysis.Builder pricingModelCaveatsWithStrings(String... pricingModelCaveats)

      Caveats on the comparison of pricing models by modeled profit. Empty when none applies or none was checked (see PricingModelCaveat).

      Parameters:
      pricingModelCaveats - Caveats on the comparison of pricing models by modeled profit. Empty when none applies or none was checked (see PricingModelCaveat).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pricingModelCaveats

      PricingAnalysis.Builder pricingModelCaveats(Collection<PricingModelCaveat> pricingModelCaveats)

      Caveats on the comparison of pricing models by modeled profit. Empty when none applies or none was checked (see PricingModelCaveat).

      Parameters:
      pricingModelCaveats - Caveats on the comparison of pricing models by modeled profit. Empty when none applies or none was checked (see PricingModelCaveat).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pricingModelCaveats

      PricingAnalysis.Builder pricingModelCaveats(PricingModelCaveat... pricingModelCaveats)

      Caveats on the comparison of pricing models by modeled profit. Empty when none applies or none was checked (see PricingModelCaveat).

      Parameters:
      pricingModelCaveats - Caveats on the comparison of pricing models by modeled profit. Empty when none applies or none was checked (see PricingModelCaveat).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • frictionAlternative

      PricingAnalysis.Builder frictionAlternative(String frictionAlternative)

      The pricing model the comparison would pick if every pricing model lost the same share of buyers at checkout. Present when pricingModelCaveats has CHECKOUT_DROP_OFF.

      Parameters:
      frictionAlternative - The pricing model the comparison would pick if every pricing model lost the same share of buyers at checkout. Present when pricingModelCaveats has CHECKOUT_DROP_OFF.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • frictionAlternative

      PricingAnalysis.Builder frictionAlternative(PricingModel frictionAlternative)

      The pricing model the comparison would pick if every pricing model lost the same share of buyers at checkout. Present when pricingModelCaveats has CHECKOUT_DROP_OFF.

      Parameters:
      frictionAlternative - The pricing model the comparison would pick if every pricing model lost the same share of buyers at checkout. Present when pricingModelCaveats has CHECKOUT_DROP_OFF.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: