Interface CostAmount.Builder

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

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

    • amount

      CostAmount.Builder amount(Double amount)

      The numeric value of the cost.

      Parameters:
      amount - The numeric value of the cost.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currency

      CostAmount.Builder currency(String currency)

      The currency code for the cost amount.

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

      CostAmount.Builder currency(CurrencyCode currency)

      The currency code for the cost amount.

      Parameters:
      currency - The currency code for the cost amount.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: