Class: PaypalServerSdk::ProcessingInstruction

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

Overview

The instruction to process an order.

Constant Summary collapse

PROCESSING_INSTRUCTION =
[
  # TODO: Write general description for ORDER_COMPLETE_ON_PAYMENT_APPROVAL
  ORDER_COMPLETE_ON_PAYMENT_APPROVAL = 'ORDER_COMPLETE_ON_PAYMENT_APPROVAL'.freeze,

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

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



17
18
19
20
21
# File 'lib/paypal_server_sdk/models/processing_instruction.rb', line 17

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

  true
end