Class: PaypalServerSdk::CaptureStatus
- Inherits:
-
Object
- Object
- PaypalServerSdk::CaptureStatus
- Defined in:
- lib/paypal_server_sdk/models/capture_status.rb
Overview
The status of the captured payment.
Constant Summary collapse
- CAPTURE_STATUS =
[ # TODO: Write general description for COMPLETED COMPLETED = 'COMPLETED'.freeze, # TODO: Write general description for DECLINED DECLINED = 'DECLINED'.freeze, # TODO: Write general description for PARTIALLY_REFUNDED PARTIALLY_REFUNDED = 'PARTIALLY_REFUNDED'.freeze, # TODO: Write general description for PENDING PENDING = 'PENDING'.freeze, # TODO: Write general description for REFUNDED REFUNDED = 'REFUNDED'.freeze, # TODO: Write general description for FAILED FAILED = 'FAILED'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
29 30 31 32 33 |
# File 'lib/paypal_server_sdk/models/capture_status.rb', line 29 def self.validate(value) return false if value.nil? true end |