Class: Plaid::TransferEventType

Inherits:
Object
  • Object
show all
Defined in:
lib/plaid/models/transfer_event_type.rb

Constant Summary collapse

PENDING =
"pending".freeze
CANCELLED =
"cancelled".freeze
FAILED =
"failed".freeze
POSTED =
"posted".freeze
SETTLED =
"settled".freeze
RETURNED =
"returned".freeze
SWEPT =
"swept".freeze
SWEPT_SETTLED =
"swept_settled".freeze
RETURN_SWEPT =
"return_swept".freeze
SWEEP_PENDING =
"sweep.pending".freeze
SWEEP_POSTED =
"sweep.posted".freeze
SWEEP_SETTLED =
"sweep.settled".freeze
SWEEP_RETURNED =
"sweep.returned".freeze
SWEEP_FAILED =
"sweep.failed".freeze

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.build_from_hash(value) ⇒ String

Builds the enum from string

Parameters:

  • The (String)

    enum value in the form of the string

Returns:

  • (String)

    The enum value



36
37
38
# File 'lib/plaid/models/transfer_event_type.rb', line 36

def self.build_from_hash(value)
  new.build_from_hash(value)
end

Instance Method Details

#build_from_hash(value) ⇒ String

Builds the enum from string

Parameters:

  • The (String)

    enum value in the form of the string

Returns:

  • (String)

    The enum value



43
44
45
46
47
48
# File 'lib/plaid/models/transfer_event_type.rb', line 43

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