class Io::Flow::V0::Models::PaymentRequestReviewCheckType
Attributes
Public Class Methods
# File lib/flow_commerce/flow_api_v0_client.rb, line 24539 def PaymentRequestReviewCheckType.ALL @@all ||= [PaymentRequestReviewCheckType.restricted_party_screening, PaymentRequestReviewCheckType.fraud_suspicious_behavior, PaymentRequestReviewCheckType.fraud_suspicious_past_activity, PaymentRequestReviewCheckType.fraud_risky_velocity, PaymentRequestReviewCheckType.fraud_previous_chargebacks, PaymentRequestReviewCheckType.order_restricted_goods, PaymentRequestReviewCheckType.order_unsupported_destination, PaymentRequestReviewCheckType.order_missing_information, PaymentRequestReviewCheckType.order_domestic] end
Returns the instance of PaymentRequestReviewCheckType
for this value, creating a new instance for an unknown value
# File lib/flow_commerce/flow_api_v0_client.rb, line 24524 def PaymentRequestReviewCheckType.apply(value) if value.instance_of?(PaymentRequestReviewCheckType) value else HttpClient::Preconditions.assert_class_or_nil('value', value, String) value.nil? ? nil : (from_string(value) || PaymentRequestReviewCheckType.new(value)) end end
Previous transactions on the account have received fraud chargebacks.
# File lib/flow_commerce/flow_api_v0_client.rb, line 24568 def PaymentRequestReviewCheckType.fraud_previous_chargebacks @@_fraud_previous_chargebacks ||= PaymentRequestReviewCheckType.new('fraud_previous_chargebacks') end
The purchase frequency or amount are unusually high given previous reputation, and is a high risk of fraud.
# File lib/flow_commerce/flow_api_v0_client.rb, line 24563 def PaymentRequestReviewCheckType.fraud_risky_velocity @@_fraud_risky_velocity ||= PaymentRequestReviewCheckType.new('fraud_risky_velocity') end
Suspicious behavior such as irregular behavioral data signals.
# File lib/flow_commerce/flow_api_v0_client.rb, line 24549 def PaymentRequestReviewCheckType.fraud_suspicious_behavior @@_fraud_suspicious_behavior ||= PaymentRequestReviewCheckType.new('fraud_suspicious_behavior') end
The customer is associated with past suspicious behavior on the partner network. For example, association with a past chargeback at your store or another merchant in our partner network, suspicious use of payment methods, shipping addresses, etc.
# File lib/flow_commerce/flow_api_v0_client.rb, line 24557 def PaymentRequestReviewCheckType.fraud_suspicious_past_activity @@_fraud_suspicious_past_activity ||= PaymentRequestReviewCheckType.new('fraud_suspicious_past_activity') end
Returns the instance of PaymentRequestReviewCheckType
for this value, or nil if not found
# File lib/flow_commerce/flow_api_v0_client.rb, line 24534 def PaymentRequestReviewCheckType.from_string(value) HttpClient::Preconditions.assert_class('value', value, String) PaymentRequestReviewCheckType.ALL.find { |v| v.value == value } end
# File lib/flow_commerce/flow_api_v0_client.rb, line 24519 def initialize(value) @value = HttpClient::Preconditions.assert_class('value', value, String) end
The order is a domestic order.
# File lib/flow_commerce/flow_api_v0_client.rb, line 24588 def PaymentRequestReviewCheckType.order_domestic @@_order_domestic ||= PaymentRequestReviewCheckType.new('order_domestic') end
The order is missing information.
# File lib/flow_commerce/flow_api_v0_client.rb, line 24583 def PaymentRequestReviewCheckType.order_missing_information @@_order_missing_information ||= PaymentRequestReviewCheckType.new('order_missing_information') end
The order contains restricted goods.
# File lib/flow_commerce/flow_api_v0_client.rb, line 24573 def PaymentRequestReviewCheckType.order_restricted_goods @@_order_restricted_goods ||= PaymentRequestReviewCheckType.new('order_restricted_goods') end
The destination is not supported.
# File lib/flow_commerce/flow_api_v0_client.rb, line 24578 def PaymentRequestReviewCheckType.order_unsupported_destination @@_order_unsupported_destination ||= PaymentRequestReviewCheckType.new('order_unsupported_destination') end
The customer is on the restricted party list.
# File lib/flow_commerce/flow_api_v0_client.rb, line 24544 def PaymentRequestReviewCheckType.restricted_party_screening @@_restricted_party_screening ||= PaymentRequestReviewCheckType.new('restricted_party_screening') end
Public Instance Methods
# File lib/flow_commerce/flow_api_v0_client.rb, line 24592 def to_hash value end