Class: PaypalServerSdk::OrderStatus

Inherits:
Object
  • Object
show all
Defined in:
lib/paypal_server_sdk/models/order_status.rb

Overview

The order status.

Constant Summary collapse

ORDER_STATUS =
[
  # TODO: Write general description for CREATED
  CREATED = 'CREATED'.freeze,

  # TODO: Write general description for SAVED
  SAVED = 'SAVED'.freeze,

  # TODO: Write general description for APPROVED
  APPROVED = 'APPROVED'.freeze,

  # TODO: Write general description for VOIDED
  VOIDED = 'VOIDED'.freeze,

  # TODO: Write general description for COMPLETED
  COMPLETED = 'COMPLETED'.freeze,

  # TODO: Write general description for PAYER_ACTION_REQUIRED
  PAYER_ACTION_REQUIRED = 'PAYER_ACTION_REQUIRED'.freeze
].freeze

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



29
30
31
32
33
# File 'lib/paypal_server_sdk/models/order_status.rb', line 29

def self.validate(value)
  return false if value.nil?

  true
end