class Minfraud::Model::Insights
Attributes
An object containing minFraud data related to the billing address used in the transaction.
@return [Minfraud::Model::BillingAddress]
An object containing minFraud data about the credit card used in the transaction.
@return [Minfraud::Model::CreditCard]
This object contains information about the device that MaxMind
believes is associated with the IP address passed in the request.
@return [Minfraud::Model::Device]
This object contains information about the email address passed in the request.
@return [Minfraud::Model::Email]
An object containing GeoIP2 and minFraud Insights
information about the geolocated IP address.
@return [Minfraud::Model::IPAddress]
An object containing minFraud data related to the shipping address used in the transaction.
@return [Minfraud::Model::ShippingAddress]
Public Class Methods
@!visibility private
# File lib/minfraud/model/insights.rb, line 52 def initialize(record, locales) super(record, locales) @billing_address = Minfraud::Model::BillingAddress.new( get('billing_address') ) @credit_card = Minfraud::Model::CreditCard.new(get('credit_card')) @device = Minfraud::Model::Device.new(get('device')) @email = Minfraud::Model::Email.new(get('email')) @ip_address = Minfraud::Model::IPAddress.new(get('ip_address'), locales) @shipping_address = Minfraud::Model::ShippingAddress.new( get('shipping_address') ) end