diff --git a/CHANGELOG.md b/CHANGELOG.md index 5281c185..409d63fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,10 @@ # Changelog -## v2.11.1 +## v2.12.0 +* Deprecated `is_high_risk` in `Minfraud::Model::ShippingAddress`. The + minFraud web service is removing the `shipping_address.is_high_risk` field + from its responses. The attribute will be removed in v3.0.0. * Updated the documentation for the email and phone verification attributes. Set `was_verification_successful` and `phone_was_verification_successful` to `true` if your system considers the email address or phone number diff --git a/lib/minfraud/model/shipping_address.rb b/lib/minfraud/model/shipping_address.rb index 2fd64eed..f0bb1801 100644 --- a/lib/minfraud/model/shipping_address.rb +++ b/lib/minfraud/model/shipping_address.rb @@ -12,12 +12,12 @@ class ShippingAddress < Address # @return [Integer, nil] attr_reader :distance_to_billing_address - # 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. + # This is true if the shipping address is associated with fraudulent + # transactions. The minFraud web service deprecated this field. This is + # nil when the web service does not return it. # # @return [Boolean, nil] + # @deprecated This attribute will be removed in v3.0.0. attr_reader :is_high_risk # @!visibility private