Skip to main content
Go to Latest
class Transaction
implements ITransaction
extends HitAbstract
import { Transaction } from "https://deno.land/x/flagship_io_js_sdk@3.0.11/mod.ts";

Constructors

new
Transaction(transaction: Omit<ITransaction, "type">)

Properties

private
_affiliation: string
private
_couponCode: string
private
_currency: string
private
_itemCount: number
private
_paymentMethod: string
private
_shippingCosts: number
private
_shippingMethod: string
private
_taxes: number
private
_totalRevenue: number
private
_transactionId: string
affiliation: string
couponCode: string
currency: string
itemCount: number
paymentMethod: string
shippingCosts: number
shippingMethod: string
taxes: number
totalRevenue: number
transactionId: string

Methods

getErrorMessage(): string
isReady(checkParent?): boolean
toApiKeys(): any
toObject(): Record<string, unknown>