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
FUNDS_AVAILABLE =
"funds_available".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
SWEEP_FUNDS_AVAILABLE =
"sweep.funds_available".freeze
REFUND_PENDING =
"refund.pending".freeze
REFUND_CANCELLED =
"refund.cancelled".freeze
REFUND_FAILED =
"refund.failed".freeze
REFUND_POSTED =
"refund.posted".freeze
REFUND_SETTLED =
"refund.settled".freeze
REFUND_RETURNED =
"refund.returned".freeze
REFUND_SWEPT =
"refund.swept".freeze
REFUND_RETURN_SWEPT =
"refund.return_swept".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



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

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



53
54
55
56
57
58
# File 'lib/plaid/models/transfer_event_type.rb', line 53

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