Search
Preparing search index...
The search index is not available
@maxmind/minfraud-api-node
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@maxmind/minfraud-api-node
Transaction
Class Transaction
The transaction to be sent to the web service.
Hierarchy
Transaction
Index
Constructors
constructor
Properties
account
billing
credit
Card
custom
Inputs
device
email
event
order
payment
shipping
shopping
Cart
Methods
argument
Check
check
Array
Props
check
Regular
Props
ensure
Types
sanitize
Keys
to
String
Constructors
constructor
new
Transaction
(
transaction
:
TransactionProps
)
:
Transaction
Parameters
transaction:
TransactionProps
Returns
Transaction
Properties
Optional
account
account
?:
Account
inheritdoc TransactionProps.account
Optional
billing
billing
?:
Billing
inheritdoc TransactionProps.billing
Optional
credit
Card
credit
Card
?:
CreditCard
inheritdoc TransactionProps.creditCard
Optional
custom
Inputs
custom
Inputs
?:
Record
<
string
,
string
|
number
|
boolean
>
inheritdoc TransactionProps.customInputs
Optional
device
device
?:
Device
inheritdoc TransactionProps.device
Optional
email
email
?:
Email
inheritdoc TransactionProps.email
Optional
event
event
?:
Event
inheritdoc TransactionProps.event
Optional
order
order
?:
Order
inheritdoc TransactionProps.order
Optional
payment
payment
?:
Payment
inheritdoc TransactionProps.payment
Optional
shipping
shipping
?:
Shipping
inheritdoc TransactionProps.shipping
Optional
shopping
Cart
shopping
Cart
?:
ShoppingCartItem
[]
inheritdoc TransactionProps.shoppingCart
Methods
Private
argument
Check
argument
Check
(
property
:
any
, type
:
any
, key
:
string
)
:
void
Parameters
property:
any
type:
any
key:
string
Returns
void
Private
check
Array
Props
check
Array
Props
(
props
:
TransactionProps
)
:
void
Parameters
props:
TransactionProps
Returns
void
Private
check
Regular
Props
check
Regular
Props
(
props
:
TransactionProps
)
:
void
Parameters
props:
TransactionProps
Returns
void
Private
ensure
Types
ensure
Types
(
props
:
TransactionProps
)
:
void
Parameters
props:
TransactionProps
Returns
void
Private
sanitize
Keys
sanitize
Keys
(
)
:
any
Returns
any
to
String
to
String
(
)
:
string
Returns
string
Exports
Constants
Transaction
constructor
account
billing
credit
Card
custom
Inputs
device
email
event
order
payment
shipping
shopping
Cart
argument
Check
check
Array
Props
check
Regular
Props
ensure
Types
sanitize
Keys
to
String
Generated using
TypeDoc
The transaction to be sent to the web service.