Interface TaxExemptionDetails.Builder

  • Method Details

    • heritageObtainedDetails

      TaxExemptionDetails.Builder heritageObtainedDetails(Boolean heritageObtainedDetails)

      The indicator if the tax exemption is inherited from the consolidated billing family management account.

      Parameters:
      heritageObtainedDetails - The indicator if the tax exemption is inherited from the consolidated billing family management account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • heritageObtainedParentEntity

      TaxExemptionDetails.Builder heritageObtainedParentEntity(String heritageObtainedParentEntity)

      The consolidated billing family management account the tax exemption inherited from.

      Parameters:
      heritageObtainedParentEntity - The consolidated billing family management account the tax exemption inherited from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • heritageObtainedReason

      TaxExemptionDetails.Builder heritageObtainedReason(String heritageObtainedReason)

      The reason of the heritage inheritance.

      Parameters:
      heritageObtainedReason - The reason of the heritage inheritance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taxExemptions

      TaxExemptionDetails.Builder taxExemptions(Collection<TaxExemption> taxExemptions)

      Tax exemptions.

      Parameters:
      taxExemptions - Tax exemptions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taxExemptions

      TaxExemptionDetails.Builder taxExemptions(TaxExemption... taxExemptions)

      Tax exemptions.

      Parameters:
      taxExemptions - Tax exemptions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taxExemptions

      TaxExemptionDetails.Builder taxExemptions(Consumer<TaxExemption.Builder>... taxExemptions)

      Tax exemptions.

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

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

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