Interface TaxExemptionType.Builder

    • Method Detail

      • applicableJurisdictions

        TaxExemptionType.Builder applicableJurisdictions​(Collection<Authority> applicableJurisdictions)

        The tax exemption's applicable jurisdictions.

        Parameters:
        applicableJurisdictions - The tax exemption's applicable jurisdictions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • applicableJurisdictions

        TaxExemptionType.Builder applicableJurisdictions​(Authority... applicableJurisdictions)

        The tax exemption's applicable jurisdictions.

        Parameters:
        applicableJurisdictions - The tax exemption's applicable jurisdictions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • applicableJurisdictions

        TaxExemptionType.Builder applicableJurisdictions​(Consumer<Authority.Builder>... applicableJurisdictions)

        The tax exemption's applicable jurisdictions.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #applicableJurisdictions(List).

        Parameters:
        applicableJurisdictions - a consumer that will call methods on Authority.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #applicableJurisdictions(java.util.Collection)
      • description

        TaxExemptionType.Builder description​(String description)

        The tax exemption's type description.

        Parameters:
        description - The tax exemption's type description.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • displayName

        TaxExemptionType.Builder displayName​(String displayName)

        The tax exemption's type display name.

        Parameters:
        displayName - The tax exemption's type display name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.