Class: PaypalServerSdk::AuthorizationStatus

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

Overview

The status for the authorized payment.

Constant Summary collapse

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

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

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

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

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

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

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



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

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

  true
end