Class: SplititWebApiV4::PisErrorCodes

Inherits:
Object
  • Object
show all
Defined in:
lib/splitit_web_api_v4/models/pis_error_codes.rb

Overview

PisErrorCodes.

Constant Summary collapse

PIS_ERROR_CODES =
[
  # TODO: Write general description for CONFIGURATIONKEYNOTFOUND
  CONFIGURATIONKEYNOTFOUND = 'ConfigurationKeyNotFound'.freeze,

  # TODO: Write general description for IDNOTFOUND
  IDNOTFOUND = 'IdNotFound'.freeze,

  # TODO: Write general description for INVALIDINPUT
  INVALIDINPUT = 'InvalidInput'.freeze,

  # TODO: Write general description for EXTERNALSYSTEMCALLFAILED
  EXTERNALSYSTEMCALLFAILED = 'ExternalSystemCallFailed'.freeze,

  # TODO: Write general description for IDEMPOTENCYERROR
  IDEMPOTENCYERROR = 'IdempotencyError'.freeze,

  # TODO: Write general description for IDEMPOTENCYORIGINALREQUESTERROR
  IDEMPOTENCYORIGINALREQUESTERROR = 'IdempotencyOriginalRequestError'.freeze,

  # TODO: Write general description for RULEDATAALREADYEXISTS
  RULEDATAALREADYEXISTS = 'RuleDataAlreadyExists'.freeze,

  # TODO: Write general description for PGPENCRYPTIONKEYNOTFOUND
  PGPENCRYPTIONKEYNOTFOUND = 'PGPEncryptionKeyNotFound'.freeze,

  # TODO: Write general description for INVALIDPGPKEY
  INVALIDPGPKEY = 'InvalidPGPKey'.freeze,

  # TODO: Write general description for MERCHANTMUSTBEPROVIDED
  MERCHANTMUSTBEPROVIDED = 'MerchantMustBeProvided'.freeze,

  # TODO: Write general description for INVALIDMERCHANTCONFIGURATION
  INVALIDMERCHANTCONFIGURATION = 'InvalidMerchantConfiguration'.freeze,

  # TODO: Write general description for INVALIDINSTALLMENTPLANNUMBER
  INVALIDINSTALLMENTPLANNUMBER = 'InvalidInstallmentPlanNumber'.freeze,

  # TODO: Write general description for INVALIDINSTALLMENTPLANSTATUS
  INVALIDINSTALLMENTPLANSTATUS = 'InvalidInstallmentPlanStatus'.freeze,

  # TODO: Write general description for INVALIDCCCARDTYPENOTSUPPORTED
  INVALIDCCCARDTYPENOTSUPPORTED = 'InvalidCCCardTypeNotSupported'.freeze,

  # TODO: Write general description for INVALIDNUMBEROFINSTALLMENTS
  INVALIDNUMBEROFINSTALLMENTS = 'InvalidNumberOfInstallments'.freeze,

  # TODO: Write general description for INVALIDAMOUNTFORMAT
  INVALIDAMOUNTFORMAT = 'InvalidAmountFormat'.freeze,

  # TODO: Write general description for CARDUPDATEISNOTALLOWED
  CARDUPDATEISNOTALLOWED = 'CardUpdateIsNotAllowed'.freeze,

  # TODO: Write general description for INVALIDCOUNTRYCODE
  INVALIDCOUNTRYCODE = 'InvalidCountryCode'.freeze,

  # TODO: Write general description for INVALIDRESPONSEURL
  INVALIDRESPONSEURL = 'InvalidResponseURL'.freeze,

  # TODO: Write general description for INVALIDCARDHOLDERNAME
  INVALIDCARDHOLDERNAME = 'InvalidCardholderName'.freeze,

  # TODO: Write general description for INVALIDAMOUNT
  INVALIDAMOUNT = 'InvalidAmount'.freeze,

  # TODO: Write general description for INVALIDCVV
  INVALIDCVV = 'InvalidCVV'.freeze,

  # TODO: Write general description for INVALIDCARDNUMBER
  INVALIDCARDNUMBER = 'InvalidCardNumber'.freeze,

  # TODO: Write general description for INVALIDEXPIRATIONDATE
  INVALIDEXPIRATIONDATE = 'InvalidExpirationDate'.freeze,

  # TODO: Write general description for INVALIDCONSUMERFULLNAME
  INVALIDCONSUMERFULLNAME = 'InvalidConsumerFullName'.freeze,

  # TODO: Write general description for INVALIDEMAILFORMAT
  INVALIDEMAILFORMAT = 'InvalidEmailFormat'.freeze,

  # TODO: Write general description for INVALIDADDRESS
  INVALIDADDRESS = 'InvalidAddress'.freeze,

  # TODO: Write general description for INVALIDZIPCODE
  INVALIDZIPCODE = 'InvalidZIPCode'.freeze,

  # TODO: Write general description for
  # INVALIDCCISSUECOUNTRYNOTSUPPORTEDBYTERMINAL
  INVALIDCCISSUECOUNTRYNOTSUPPORTEDBYTERMINAL = 'InvalidCCIssueCountryNotSupportedByTerminal'.freeze,

  # TODO: Write general description for INVALIDCURRENCY
  INVALIDCURRENCY = 'InvalidCurrency'.freeze,

  # TODO: Write general description for INVALIDMASKEDCCNUMNOTFOUNDINPLAN
  INVALIDMASKEDCCNUMNOTFOUNDINPLAN = 'InvalidMaskedCcNumNotFoundInPlan'.freeze,

  # TODO: Write general description for INSTALLMENTPLANISABOUTTOEXPIRE
  INSTALLMENTPLANISABOUTTOEXPIRE = 'InstallmentPlanIsAboutToExpire'.freeze,

  # TODO: Write general description for COUNTRYSUBDIVISIONNOTSUPPORTED
  COUNTRYSUBDIVISIONNOTSUPPORTED = 'CountrySubdivisionNotSupported'.freeze,

  # TODO: Write general description for
  # UPDATEINSTALLMENT_WITHHIGHERAMOUNTTHANPERSISTEDISNOTALLOW
  UPDATEINSTALLMENT_WITHHIGHERAMOUNTTHANPERSISTEDISNOTALLOW = 'UpdateInstallment_WithHigherAmountThanPersistedIsNotAllow'.freeze,

  # TODO: Write general description for
  # UPDATEINSTALLMENT_FIRSTINSTALLMENTWITHHIGHERAMOUNTTHANPERSISTEDISNOTALLO
  # W
  UPDATEINSTALLMENT_FIRSTINSTALLMENTWITHHIGHERAMOUNTTHANPERSISTEDISNOTALLOW = 'UpdateInstallment_FirstInstallmentWithHigherAmountThanPersistedIsNotAllow'.freeze,

  # TODO: Write general description for
  # UPDATEINSTALLMENT_INTHEMIDDLEOFPLANASZEROISNOTALLOW
  UPDATEINSTALLMENT_INTHEMIDDLEOFPLANASZEROISNOTALLOW = 'UpdateInstallment_InTheMiddleOfPlanAsZeroIsNotAllow'.freeze,

  # TODO: Write general description for
  # REFUNDINSTALLMENTWITHHIGHERAMOUNTTHANORIGINALISNOTALLOWED
  REFUNDINSTALLMENTWITHHIGHERAMOUNTTHANORIGINALISNOTALLOWED = 'RefundInstallmentWithHigherAmountThanOriginalIsNotAllowed'.freeze,

  # TODO: Write general description for
  # REFUNDINSTALLMENTTHATHASBEENCAPTUREDYETISNOTALLOWED
  REFUNDINSTALLMENTTHATHASBEENCAPTUREDYETISNOTALLOWED = 'RefundInstallmentThatHasBeenCapturedYetIsNotAllowed'.freeze,

  # TODO: Write general description for UPDATEINSTALLMENT_ALREADYPROCESSED
  UPDATEINSTALLMENT_ALREADYPROCESSED = 'UpdateInstallment_AlreadyProcessed'.freeze,

  # TODO: Write general description for APPROVEPLAN_PLANALREADYAPPROVED
  APPROVEPLAN_PLANALREADYAPPROVED = 'ApprovePlan_PlanAlreadyApproved'.freeze,

  # TODO: Write general description for INVALIDEXPIRATIONDATEFORMAT
  INVALIDEXPIRATIONDATEFORMAT = 'InvalidExpirationDateFormat'.freeze,

  # TODO: Write general description for INVALIDCCBINNOTFOUND
  INVALIDCCBINNOTFOUND = 'InvalidCCBinNotFound'.freeze,

  # TODO: Write general description for INVALIDCCCARDBRANDNOTSUPPORTED
  INVALIDCCCARDBRANDNOTSUPPORTED = 'InvalidCCCardBrandNotSupported'.freeze,

  # TODO: Write general description for APPROVEPLAN_NOAPPROVALEVIDENCE
  APPROVEPLAN_NOAPPROVALEVIDENCE = 'ApprovePlan_NoApprovalEvidence'.freeze,

  # TODO: Write general description for
  # PLANWITHTHESAMEPAYMENTDATAALREADYBEENCREATEDLATELY
  PLANWITHTHESAMEPAYMENTDATAALREADYBEENCREATEDLATELY = 'PlanWithTheSamePaymentDataAlreadyBeenCreatedLately'.freeze,

  # TODO: Write general description for INVALIDFUTURECHARGEDATE
  INVALIDFUTURECHARGEDATE = 'InvalidFutureChargeDate'.freeze,

  # TODO: Write general description for INVALIDFIRSTINSTALLMENTAMOUNT
  INVALIDFIRSTINSTALLMENTAMOUNT = 'InvalidFirstInstallmentAmount'.freeze,

  # TODO: Write general description for CULTURENAMENOTVALID
  CULTURENAMENOTVALID = 'CultureNameNotValid'.freeze,

  # TODO: Write general description for CULTURENOTSUPPORTED
  CULTURENOTSUPPORTED = 'CultureNotSupported'.freeze,

  # TODO: Write general description for SYSTEMTEXTKEYNOTFOUND
  SYSTEMTEXTKEYNOTFOUND = 'SystemTextKeyNotFound'.freeze,

  # TODO: Write general description for TERMINALNOTFOUNDBYSUPPLIEDAPIKEY
  TERMINALNOTFOUNDBYSUPPLIEDAPIKEY = 'TerminalNotFoundBySuppliedApiKey'.freeze,

  # TODO: Write general description for UNKNOWNZIPCODE
  UNKNOWNZIPCODE = 'UnknownZipCode'.freeze,

  # TODO: Write general description for
  # CC_REJECTION_PROCESS_CANNOT_BE_INITIATED_DUE_T_OAUTH_EXPIRATION
  CC_REJECTION_PROCESS_CANNOT_BE_INITIATED_DUE_T_OAUTH_EXPIRATION = 'CCRejectionProcessCannotBeInitiatedDueToAuthExpiration'.freeze,

  # TODO: Write general description for
  # CANTCHARGEINSTALLMENTWHILEPLANCHARGESAREONHOLD
  CANTCHARGEINSTALLMENTWHILEPLANCHARGESAREONHOLD = 'CantChargeInstallmentWhilePlanChargesAreOnHold'.freeze,

  # TODO: Write general description for
  # CANTRELEASEHOLDONCHARGESSINCECHARGESARENOTHOLDED
  CANTRELEASEHOLDONCHARGESSINCECHARGESARENOTHOLDED = 'CantReleaseHoldOnChargesSinceChargesAreNotHolded'.freeze,

  # TODO: Write general description for
  # REFUNDNOTALLOWEDONEORMOREINSTALLMENTSPASSEDREFUNDALLOWEDTIME
  REFUNDNOTALLOWEDONEORMOREINSTALLMENTSPASSEDREFUNDALLOWEDTIME = 'RefundNotAllowedOneOrMoreInstallmentsPassedRefundAllowedTime'.freeze,

  # TODO: Write general description for
  # REFUNDPARTIALYFAILEDONEORMOREINSTALLMENTFAILEDREFUND
  REFUNDPARTIALYFAILEDONEORMOREINSTALLMENTFAILEDREFUND = 'RefundPartialyFailedOneOrMoreInstallmentFailedRefund'.freeze,

  # TODO: Write general description for REFUNDFAILED
  REFUNDFAILED = 'RefundFailed'.freeze,

  # TODO: Write general description for UPDATEPLANPARAMETERSARENOTSUPPORTED
  UPDATEPLANPARAMETERSARENOTSUPPORTED = 'UpdatePlanParametersAreNotSupported'.freeze,

  # TODO: Write general description for
  # REFUNDREQUESTEDAMOUNTEXCEEDEDPLANREFUNDABLEAMOUNT
  REFUNDREQUESTEDAMOUNTEXCEEDEDPLANREFUNDABLEAMOUNT = 'RefundRequestedAmountExceededPlanRefundableAmount'.freeze,

  # TODO: Write general description for
  # INVALIDCURRENCY_NOTSUPPORTEDBYTERMINAL
  INVALIDCURRENCY_NOTSUPPORTEDBYTERMINAL = 'InvalidCurrency_NotSupportedByTerminal'.freeze,

  # TODO: Write general description for CREDITCARDISMISSING
  CREDITCARDISMISSING = 'CreditCardIsMissing'.freeze,

  # TODO: Write general description for PISMEMBERISMISSING
  PISMEMBERISMISSING = 'PisMemberIsMissing'.freeze,

  # TODO: Write general description for
  # ADDRESSDATAISMISSINGORPARTIALLYINITIATED
  ADDRESSDATAISMISSINGORPARTIALLYINITIATED = 'AddressDataIsMissingOrPartiallyInitiated'.freeze,

  # TODO: Write general description for CARDHOLDERNAMEISMISSING
  CARDHOLDERNAMEISMISSING = 'CardHolderNameIsMissing'.freeze,

  # TODO: Write general description for CARDNUMBERISMISSING
  CARDNUMBERISMISSING = 'CardNumberIsMissing'.freeze,

  # TODO: Write general description for CARDEXPIRATIONMONTHISMISSING
  CARDEXPIRATIONMONTHISMISSING = 'CardExpirationMonthIsMissing'.freeze,

  # TODO: Write general description for CARDEXPIRATIONYEARISMISSING
  CARDEXPIRATIONYEARISMISSING = 'CardExpirationYearIsMissing'.freeze,

  # TODO: Write general description for NUMBEROFINSTALLMENTNOTDEFINED
  NUMBEROFINSTALLMENTNOTDEFINED = 'NumberOfInstallmentNotDefined'.freeze,

  # TODO: Write general description for INVALIDSTATECODE
  INVALIDSTATECODE = 'InvalidStateCode'.freeze,

  # TODO: Write general description for EMAILISMISSING
  EMAILISMISSING = 'EmailIsMissing'.freeze,

  # TODO: Write general description for CONSUMERFULLNAMEISMISSING
  CONSUMERFULLNAMEISMISSING = 'ConsumerFullNameIsMissing'.freeze,

  # TODO: Write general description for CURRENCYMUSTBEDEFINEDONTRANSACTION
  CURRENCYMUSTBEDEFINEDONTRANSACTION = 'CurrencyMustBeDefinedOnTransaction'.freeze,

  # TODO: Write general description for COULDNOTFUNDINSTALLMENTPLAN
  COULDNOTFUNDINSTALLMENTPLAN = 'CouldNotFundInstallmentPlan'.freeze,

  # TODO: Write general description for COULDNOTREVERTFUND
  COULDNOTREVERTFUND = 'CouldNotRevertFund'.freeze,

  # TODO: Write general description for INVALIDPLANSTRATEGY
  INVALIDPLANSTRATEGY = 'InvalidPlanStrategy'.freeze,

  # TODO: Write general description for FULLCAPTURENOTSUPPORTED
  FULLCAPTURENOTSUPPORTED = 'FullCaptureNotSupported'.freeze,

  # TODO: Write general description for INVALIDCCPREPAIDCARDNOTSUPPORTED
  INVALIDCCPREPAIDCARDNOTSUPPORTED = 'InvalidCcPrepaidCardNotSupported'.freeze,

  # TODO: Write general description for CARDEXPIREBEFOREPLANENDS
  CARDEXPIREBEFOREPLANENDS = 'CardExpireBeforePlanEnds'.freeze,

  # TODO: Write general description for PARTIALPLANAMOUNTAUTHORIZED
  PARTIALPLANAMOUNTAUTHORIZED = 'PartialPlanAmountAuthorized'.freeze,

  # TODO: Write general description for
  # SECUREDAUTHORIZATIONREQUIREDFORPARTIALPAYMENT
  SECUREDAUTHORIZATIONREQUIREDFORPARTIALPAYMENT = 'SecuredAuthorizationRequiredForPartialPayment'.freeze,

  # TODO: Write general description for THREEDSECUREDATANOTFOUND
  THREEDSECUREDATANOTFOUND = 'ThreeDSecureDataNotFound'.freeze,

  # TODO: Write general description for
  # THREEDSECURENOTSUPPORTEDBYPLANSTRATEGY
  THREEDSECURENOTSUPPORTEDBYPLANSTRATEGY = 'ThreeDSecureNotSupportedByPlanStrategy'.freeze,

  # TODO: Write general description for THREEDSECUREREQUIREDDATAMISSING
  THREEDSECUREREQUIREDDATAMISSING = 'ThreeDSecureRequiredDataMissing'.freeze,

  # TODO: Write general description for STRATEGYNOTALLOWED
  STRATEGYNOTALLOWED = 'StrategyNotAllowed'.freeze,

  # TODO: Write general description for PAYMENTTOKENNOTVALID
  PAYMENTTOKENNOTVALID = 'PaymentTokenNotValid'.freeze,

  # TODO: Write general description for ACTIVITYNOTSUPPORTEDFORPLANSTRATEGY
  ACTIVITYNOTSUPPORTEDFORPLANSTRATEGY = 'ActivityNotSupportedForPlanStrategy'.freeze,

  # TODO: Write general description for PAYMENTWIZARDVIEWNOTEXIST
  PAYMENTWIZARDVIEWNOTEXIST = 'PaymentWizardViewNotExist'.freeze,

  # TODO: Write general description for INVALIDURL
  INVALIDURL = 'InvalidUrl'.freeze,

  # TODO: Write general description for
  # ISSUERBINNOTSUPPORTINGINSTALLMENTEXCEPTION
  ISSUERBINNOTSUPPORTINGINSTALLMENTEXCEPTION = 'IssuerBinNotSupportingInstallmentException'.freeze,

  # TODO: Write general description for COULDNOTCHANGELENDER
  COULDNOTCHANGELENDER = 'CouldNotChangeLender'.freeze,

  # TODO: Write general description for FRAUDDETECED
  FRAUDDETECED = 'FraudDeteced'.freeze,

  # TODO: Write general description for PHONEISMISSING
  PHONEISMISSING = 'PhoneIsMissing'.freeze,

  # TODO: Write general description for INVALIDPHONEFORMAT
  INVALIDPHONEFORMAT = 'InvalidPhoneFormat'.freeze,

  # TODO: Write general description for INSTALLMENTMISSINGOPENAUTHORIZATION
  INSTALLMENTMISSINGOPENAUTHORIZATION = 'InstallmentMissingOpenAuthorization'.freeze,

  # TODO: Write general description for GENERALERROR
  GENERALERROR = 'GeneralError'.freeze,

  # TODO: Write general description for GTWYRESULTGENERALERROR
  GTWYRESULTGENERALERROR = 'GtwyResultGeneralError'.freeze,

  # TODO: Write general description for GTWYRESULTCCDATAAVSZIP
  GTWYRESULTCCDATAAVSZIP = 'GtwyResultCCDataAVSZip'.freeze,

  # TODO: Write general description for GTWYRESULTCCDATAAVSADDRESS
  GTWYRESULTCCDATAAVSADDRESS = 'GtwyResultCCDataAVSAddress'.freeze,

  # TODO: Write general description for GTWYRESULTCCDATACVV
  GTWYRESULTCCDATACVV = 'GtwyResultCCDataCVV'.freeze,

  # TODO: Write general description for GTWYRESULTCCDATACCEXPIRATION
  GTWYRESULTCCDATACCEXPIRATION = 'GtwyResultCCDataCCExpiration'.freeze,

  # TODO: Write general description for GTWYRESULTCCDATAAVS
  GTWYRESULTCCDATAAVS = 'GtwyResultCCDataAVS'.freeze,

  # TODO: Write general description for GTWYRESULTCCDATANUMBER
  GTWYRESULTCCDATANUMBER = 'GtwyResultCCDataNumber'.freeze,

  # TODO: Write general description for GTWYRESULTCCDATAGENERALPROBLEM
  GTWYRESULTCCDATAGENERALPROBLEM = 'GtwyResultCCDataGeneralProblem'.freeze,

  # TODO: Write general description for GTWYRESULTCCDATAINSUFFICIENTFUNDS
  GTWYRESULTCCDATAINSUFFICIENTFUNDS = 'GtwyResultCCDataInsufficientFunds'.freeze,

  # TODO: Write general description for GTWYRESULTCCWASDECLINED
  GTWYRESULTCCWASDECLINED = 'GtwyResultCCWasDeclined'.freeze,

  # TODO: Write general description for GTWYUNAUTHORIZEDCREDENTIALS
  GTWYUNAUTHORIZEDCREDENTIALS = 'GtwyUnAuthorizedCredentials'.freeze,

  # TODO: Write general description for GTWYCONNECTIVITYPROBLEM
  GTWYCONNECTIVITYPROBLEM = 'GtwyConnectivityProblem'.freeze,

  # TODO: Write general description for GTWYMERCHANTDATAPROBLEM
  GTWYMERCHANTDATAPROBLEM = 'GtwyMerchantDataProblem'.freeze,

  # TODO: Write general description for GTWYREQUIRE3DAUTHENTICATION
  GTWYREQUIRE3DAUTHENTICATION = 'GtwyRequire3DAuthentication'.freeze,

  # TODO: Write general description for ACTIVEINSTALLMENTPLANSGTWERROR
  ACTIVEINSTALLMENTPLANSGTWERROR = 'ActiveInstallmentPlansGtwError'.freeze,

  # TODO: Write general description for GTWY3DAUTHENTICATIONFAILED
  GTWY3DAUTHENTICATIONFAILED = 'Gtwy3DAuthenticationFailed'.freeze,

  # TODO: Write general description for GTWYFRAUDDETECTED
  GTWYFRAUDDETECTED = 'GtwyFraudDetected'.freeze,

  # TODO: Write general description for GTWYRESULTPICKUPCARD
  GTWYRESULTPICKUPCARD = 'GtwyResultPickupCard'.freeze,

  # TODO: Write general description for GTWYRESULTPINTRYEXCEEDED
  GTWYRESULTPINTRYEXCEEDED = 'GtwyResultPinTryExceeded'.freeze,

  # TODO: Write general description for GTWYRESULTLOSTCARD
  GTWYRESULTLOSTCARD = 'GtwyResultLostCard'.freeze,

  # TODO: Write general description for GTWYRESULTSTOLENCARD
  GTWYRESULTSTOLENCARD = 'GtwyResultStolenCard'.freeze,

  # TODO: Write general description for GTWYRESULTCLOSEDSHOPPERACCOUNT
  GTWYRESULTCLOSEDSHOPPERACCOUNT = 'GtwyResultClosedShopperAccount'.freeze,

  # TODO: Write general description for GTWYRESULTRESTRICTEDCARD
  GTWYRESULTRESTRICTEDCARD = 'GtwyResultRestrictedCard'.freeze,

  # TODO: Write general description for GTWIRESULTCCWRONGPIN
  GTWIRESULTCCWRONGPIN = 'GtwiResultCCWrongPin'.freeze,

  # TODO: Write general description for GTWRESULTCCDECLINEDCARDNOTSUPPORTED
  GTWRESULTCCDECLINEDCARDNOTSUPPORTED = 'GtwResultCCDEclinedCardNotSupported'.freeze,

  # TODO: Write general description for
  # GTWRESULTCCDECLINEDCURRENCYNOTSUPPORTED
  GTWRESULTCCDECLINEDCURRENCYNOTSUPPORTED = 'GtwResultCCDeclinedCurrencyNotSupported'.freeze,

  # TODO: Write general description for GTWRESULTCCDECLINEDDUEAMOUNT
  GTWRESULTCCDECLINEDDUEAMOUNT = 'GtwResultCCDeclinedDueAmount'.freeze,

  # TODO: Write general description for
  # GTWRESULTCCDECLINEDDUESECURITYVIOLATION
  GTWRESULTCCDECLINEDDUESECURITYVIOLATION = 'GtwResultCCDeclinedDueSecurityViolation'.freeze,

  # TODO: Write general description for AMOUNTEXCEEDSUSURYLIMIT
  AMOUNTEXCEEDSUSURYLIMIT = 'AmountExceedsUsuryLimit'.freeze,

  # TODO: Write general description for INVALIDCREDENTIALS
  INVALIDCREDENTIALS = 'InvalidCredentials'.freeze,

  # TODO: Write general description for USERISLOCKED
  USERISLOCKED = 'UserIsLocked'.freeze,

  # TODO: Write general description for USERISLOCKEDDUEINACTIVITY
  USERISLOCKEDDUEINACTIVITY = 'UserIsLockedDueInactivity'.freeze,

  # TODO: Write general description for SESSIONNOTVALID
  SESSIONNOTVALID = 'SessionNotValid'.freeze,

  # TODO: Write general description for SESSIONEXPIRED
  SESSIONEXPIRED = 'SessionExpired'.freeze,

  # TODO: Write general description for ACTIVITYNOTALLOWEDFORUSER
  ACTIVITYNOTALLOWEDFORUSER = 'ActivityNotAllowedForUser'.freeze,

  # TODO: Write general description for ACTIVITYONMERCHANTNOTALLOWEDFORUSER
  ACTIVITYONMERCHANTNOTALLOWEDFORUSER = 'ActivityOnMerchantNotAllowedForUser'.freeze,

  # TODO: Write general description for ACTIVITYONTERMINALNOTALLOWEDFORUSER
  ACTIVITYONTERMINALNOTALLOWEDFORUSER = 'ActivityOnTerminalNotAllowedForUser'.freeze,

  # TODO: Write general description for
  # ACTIVITYONINSTALLMENTPLANNOTALLOWEDFORUSER
  ACTIVITYONINSTALLMENTPLANNOTALLOWEDFORUSER = 'ActivityOnInstallmentPlanNotAllowedForUser'.freeze,

  # TODO: Write general description for TOKENNOTFOUNDOREXPIRED
  TOKENNOTFOUNDOREXPIRED = 'TokenNotFoundOrExpired'.freeze,

  # TODO: Write general description for TOKENALREADYUSED
  TOKENALREADYUSED = 'TokenAlreadyUsed'.freeze,

  # TODO: Write general description for USEROLDPASSRODISINCORRECT
  USEROLDPASSRODISINCORRECT = 'UserOldPassrodIsIncorrect'.freeze,

  # TODO: Write general description for USERNEWPASSWORDALREADYUSED
  USERNEWPASSWORDALREADYUSED = 'UserNewPasswordAlreadyUsed'.freeze,

  # TODO: Write general description for USEREMAILNOTFOUND
  USEREMAILNOTFOUND = 'UserEmailNotFound'.freeze,

  # TODO: Write general description for PASSWORDEXPIRED
  PASSWORDEXPIRED = 'PasswordExpired'.freeze,

  # TODO: Write general description for TOUCHPOINTNOTFOUND
  TOUCHPOINTNOTFOUND = 'TouchPointNotFound'.freeze,

  # TODO: Write general description for ACTIVITYNOTALLOWEDFORPUBLICSESSION
  ACTIVITYNOTALLOWEDFORPUBLICSESSION = 'ActivityNotAllowedForPublicSession'.freeze,

  # TODO: Write general description for
  # USERRELATESTOMORETHANSINGLEBUSINESSUNIT
  USERRELATESTOMORETHANSINGLEBUSINESSUNIT = 'UserRelatesToMoreThanSingleBusinessUnit'.freeze,

  # TODO: Write general description for INVALIDPASSWORDSTRENGTH
  INVALIDPASSWORDSTRENGTH = 'InvalidPasswordStrength'.freeze,

  # TODO: Write general description for INVALIDREQUESTEDSTRATEGY
  INVALIDREQUESTEDSTRATEGY = 'InvalidRequestedStrategy'.freeze,

  # TODO: Write general description for ROLENOTALLOWEDFORUSER
  ROLENOTALLOWEDFORUSER = 'RoleNotAllowedForUser'.freeze,

  # TODO: Write general description for USERNAMEALREADYEXISTS
  USERNAMEALREADYEXISTS = 'UserNameAlreadyExists'.freeze,

  # TODO: Write general description for
  # ACTIVITYNOTALLOWEDFORAUTHENTICATIONTYPE
  ACTIVITYNOTALLOWEDFORAUTHENTICATIONTYPE = 'ActivityNotAllowedForAuthenticationType'.freeze,

  # TODO: Write general description for
  # ACTIVITYNOTALLOWEDDUETOPRIVACYPROTECTION
  ACTIVITYNOTALLOWEDDUETOPRIVACYPROTECTION = 'ActivityNotAllowedDueToPrivacyProtection'.freeze,

  # TODO: Write general description for BUSINESSUNITNOTALLOWEDFORUSER
  BUSINESSUNITNOTALLOWEDFORUSER = 'BusinessUnitNotAllowedForUser'.freeze,

  # TODO: Write general description for
  # UPDATETODIFFERENTBUSINESSPARTYROLENOTALLOWED
  UPDATETODIFFERENTBUSINESSPARTYROLENOTALLOWED = 'UpdateToDifferentBusinessPartyRoleNotAllowed'.freeze,

  # TODO: Write general description for EXTERNALAUTHAMOUNTNOTVALID
  EXTERNALAUTHAMOUNTNOTVALID = 'ExternalAuthAmountNotValid'.freeze,

  # TODO: Write general description for CAPTCHANOTSUCCESSFUL
  CAPTCHANOTSUCCESSFUL = 'CaptchaNotSuccessful'.freeze,

  # TODO: Write general description for REPORTNOTALLOWEDFORUSER
  REPORTNOTALLOWEDFORUSER = 'ReportNotAllowedForUser'.freeze,

  # TODO: Write general description for PHONETOKENINVALIDOREXPIRED
  PHONETOKENINVALIDOREXPIRED = 'PhoneTokenInvalidOrExpired'.freeze,

  # TODO: Write general description for USEREMAILHIDDENBYEXTERNALPROVIDER
  USEREMAILHIDDENBYEXTERNALPROVIDER = 'UserEmailHiddenByExternalProvider'.freeze,

  # TODO: Write general description for INVALIDPERIODRANGEVALUES
  INVALIDPERIODRANGEVALUES = 'InvalidPeriodRangeValues'.freeze,

  # TODO: Write general description for
  # REMOVEDTRANSACTIONCURRENCYISINUSEBYTERMINAL
  REMOVEDTRANSACTIONCURRENCYISINUSEBYTERMINAL = 'RemovedTransactionCurrencyIsInUseByTerminal'.freeze,

  # TODO: Write general description for
  # REMOVEDTRANSACTIONCURRENCYISINUSEBYACCOUNTINGCURRENCY
  REMOVEDTRANSACTIONCURRENCYISINUSEBYACCOUNTINGCURRENCY = 'RemovedTransactionCurrencyIsInUseByAccountingCurrency'.freeze,

  # TODO: Write general description for INVALIDAMOUNTRANGEVALUES
  INVALIDAMOUNTRANGEVALUES = 'InvalidAmountRangeValues'.freeze,

  # TODO: Write general description for EMAILCANNOTBEEMPTY
  EMAILCANNOTBEEMPTY = 'EmailCannotBeEmpty'.freeze,

  # TODO: Write general description for COUNTRYNOTSUPPORTED
  COUNTRYNOTSUPPORTED = 'CountryNotSupported'.freeze,

  # TODO: Write general description for TERMINALAPIKEYMISSING
  TERMINALAPIKEYMISSING = 'TerminalApiKeyMissing'.freeze,

  # TODO: Write general description for FULLNAMECANNOTBEEMPTY
  FULLNAMECANNOTBEEMPTY = 'FullnameCannotBeEmpty'.freeze,

  # TODO: Write general description for COMPANYNAMECANNOTBEEMPTY
  COMPANYNAMECANNOTBEEMPTY = 'CompanyNameCannotBeEmpty'.freeze,

  # TODO: Write general description for INVALIDCOMPANYFORMAT
  INVALIDCOMPANYFORMAT = 'InvalidCompanyFormat'.freeze,

  # TODO: Write general description for INVALIDFULLNAMEFORMAT
  INVALIDFULLNAMEFORMAT = 'InvalidFullnameFormat'.freeze,

  # TODO: Write general description for INVALIDSTOREURL
  INVALIDSTOREURL = 'InvalidStoreUrl'.freeze,

  # TODO: Write general description for INVALIDCOMPANYWEBSITE
  INVALIDCOMPANYWEBSITE = 'InvalidCompanyWebsite'.freeze,

  # TODO: Write general description for TERMINALPROCESSORISMISSING
  TERMINALPROCESSORISMISSING = 'TerminalProcessorIsMissing'.freeze,

  # TODO: Write general description for
  # NONTRANSACTIONALLOWEDTOCREATETERMINAL
  NONTRANSACTIONALLOWEDTOCREATETERMINAL = 'NonTransactionAllowedToCreateTerminal'.freeze,

  # TODO: Write general description for TOTALWEIGHTEDVALUESNOTEQUAL100
  TOTALWEIGHTEDVALUESNOTEQUAL100 = 'TotalWeightedValuesNotEqual100'.freeze,

  # TODO: Write general description for
  # AMOUNTEXCEEDEDMAXALLOWEDFORFUNDINGOPERATION
  AMOUNTEXCEEDEDMAXALLOWEDFORFUNDINGOPERATION = 'AmountExceededMaxAllowedForFundingOperation'.freeze,

  # TODO: Write general description for
  # FUNDEDPLANSCANNOTBECANCELEDWITHOUTREFUND
  FUNDEDPLANSCANNOTBECANCELEDWITHOUTREFUND = 'FundedPlansCannotBeCanceledWithoutRefund'.freeze,

  # TODO: Write general description for
  # INSTALLMENTSCANNOTBEUPDATEDONFUNDEDPLANWITHLOWERPLANAMOUNT
  INSTALLMENTSCANNOTBEUPDATEDONFUNDEDPLANWITHLOWERPLANAMOUNT = 'InstallmentsCannotBeUpdatedOnFundedPlanWithLowerPlanAmount'.freeze,

  # TODO: Write general description for NOFUNDINGPLANINFOFORINSTALLMENTPLAN
  NOFUNDINGPLANINFOFORINSTALLMENTPLAN = 'NoFundingPlanInfoForInstallmentPlan'.freeze,

  # TODO: Write general description for NOFUNDINGSETUPFORBUSINESSUNIT
  NOFUNDINGSETUPFORBUSINESSUNIT = 'NoFundingSetupForBusinessUnit'.freeze,

  # TODO: Write general description for MERCHANTISNOTFINANCEDYET
  MERCHANTISNOTFINANCEDYET = 'MerchantIsNotFinancedYet'.freeze,

  # TODO: Write general description for CANNOTCHANGEFUNDINGCOLLECTIONMETHOD
  CANNOTCHANGEFUNDINGCOLLECTIONMETHOD = 'CannotChangeFundingCollectionMethod'.freeze,

  # TODO: Write general description for SALESFORCEOPERATIONERROR
  SALESFORCEOPERATIONERROR = 'SalesforceOperationError'.freeze,

  # TODO: Write general description for MAXRETRIESEXCEEDED
  MAXRETRIESEXCEEDED = 'MaxRetriesExceeded'.freeze,

  # TODO: Write general description for IDEMPOTENCYHASHMISMATCHERROR
  IDEMPOTENCYHASHMISMATCHERROR = 'IdempotencyHashMismatchError'.freeze,

  # TODO: Write general description for TERMINALNOTSUPPORTPAYMENTTOKEN
  TERMINALNOTSUPPORTPAYMENTTOKEN = 'TerminalNotSupportPaymentToken'.freeze,

  # TODO: Write general description for ADDITIONTOKENPARAMNOTEXIST
  ADDITIONTOKENPARAMNOTEXIST = 'AdditionTokenParamNotExist'.freeze,

  # TODO: Write general description for UNABLETORETRIEVECARDFROMTOKEN
  UNABLETORETRIEVECARDFROMTOKEN = 'UnableToRetrieveCardFromToken'.freeze,

  # TODO: Write general description for PROCESSORSETTINGSNOTENABLED
  PROCESSORSETTINGSNOTENABLED = 'ProcessorSettingsNotEnabled'.freeze,

  # TODO: Write general description for UNABLETOUPDATEDISPUTE
  UNABLETOUPDATEDISPUTE = 'UnableToUpdateDispute'.freeze,

  # TODO: Write general description for ENCRYPTIONERROR
  ENCRYPTIONERROR = 'EncryptionError'.freeze,

  # TODO: Write general description for DECRYPTIONERROR
  DECRYPTIONERROR = 'DecryptionError'.freeze,

  # TODO: Write general description for MULTIPLEMESSAGINGMEANSPROVIDED
  MULTIPLEMESSAGINGMEANSPROVIDED = 'MultipleMessagingMeansProvided'.freeze,

  # TODO: Write general description for NOMESSAGINGMEANSWASPROVIDED
  NOMESSAGINGMEANSWASPROVIDED = 'NoMessagingMeansWasProvided'.freeze,

  # TODO: Write general description for LOGOCANNOTBEREMOVED
  LOGOCANNOTBEREMOVED = 'LogoCannotBeRemoved'.freeze,

  # TODO: Write general description for PLANISLOCKEDFORCHANGES
  PLANISLOCKEDFORCHANGES = 'PlanIsLockedForChanges'.freeze,

  # TODO: Write general description for
  # CANNOTPERFROMACTIONDUETOACTIVEDELAYDCHARGE
  CANNOTPERFROMACTIONDUETOACTIVEDELAYDCHARGE = 'CannotPerfromActionDueToActiveDelaydCharge'.freeze,

  # TODO: Write general description for EXTERNALINSTALLMENTPROVIDERERROR
  EXTERNALINSTALLMENTPROVIDERERROR = 'ExternalInstallmentProviderError'.freeze,

  # TODO: Write general description for
  # CANNOTCHANGEAMOUNTWHENSTATUSISNTINITIALIZE
  CANNOTCHANGEAMOUNTWHENSTATUSISNTINITIALIZE = 'CannotChangeAmountWhenStatusIsntInitialize'.freeze,

  # TODO: Write general description for CANNOTCHARGEBEFORESTARTINSTALLMENTS
  CANNOTCHARGEBEFORESTARTINSTALLMENTS = 'CannotChargeBeforeStartInstallments'.freeze,

  # TODO: Write general description for EXECUTIONCANCELLED
  EXECUTIONCANCELLED = 'ExecutionCancelled'.freeze,

  # TODO: Write general description for INVALIDPLANSTATUS
  INVALIDPLANSTATUS = 'InvalidPlanStatus'.freeze,

  # TODO: Write general description for TRANSACTIONROUTENOTFOUND
  TRANSACTIONROUTENOTFOUND = 'TransactionRouteNotFound'.freeze,

  # TODO: Write general description for PLANHASMOREOPENAUTHORIZATIONS
  PLANHASMOREOPENAUTHORIZATIONS = 'PlanHasMoreOpenAuthorizations'.freeze,

  # TODO: Write general description for INVALIDREFORDERNUMBER
  INVALIDREFORDERNUMBER = 'InvalidRefOrderNumber'.freeze,

  # TODO: Write general description for STARTINSTALLMENTSRETRYEXCEEDED
  STARTINSTALLMENTSRETRYEXCEEDED = 'StartInstallmentsRetryExceeded'.freeze,

  # TODO: Write general description for
  # STARTINSTALLMENTSRETRYLOOPALREADYEXIST
  STARTINSTALLMENTSRETRYLOOPALREADYEXIST = 'StartInstallmentsRetryLoopAlreadyExist'.freeze,

  # TODO: Write general description for
  # INVALIDINSTALLMENTPLANAUTHORIZATIONSTATUS
  INVALIDINSTALLMENTPLANAUTHORIZATIONSTATUS = 'InvalidInstallmentPlanAuthorizationStatus'.freeze,

  # TODO: Write general description for
  # INVALIDCCCARDTYPENOTSUPPORTEDMORETHANXINSTALLMENTS
  INVALIDCCCARDTYPENOTSUPPORTEDMORETHANXINSTALLMENTS = 'InvalidCCCardTypeNotSupportedMoreThanXInstallments'.freeze,

  # TODO: Write general description for
  # INVALIDCCCARDTYPENOTSUPPORTEDMORETHANXAMOUNT
  INVALIDCCCARDTYPENOTSUPPORTEDMORETHANXAMOUNT = 'InvalidCCCardTypeNotSupportedMoreThanXAmount'.freeze,

  # TODO: Write general description for INVALIDNUMBEROFREQUESTEDINSTALLMENTS
  INVALIDNUMBEROFREQUESTEDINSTALLMENTS = 'InvalidNumberOfRequestedInstallments'.freeze,

  # TODO: Write general description for CARDUPDATELIMITBREACHED
  CARDUPDATELIMITBREACHED = 'CardUpdateLimitBreached'.freeze,

  # TODO: Write general description for CARDUPDATEDENIEDOPENDISPUTES
  CARDUPDATEDENIEDOPENDISPUTES = 'CardUpdateDeniedOpenDisputes'.freeze,

  # TODO: Write general description for
  # PLANAMOUNTEXCEEDSALLOWEDDECIMALPLACES
  PLANAMOUNTEXCEEDSALLOWEDDECIMALPLACES = 'PlanAmountExceedsAllowedDecimalPlaces'.freeze,

  # TODO: Write general description for SHOPPERBALANCEEXCEEDED
  SHOPPERBALANCEEXCEEDED = 'ShopperBalanceExceeded'.freeze,

  # TODO: Write general description for INVALIDCARDNUMBERLENGTH
  INVALIDCARDNUMBERLENGTH = 'InvalidCardNumberLength'.freeze,

  # TODO: Write general description for
  # BILLINGCOUNTRYISNOTALLOWEDFORMERCHANT
  BILLINGCOUNTRYISNOTALLOWEDFORMERCHANT = 'BillingCountryIsNotAllowedForMerchant'.freeze,

  # TODO: Write general description for
  # INVALIDCCCARDBRANDNOTSUPPORTEDMORETHANXINSTALLMENTS
  INVALIDCCCARDBRANDNOTSUPPORTEDMORETHANXINSTALLMENTS = 'InvalidCCCardBrandNotSupportedMoreThanXInstallments'.freeze,

  # TODO: Write general description for
  # INVALIDCCCARDBRANDNOTSUPPORTEDMORETHANXAMOUNT
  INVALIDCCCARDBRANDNOTSUPPORTEDMORETHANXAMOUNT = 'InvalidCCCardBrandNotSupportedMoreThanXAmount'.freeze,

  # TODO: Write general description for REFUNDNOTALLOWEDFORCHARGEBACKPLANS
  REFUNDNOTALLOWEDFORCHARGEBACKPLANS = 'RefundNotAllowedForChargebackPlans'.freeze,

  # TODO: Write general description for REFUNDFAILEDPLANALREADYREFUNDED
  REFUNDFAILEDPLANALREADYREFUNDED = 'RefundFailedPlanAlreadyRefunded'.freeze,

  # TODO: Write general description for EMAILNOTVERIFIED
  EMAILNOTVERIFIED = 'EmailNotVerified'.freeze,

  # TODO: Write general description for
  # INVALIDCCPREPAIDCARDNOTSUPPORTEDMORETHANXINSTALLMENTS
  INVALIDCCPREPAIDCARDNOTSUPPORTEDMORETHANXINSTALLMENTS = 'InvalidCcPrepaidCardNotSupportedMoreThanXInstallments'.freeze,

  # TODO: Write general description for
  # INVALIDCCPREPAIDCARDNOTSUPPORTEDMORETHANXAMOUNT
  INVALIDCCPREPAIDCARDNOTSUPPORTEDMORETHANXAMOUNT = 'InvalidCcPrepaidCardNotSupportedMoreThanXAmount'.freeze,

  # TODO: Write general description for PLANVERIFICATIONFAILED
  PLANVERIFICATIONFAILED = 'PlanVerificationFailed'.freeze,

  # TODO: Write general description for PAYMENTTOKENIZATIONNOTENABLED
  PAYMENTTOKENIZATIONNOTENABLED = 'PaymentTokenizationNotEnabled'.freeze,

  # TODO: Write general description for INVALIDINTERNALURLSENTTOOMS
  INVALIDINTERNALURLSENTTOOMS = 'InvalidInternalUrlSentToOms'.freeze,

  # TODO: Write general description for ISSUERBINBLACKLISTED
  ISSUERBINBLACKLISTED = 'IssuerBinBlacklisted'.freeze,

  # TODO: Write general description for MERCHANTDORMANTACCOUNT
  MERCHANTDORMANTACCOUNT = 'MerchantDormantAccount'.freeze,

  # TODO: Write general description for SHOPPERDETAILSBLACKLISTED
  SHOPPERDETAILSBLACKLISTED = 'ShopperDetailsBlacklisted'.freeze,

  # TODO: Write general description for
  # PLANCONTEXTNOTVALIDFORNUMBEROFINSTALLMENTS
  PLANCONTEXTNOTVALIDFORNUMBEROFINSTALLMENTS = 'PlanContextNotValidForNumberOfInstallments'.freeze,

  # TODO: Write general description for PLANCONTEXTNOTVALIDFORAMOUNT
  PLANCONTEXTNOTVALIDFORAMOUNT = 'PlanContextNotValidForAmount'.freeze,

  # TODO: Write general description for GENERALTIMEOUTERROR
  GENERALTIMEOUTERROR = 'GeneralTimeoutError'.freeze,

  # TODO: Write general description for CANNOTCANCELCFPLAN
  CANNOTCANCELCFPLAN = 'CanNotCancelCFPlan'.freeze,

  # TODO: Write general description for ISSUERREFUNDEXPIRED
  ISSUERREFUNDEXPIRED = 'IssuerRefundExpired'.freeze,

  # TODO: Write general description for UPDATECARDNOTALLOWEDPLANISNOTACTIVE
  UPDATECARDNOTALLOWEDPLANISNOTACTIVE = 'UpdateCardNotAllowedPlanIsNotActive'.freeze,

  # TODO: Write general description for USEREMAILALREADYEXISTS
  USEREMAILALREADYEXISTS = 'UserEmailAlreadyExists'.freeze,

  # TODO: Write general description for USERNOTFOUND
  USERNOTFOUND = 'UserNotFound'.freeze,

  # TODO: Write general description for USERHASNOROLESASSIGNED
  USERHASNOROLESASSIGNED = 'UserHasNoRolesAssigned'.freeze,

  # TODO: Write general description for NONE
  NONE = 'None'.freeze
].freeze

