Class: PaypalServerSdk::PaymentAdviceCode
- Inherits:
-
Object
- Object
- PaypalServerSdk::PaymentAdviceCode
- Defined in:
- lib/paypal_server_sdk/models/payment_advice_code.rb
Overview
The declined payment transactions might have payment advice codes. The card networks, like Visa and Mastercard, return payment advice codes.
Constant Summary collapse
- PAYMENT_ADVICE_CODE =
[ # TODO: Write general description for ENUM_01 ENUM_01 = '01'.freeze, # TODO: Write general description for ENUM_02 ENUM_02 = '02'.freeze, # TODO: Write general description for ENUM_03 ENUM_03 = '03'.freeze, # TODO: Write general description for ENUM_21 ENUM_21 = '21'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
24 25 26 27 28 |
# File 'lib/paypal_server_sdk/models/payment_advice_code.rb', line 24 def self.validate(value) return false if value.nil? true end |