Interface PaymentScheduleTerm.Builder

All Superinterfaces:
Buildable, CopyableBuilder<PaymentScheduleTerm.Builder,PaymentScheduleTerm>, SdkBuilder<PaymentScheduleTerm.Builder,PaymentScheduleTerm>, SdkPojo
Enclosing class:
PaymentScheduleTerm

public static interface PaymentScheduleTerm.Builder extends SdkPojo, CopyableBuilder<PaymentScheduleTerm.Builder,PaymentScheduleTerm>
  • Method Details

    • currencyCode

      PaymentScheduleTerm.Builder currencyCode(String currencyCode)

      Defines the currency for the prices mentioned in the term.

      Parameters:
      currencyCode - Defines the currency for the prices mentioned in the term.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • schedule

      List of the payment schedule where each element defines one installment of payment. It contains the information necessary for calculating the price.

      Parameters:
      schedule - List of the payment schedule where each element defines one installment of payment. It contains the information necessary for calculating the price.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • schedule

      List of the payment schedule where each element defines one installment of payment. It contains the information necessary for calculating the price.

      Parameters:
      schedule - List of the payment schedule where each element defines one installment of payment. It contains the information necessary for calculating the price.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • schedule

      List of the payment schedule where each element defines one installment of payment. It contains the information necessary for calculating the price.

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

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

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

      Type of the term.

      Parameters:
      type - Type of the term.
      Returns:
      Returns a reference to this object so that method calls can be chained together.