Class CostInfo.Builder

    • Constructor Detail

      • CostInfo.Builder

        CostInfo.Builder()
    • Method Detail

      • build

         CostInfo build()

        Creates a new instance of with the provided values. { } instance with the specified properties.

      • setAnnualPercentageRate

         CostInfo.Builder setAnnualPercentageRate(String annualPercentageRate)

        Sets the annual percentage rate for the installment plan.

        Parameters:
        annualPercentageRate - the annual percentage rate, must be a positive integer.
        Returns:

        a reference to this object.

      • setTotalRecurringFees

         CostInfo.Builder setTotalRecurringFees(String totalRecurringFees)

        Sets the total recurring fees.

        Parameters:
        totalRecurringFees - the total recurring fees
        Returns:

        a reference to this object.

      • setCurrency

         CostInfo.Builder setCurrency(@Nullable() String currency)

        Sets the currency of the cost information.

        Parameters:
        currency - the currency, or null if not set.
        Returns:

        a reference to this object.