Class: Plaid::PaymentInitiationPaymentStatus

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

Constant Summary collapse

INPUT_NEEDED =
"PAYMENT_STATUS_INPUT_NEEDED".freeze
PROCESSING =
"PAYMENT_STATUS_PROCESSING".freeze
INITIATED =
"PAYMENT_STATUS_INITIATED".freeze
COMPLETED =
"PAYMENT_STATUS_COMPLETED".freeze
INSUFFICIENT_FUNDS =
"PAYMENT_STATUS_INSUFFICIENT_FUNDS".freeze
FAILED =
"PAYMENT_STATUS_FAILED".freeze
BLOCKED =
"PAYMENT_STATUS_BLOCKED".freeze
UNKNOWN =
"PAYMENT_STATUS_UNKNOWN".freeze
EXECUTED =
"PAYMENT_STATUS_EXECUTED".freeze
SETTLED =
"PAYMENT_STATUS_SETTLED".freeze
AUTHORISING =
"PAYMENT_STATUS_AUTHORISING".freeze
CANCELLED =
"PAYMENT_STATUS_CANCELLED".freeze
ESTABLISHED =
"PAYMENT_STATUS_ESTABLISHED".freeze
REJECTED =
"PAYMENT_STATUS_REJECTED".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/payment_initiation_payment_status.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/payment_initiation_payment_status.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