Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ACCEPT_STRING = "ACCEPT" REJECT_STRING = "REJECT" DENIED_STRING = "denied" FALSE_STRING = "false" ERROR_STRING = "res_err" SETTLEMENT_METHOD_DIGITAL_ASSET = "DA" SETTLEMENT_METHOD_DIGITAL_OBLIGATION = "DO" SETTLEMENT_METHOD_XLM = "XLM" KAFKA_ENABLE_SSL_TRUE = "true" KAFKA_ENABLE_SSL_FALSE = "false" KAFKA_SSL = "ssl" KAFKA_INITIAL_ERROR = "kafka consumer initial error" KAFKA_INITIAL_SUCCESS = "kafka consumer initial success" KAFKA_CONSUMER_RECONNECT = "kafka consumer reconnect to the broker" KAFKA_PRODUCE_ERROR = "encounter error while producing message to Kafka" SERVICE_LOG_TOPIC = "service_log" SERVICE_LOG_ACTION_SEND_OFI = "Send-OFI" SERVICE_LOG_ACTION_SEND_RFI = "Send-RFI" SERVICE_LOG_ACTION_REPLY_OFI = "Reply-OFI" SERVICE_LOG_ACTION_REPLY_RFI = "Reply-RFI" ENV_DEV_STRING = "dev" OK_STRING = "OK" TX_DONE = "DONE" EMPTY_STRING = "EMPTY" BIC_STRING = "BIC" UNKNOWN_STRING = "UNKNOWN" XLM_STRING = "XLM" DEFAULT_STRING = "default" LOW_THRESHOLD = uint32(1) MEDIUM_THRESHOLD = uint32(2) HIGH_THRESHOLD = uint32(3) MASTER_WEIGHT = uint32(2) WW_ADMIN_WEIGHT = uint32(1) SHA_WEIGHT = uint32(2) ISO20022 = "iso20022" ISO8385 = "iso8385" JSON = "json" MT = "mt" PACS008 = "pacs.008.001.07" PACS004 = "pacs.004.001.09" CAMT056 = "camt.056.001.08" CAMT026 = "camt.026.001.07" CAMT029 = "camt.029.001.09" IBWF001 = "ibwf.001.001.01" IBWF002 = "ibwf.002.001.01" PACS002 = "pacs.002.001.09" CAMT030 = "camt.030.001.05" PACS009 = "pacs.009.001.08" CAMT087 = "camt.087.001.06" SUPPORT_MESSAGE_TYPES = []string{PACS008, PACS004, CAMT056, CAMT029, IBWF001, IBWF002, PACS002, CAMT030, PACS009, PACS002, CAMT026, CAMT087} SUPPORT_CAMT_MESSAGES = []string{CAMT056, CAMT029, CAMT026, CAMT087} REQUEST = "REQUEST" RESPONSE = "RESPONSE" REDEEM = "REDEEM" WWBIC = "WORLDWIRE00" WWID = "WW" REASON_CODE_PAYMENT_CANCELLATION = 1000 REASON_CODE_RDO = 1001 DO_SETTLEMENT = "WWDO" DA_SETTLEMENT = "WWDA" XLM_SETTLEMENT = "XLM" WWCCY = "XXXXX" )
View Source
var ( DATABASE_STATUS_PENDING = "PENDING" DATABASE_STATUS_FAILED = "FAILED" DATABASE_STATUS_DONE = "DONE" DATABASE_STATUS_EMPTY = "EMPTY" DATABASE_STATUS_NONE = "NONE" DATABASE_STATUS_CXL_RJCT = "CXL_RJCT" DATABASE_UPDATE = "UPDATE" DATABASE_INIT = "INIT" DATABASE_STATUS_CLEARED = "CLEARED" DATABASE_STATUS_CANCEL_INIT = "CANCEL_INIT" DATABASE_STATUS_CANCELED = "CANCELED" DATABASE_STATUS_RDO_INIT = "RDO_INIT" DATABASE_STATUS_ASSET_REDEMPTION_INIT = "ASSET_REDEMPTION_INIT" DATABASE_STATUS_MODIFY_PAYMENT = "REQUEST_TO_MODIFY_PAYMENT" DATABASE_STATUS_SETTLED = "SETTLED" DATABASE_STATUS_UNABLE_TO_EXECUTE = "UNABLE_TO_EXECUTE" LOG_INIT = "init" LOG_UPDATE = "update_partial" ROLE_ANCHOR = "IS" ROLE_MARKET_MAKER = "MM" )
View Source
var ( STATUS_CODE_DEFAULT = 1000 STATUS_CODE_PARSE_FAIL = 1001 STATUS_CODE_REQ_VALIDATE_FAIL = 1002 STATUS_CODE_DECODE_FAIL = 1003 STATUS_CODE_REQUEST_CLOSE = 1004 STATUS_CODE_XML_VALIDATE_FAIL = 1005 STATUS_CODE_DUP_ID = 1006 STATUS_CODE_ALREADY_SETTLED = 1007 STATUS_CODE_RFI_OR_OFI_NOT_IN_WL = 1008 STATUS_CODE_OFI_NOT_IN_WL = 1009 STATUS_CODE_SIGN_PAYLOAD_FAIL = 1010 STATUS_CODE_INTERNAL_ERROR = 1011 STATUS_CODE_WRONG_ORIGINAL_INCONSISTENCE = 1012 STATUS_CODE_OFI_SIGNATURE_FAIL = 1013 STATUS_CODE_RFI_SIGNATURE_FAIL = 1014 STATUS_CODE_INTERNAL_ERROR_PARSE = 1015 STATUS_CODE_CALLBACK_FAIL = 1018 STATUS_CODE_WRONG_SETTLEMENT_METHOD = 1019 STATUS_CODE_ACCOUNT_NOT_EXIST = 1020 STATUS_CODE_WRONG_ACCOUNT_NAME = 1021 STATUS_CODE_WRONG_AUTHEN = 1022 STATUS_CODE_WRONG_AUTHOR = 1023 STATUS_CODE_WRONG_ID = 1024 STATUS_CODE_WRONG_FI = 1025 STATUS_CODE_JWT_FAIL = 1026 STATUS_CODE_BLOCKLIST = 1027 STATUS_CODE_WRONG_ASSET_ISSUER = 1028 STATUS_CODE_WRONG_ORIGINAL_ID = 1029 STATUS_CODE_WRONG_INSTRUCTION_ID = 1030 STATUS_CODE_WRONG_MSG_NAME_ID = 1031 STATUS_CODE_WRONG_RESPONSE_CODE = 1032 STATUS_CODE_WRONG_CCY = 1033 STATUS_CODE_MSG_TYPE_VALIDATE_FAIL = 1034 STATUS_CODE_INSUFFICIENT_AMOUNT = 1035 STATUS_CODE_OFI_SEND_TO_KAFKA = 1101 STATUS_CODE_RFI_SEND_TO_KAFKA = 1102 STATUS_CODE_TX_SEND_TO_STELLAR = 1103 STATUS_CODE_CXL_RES_SEND_TO_KAFKA = 1104 STATUS_CODE_RDO_REQ_SEND_TO_KAFKA = 1105 STATUS_CODE_FED_COMP_RJCT = 1201 STATUS_CODE_PAYMENT_CXL_RJCT = 1202 STATUS_CODE_SUBMIT_TO_KAFKA_FAIL = 1203 STATUS_CODE_UPDATE_FIREBASE_FAIL = 1204 STATUS_CODE_UNIDENTIFIED_REASON_CODE = 1205 STATUS_CODE_DO_INTERNAL_TRANSFER_ERROR = 1206 STATUS_CODE_EMPTY_ADDRESS = 1207 STATUS_CODE_WRONG_MSG_ID = 1208 STATUS_CODE_ORIGINAL_REQUEST_NOT_DONE = 1209 STATUS_CODE_ORIGINAL_REQUEST_NOT_INIT = 1210 STATUS_CODE_ASSET_REDEMPTION_RJCT = 1211 STATUS_CODE_REDEMPTION_AMOUNT_MISMATCH = 1212 STATUS_CODE_ALREADY_REPLIED = 1213 STATUS_CODE_UNABLE_TO_APPLY_NOT_INIT = 1214 )
View Source
var ( PAYMENT_STATUS_INITIAL = "INITIALIZED" PAYMENT_STATUS_VALIDATION_FAIL = "VALIDATION_FAIL" PAYMENT_STATUS_VALIDATION_SUCCESS = "VALIDATION_SUCCESS" PAYMENT_STATUS_FEDERATION_COMPLIANCE_SUCCESS = "FEDERATION_COMPLIANCE_SUCCESS" PAYMENT_STATUS_FEDERATION_COMPLIANCE_FAIL = "FEDERATION_COMPLIANCE_FAIL" PAYMENT_STATUS_CANCELLATION_ACCEPTED = "PAYMENT_CANCELLATION_ACCEPTED" PAYMENT_STATUS_CANCELLATION_REJECTED = "PAYMENT_CANCELLATION_REJECTED" PAYMENT_STATUS_RDO_INIT = "RDO_INITIALIZED" PAYMENT_STATUS_ASSET_REDEMPTION_INIT = "ASSET_REDEMPTION_INITIALIZED" PAYMENT_STATUS_CANCELLATION_INIT = "CANCELLATION_INITIALIZED" PAYMENT_STATUS_UNABLE_TO_APPLY = "UNABLE_TO_EXECUTE" PAYMENT_STATUS_MODIFY_PAYMENT = "REQUEST_TO_MODIFY_PAYMENT" PAYMENT_STATUS_RFI_VALIDATION_SUCCESS = "RFI_VALIDATION_SUCCESS" PAYMENT_STATUS_RFI_VALIDATION_FAIL = "RFI_VALIDATION_FAIL" PAYMENT_STATUS_OFI_VALIDATION_SUCCESS = "OFI_VALIDATION_SUCCESS" PAYMENT_STATUS_OFI_VALIDATION_FAIL = "OFI_VALIDATION_FAIL" PAYMENT_STATUS_RDO_FAIL = "RDO_FAIL" PAYMENT_STATUS_RDO_SUCCESS = "RDO_SUCCESS" PAYMENT_STATUS_SUBMIT_FAIL = "SUBMIT_FAIL" PAYMENT_STATUS_UPDATE_FIREBASE_FAIL = "UPDATE_FIREBASE_FAIL" PAYMENT_STATUS_CLEARED = "CLEARED" PAYMENT_STATUS_SETTLED = "SETTLED" PAYMENT_STATUS_RETURNED = "PAYMENT_RETURNED" PAYMENT_STATUS_REJECTED = "CANCELLATION_REJECTED" PAYMENT_STATUS_ACTC = "ACTC" PAYMENT_STATUS_RCVD = "RCVD" PAYMENT_STATUS_RJCT = "RJCT" PAYMENT_STATUS_CANC = "CANC" PAYMENT_STATUS_FTHI = "FTHI" PAYMENT_STATUS_RJCR = "RJCR" PAYMENT_TYPE_CANCELLATION = "cancellation" PAYMENT_TYPE_CREDIT_TRANSFER = "credit_transfer" PAYMENT_TYPE_ASSET_REDEMPTION = "asset_redemption" PAYMENT_TYPE_RDO = "digital_obligation_notification" PAYMENT_TYPE_EXCEPTION = "exception" PAYMENT_STATUS_RFI_PROCESSING = "RFI_PROCESSING" PAYMENT_STATUS_OFI_PROCESSING = "OFI_PROCESSING" PAYMENT_STATUS_FAILED = "FAILED" PAYMENT_STATUS_FED_COMP_SUCCESS = "FEDERATION_COMPLIANCE_ACCEPTED" PAYMENT_STATUS_FED_COMP_REJECT = "FEDERATION_COMPLIANCE_REJECTED" PAYMENT_STATUS_ASSET_REDEMPTION_REJECT = "ASSET_REDEMPTION_REJECTED" PAYMENT_STATUS_ASSET_REDEMPTION_ACCEPT = "ASSET_REDEMPTION_ACCEPTED" )
View Source
var ( PACS002_SUPPLEMENTARY_DATA_ISSUER = "/Message/FIToFIPmtStsRpt/TxInfAndSts/Issr" PACS002_SUPPLEMENTARY_DATA_ACCOUNT_ADDRESS = "/Message/FIToFIPmtStsRpt/TxInfAndSts/SttlmAcctAddr" PACS002_SUPPLEMENTARY_DATA_PAY_REFERENCE = "/Message/FIToFIPmtStsRpt/TxInfAndSts/PayToRef" )
View Source
var ( PACS009_SUPPLEMENTARY_DATA_BANK_NAME = "/Message/CdtTrfTxInf/DepositDetails/BankName" PACS009_SUPPLEMENTARY_DATA_BRANCH = "/Message/CdtTrfTxInf/DepositDetails/Branch" PACS009_SUPPLEMENTARY_DATA_PAYMENT_METHOD = "/Message/CdtTrfTxInf/DepositDetails/PaymentMethod" PACS009_SUPPLEMENTARY_DATA_ACCOUNT_NUMBER = "/Message/CdtTrfTxInf/DepositDetails/AccountNumber" PACS009_SUPPLEMENTARY_DATA_ACCOUNT_TYPE = "/Message/CdtTrfTxInf/DepositDetails/AccountType" )
View Source
var (
POSTGRESQL_ERROR_CODE_DUPLICATE_ID = "23505"
)
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.