AmazonOfferSavings interface
Specifics about the savings in an offer compared to the base price
Signature:
export interface AmazonOfferSavings
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
amount | readonly | number | The amount of saving in the given currency |
currency | readonly | string | The currency of the savings |
displayAmount | readonly | string | The formatted savings amount |
percentage | readonly | number | The savings percentage of the base price |
pricePerUnit | readonly | number | The 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;
Updated 8 months ago