Class: Io::Flow::V0::Models::PaymentRequestReviewCheckType
- Inherits:
-
Object
- Object
- Io::Flow::V0::Models::PaymentRequestReviewCheckType
- Defined in:
- lib/flow_commerce/flow_api_v0_client.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Class Method Summary collapse
- .ALL ⇒ Object
-
.apply(value) ⇒ Object
Returns the instance of PaymentRequestReviewCheckType for this value, creating a new instance for an unknown value.
-
.fraud_previous_chargebacks ⇒ Object
Previous transactions on the account have received fraud chargebacks.
-
.fraud_risky_velocity ⇒ Object
The purchase frequency or amount are unusually high given previous reputation, and is a high risk of fraud.
-
.fraud_suspicious_behavior ⇒ Object
Suspicious behavior such as irregular behavioral data signals.
-
.fraud_suspicious_past_activity ⇒ Object
The customer is associated with past suspicious behavior on the partner network.
-
.from_string(value) ⇒ Object
Returns the instance of PaymentRequestReviewCheckType for this value, or nil if not found.
-
.order_domestic ⇒ Object
The order is a domestic order.
-
.order_missing_information ⇒ Object
The order is missing information.
-
.order_restricted_goods ⇒ Object
The order contains restricted goods.
-
.order_unsupported_destination ⇒ Object
The destination is not supported.
-
.restricted_party_screening ⇒ Object
The customer is on the restricted party list.
Instance Method Summary collapse
-
#initialize(value) ⇒ PaymentRequestReviewCheckType
constructor
A new instance of PaymentRequestReviewCheckType.
- #to_hash ⇒ Object
Constructor Details
#initialize(value) ⇒ PaymentRequestReviewCheckType
Returns a new instance of PaymentRequestReviewCheckType.
24519 24520 24521 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 24519 def initialize(value) @value = HttpClient::Preconditions.assert_class('value', value, String) end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
24517 24518 24519 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 24517 def value @value end |
Class Method Details
.ALL ⇒ Object
24539 24540 24541 |
# 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) ⇒ Object
Returns the instance of PaymentRequestReviewCheckType for this value, creating a new instance for an unknown value
24524 24525 24526 24527 24528 24529 24530 24531 |
# 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 ⇒ Object
Previous transactions on the account have received fraud chargebacks.
24568 24569 24570 |
# 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 ⇒ Object
The purchase frequency or amount are unusually high given previous reputation, and is a high risk of fraud.
24563 24564 24565 |
# 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 ⇒ Object
Suspicious behavior such as irregular behavioral data signals.
24549 24550 24551 |
# 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 ⇒ Object
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.
24557 24558 24559 |
# 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) ⇒ Object
Returns the instance of PaymentRequestReviewCheckType for this value, or nil if not found
24534 24535 24536 24537 |
# 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 |
.order_domestic ⇒ Object
The order is a domestic order.
24588 24589 24590 |
# 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 ⇒ Object
The order is missing information.
24583 24584 24585 |
# 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 ⇒ Object
The order contains restricted goods.
24573 24574 24575 |
# 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 ⇒ Object
The destination is not supported.
24578 24579 24580 |
# 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 ⇒ Object
The customer is on the restricted party list.
24544 24545 24546 |
# 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 |
Instance Method Details
#to_hash ⇒ Object
24592 24593 24594 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 24592 def to_hash value end |