Sha256: 9c44317f1c976b7aa7a3f49d0efe4dc6c2c84f98c2fc245cddc26e8fd3b3e4ba

Contents?: true

Size: 1.17 KB

Versions: 1

Compression:

Stored size: 1.17 KB

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.5.0

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

=end

require 'date'
require 'time'

module Plaid
  class BankTransferEventType
    PENDING = "pending".freeze
    CANCELLED = "cancelled".freeze
    FAILED = "failed".freeze
    POSTED = "posted".freeze
    REVERSED = "reversed".freeze
    RECEIVER_PENDING = "receiver_pending".freeze
    RECEIVER_POSTED = "receiver_posted".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 = BankTransferEventType.constants.select { |c| BankTransferEventType::const_get(c) == value }
      raise "Invalid ENUM value #{value} for class #BankTransferEventType" if constantValues.empty?
      value
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
plaid-14.0.0.beta.1 lib/plaid/models/bank_transfer_event_type.rb