whatsapp-api-js - v5.2.0
    Preparing search index...

    Class Currency

    Currency API object

    Implements

    Index

    Constructors

    • Builds a currency object for a Parameter

      Parameters

      • amount_1000: number

        Amount multiplied by 1000

      • code: string

        Currency code as defined in ISO 4217

      • fallback_value: string

        Default text if localization fails

      Returns Currency

      If amount_1000 is not greater than 0

    Properties

    amount_1000: number

    The amount of the currency by 1000

    code: string

    The currency code

    fallback_value: string

    The fallback value