Class: PaypalServerSdk::GooglePayPaymentMethod

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

Overview

The type of the payment credential. Currently, only CARD is supported.

Constant Summary collapse

GOOGLE_PAY_PAYMENT_METHOD =
[
  # TODO: Write general description for CARD
  CARD = 'CARD'.freeze
].freeze

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



14
15
16
17
18
# File 'lib/paypal_server_sdk/models/google_pay_payment_method.rb', line 14

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

  true
end