Class: SyncteraRubySdk::EventTypeExplicit

Inherits:
Object
  • Object
show all
Defined in:
lib/synctera_ruby_sdk/models/event_type_explicit.rb

Constant Summary collapse

ACCOUNT_CREATED =
"ACCOUNT.CREATED".freeze
ACCOUNT_UPDATED =
"ACCOUNT.UPDATED".freeze
APPLICATION_CREATED =
"APPLICATION.CREATED".freeze
APPLICATION_UPDATED =
"APPLICATION.UPDATED".freeze
BUSINESS_CREATED =
"BUSINESS.CREATED".freeze
BUSINESS_UPDATED =
"BUSINESS.UPDATED".freeze
BUSINESS_VERIFICATION_OUTCOME_UPDATED =
"BUSINESS.VERIFICATION_OUTCOME.UPDATED".freeze
CARD_CREATED =
"CARD.CREATED".freeze
CARD_DIGITALWALLETTOKEN_CREATED =
"CARD.DIGITALWALLETTOKEN.CREATED".freeze
CARD_DIGITALWALLETTOKEN_UPDATED =
"CARD.DIGITALWALLETTOKEN.UPDATED".freeze
CARD_IMAGE_UPDATED =
"CARD.IMAGE.UPDATED".freeze
CARD_UPDATED =
"CARD.UPDATED".freeze
CASE_CREATED =
"CASE.CREATED".freeze
CASE_UPDATED =
"CASE.UPDATED".freeze
CASH_PICKUP_CREATED =
"CASH_PICKUP.CREATED".freeze
CASH_PICKUP_UPDATED =
"CASH_PICKUP.UPDATED".freeze
CUSTOMER_CREATED =
"CUSTOMER.CREATED".freeze
CUSTOMER_KYC_OUTCOME_UPDATED =
"CUSTOMER.KYC_OUTCOME.UPDATED".freeze
CUSTOMER_UPDATED =
"CUSTOMER.UPDATED".freeze
EXTERNAL_CARD_TRANSFER_CREATED =
"EXTERNAL_CARD_TRANSFER.CREATED".freeze
EXTERNAL_CARD_TRANSFER_UPDATED =
"EXTERNAL_CARD_TRANSFER.UPDATED".freeze
EXTERNAL_CARD_CREATED =
"EXTERNAL_CARD.CREATED".freeze
EXTERNAL_CARD_DELETED =
"EXTERNAL_CARD.DELETED".freeze
EXTERNAL_CARD_UPDATED =
"EXTERNAL_CARD.UPDATED".freeze
INTEREST_MONTHLY_PAYOUT =
"INTEREST.MONTHLY_PAYOUT".freeze
INTERNAL_ACCOUNT_CREATED =
"INTERNAL_ACCOUNT.CREATED".freeze
INTERNAL_ACCOUNT_UPDATED =
"INTERNAL_ACCOUNT.UPDATED".freeze
INTERNAL_TRANSFER_SUCCEEDED =
"INTERNAL_TRANSFER.SUCCEEDED".freeze
NOTE_CREATED =
"NOTE.CREATED".freeze
NOTE_UPDATED =
"NOTE.UPDATED".freeze
PAYMENT_SCHEDULE_CREATED =
"PAYMENT_SCHEDULE.CREATED".freeze
PAYMENT_SCHEDULE_PAYMENT_CREATED =
"PAYMENT_SCHEDULE.PAYMENT.CREATED".freeze
PAYMENT_SCHEDULE_UPDATED =
"PAYMENT_SCHEDULE.UPDATED".freeze
PERSON_CREATED =
"PERSON.CREATED".freeze
PERSON_UPDATED =
"PERSON.UPDATED".freeze
PERSON_VERIFICATION_OUTCOME_UPDATED =
"PERSON.VERIFICATION_OUTCOME.UPDATED".freeze
STATEMENT_CREATED =
"STATEMENT.CREATED".freeze
TRANSACTION_PENDING_CREATED =
"TRANSACTION.PENDING.CREATED".freeze
TRANSACTION_PENDING_UPDATED =
"TRANSACTION.PENDING.UPDATED".freeze
TRANSACTION_POSTED_CREATED =
"TRANSACTION.POSTED.CREATED".freeze
TRANSACTION_POSTED_UPDATED =
"TRANSACTION.POSTED.UPDATED".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



67
68
69
# File 'lib/synctera_ruby_sdk/models/event_type_explicit.rb', line 67

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



74
75
76
77
# File 'lib/synctera_ruby_sdk/models/event_type_explicit.rb', line 74

def build_from_hash(value)
  return value if EventTypeExplicit.all_vars.include?(value)
  raise "Invalid ENUM value #{value} for class #EventTypeExplicit"
end