Interface MonetaryValue.Builder

  • Method Details

    • amount

      MonetaryValue.Builder amount(String amount)

      Specifies the payment amount.

      Parameters:
      amount - Specifies the payment amount.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currencyCode

      MonetaryValue.Builder currencyCode(String currencyCode)

      Specifies the payment currency. Accepted values are USD (US Dollars) and EUR (Euros). If the AWS Partition is aws-eusc (AWS European Sovereign Cloud), the currency code must be EUR.

      Parameters:
      currencyCode - Specifies the payment currency. Accepted values are USD (US Dollars) and EUR (Euros). If the AWS Partition is aws-eusc (AWS European Sovereign Cloud), the currency code must be EUR.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • currencyCode

      MonetaryValue.Builder currencyCode(CurrencyCode currencyCode)

      Specifies the payment currency. Accepted values are USD (US Dollars) and EUR (Euros). If the AWS Partition is aws-eusc (AWS European Sovereign Cloud), the currency code must be EUR.

      Parameters:
      currencyCode - Specifies the payment currency. Accepted values are USD (US Dollars) and EUR (Euros). If the AWS Partition is aws-eusc (AWS European Sovereign Cloud), the currency code must be EUR.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: