Header menu logo fable-electron-docs-api

PaymentDiscount Type

Constructors

Constructor Description

PaymentDiscount(identifier, keyIdentifier, nonce, signature, timestamp)

Full Usage: PaymentDiscount(identifier, keyIdentifier, nonce, signature, timestamp)

Parameters:
    identifier : string - A string used to uniquely identify a discount offer for a product.
    keyIdentifier : string - A string that identifies the key used to generate the signature.
    nonce : string - A universally unique ID (UUID) value that you define.
    signature : string - A UTF-8 string representing the properties of a specific discount offer, cryptographically signed.
    timestamp : float - The date and time of the signature's creation in milliseconds, formatted in Unix epoch time.

Returns: PaymentDiscount
identifier : string

A string used to uniquely identify a discount offer for a product.

keyIdentifier : string

A string that identifies the key used to generate the signature.

nonce : string

A universally unique ID (UUID) value that you define.

signature : string

A UTF-8 string representing the properties of a specific discount offer, cryptographically signed.

timestamp : float

The date and time of the signature's creation in milliseconds, formatted in Unix epoch time.

Returns: PaymentDiscount

Instance members

Instance member Description

this.identifier

Full Usage: this.identifier

A string used to uniquely identify a discount offer for a product.

this.keyIdentifier

Full Usage: this.keyIdentifier

A string that identifies the key used to generate the signature.

this.nonce

Full Usage: this.nonce

A universally unique ID (UUID) value that you define.

this.signature

Full Usage: this.signature

A UTF-8 string representing the properties of a specific discount offer, cryptographically signed.

this.timestamp

Full Usage: this.timestamp

The date and time of the signature's creation in milliseconds, formatted in Unix epoch time.

Type something to start searching.