Interface SplitPortion.Builder

  • Method Details

    • amount

      SplitPortion.Builder amount(String amount)

      The amount of the new credit, in the currency of the credit that you split. The amount must be at least 100.00 in that currency. For example, if the credit is in USD, the amount must be at least USD $100.00.

      Parameters:
      amount - The amount of the new credit, in the currency of the credit that you split. The amount must be at least 100.00 in that currency. For example, if the credit is in USD, the amount must be at least USD $100.00.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      SplitPortion.Builder description(String description)

      The description of the new credit. If you omit it, the new credit gets the original credit's description followed by its position in the request, for example MAP credit - 1/3. If you split that credit again, the name extends, for example MAP credit - 1/3 - 2/2. A generated name is at most 93 characters. If it would be longer, the name keeps only the beginning of the original description.

      Parameters:
      description - The description of the new credit. If you omit it, the new credit gets the original credit's description followed by its position in the request, for example MAP credit - 1/3. If you split that credit again, the name extends, for example MAP credit - 1/3 - 2/2. A generated name is at most 93 characters. If it would be longer, the name keeps only the beginning of the original description.
      Returns:
      Returns a reference to this object so that method calls can be chained together.