Interface SpendLimit.Builder

  • Method Details

    • name

      The name for the SpendLimit.

      Parameters:
      name - The name for the SpendLimit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • name

      The name for the SpendLimit.

      Parameters:
      name - The name for the SpendLimit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • enforcedLimit

      SpendLimit.Builder enforcedLimit(Long enforcedLimit)

      The maximum amount of money, in US dollars, that you want to be able to spend sending messages each month. This value has to be less than or equal to the amount in MaxLimit. To use this custom limit, Overridden must be set to true.

      Parameters:
      enforcedLimit - The maximum amount of money, in US dollars, that you want to be able to spend sending messages each month. This value has to be less than or equal to the amount in MaxLimit. To use this custom limit, Overridden must be set to true.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxLimit

      SpendLimit.Builder maxLimit(Long maxLimit)

      The maximum amount of money that you are able to spend to send messages each month, in US dollars.

      Parameters:
      maxLimit - The maximum amount of money that you are able to spend to send messages each month, in US dollars.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overridden

      SpendLimit.Builder overridden(Boolean overridden)

      When set to True, the value that has been specified in the EnforcedLimit is used to determine the maximum amount in US dollars that can be spent to send messages each month, in US dollars.

      Parameters:
      overridden - When set to True, the value that has been specified in the EnforcedLimit is used to determine the maximum amount in US dollars that can be spent to send messages each month, in US dollars.
      Returns:
      Returns a reference to this object so that method calls can be chained together.