Class Method Summary collapse

Class Method Details

.from_value(value, default_value = CONFIGURATIONKEYNOTFOUND) ⇒ Object



773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
# File 'lib/splitit_web_api_v4/models/pis_error_codes.rb', line 773

def self.from_value(value, default_value = CONFIGURATIONKEYNOTFOUND)
  return default_value if value.nil?

  str = value.to_s.strip

  case str.downcase
  when 'configurationkeynotfound' then CONFIGURATIONKEYNOTFOUND
  when 'idnotfound' then IDNOTFOUND
  when 'invalidinput' then INVALIDINPUT
  when 'externalsystemcallfailed' then EXTERNALSYSTEMCALLFAILED
  when 'idempotencyerror' then IDEMPOTENCYERROR
  when 'idempotencyoriginalrequesterror' then IDEMPOTENCYORIGINALREQUESTERROR
  when 'ruledataalreadyexists' then RULEDATAALREADYEXISTS
  when 'pgpencryptionkeynotfound' then PGPENCRYPTIONKEYNOTFOUND
  when 'invalidpgpkey' then INVALIDPGPKEY
  when 'merchantmustbeprovided' then MERCHANTMUSTBEPROVIDED
  when 'invalidmerchantconfiguration' then INVALIDMERCHANTCONFIGURATION
  when 'invalidinstallmentplannumber' then INVALIDINSTALLMENTPLANNUMBER
  when 'invalidinstallmentplanstatus' then INVALIDINSTALLMENTPLANSTATUS
  when 'invalidcccardtypenotsupported' then INVALIDCCCARDTYPENOTSUPPORTED
  when 'invalidnumberofinstallments' then INVALIDNUMBEROFINSTALLMENTS
  when 'invalidamountformat' then INVALIDAMOUNTFORMAT
  when 'cardupdateisnotallowed' then CARDUPDATEISNOTALLOWED
  when 'invalidcountrycode' then INVALIDCOUNTRYCODE
  when 'invalidresponseurl' then INVALIDRESPONSEURL
  when 'invalidcardholdername' then INVALIDCARDHOLDERNAME
  when 'invalidamount' then INVALIDAMOUNT
  when 'invalidcvv' then INVALIDCVV
  when 'invalidcardnumber' then INVALIDCARDNUMBER
  when 'invalidexpirationdate' then INVALIDEXPIRATIONDATE
  when 'invalidconsumerfullname' then INVALIDCONSUMERFULLNAME
  when 'invalidemailformat' then INVALIDEMAILFORMAT
  when 'invalidaddress' then INVALIDADDRESS
  when 'invalidzipcode' then INVALIDZIPCODE
  when 'invalidccissuecountrynotsupportedbyterminal' then INVALIDCCISSUECOUNTRYNOTSUPPORTEDBYTERMINAL
  when 'invalidcurrency' then INVALIDCURRENCY
  when 'invalidmaskedccnumnotfoundinplan' then INVALIDMASKEDCCNUMNOTFOUNDINPLAN
  when 'installmentplanisabouttoexpire' then INSTALLMENTPLANISABOUTTOEXPIRE
  when 'countrysubdivisionnotsupported' then COUNTRYSUBDIVISIONNOTSUPPORTED
  when 'updateinstallment_withhigheramountthanpersistedisnotallow' then UPDATEINSTALLMENT_WITHHIGHERAMOUNTTHANPERSISTEDISNOTALLOW
  when 'updateinstallment_firstinstallmentwithhigheramountthanpersistedisnotallow' then UPDATEINSTALLMENT_FIRSTINSTALLMENTWITHHIGHERAMOUNTTHANPERSISTEDISNOTALLOW
  when 'updateinstallment_inthemiddleofplanaszeroisnotallow' then UPDATEINSTALLMENT_INTHEMIDDLEOFPLANASZEROISNOTALLOW
  when 'refundinstallmentwithhigheramountthanoriginalisnotallowed' then REFUNDINSTALLMENTWITHHIGHERAMOUNTTHANORIGINALISNOTALLOWED
  when 'refundinstallmentthathasbeencapturedyetisnotallowed' then REFUNDINSTALLMENTTHATHASBEENCAPTUREDYETISNOTALLOWED
  when 'updateinstallment_alreadyprocessed' then UPDATEINSTALLMENT_ALREADYPROCESSED
  when 'approveplan_planalreadyapproved' then APPROVEPLAN_PLANALREADYAPPROVED
  when 'invalidexpirationdateformat' then INVALIDEXPIRATIONDATEFORMAT
  when 'invalidccbinnotfound' then INVALIDCCBINNOTFOUND
  when 'invalidcccardbrandnotsupported' then INVALIDCCCARDBRANDNOTSUPPORTED
  when 'approveplan_noapprovalevidence' then APPROVEPLAN_NOAPPROVALEVIDENCE
  when 'planwiththesamepaymentdataalreadybeencreatedlately' then PLANWITHTHESAMEPAYMENTDATAALREADYBEENCREATEDLATELY
  when 'invalidfuturechargedate' then INVALIDFUTURECHARGEDATE
  when 'invalidfirstinstallmentamount' then INVALIDFIRSTINSTALLMENTAMOUNT
  when 'culturenamenotvalid' then CULTURENAMENOTVALID
  when 'culturenotsupported' then CULTURENOTSUPPORTED
  when 'systemtextkeynotfound' then SYSTEMTEXTKEYNOTFOUND
  when 'terminalnotfoundbysuppliedapikey' then TERMINALNOTFOUNDBYSUPPLIEDAPIKEY
  when 'unknownzipcode' then UNKNOWNZIPCODE
  when 'cc_rejection_process_cannot_be_initiated_due_t_oauth_expiration' then CC_REJECTION_PROCESS_CANNOT_BE_INITIATED_DUE_T_OAUTH_EXPIRATION
  when 'cantchargeinstallmentwhileplanchargesareonhold' then CANTCHARGEINSTALLMENTWHILEPLANCHARGESAREONHOLD
  when 'cantreleaseholdonchargessincechargesarenotholded' then CANTRELEASEHOLDONCHARGESSINCECHARGESARENOTHOLDED
  when 'refundnotallowedoneormoreinstallmentspassedrefundallowedtime' then REFUNDNOTALLOWEDONEORMOREINSTALLMENTSPASSEDREFUNDALLOWEDTIME
  when 'refundpartialyfailedoneormoreinstallmentfailedrefund' then REFUNDPARTIALYFAILEDONEORMOREINSTALLMENTFAILEDREFUND
  when 'refundfailed' then REFUNDFAILED
  when 'updateplanparametersarenotsupported' then UPDATEPLANPARAMETERSARENOTSUPPORTED
  when 'refundrequestedamountexceededplanrefundableamount' then REFUNDREQUESTEDAMOUNTEXCEEDEDPLANREFUNDABLEAMOUNT
  when 'invalidcurrency_notsupportedbyterminal' then INVALIDCURRENCY_NOTSUPPORTEDBYTERMINAL
  when 'creditcardismissing' then CREDITCARDISMISSING
  when 'pismemberismissing' then PISMEMBERISMISSING
  when 'addressdataismissingorpartiallyinitiated' then ADDRESSDATAISMISSINGORPARTIALLYINITIATED
  when 'cardholdernameismissing' then CARDHOLDERNAMEISMISSING
  when 'cardnumberismissing' then CARDNUMBERISMISSING
  when 'cardexpirationmonthismissing' then CARDEXPIRATIONMONTHISMISSING
  when 'cardexpirationyearismissing' then CARDEXPIRATIONYEARISMISSING
  when 'numberofinstallmentnotdefined' then NUMBEROFINSTALLMENTNOTDEFINED
  when 'invalidstatecode' then INVALIDSTATECODE
  when 'emailismissing' then EMAILISMISSING
  when 'consumerfullnameismissing' then CONSUMERFULLNAMEISMISSING
  when 'currencymustbedefinedontransaction' then CURRENCYMUSTBEDEFINEDONTRANSACTION
  when 'couldnotfundinstallmentplan' then COULDNOTFUNDINSTALLMENTPLAN
  when 'couldnotrevertfund' then COULDNOTREVERTFUND
  when 'invalidplanstrategy' then INVALIDPLANSTRATEGY
  when 'fullcapturenotsupported' then FULLCAPTURENOTSUPPORTED
  when 'invalidccprepaidcardnotsupported' then INVALIDCCPREPAIDCARDNOTSUPPORTED
  when 'cardexpirebeforeplanends' then CARDEXPIREBEFOREPLANENDS
  when 'partialplanamountauthorized' then PARTIALPLANAMOUNTAUTHORIZED
  when 'securedauthorizationrequiredforpartialpayment' then SECUREDAUTHORIZATIONREQUIREDFORPARTIALPAYMENT
  when 'threedsecuredatanotfound' then THREEDSECUREDATANOTFOUND
  when 'threedsecurenotsupportedbyplanstrategy' then THREEDSECURENOTSUPPORTEDBYPLANSTRATEGY
  when 'threedsecurerequireddatamissing' then THREEDSECUREREQUIREDDATAMISSING
  when 'strategynotallowed' then STRATEGYNOTALLOWED
  when 'paymenttokennotvalid' then PAYMENTTOKENNOTVALID
  when 'activitynotsupportedforplanstrategy' then ACTIVITYNOTSUPPORTEDFORPLANSTRATEGY
  when 'paymentwizardviewnotexist' then PAYMENTWIZARDVIEWNOTEXIST
  when 'invalidurl' then INVALIDURL
  when 'issuerbinnotsupportinginstallmentexception' then ISSUERBINNOTSUPPORTINGINSTALLMENTEXCEPTION
  when 'couldnotchangelender' then COULDNOTCHANGELENDER
  when 'frauddeteced' then FRAUDDETECED
  when 'phoneismissing' then PHONEISMISSING
  when 'invalidphoneformat' then INVALIDPHONEFORMAT
  when 'installmentmissingopenauthorization' then INSTALLMENTMISSINGOPENAUTHORIZATION
  when 'generalerror' then GENERALERROR
  when 'gtwyresultgeneralerror' then GTWYRESULTGENERALERROR
  when 'gtwyresultccdataavszip' then GTWYRESULTCCDATAAVSZIP
  when 'gtwyresultccdataavsaddress' then GTWYRESULTCCDATAAVSADDRESS
  when 'gtwyresultccdatacvv' then GTWYRESULTCCDATACVV
  when 'gtwyresultccdataccexpiration' then GTWYRESULTCCDATACCEXPIRATION
  when 'gtwyresultccdataavs' then GTWYRESULTCCDATAAVS
  when 'gtwyresultccdatanumber' then GTWYRESULTCCDATANUMBER
  when 'gtwyresultccdatageneralproblem' then GTWYRESULTCCDATAGENERALPROBLEM
  when 'gtwyresultccdatainsufficientfunds' then GTWYRESULTCCDATAINSUFFICIENTFUNDS
  when 'gtwyresultccwasdeclined' then GTWYRESULTCCWASDECLINED
  when 'gtwyunauthorizedcredentials' then GTWYUNAUTHORIZEDCREDENTIALS
  when 'gtwyconnectivityproblem' then GTWYCONNECTIVITYPROBLEM
  when 'gtwymerchantdataproblem' then GTWYMERCHANTDATAPROBLEM
  when 'gtwyrequire3dauthentication' then GTWYREQUIRE3DAUTHENTICATION
  when 'activeinstallmentplansgtwerror' then ACTIVEINSTALLMENTPLANSGTWERROR
  when 'gtwy3dauthenticationfailed' then GTWY3DAUTHENTICATIONFAILED
  when 'gtwyfrauddetected' then GTWYFRAUDDETECTED
  when 'gtwyresultpickupcard' then GTWYRESULTPICKUPCARD
  when 'gtwyresultpintryexceeded' then GTWYRESULTPINTRYEXCEEDED
  when 'gtwyresultlostcard' then GTWYRESULTLOSTCARD
  when 'gtwyresultstolencard' then GTWYRESULTSTOLENCARD
  when 'gtwyresultclosedshopperaccount' then GTWYRESULTCLOSEDSHOPPERACCOUNT
  when 'gtwyresultrestrictedcard' then GTWYRESULTRESTRICTEDCARD
  when 'gtwiresultccwrongpin' then GTWIRESULTCCWRONGPIN
  when 'gtwresultccdeclinedcardnotsupported' then GTWRESULTCCDECLINEDCARDNOTSUPPORTED
  when 'gtwresultccdeclinedcurrencynotsupported' then GTWRESULTCCDECLINEDCURRENCYNOTSUPPORTED
  when 'gtwresultccdeclineddueamount' then GTWRESULTCCDECLINEDDUEAMOUNT
  when 'gtwresultccdeclinedduesecurityviolation' then GTWRESULTCCDECLINEDDUESECURITYVIOLATION
  when 'amountexceedsusurylimit' then AMOUNTEXCEEDSUSURYLIMIT
  when 'invalidcredentials' then INVALIDCREDENTIALS
  when 'userislocked' then USERISLOCKED
  when 'userislockeddueinactivity' then USERISLOCKEDDUEINACTIVITY
  when 'sessionnotvalid' then SESSIONNOTVALID
  when 'sessionexpired' then SESSIONEXPIRED
  when 'activitynotallowedforuser' then ACTIVITYNOTALLOWEDFORUSER
  when 'activityonmerchantnotallowedforuser' then ACTIVITYONMERCHANTNOTALLOWEDFORUSER
  when 'activityonterminalnotallowedforuser' then ACTIVITYONTERMINALNOTALLOWEDFORUSER
  when 'activityoninstallmentplannotallowedforuser' then ACTIVITYONINSTALLMENTPLANNOTALLOWEDFORUSER
  when 'tokennotfoundorexpired' then TOKENNOTFOUNDOREXPIRED
  when 'tokenalreadyused' then TOKENALREADYUSED
  when 'useroldpassrodisincorrect' then USEROLDPASSRODISINCORRECT
  when 'usernewpasswordalreadyused' then USERNEWPASSWORDALREADYUSED
  when 'useremailnotfound' then USEREMAILNOTFOUND
  when 'passwordexpired' then PASSWORDEXPIRED
  when 'touchpointnotfound' then TOUCHPOINTNOTFOUND
  when 'activitynotallowedforpublicsession' then ACTIVITYNOTALLOWEDFORPUBLICSESSION
  when 'userrelatestomorethansinglebusinessunit' then USERRELATESTOMORETHANSINGLEBUSINESSUNIT
  when 'invalidpasswordstrength' then INVALIDPASSWORDSTRENGTH
  when 'invalidrequestedstrategy' then INVALIDREQUESTEDSTRATEGY
  when 'rolenotallowedforuser' then ROLENOTALLOWEDFORUSER
  when 'usernamealreadyexists' then USERNAMEALREADYEXISTS
  when 'activitynotallowedforauthenticationtype' then ACTIVITYNOTALLOWEDFORAUTHENTICATIONTYPE
  when 'activitynotallowedduetoprivacyprotection' then ACTIVITYNOTALLOWEDDUETOPRIVACYPROTECTION
  when 'businessunitnotallowedforuser' then BUSINESSUNITNOTALLOWEDFORUSER
  when 'updatetodifferentbusinesspartyrolenotallowed' then UPDATETODIFFERENTBUSINESSPARTYROLENOTALLOWED
  when 'externalauthamountnotvalid' then EXTERNALAUTHAMOUNTNOTVALID
  when 'captchanotsuccessful' then CAPTCHANOTSUCCESSFUL
  when 'reportnotallowedforuser' then REPORTNOTALLOWEDFORUSER
  when 'phonetokeninvalidorexpired' then PHONETOKENINVALIDOREXPIRED
  when 'useremailhiddenbyexternalprovider' then USEREMAILHIDDENBYEXTERNALPROVIDER
  when 'invalidperiodrangevalues' then INVALIDPERIODRANGEVALUES
  when 'removedtransactioncurrencyisinusebyterminal' then REMOVEDTRANSACTIONCURRENCYISINUSEBYTERMINAL
  when 'removedtransactioncurrencyisinusebyaccountingcurrency' then REMOVEDTRANSACTIONCURRENCYISINUSEBYACCOUNTINGCURRENCY
  when 'invalidamountrangevalues' then INVALIDAMOUNTRANGEVALUES
  when 'emailcannotbeempty' then EMAILCANNOTBEEMPTY
  when 'countrynotsupported' then COUNTRYNOTSUPPORTED
  when 'terminalapikeymissing' then TERMINALAPIKEYMISSING
  when 'fullnamecannotbeempty' then FULLNAMECANNOTBEEMPTY
  when 'companynamecannotbeempty' then COMPANYNAMECANNOTBEEMPTY
  when 'invalidcompanyformat' then INVALIDCOMPANYFORMAT
  when 'invalidfullnameformat' then INVALIDFULLNAMEFORMAT
  when 'invalidstoreurl' then INVALIDSTOREURL
  when 'invalidcompanywebsite' then INVALIDCOMPANYWEBSITE
  when 'terminalprocessorismissing' then TERMINALPROCESSORISMISSING
  when 'nontransactionallowedtocreateterminal' then NONTRANSACTIONALLOWEDTOCREATETERMINAL
  when 'totalweightedvaluesnotequal100' then TOTALWEIGHTEDVALUESNOTEQUAL100
  when 'amountexceededmaxallowedforfundingoperation' then AMOUNTEXCEEDEDMAXALLOWEDFORFUNDINGOPERATION
  when 'fundedplanscannotbecanceledwithoutrefund' then FUNDEDPLANSCANNOTBECANCELEDWITHOUTREFUND
  when 'installmentscannotbeupdatedonfundedplanwithlowerplanamount' then INSTALLMENTSCANNOTBEUPDATEDONFUNDEDPLANWITHLOWERPLANAMOUNT
  when 'nofundingplaninfoforinstallmentplan' then NOFUNDINGPLANINFOFORINSTALLMENTPLAN
  when 'nofundingsetupforbusinessunit' then NOFUNDINGSETUPFORBUSINESSUNIT
  when 'merchantisnotfinancedyet' then MERCHANTISNOTFINANCEDYET
  when 'cannotchangefundingcollectionmethod' then CANNOTCHANGEFUNDINGCOLLECTIONMETHOD
  when 'salesforceoperationerror' then SALESFORCEOPERATIONERROR
  when 'maxretriesexceeded' then MAXRETRIESEXCEEDED
  when 'idempotencyhashmismatcherror' then IDEMPOTENCYHASHMISMATCHERROR
  when 'terminalnotsupportpaymenttoken' then TERMINALNOTSUPPORTPAYMENTTOKEN
  when 'additiontokenparamnotexist' then ADDITIONTOKENPARAMNOTEXIST
  when 'unabletoretrievecardfromtoken' then UNABLETORETRIEVECARDFROMTOKEN
  when 'processorsettingsnotenabled' then PROCESSORSETTINGSNOTENABLED
  when 'unabletoupdatedispute' then UNABLETOUPDATEDISPUTE
  when 'encryptionerror' then ENCRYPTIONERROR
  when 'decryptionerror' then DECRYPTIONERROR
  when 'multiplemessagingmeansprovided' then MULTIPLEMESSAGINGMEANSPROVIDED
  when 'nomessagingmeanswasprovided' then NOMESSAGINGMEANSWASPROVIDED
  when 'logocannotberemoved' then LOGOCANNOTBEREMOVED
  when 'planislockedforchanges' then PLANISLOCKEDFORCHANGES
  when 'cannotperfromactionduetoactivedelaydcharge' then CANNOTPERFROMACTIONDUETOACTIVEDELAYDCHARGE
  when 'externalinstallmentprovidererror' then EXTERNALINSTALLMENTPROVIDERERROR
  when 'cannotchangeamountwhenstatusisntinitialize' then CANNOTCHANGEAMOUNTWHENSTATUSISNTINITIALIZE
  when 'cannotchargebeforestartinstallments' then CANNOTCHARGEBEFORESTARTINSTALLMENTS
  when 'executioncancelled' then EXECUTIONCANCELLED
  when 'invalidplanstatus' then INVALIDPLANSTATUS
  when 'transactionroutenotfound' then TRANSACTIONROUTENOTFOUND
  when 'planhasmoreopenauthorizations' then PLANHASMOREOPENAUTHORIZATIONS
  when 'invalidrefordernumber' then INVALIDREFORDERNUMBER
  when 'startinstallmentsretryexceeded' then STARTINSTALLMENTSRETRYEXCEEDED
  when 'startinstallmentsretryloopalreadyexist' then STARTINSTALLMENTSRETRYLOOPALREADYEXIST
  when 'invalidinstallmentplanauthorizationstatus' then INVALIDINSTALLMENTPLANAUTHORIZATIONSTATUS
  when 'invalidcccardtypenotsupportedmorethanxinstallments' then INVALIDCCCARDTYPENOTSUPPORTEDMORETHANXINSTALLMENTS
  when 'invalidcccardtypenotsupportedmorethanxamount' then INVALIDCCCARDTYPENOTSUPPORTEDMORETHANXAMOUNT
  when 'invalidnumberofrequestedinstallments' then INVALIDNUMBEROFREQUESTEDINSTALLMENTS
  when 'cardupdatelimitbreached' then CARDUPDATELIMITBREACHED
  when 'cardupdatedeniedopendisputes' then CARDUPDATEDENIEDOPENDISPUTES
  when 'planamountexceedsalloweddecimalplaces' then PLANAMOUNTEXCEEDSALLOWEDDECIMALPLACES
  when 'shopperbalanceexceeded' then SHOPPERBALANCEEXCEEDED
  when 'invalidcardnumberlength' then INVALIDCARDNUMBERLENGTH
  when 'billingcountryisnotallowedformerchant' then BILLINGCOUNTRYISNOTALLOWEDFORMERCHANT
  when 'invalidcccardbrandnotsupportedmorethanxinstallments' then INVALIDCCCARDBRANDNOTSUPPORTEDMORETHANXINSTALLMENTS
  when 'invalidcccardbrandnotsupportedmorethanxamount' then INVALIDCCCARDBRANDNOTSUPPORTEDMORETHANXAMOUNT
  when 'refundnotallowedforchargebackplans' then REFUNDNOTALLOWEDFORCHARGEBACKPLANS
  when 'refundfailedplanalreadyrefunded' then REFUNDFAILEDPLANALREADYREFUNDED
  when 'emailnotverified' then EMAILNOTVERIFIED
  when 'invalidccprepaidcardnotsupportedmorethanxinstallments' then INVALIDCCPREPAIDCARDNOTSUPPORTEDMORETHANXINSTALLMENTS
  when 'invalidccprepaidcardnotsupportedmorethanxamount' then INVALIDCCPREPAIDCARDNOTSUPPORTEDMORETHANXAMOUNT
  when 'planverificationfailed' then PLANVERIFICATIONFAILED
  when 'paymenttokenizationnotenabled' then PAYMENTTOKENIZATIONNOTENABLED
  when 'invalidinternalurlsenttooms' then INVALIDINTERNALURLSENTTOOMS
  when 'issuerbinblacklisted' then ISSUERBINBLACKLISTED
  when 'merchantdormantaccount' then MERCHANTDORMANTACCOUNT
  when 'shopperdetailsblacklisted' then SHOPPERDETAILSBLACKLISTED
  when 'plancontextnotvalidfornumberofinstallments' then PLANCONTEXTNOTVALIDFORNUMBEROFINSTALLMENTS
  when 'plancontextnotvalidforamount' then PLANCONTEXTNOTVALIDFORAMOUNT
  when 'generaltimeouterror' then GENERALTIMEOUTERROR
  when 'cannotcancelcfplan' then CANNOTCANCELCFPLAN
  when 'issuerrefundexpired' then ISSUERREFUNDEXPIRED
  when 'updatecardnotallowedplanisnotactive' then UPDATECARDNOTALLOWEDPLANISNOTACTIVE
  when 'useremailalreadyexists' then USEREMAILALREADYEXISTS
  when 'usernotfound' then USERNOTFOUND
  when 'userhasnorolesassigned' then USERHASNOROLESASSIGNED
  when 'none' then NONE
  else
    default_value
  end
end

.validate(value) ⇒ Object



767
768
769
770
771
# File 'lib/splitit_web_api_v4/models/pis_error_codes.rb', line 767

def self.validate(value)
  return false if value.nil?

  PIS_ERROR_CODES.include?(value)
end