Click or drag to resize

Order Constructor

Constructor.

Namespace:  MaxMind.MinFraud.Request
Assembly:  MaxMind.MinFraud (in MaxMind.MinFraud.dll) Version: 2.0.0
Syntax
public Order(
	Nullable<decimal> amount = null,
	string currency = null,
	string discountCode = null,
	string affiliateId = null,
	string subaffiliateId = null,
	Uri referrerUri = null,
	Nullable<bool> isGift = null,
	Nullable<bool> hasGiftMessage = null
)

Parameters

amount (Optional)
Type: SystemNullableDecimal
The total order amount for the transaction.
currency (Optional)
Type: SystemString
The ISO 4217 currency code for the currency used in the transaction.
discountCode (Optional)
Type: SystemString
The discount code applied to the transaction. If multiple discount codes were used, please separate them with a comma.
affiliateId (Optional)
Type: SystemString
The ID of the affiliate where the order is coming from.
subaffiliateId (Optional)
Type: SystemString
The ID of the sub-affiliate where the order is coming from.
referrerUri (Optional)
Type: SystemUri
The URI of the referring site for this order.
isGift (Optional)
Type: SystemNullableBoolean
Whether order was marked as a gift by the purchaser.
hasGiftMessage (Optional)
Type: SystemNullableBoolean
Whether the purchaser included a gift message.
See Also