Sha256: bd9afad9f0184fab15756ff1c802b23b15444d77078a243b9f3ad317374e0a6b

Contents?: true

Size: 1009 Bytes

Versions: 1

Compression:

Stored size: 1009 Bytes

Contents

=begin
#The Plaid API

#The Plaid REST API. Please see https://plaid.com/docs/api for more details.

The version of the OpenAPI document: 2020-09-14_1.26.1

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

=end

require 'date'
require 'time'

module Plaid
  class PaymentScheduleInterval
    WEEKLY = "WEEKLY".freeze
    MONTHLY = "MONTHLY".freeze

    # Builds the enum from string
    # @param [String] The enum value in the form of the string
    # @return [String] The enum value
    def self.build_from_hash(value)
      new.build_from_hash(value)
    end

    # 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 = PaymentScheduleInterval.constants.select { |c| PaymentScheduleInterval::const_get(c) == value }
      raise "Invalid ENUM value #{value} for class #PaymentScheduleInterval" if constantValues.empty?
      value
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
plaid-14.1.0 lib/plaid/models/payment_schedule_interval.rb