class Minfraud::Model::ShippingAddress

Model containing information about the shipping address.

Attributes

distance_to_billing_address[R]

The distance in kilometers from the shipping address to billing address.

@return [Integer, nil]

is_high_risk[R]

This field is true if the shipping address is an address associated with fraudulent transactions. The field is false when the address is not associated with increased risk. The key will only be present when a shipping address is provided.

Public Class Methods

new(record) click to toggle source

@!visibility private

Calls superclass method Minfraud::Model::Address::new
# File lib/minfraud/model/shipping_address.rb, line 22
def initialize(record)
  super(record)

  @distance_to_billing_address = get('distance_to_billing_address')
  @is_high_risk                = get('is_high_risk')
end