Module: Straddle::Models::PaymentStatus

Extended by:
Internal::Type::Enum
Defined in:
lib/straddle/models/payment_status.rb,
sig/straddle/models/payment_status.rbs

Overview

The current status of the charge or payout.

Constant Summary collapse

CREATED =

Returns:

  • (:created)
:created
SCHEDULED =

Returns:

  • (:scheduled)
:scheduled
FAILED =

Returns:

  • (:failed)
:failed
CANCELLED =

Returns:

  • (:cancelled)
:cancelled
ON_HOLD =

Returns:

  • (:on_hold)
:on_hold
PENDING =

Returns:

  • (:pending)
:pending
:paid
REVERSED =

Returns:

  • (:reversed)
:reversed
VALIDATING =

Returns:

  • (:validating)
:validating

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Class Method Details

.values ⇒ Array<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/straddle/models/payment_status.rb', line 19

Instance Method Details

#self?.values ⇒ ::Array[Straddle::Models::payment_status]

Returns:

  • (::Array[Straddle::Models::payment_status])


27
# File 'sig/straddle/models/payment_status.rbs', line 27

def self?.values: -> ::Array[Straddle::Models::payment_status]