class Io::Flow::V0::Models::PaymentRequestReviewCheckType

Attributes

value[R]

Public Class Methods

ALL() click to toggle source
# 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
apply(value) click to toggle source

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
fraud_previous_chargebacks() click to toggle source

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
fraud_risky_velocity() click to toggle source

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
fraud_suspicious_behavior() click to toggle source

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
fraud_suspicious_past_activity() click to toggle source

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
from_string(value) click to toggle source

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
new(value) click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 24519
def initialize(value)
  @value = HttpClient::Preconditions.assert_class('value', value, String)
end
order_domestic() click to toggle source

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
order_missing_information() click to toggle source

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
order_restricted_goods() click to toggle source

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
order_unsupported_destination() click to toggle source

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
restricted_party_screening() click to toggle source

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

to_hash() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 24592
def to_hash
  value
end