VintaSoft Barcode .NET SDK 15.0: Documentation for Web developer
Vintasoft.Barcode Namespace / WebSwissQrCodeBarcodeValueJS type / set_Amount Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_Amount Method
    In This Topic
    Sets the payment amount.
    Syntax
    var instance = new Vintasoft.Barcode.WebSwissQrCodeBarcodeValueJS();
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: string
    
    returnValue = instance.set_Amount(value);
    
    
    function set_Amount(
    value
    The payment amount.
    : string
    ) : any;

    Parameters

    value
    The payment amount.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type. The amount element is to be entered without leading zeroes, including decimal separators and two decimal places. Decimal, maximum 12-digits permitted, including decimal separators. Only decimal points (".") are permitted as decimal separators.
    Browser Compatibility
    9
    5
    11
    5
    See Also