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 =
[
  # The refund was cancelled.
  CANCELLED = 'CANCELLED'.freeze,

  # The refund could not be processed.
  FAILED = 'FAILED'.freeze,

  # The refund is pending. For more information, see status_details.reason.
  PENDING = 'PENDING'.freeze,

  # The funds for this transaction were debited to the customer's account.
  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