Class MCOFCBankIntegration
java.lang.Object
org.compiere.model.PO
org.brerp.bancosbrasileiros.model.X_COF_C_BankIntegration
org.brerp.bancosbrasileiros.model.MCOFCBankIntegration
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_COF_C_BankIntegration
,I_Persistent
,Evaluatee
Bank Integration model class
- Version:
- $Id: MCOFCBankIntegration.java, v1.0 23/09/2014 17:23:24, muriloht Exp $
- Author:
- muriloht (muriloht@devcoffee.com.br, http://www.devcoffee.com.br)
- See Also:
-
Field Summary
Fields inherited from class org.brerp.bancosbrasileiros.model.X_COF_C_BankIntegration
COF_ACCEPTANCE_AD_Reference_ID, COF_ACCEPTANCE_No, COF_ACCEPTANCE_Yes, COF_AMBIENTEPIX_Homologação, COF_AMBIENTEPIX_Produção, COF_BILLFOLDTYPE_CobrançaCaucionada, COF_BILLFOLDTYPE_CobrançaDescontada, COF_BILLFOLDTYPE_CobrançaRegistrada, COF_BILLFOLDTYPE_CobrançaSimples, COF_BILLFOLDTYPE_CobrançaVinculada, COF_BILLFOLDTYPE_Compror, COF_BILLFOLDTYPE_Vendor, COF_BILLKIND_AP, COF_BILLKIND_CédulaDeProdutoRural, COF_BILLKIND_CH, COF_BILLKIND_CotaCondominial, COF_BILLKIND_DD, COF_BILLKIND_DívidaAtivaDaUnião, COF_BILLKIND_DívidaAtivaDeEstado, COF_BILLKIND_DívidaAtivaDeMunicípio, COF_BILLKIND_DM, COF_BILLKIND_DMI, COF_BILLKIND_DR, COF_BILLKIND_DS, COF_BILLKIND_DSI, COF_BILLKIND_FAT, COF_BILLKIND_LC, COF_BILLKIND_ME, COF_BILLKIND_NCC, COF_BILLKIND_NCE, COF_BILLKIND_NCI, COF_BILLKIND_NCR, COF_BILLKIND_ND, COF_BILLKIND_NF, COF_BILLKIND_NP, COF_BILLKIND_NPR, COF_BILLKIND_NS, COF_BILLKIND_Outros, COF_BILLKIND_PC, COF_BILLKIND_RC, COF_BILLKIND_TM, COF_BILLKIND_TS, COF_BILLKIND_Warrant, COF_BILLTYPE_ComRegistro, COF_BILLTYPE_SemRegistro, COF_INTEGRACAOPIX_BancoDoBrasil, COF_INTEGRACAOPIX_Bradesco, COF_INTEGRACAOPIX_Itaú, COF_INTEGRACAOPIX_Santander, COF_INTEGRACAOPIX_Sicoob, COF_OPERATIONTYPE_Remessa, COF_OPERATIONTYPE_Retorno, RESPONSIBLETYPE_Role, RESPONSIBLETYPE_User
Fields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, LOCAL_TRX_PREFIX, log, p_ctx, p_info, UUID_NEW_RECORD, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
Fields inherited from interface org.brerp.bancosbrasileiros.model.I_COF_C_BankIntegration
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_Role_ID, COLUMNNAME_AD_User_ID, COLUMNNAME_C_BankAccount_ID, COLUMNNAME_C_DocType_ID, COLUMNNAME_Classname, COLUMNNAME_cof_Acceptance, COLUMNNAME_cof_AccountDigit, COLUMNNAME_cof_AccountNo, COLUMNNAME_cof_AgencyDigit, COLUMNNAME_cof_AgencyNo, COLUMNNAME_COF_AmbientePix, COLUMNNAME_cof_AutomaticSue, COLUMNNAME_COF_BankNumber, COLUMNNAME_cof_BillFold, COLUMNNAME_cof_BillFoldType, COLUMNNAME_cof_BillKind, COLUMNNAME_cof_BillType, COLUMNNAME_COF_Byte, COLUMNNAME_COF_C_BankIntegration_ID, COLUMNNAME_COF_C_BankIntegration_UU, COLUMNNAME_COF_C_BankOccurrence_ID, COLUMNNAME_COF_C_CNABConfig_ID, COLUMNNAME_COF_C_CNABConfigRet_ID, COLUMNNAME_cof_cedente_Nome, COLUMNNAME_cof_ClassParameter, COLUMNNAME_cof_ClientCode, COLUMNNAME_cof_CNABFileName, COLUMNNAME_cof_DaysPenalty, COLUMNNAME_cof_DocumentSequence_ID, COLUMNNAME_cof_FileSequence_ID, COLUMNNAME_cof_HasInterest, COLUMNNAME_cof_HasPenalty, COLUMNNAME_cof_Instruction1, COLUMNNAME_cof_Instruction2, COLUMNNAME_cof_Instruction3, COLUMNNAME_cof_Instruction4, COLUMNNAME_cof_Instruction5, COLUMNNAME_cof_Instruction6, COLUMNNAME_cof_Instruction7, COLUMNNAME_cof_Instruction8, COLUMNNAME_COF_IntegracaoPix, COLUMNNAME_cof_InterestAmt, COLUMNNAME_COF_IsEventoWebhookEnviado, COLUMNNAME_cof_isGenerateBilling, COLUMNNAME_cof_isGenerateCNAB, COLUMNNAME_COF_isGerarPIX, COLUMNNAME_COF_IsIntegracaoPixValida, COLUMNNAME_cof_OperationType, COLUMNNAME_cof_PaymentLocation, COLUMNNAME_cof_PDFFileName, COLUMNNAME_cof_PenaltyAmount, COLUMNNAME_cof_PenaltyRate, COLUMNNAME_COF_PIX_APP_KEY, COLUMNNAME_COF_PIX_CALLBACK_URL, COLUMNNAME_COF_PIX_Chave, COLUMNNAME_COF_PIX_CLIENT_SECRET, COLUMNNAME_COF_PIX_CLIENTID, COLUMNNAME_COF_PIX_EXPIRE, COLUMNNAME_COF_PIX_TOKEN, COLUMNNAME_cof_RequiresParameter, COLUMNNAME_cof_SueDays, COLUMNNAME_Comments, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_IsActive, COLUMNNAME_IsSOTrx, COLUMNNAME_LBR_DigitalCertificate_ID, COLUMNNAME_Name, COLUMNNAME_ResponsibleType, COLUMNNAME_T_Integer, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_User1_ID, COLUMNNAME_User2_ID, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionMCOFCBankIntegration
(Properties ctx, int COF_C_BankIntegration_ID, String trxName) MCOFCBankIntegration
(Properties ctx, int COF_C_BankIntegration_ID, String trxName, String... virtualColumns) MCOFCBankIntegration
(Properties ctx, String COF_C_BankIntegration_UU, String trxName) MCOFCBankIntegration
(Properties ctx, String COF_C_BankIntegration_UU, String trxName, String... virtualColumns) MCOFCBankIntegration
(Properties ctx, ResultSet rs, String trxName) -
Method Summary
Modifier and TypeMethodDescriptionstatic void
anexarQRCodePIX
(Integer COF_Titulo_ID, org.jrimum.bopepo.Boleto boleto, String trxName) Metodo responsavel por anexar qr code no boletocalculateInterestAmt
(BigDecimal dueAmt) static void
gerarPIX
(MCOFCBankIntegration integracaoBancaria, MCOFTitulo titulo, String trxName) Invoca processo criar cobranca PIXorg.brerp.bancosbrasileiros.model.ws.pix.PixIntegration
Retorna Integração PIXvoid
Methods inherited from class org.brerp.bancosbrasileiros.model.X_COF_C_BankIntegration
get_AccessLevel, getAD_Role, getAD_Role_ID, getAD_User, getAD_User_ID, getC_BankAccount, getC_BankAccount_ID, getC_DocType, getC_DocType_ID, getClassname, getcof_Acceptance, getcof_AccountDigit, getcof_AccountNo, getcof_AgencyDigit, getcof_AgencyNo, getCOF_AmbientePix, getCOF_BankNumber, getcof_BillFold, getcof_BillFoldType, getcof_BillKind, getcof_BillType, getCOF_Byte, getCOF_C_BankIntegration_ID, getCOF_C_BankIntegration_UU, getCOF_C_BankOccurrence, getCOF_C_BankOccurrence_ID, getCOF_C_CNABConfig, getCOF_C_CNABConfig_ID, getCOF_C_CNABConfigRet, getCOF_C_CNABConfigRet_ID, getcof_cedente_Nome, getcof_ClassParameter, getcof_ClientCode, getcof_CNABFileName, getcof_DaysPenalty, getcof_DocumentSequence, getcof_DocumentSequence_ID, getcof_FileSequence, getcof_FileSequence_ID, getcof_Instruction1, getcof_Instruction2, getcof_Instruction3, getcof_Instruction4, getcof_Instruction5, getcof_Instruction6, getcof_Instruction7, getcof_Instruction8, getCOF_IntegracaoPix, getcof_InterestAmt, getcof_OperationType, getcof_PaymentLocation, getcof_PDFFileName, getcof_PenaltyAmount, getcof_PenaltyRate, getCOF_PIX_APP_KEY, getCOF_PIX_CALLBACK_URL, getCOF_PIX_Chave, getCOF_PIX_CLIENT_SECRET, getCOF_PIX_CLIENTID, getCOF_PIX_EXPIRE, getCOF_PIX_TOKEN, getcof_SueDays, getComments, getLBR_DigitalCertificate_ID, getName, getResponsibleType, getT_Integer, getUser1, getUser1_ID, getUser2, getUser2_ID, initPO, iscof_AutomaticSue, iscof_HasInterest, iscof_HasPenalty, isCOF_IsEventoWebhookEnviado, iscof_isGenerateBilling, iscof_isGenerateCNAB, isCOF_isGerarPIX, isCOF_IsIntegracaoPixValida, iscof_RequiresParameter, isSOTrx, setAD_Role_ID, setAD_User_ID, setC_BankAccount_ID, setC_DocType_ID, setClassname, setcof_Acceptance, setcof_AccountDigit, setcof_AccountNo, setcof_AgencyDigit, setcof_AgencyNo, setCOF_AmbientePix, setcof_AutomaticSue, setCOF_BankNumber, setcof_BillFold, setcof_BillFoldType, setcof_BillKind, setcof_BillType, setCOF_Byte, setCOF_C_BankIntegration_ID, setCOF_C_BankIntegration_UU, setCOF_C_BankOccurrence_ID, setCOF_C_CNABConfig_ID, setCOF_C_CNABConfigRet_ID, setcof_cedente_Nome, setcof_ClassParameter, setcof_ClientCode, setcof_CNABFileName, setcof_DaysPenalty, setcof_DocumentSequence_ID, setcof_FileSequence_ID, setcof_HasInterest, setcof_HasPenalty, setcof_Instruction1, setcof_Instruction2, setcof_Instruction3, setcof_Instruction4, setcof_Instruction5, setcof_Instruction6, setcof_Instruction7, setcof_Instruction8, setCOF_IntegracaoPix, setcof_InterestAmt, setCOF_IsEventoWebhookEnviado, setcof_isGenerateBilling, setcof_isGenerateCNAB, setCOF_isGerarPIX, setCOF_IsIntegracaoPixValida, setcof_OperationType, setcof_PaymentLocation, setcof_PDFFileName, setcof_PenaltyAmount, setcof_PenaltyRate, setCOF_PIX_APP_KEY, setCOF_PIX_CALLBACK_URL, setCOF_PIX_Chave, setCOF_PIX_CLIENT_SECRET, setCOF_PIX_CLIENTID, setCOF_PIX_EXPIRE, setCOF_PIX_TOKEN, setcof_RequiresParameter, setcof_SueDays, setComments, setIsSOTrx, setLBR_DigitalCertificate_ID, setName, setResponsibleType, setT_Integer, setUser1_ID, setUser2_ID, toString
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, toInsertSQL, unlock, update_Tree, validForeignKeys
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
Methods inherited from interface org.brerp.bancosbrasileiros.model.I_COF_C_BankIntegration
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
Methods inherited from interface org.compiere.model.I_Persistent
save
-
Constructor Details
-
MCOFCBankIntegration
-
MCOFCBankIntegration
-
MCOFCBankIntegration
public MCOFCBankIntegration(Properties ctx, int COF_C_BankIntegration_ID, String trxName, String... virtualColumns) -
MCOFCBankIntegration
public MCOFCBankIntegration(Properties ctx, String COF_C_BankIntegration_UU, String trxName, String... virtualColumns) -
MCOFCBankIntegration
-
-
Method Details
-
getIntegracaoPIX
public org.brerp.bancosbrasileiros.model.ws.pix.PixIntegration getIntegracaoPIX()Retorna Integração PIX- Returns:
-
gerarPIX
public static void gerarPIX(MCOFCBankIntegration integracaoBancaria, MCOFTitulo titulo, String trxName) Invoca processo criar cobranca PIX- Parameters:
integracaoBancaria
-titulo
-trxName
-
-
anexarQRCodePIX
public static void anexarQRCodePIX(Integer COF_Titulo_ID, org.jrimum.bopepo.Boleto boleto, String trxName) Metodo responsavel por anexar qr code no boleto- Parameters:
COF_Titulo_ID
-boleto
-trxName
-
-
getBillingSequence
-
calculateInterestAmt
-
getCustomTemplates
- Returns:
- Template Padrão Anexado na Integração Bancária
-
verificarIntegracaoPIX
public void verificarIntegracaoPIX()
-