Class: Minfraud::Model::ShippingAddress
- Defined in:
- lib/minfraud/model/shipping_address.rb
Overview
Model containing information about the shipping address.
Instance Attribute Summary collapse
-
#distance_to_billing_address ⇒ Integer?
readonly
The distance in kilometers from the shipping address to billing address.
-
#is_high_risk ⇒ Object
readonly
This field is true if the shipping address is an address associated with fraudulent transactions.
Attributes inherited from Address
#distance_to_ip_location, #is_in_ip_country, #is_postal_in_city, #latitude, #longitude
Instance Attribute Details
#distance_to_billing_address ⇒ Integer? (readonly)
The distance in kilometers from the shipping address to billing address.
13 14 15 |
# File 'lib/minfraud/model/shipping_address.rb', line 13 def distance_to_billing_address @distance_to_billing_address end |
#is_high_risk ⇒ Object (readonly)
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.
19 20 21 |
# File 'lib/minfraud/model/shipping_address.rb', line 19 def is_high_risk @is_high_risk end |