UNPKG

zumokit

Version:

ZumoKit is a Wallet as a Service SDK

28 lines (27 loc) 1.12 kB
import { Decimal } from 'decimal.js'; import { CurrencyCode, TransactionCardPropertiesJSON } from '../interfaces'; /** Transaction details. */ export declare class TransactionCardProperties { /** @internal */ json: TransactionCardPropertiesJSON; /** Card identifier.. */ cardId: string; /** Transaction amount. */ transactionAmount: Decimal; /** Transaction currency code in 3 letter ISO 4217 format. */ transactionCurrency: string; /** Billing amount. */ billingAmount: Decimal; /** Billing currency code. */ billingCurrency: CurrencyCode; /** Exchange rate applied to any conversion between transaction & billing amount rounded to 6 decimal places. */ exchangeRateValue: Decimal; /** The Merchant Category Code (MCC) for the card activity in ISO-18245 format if available. */ mcc: string | null; /** The merchant name if available. */ merchantName: string | null; /** The 3 letter ISO 3166 merchant country code if available. */ merchantCountry: string | null; /** @internal */ constructor(json: TransactionCardPropertiesJSON); }