Class: PaypalServerSdk::RefundStatus

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

Overview

The status of the refund.

Constant Summary collapse

REFUND_STATUS =
[
  # TODO: Write general description for CANCELLED
  CANCELLED = 'CANCELLED'.freeze,

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

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

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

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



23
24
25
26
27
# File 'lib/paypal_server_sdk/models/refund_status.rb', line 23

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

  true
end