AmazonOfferSavings interface

Specifics about the savings in an offer compared to the base price

Signature:

export interface AmazonOfferSavings 

Properties

PropertyModifiersTypeDescription
amountreadonlynumberThe amount of saving in the given currency
currencyreadonlystringThe currency of the savings
displayAmountreadonlystringThe formatted savings amount
percentagereadonlynumberThe savings percentage of the base price
pricePerUnitreadonlynumberThe amount saved per unit of the item

AmazonOfferSavings.amount property

The amount of saving in the given currency

Signature:

readonly amount: number;

AmazonOfferSavings.currency property

The currency of the savings

Signature:

readonly currency: string;

AmazonOfferSavings.displayAmount property

The formatted savings amount

Signature:

readonly displayAmount: string;

AmazonOfferSavings.percentage property

The savings percentage of the base price

Signature:

readonly percentage: number;

AmazonOfferSavings.pricePerUnit property

The amount saved per unit of the item

Signature:

readonly pricePerUnit: number;