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: undefined | Account
inheritdoc

TransactionProps.account

Optional billing

billing: undefined | Billing
inheritdoc

TransactionProps.billing

Optional creditCard

creditCard: undefined | CreditCard
inheritdoc

TransactionProps.creditCard

Optional customInputs

customInputs: any
inheritdoc

TransactionProps.customInputs

Optional device

device: undefined | Device
inheritdoc

TransactionProps.device

Optional email

email: undefined | Email
inheritdoc

TransactionProps.email

Optional event

event: undefined | Event
inheritdoc

TransactionProps.event

Optional order

order: undefined | Order
inheritdoc

TransactionProps.order

Optional payment

payment: undefined | Payment
inheritdoc

TransactionProps.payment

Optional shipping

shipping: undefined | Shipping
inheritdoc

TransactionProps.shipping

Optional shoppingCart

shoppingCart: undefined | ShoppingCartItem[]
inheritdoc

TransactionProps.shoppingCart

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