Class: Order::Status::PendingGlobalEFraudCheck

Inherits:
Object
  • Object
show all
Includes:
StatusCalculator::Status
Defined in:
app/models/workarea/order/status/pending_global_e_fraud_check.rb

Instance Method Summary collapse

Instance Method Details

#in_status?Boolean

Returns:

  • (Boolean)


5
6
7
8
9
10
# File 'app/models/workarea/order/status/pending_global_e_fraud_check.rb', line 5

def in_status?
  order.global_e? &&
    order.placed? &&
    order.global_e_approved_at.blank? &&
    !order.canceled?
end