Sha256: 3f3bbe2cc2c73e528bcb141c0ce7b7742f59a8c7248fd74710042c7afd42d79b

Contents?: true

Size: 1.49 KB

Versions: 1

Compression:

Stored size: 1.49 KB

Contents

=begin
#Payment Gateway API Specification.

#The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.

OpenAPI spec version: 6.6.0.20190329.001

Generated by: https://openapi-generator.tech
OpenAPI Generator version: unset

=end

require 'date'

module OpenapiClient
  class PaymentMethodType
    
    ALIPAY = 'ALIPAY'.freeze
    ALIPAY_PAYSECURE_US = 'ALIPAY_PAYSECURE_US'.freeze
    ALIPAY_DOMESTIC = 'ALIPAY_DOMESTIC'.freeze
    APM = 'APM'.freeze
    CUP_DOMESTIC = 'CUP_DOMESTIC'.freeze
    DEBITDE = 'DEBITDE'.freeze
    EMI = 'EMI'.freeze
    GIROPAY = 'GIROPAY'.freeze
    IDEAL = 'IDEAL'.freeze
    INDIAWALLET = 'INDIAWALLET'.freeze
    KLARNA = 'KLARNA'.freeze
    NETBANKING = 'NETBANKING'.freeze
    PAYMENT_CARD = 'PAYMENT_CARD'.freeze
    PAYMENT_TOKEN = 'PAYMENT_TOKEN'.freeze
    PAYPAL = 'PAYPAL'.freeze
    SEPA = 'SEPA'.freeze
    SOFORT = 'SOFORT'.freeze
    WALLET = 'WALLET'.freeze
    WECHAT_DOMESTIC = 'WECHAT_DOMESTIC'.freeze

    # Builds the enum from string
    # @param [String] The enum value in the form of the string
    # @return [String] The enum value
    def build_from_hash(value)
      constantValues = PaymentMethodType.constants.select { |c| PaymentMethodType::const_get(c) == value }
      raise "Invalid ENUM value #{value} for class #PaymentMethodType" if constantValues.empty?
      value
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
first_data_gateway-1.2.0 lib/openapi_client/models/payment_method_type.rb