Options
All
  • Public
  • Public/Protected
  • All
Menu

The transaction to be sent to the web service.

Hierarchy

  • Transaction

Index

Constructors

constructor

  • new Transaction(transaction: TransactionProps): Transaction

Properties

Optional account

account: Account
inheritdoc

Optional billing

billing: Billing
inheritdoc

Optional creditCard

creditCard: CreditCard
inheritdoc

Optional customInputs

customInputs: any
inheritdoc

Optional device

device: Device
inheritdoc

Optional email

email: Email
inheritdoc

Optional event

event: Event
inheritdoc

Optional order

order: Order
inheritdoc

Optional payment

payment: Payment
inheritdoc

Optional shipping

shipping: Shipping
inheritdoc

Optional shoppingCart

shoppingCart: ShoppingCartItem[]
inheritdoc

Methods

Private argumentCheck

  • argumentCheck(property: any, type: any, key: string): void

Private checkArrayProps

  • checkArrayProps(props: TransactionProps): void

Private checkRegularProps

  • checkRegularProps(props: TransactionProps): void

Private ensureTypes

  • ensureTypes(props: TransactionProps): void

Private sanitizeKeys

  • sanitizeKeys(): any

toString

  • toString(): string

Generated using TypeDoc