Represents information about a transaction.

This interface represents information about a transaction, including the currency code (in ISO 4217 format), the total price, and the status of the total price. The totalPriceStatus field is of type TotalPriceStatus, which is an enum that can take on one of the following values:

  • TotalPriceStatus.ESTIMATED: The total price is an estimate.
  • TotalPriceStatus.FINAL: The total price is final.
interface TransactionInfo {
    currencyCode: string;
    totalPrice: number;
    totalPriceStatus: TotalPriceStatus;
}

Properties

currencyCode: string

ISO 4217 currency code of the transaction.

totalPrice: number

Total price of the transaction.

totalPriceStatus: TotalPriceStatus

Status of the total price.