Class: PaypalServerSdk::CheckoutPaymentIntent

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

Overview

The intent to either capture payment immediately or authorize a payment for an order after order creation.

Constant Summary collapse

CHECKOUT_PAYMENT_INTENT =
[
  # TODO: Write general description for CAPTURE
  CAPTURE = 'CAPTURE'.freeze,

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

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



18
19
20
21
22
# File 'lib/paypal_server_sdk/models/checkout_payment_intent.rb', line 18

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

  true
end