Sha256: 0922d6ee1165532bea003892555f6907266549b12104c47f1b3d3d2da65223be

Contents?: true

Size: 1.06 KB

Versions: 1

Compression:

Stored size: 1.06 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.496.2

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

=end

require 'date'
require 'time'

module Plaid
  class InvestmentTransactionType
    BUY = "buy".freeze
    SELL = "sell".freeze
    CANCEL = "cancel".freeze
    CASH = "cash".freeze
    FEE = "fee".freeze
    TRANSFER = "transfer".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)
      # We do not validate that the value is one of the enums set in the OpenAPI
      # file because we want to be able to add to our list of enums without
      # breaking this client library.
      value
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
plaid-25.0.0 lib/plaid/models/investment_transaction_type.rb