diff --git a/Concrete/integrityData b/Concrete/integrityData index 4ab085cb..b43b0cb3 100644 --- a/Concrete/integrityData +++ b/Concrete/integrityData @@ -1 +1 @@ -{"Api\/BaseRequestDataProviderInterface.php":"a3fdc44584c2ebea97041c464a4b3537","Api\/BilletCreditCardRequestDataProviderInterface.php":"acd369021f7ca56acf812c5127455ab4","Api\/BilletRequestDataProviderInterface.php":"f2adc2feeeab796f2f8ea3af6df5f0d9","Api\/CardsRepositoryInterface.php":"1391d4314aca2b474d5ac2d54d83b180","Api\/CartItemRequestDataProviderInterface.php":"efeec6d8d81b4e16bdba05cd019eb416","Api\/ChargesRepositoryInterface.php":"6dc223249c0f43dcd6f79bb21a51063a","Api\/CreditCardRequestDataProviderInterface.php":"8985d5d269d7a06532bf0a10e553e255","Api\/CustomerCreateManagementInterface.php":"5129813fd2dd0a690e8822db4be501aa","Api\/Data\/CardsInterface.php":"278f719fc6c042300e6a2156f7e76c07","Api\/Data\/CardsSearchResultsInterface.php":"d4bc9e79bc5c176791f15752e6e2b0c2","Api\/Data\/ChargesInterface.php":"8f1bd48765186084b0ea219ed4ddc490","Api\/Data\/ChargesSearchResultsInterface.php":"4b5786b4e0db410af8fe3690c3ac6920","Api\/Data\/InstallmentInterface.php":"4a1ff2a051f0a4f611c6a47c7aff3ed9","Api\/InstallmentsByBrandAndAmountManagementInterface.php":"34531e74f83f9f44d00ffb304f6b04b1","Api\/InstallmentsByBrandManagementInterface.php":"3938666296af2dcb07fac5fc602c349b","Api\/InstallmentsManagementInterface.php":"d66755cd2956a66312fa7edd4d35af96","Api\/InvoiceApiInterface.php":"8e3be8ee5fa24c362a5e3c02dd8a3aef","Api\/MaintenanceInterface.php":"7ff4300a43ae35961b52aebea5918b90","Api\/ObjectMapper\/ProductPlan\/ProductPlanMapperInterface.php":"f781bc611a8cab4a06e4ac773a650724","Api\/ObjectMapper\/ProductPlan\/SubProduct.php":"0038aaada32f85f1daa0577150e9983b","Api\/ObjectMapper\/ProductSubscription\/ProductSubscriptionMapperInterface.php":"f336ade7fbee4ca9404503903a6be705","Api\/ObjectMapper\/ProductSubscription\/RepetitionInterface.php":"1fe05b5e8ccdedaf85961ddaddbcb244","Api\/PixRequestDataProviderInterface.php":"f0f072fa2248af27f6c0e67b45a7b0e6","Api\/ProductPlanApiInterface.php":"840615ebcbaf6b90428bd49b508ac48b","Api\/ProductPlanInterface.php":"b230677fce0a196d1730a9984a1a1bfc","Api\/ProductSubscriptionApiInterface.php":"d43c0078b32274426cc4b4eb7fe2dc06","Api\/ProductSubscriptionInterface.php":"fc195b0e01e2b21b70643fed2fbdc755","Api\/SubscriptionApiInterface.php":"5eab18115c3f96fbaa7e0b83ca8b5a40","Api\/TwoCreditCardRequestDataProviderInterface.php":"d85968ced59736de93a023412f7d8d29","Api\/WebhookManagementInterface.php":"3e34391f524ad9e8f57cf48719959258","Block\/Adminhtml\/Customer\/Cards.php":"493ca9983db5f2837904d43d14b7ab26","Block\/Adminhtml\/Form\/Field\/ModuleVersion.php":"4a2ee8c2a2bfcc749ad5c11518857a81","Block\/Adminhtml\/Order\/Charge\/Tab\/View.php":"5a67843f461c700431ca4e26c2e5c15f","Block\/Adminhtml\/Recurrence\/Plans\/Plan.php":"b5ec57237da588e2e1ba38a9322b4ba4","Block\/Adminhtml\/Recurrence\/Subscriptions\/Subscription.php":"4debcd4df946d280b7ddc4548b06d079","Block\/Adminhtml\/System\/Config\/Fieldset\/CycleDiscount.php":"5caf4c22a4b4caf4cef9d58e632467d9","Block\/Adminhtml\/System\/Config\/Fieldset\/Group.php":"ff9b429c07c1b2dc59a1d9cf906221a6","Block\/Adminhtml\/System\/Config\/Fieldset\/Payment.php":"0acb1bb8166117c3c8197d85d8a93248","Block\/Customer\/Cards.php":"05498783fe43a9bd54a7129b237496ce","Block\/Customer\/Invoice.php":"4b825454ed14b183341a3d827cb62c52","Block\/Customer\/Subscription.php":"f03586f9e6404132b4340e67292eaec2","Block\/Form.php":"c752d4bf9dbbd1ca49e4d9ec381c4cec","Block\/Payment\/Billet.php":"bce33f8374632ed23684583a45095f00","Block\/Payment\/Info\/Billet.php":"6e58b04ee960922c85492139b27e0ecb","Block\/Payment\/Info\/BilletCreditCard.php":"5461896d31e978425cf3f24d76830851","Block\/Payment\/Info\/CreditCard.php":"5020455e238e649e1cd74ce856885628","Block\/Payment\/Info\/Debit.php":"ec3987d4cebee7ed7b1385d02c786d70","Block\/Payment\/Info\/Pix.php":"6e87e8e98b9e25bdd1db5752baf40252","Block\/Payment\/Info\/TwoCreditCard.php":"ec8bd7d939d46f2cb8067745b351e0cb","Block\/Payment\/Info\/Voucher.php":"5751aca84267178db0981a9a7d42f792","Block\/Payment\/Pix.php":"8ab558b48d650b527f199753b28f428e","Concrete\/Magento2CoreSetup.php":"d96dab32452fb81c05cdb0b0bd1dc9a4","Concrete\/Magento2DataService.php":"8592acfad796484bd5efa608392b7077","Concrete\/Magento2DatabaseDecorator.php":"edc1343e4e69e044737e1e1178ed23f6","Concrete\/Magento2PlatformCreditmemoDecorator.php":"84296416830d48cb261679739c670d29","Concrete\/Magento2PlatformCustomerDecorator.php":"c85ecede6f6859957648ac2cad941dea","Concrete\/Magento2PlatformInvoiceDecorator.php":"6c40be51cd279f1ddd58ca045194bed4","Concrete\/Magento2PlatformOrderDecorator.php":"3ccc8481c1f02abc5f1ab43dbcbdc405","Concrete\/Magento2PlatformPaymentMethodDecorator.php":"a72a24793c4c21508b04a045b7330867","Concrete\/Magento2PlatformProductDecorator.php":"29b51ba3ea4ceed3f617e6234af04f31","Concrete\/Magento2SavedCardAdapter.php":"a4a6464ebad93a7e9138cf24344ea32f","Controller\/Adminhtml\/Cards\/Index.php":"c689df20170615d8579cab25cfe624c1","Controller\/Adminhtml\/Charges\/Cancel.php":"43e361f5914beb812ab4fc1748761016","Controller\/Adminhtml\/Charges\/Capture.php":"2b8f476a2b7cd108d08618a0baaa408e","Controller\/Adminhtml\/Charges\/ChargeAction.php":"a4952c13398df76981ae5bd49d32d38d","Controller\/Adminhtml\/Charges\/Index.php":"e756bb11bed78f0822efa4f0fd61b989","Controller\/Adminhtml\/Invoices\/Delete.php":"3f1c6775fe792e4a98f2bb755b32f2ec","Controller\/Adminhtml\/Invoices\/Index.php":"aa39d70426b48bc7d20a456aa5386e69","Controller\/Adminhtml\/Plans\/Create.php":"14fee92d203bc659a3f0803151d9ead8","Controller\/Adminhtml\/Plans\/Delete.php":"0ec4fea5b106f8f217e5dd905846ef69","Controller\/Adminhtml\/Plans\/Index.php":"b3e21cc56a32669a8043854d4b3d36fd","Controller\/Adminhtml\/Plans\/SearchProduct.php":"27df04304ae4ee385bdc9172b4ffdba3","Controller\/Adminhtml\/RecurrenceProducts\/Create.php":"f9487f6b907fcfb84a240d731fc9d3a3","Controller\/Adminhtml\/RecurrenceProducts\/Delete.php":"64895404eb98ad9857782e4fbb085790","Controller\/Adminhtml\/RecurrenceProducts\/Index.php":"864744d5ffedfe584d27dfeeb7cbd8b1","Controller\/Adminhtml\/Subscriptions\/Delete.php":"b740c07a33e31b9b8e015524a95952d1","Controller\/Adminhtml\/Subscriptions\/Details.php":"b22306c13d19a7bd0e92a02eccf560da","Controller\/Adminhtml\/Subscriptions\/Index.php":"c8a84b21345f459b89afa4afc025745b","Controller\/Customer\/Cards.php":"a839d3a6a4b8970b43426e449a38ffc6","Controller\/Customer\/Invoice.php":"439f667282053ee11a03265dddd713aa","Controller\/Customer\/Remove.php":"52c9076bd86ac59b3fb963465b198e1d","Controller\/Customer\/Subscription.php":"e3469ecb1ecd2206233f05b8968637ce","Gateway\/Transaction\/Base\/Command\/AbstractApiCommand.php":"dbcfefb25d2bee7fb1a1cf05a1ea1501","Gateway\/Transaction\/Base\/Command\/InitializeCommand.php":"c6bca86e2e452a11206196b5fe0837fa","Gateway\/Transaction\/Base\/Config\/AbstractConfig.php":"03ec8f382c525e4937c5e67d62f47235","Gateway\/Transaction\/Base\/Config\/Config.php":"8496318879c263ef0083c5bd7d19bc00","Gateway\/Transaction\/Base\/Config\/ConfigInterface.php":"dd68b090d0610a632e318b15bc8cbd11","Gateway\/Transaction\/Base\/ResourceGateway\/AbstractRequestDataProvider.php":"e46066a53bff34e964bef28d27a98cb4","Gateway\/Transaction\/Base\/ResourceGateway\/CartItemRequestDataProvider.php":"08f65fc67a1569f45ac75e0284c4f16d","Gateway\/Transaction\/Base\/ResourceGateway\/Response\/AbstractHandler.php":"8347ed2c90c35443a6dfc284719c86bc","Gateway\/Transaction\/Base\/ResourceGateway\/Response\/AbstractValidator.php":"e66941ef701125b68b4fe8f14d3dbbd6","Gateway\/Transaction\/Billet\/Command\/AuthorizeCommand.php":"d64c0d2613bb1722d4b1173648f424a8","Gateway\/Transaction\/Billet\/Config\/Config.php":"ddef33e39170023842f01878f29fbad7","Gateway\/Transaction\/Billet\/Config\/ConfigInterface.php":"284234453377a178bcf320589fd7322b","Gateway\/Transaction\/Billet\/ResourceGateway\/Create\/RequestDataProvider.php":"126b622ca5c073a418c7819c5237751f","Gateway\/Transaction\/Billet\/ResourceGateway\/Create\/Response\/Validator.php":"a790d7459fd2737802e441a2abd86f12","Gateway\/Transaction\/BilletCreditCard\/Command\/AuthorizeCommand.php":"b0c951990b07121936a570d7fc90811b","Gateway\/Transaction\/BilletCreditCard\/Command\/CaptureCommand.php":"75647754dc381088aa0215fc55f73a7c","Gateway\/Transaction\/BilletCreditCard\/Command\/RefundCommand.php":"a087df263d5c121cb65174dfa0230e4a","Gateway\/Transaction\/BilletCreditCard\/Config\/Config.php":"60d8679b7df40a617dbe6e49f37a059f","Gateway\/Transaction\/BilletCreditCard\/Config\/ConfigInterface.php":"c2786da1bfc8daf6288404dcb8d7863d","Gateway\/Transaction\/BilletCreditCard\/ResourceGateway\/Capture\/Response\/Validator.php":"2a1a3d32c136235c0ad1a0e49f2768f2","Gateway\/Transaction\/BilletCreditCard\/ResourceGateway\/Create\/RequestDataProvider.php":"3f4379b5a7ebff6026fa8b8fc48af0ee","Gateway\/Transaction\/BilletCreditCard\/ResourceGateway\/Create\/Response\/Validator.php":"ab559ae31a175e66708919cdf9868f18","Gateway\/Transaction\/BilletCreditCard\/ResourceGateway\/Refund\/Response\/Validator.php":"4519598e553001a1a6ac0968b136250c","Gateway\/Transaction\/CreditCard\/Command\/AuthorizeCommand.php":"040f21a1ff363be6ef1075d81bbdf13c","Gateway\/Transaction\/CreditCard\/Command\/CaptureCommand.php":"725a509ad624be59fa78cb8d4f6ebcd4","Gateway\/Transaction\/CreditCard\/Command\/RefundCommand.php":"db4dd625e44679a6c3d4accbf1911444","Gateway\/Transaction\/CreditCard\/Config\/Config.php":"b93df339fa30033fa188b28b95a1871b","Gateway\/Transaction\/CreditCard\/Config\/ConfigInterface.php":"93f08c285b8300c86709808da97f0aec","Gateway\/Transaction\/CreditCard\/ResourceGateway\/Capture\/Response\/GeneralHandler.php":"2dd81d817c3cf3271beac1736f8e57cd","Gateway\/Transaction\/CreditCard\/ResourceGateway\/Capture\/Response\/Validator.php":"2cc693bd44c49a59e2cd10239f4bcd8b","Gateway\/Transaction\/CreditCard\/ResourceGateway\/Create\/RequestDataProvider.php":"0a08490321ab1e4950266726a94eee67","Gateway\/Transaction\/CreditCard\/ResourceGateway\/Create\/Response\/Validator.php":"1be04e105120b30e7dd835b0ca554b9b","Gateway\/Transaction\/CreditCard\/ResourceGateway\/Refund\/Response\/GeneralHandler.php":"cf1aeb148bb53488aff4d49fc120def6","Gateway\/Transaction\/CreditCard\/ResourceGateway\/Refund\/Response\/Validator.php":"e070f0fcf345925ccd9b193811567d97","Gateway\/Transaction\/TwoCreditCard\/Command\/AuthorizeCommand.php":"984d76eec10d644f6a02c312cadc2a5f","Gateway\/Transaction\/TwoCreditCard\/Command\/CaptureCommand.php":"3b17314ffb9ac796f3c1f27f25b85d96","Gateway\/Transaction\/TwoCreditCard\/Command\/RefundCommand.php":"e480ee822cc2db5aaa54c9a372f297f7","Gateway\/Transaction\/TwoCreditCard\/Config\/Config.php":"3b1be172e32efba7a7371f8d88d932a1","Gateway\/Transaction\/TwoCreditCard\/Config\/ConfigInterface.php":"367e736bab8a6b332304bd133cbe5e9c","Gateway\/Transaction\/TwoCreditCard\/ResourceGateway\/Capture\/Response\/Validator.php":"883123c0460b4efaf0f1f0a261a06fb2","Gateway\/Transaction\/TwoCreditCard\/ResourceGateway\/Create\/RequestDataProvider.php":"ea77649a47f20199c42419e751b131d7","Gateway\/Transaction\/TwoCreditCard\/ResourceGateway\/Create\/Response\/Validator.php":"96c1f002dab776c020c3cd471fcc1d37","Gateway\/Transaction\/TwoCreditCard\/ResourceGateway\/Refund\/Response\/Validator.php":"773b4107526a09446a9f58e5914afb33","Helper\/AbstractHelper.php":"87da1986967f4da6320f236c308d4702","Helper\/Adminhtml\/CheckoutHelper.php":"89795745cfea527d98523e690dcb7357","Helper\/BuildChargeAddtionalInformationHelper.php":"23dc867ab38379d720952b00c6afc970","Helper\/Cards\/CreateCard.php":"7bec2850d5b095616d0df1bba58a3109","Helper\/CustomerAddress.php":"3f6f0ee15cddd895dfb6cb177e24186f","Helper\/CustomerAddressInterface.php":"9f723dd31eb76ad70bb7b8659fc1a120","Helper\/CustomerCustomAttributesHelper.php":"88ae2860bc8b03c9bb660a33ec0315e1","Helper\/CustomerUpdatePagarmeHelper.php":"a84df51bcb9d009f757935bd072e6f82","Helper\/ModuleHelper.php":"61e03e3dab3584ea4bf2e732446532c5","Helper\/Product\/Configuration\/Plugin\/Plan.php":"35dab5fd3303f06f53f46648b78335cd","Helper\/ProductHelper.php":"fd89d994c4c9eea6b268a4c81d7d4408","Helper\/ProductPlanHelper.php":"f28a1083b7a89cb74eadf75b16790f83","Helper\/ProductSubscriptionHelper.php":"3740b5f72361e373cf2ad98f36708f89","Helper\/RecurrenceProductHelper.php":"ed7620351551a071fdc3e8ecd8b6cf9d","Helper\/RulesCartRun.php":"014121cb07969350f804511dd8edfff0","Model\/AbstractInstallmentManagement.php":"dec788dd12cfc0552e9b4c6ac7ddb8a5","Model\/Api\/Invoice.php":"1a1342f81c7b14927da07eb0a7cc69fb","Model\/Api\/ProductsPlan.php":"53077cd222b5a5c8ac9059e150ba3e3a","Model\/Api\/ProductsSubscription.php":"1e72e02b03a0e2ed633600d6a6af66cd","Model\/Api\/Subscription.php":"2f90dff449aa2de15b2ac92a22d71f1a","Model\/Cards.php":"3cb39fc5ec17e1acbcea1928764b92a1","Model\/CardsRepository.php":"47ef94d35b20e9be75f5d7d17d0f3b2c","Model\/Cart\/CartConflict.php":"773d019a49b7f5c6a02bf2a168adcf2e","Model\/Charges.php":"6c2e6707c6bce66dd9d27c2a0c8ee42e","Model\/ChargesRepository.php":"dbc4fdaf2ad341a19941960220a1534b","Model\/Enum\/BankEnum.php":"0d7cd40e69d010f77dce11873a99b7cf","Model\/Enum\/CountryEnum.php":"25d3f3c2118013907874e3c2036fb20e","Model\/Enum\/CreditCardBrandEnum.php":"38046790649e063c50ad9b17c0687d76","Model\/Enum\/CreditCardOperationEnum.php":"386977a6dd579aaddbd7fe70ea7fd035","Model\/Enum\/DocumentTypeEnum.php":"5ad9cddbf736b0f13624f91bc866a21f","Model\/Enum\/PersonTypeEnum.php":"fc4d5759d05eb76b71def40d1f9f1fbe","Model\/Installment.php":"b875fe5acf098abc33b0e514794b6edf","Model\/Installments\/Builder.php":"3d2f6841b92e242d16a7b1690899beab","Model\/Installments\/BuilderByBrand.php":"b11fff0e54eef9c5385501b8cb1af306","Model\/Installments\/BuilderByBrandAndAmount.php":"94d196934237932b7929b4e676f2fcac","Model\/Installments\/Config\/Config.php":"b6aa518a72efea846a992a57d409e61f","Model\/Installments\/Config\/ConfigByBrand.php":"dc6c1a80a6bf613a31b0f710d16caa9f","Model\/Installments\/Config\/ConfigByBrandInterface.php":"4c454389f5a6039fa01a3b5ff6a6c69f","Model\/Installments\/Config\/ConfigInterface.php":"be24d358d670ab7e1bda8e588b7f8d47","Model\/InstallmentsByBrandAndAmountManagement.php":"e3bce81ff7ca0c4de175ac0ad70d65f7","Model\/InstallmentsByBrandManagement.php":"d33667cfd3e11ac99d6b442175f288a3","Model\/InstallmentsManagement.php":"15539ea3b27d4c97588ba45474d2bc7a","Model\/Invoices.php":"d83b3c9c8e3eb84d05f547d0d657b8d1","Model\/Maintenance.php":"23da98c3350d19b04068ca0b4b3300b6","Model\/PagarmeConfigProvider.php":"17f1724de27b8973bda777efd3fd67ee","Model\/Payment.php":"ae773cf6b9f404ed94557c383fe5da48","Model\/Product\/OnlyPlanItem.php":"d26a338455cba312992e7657c75aa64e","Model\/Product\/ProductPlan\/Cart\/Configuration\/Plugin\/Plan.php":"09e7b687f211ca72a3644b51527a7e95","Model\/Product\/ProductPlan\/CopyConstructor\/Plan.php":"63309836bf27c8bc645613d246ed4517","Model\/Product\/ProductPlan\/Initialization\/Helper\/ProductLinks\/Plugin\/Plan.php":"adfa6b11bcc6f0d8fe8ac95b605bf766","Model\/Product\/ProductPlan\/Plan.php":"11173e45b24a8752a82fc744a565fdc4","Model\/Product\/ProductPlan\/Type\/Plugin.php":"36eb6e2505a87210ec6f496a4fcb3ca2","Model\/Product\/Recurrence.php":"e460c4707d593b0cd74919cc35a3d8b1","Model\/ProductsPlan.php":"c3a552eed0db0e7c17f4ea1f574b3318","Model\/ProductsSubscription.php":"e57ac629a4b527b4b4c15cf40ddc071f","Model\/ResourceModel\/Cards\/Collection.php":"0be875c656b22f1ec917bffb623ce3b7","Model\/ResourceModel\/Cards.php":"684dceb44bc9dda259dfeaf39ffde27c","Model\/ResourceModel\/Charges\/Collection.php":"7d869d192399534fb9cb197aa39ac497","Model\/ResourceModel\/Charges.php":"673e8ccf2bbebafb3b6cc3fdbe0c66af","Model\/ResourceModel\/Invoices\/Collection.php":"b763a7a6ee29052506cfe8c5bd01a9f5","Model\/ResourceModel\/Invoices.php":"1298438e5f6a4b5aabeb446537411e64","Model\/ResourceModel\/ProductsPlan\/Collection.php":"574d01bc0649be59315bb85e8868cdc4","Model\/ResourceModel\/ProductsPlan.php":"f490678d47f15e4ae81de36d3a521f60","Model\/ResourceModel\/ProductsSubscription\/Collection.php":"a4b9cb0aeff628b152d25e70370c10c2","Model\/ResourceModel\/ProductsSubscription.php":"c1cd11095b04daa12714f94340efbc7f","Model\/ResourceModel\/Subscriptions\/Collection.php":"372e7614c94b01a8e68d2239dc5fae03","Model\/ResourceModel\/Subscriptions.php":"d631d391c5dd4326d9f996231b53d55c","Model\/Sales\/AdminOrder\/Product\/Quote\/Plugin\/Initializer.php":"077864471bcaaec2bfce38175c9f0af3","Model\/Source\/Bank.php":"9821cc9081a8bd0871e74fc669ee3b54","Model\/Source\/BilletTypes.php":"9762f11fbe5c925972ccb576a8f0a1e2","Model\/Source\/Billing.php":"1c577ac30681c772053f866d42ccb304","Model\/Source\/Cctype.php":"cbd8884b0d8e253cf9f342b4fe7a01b4","Model\/Source\/Debittype.php":"0cd3b277246d78a34851dededa5b7bf2","Model\/Source\/EavBillingType.php":"8c16b9513a53632036a4e8284a219ea2","Model\/Source\/EavInterval.php":"63e7a4c590c5b1920e8e2a9f10c6e0a1","Model\/Source\/EavPaymentMethods.php":"d35400de85bb40afed107785627dd28c","Model\/Source\/Interval.php":"e3f2e56a5ba4ba1862257bcfba3ac21c","Model\/Source\/PaymentAction.php":"8ab3e1337bb5ac2b1be2ddf13a26069a","Model\/Source\/PaymentMethods.php":"3da04d9c68692a4c25f722829da72705","Model\/Source\/PixTypes.php":"3d38fd2775c0c6a82b1f1c8c0ef5de9f","Model\/Source\/Sequence.php":"ab4170daf783d46b92c8dc3df071983c","Model\/Source\/SequenceCriteria.php":"123d2be23a33d0ec30d945411a399301","Model\/Source\/Status\/NewPending.php":"54318ca544e367e7eee8fe482313eb8e","Model\/Source\/Status\/Review.php":"8fc5f78aed2f58e0a2aa7b0819710031","Model\/Source\/Vouchertype.php":"b95ad2c6132bec030b54f6382f29559b","Model\/Subscriptions.php":"cf3e708798910261b1b6b2936eb487c4","Model\/Validation\/GenericValidation.php":"f0444865f1ec6ff1a299c8c49e70e40b","Model\/WebhookManagement.php":"431d81028f39564e2ea607aa1eb8771e","Observer\/AdminCustomerBeforeSave.php":"1a4a81ecf243374e16e07abf479ead8a","Observer\/BilletCreditCardDataAssignObserver.php":"2579d352081764e48c9614742d2d1add","Observer\/BilletDataAssignObserver.php":"af0e85f1d40b64fd109678e6d71f6ffd","Observer\/CartAddProductAfterObserver.php":"32d7eb39aa17937042232c69f46f7efa","Observer\/CreditCardDataAssignObserver.php":"ad9e573e5e75ca0fdee511cff135f349","Observer\/CreditCardOrderPlaceBeforeObserver.php":"8228c7b9a3c281dad892f5de3b2c2bc8","Observer\/CustomerAddressSaveBefore.php":"273b4db38b6439abbc59a2bad75cde4b","Observer\/DataValidateAdmin.php":"247169277be0a1313e449d099badced4","Observer\/DebitDataAssignObserver.php":"8c30cdda92900b5c9ea98d6650da4283","Observer\/OrderCancelAfter.php":"56adf6a468e341d0f409eb7733657cd8","Observer\/OrderPlaceBeforeObserver.php":"bd48ef3108625b4f91f0896281c4afe5","Observer\/PaymentMethodAvailable.php":"83c06458f2272ee26624bf6a80db69ce","Observer\/PixDataAssignObserver.php":"e3eddda7d20cd6eb8b0894fb543f492a","Observer\/SalesOrderPlaceAfter.php":"c2c1b8c4011ad79cbb78fed7fa719b65","Observer\/TwoCreditCardDataAssignObserver.php":"b3a052072b2c1436da3d036fe6b300d6","Observer\/UpdateProductPlanObserver.php":"ef8f5f5121c4745f95bd3a0a04cd9330","Observer\/VoucherDataAssignObserver.php":"a84415ddfa1f1dff23e82972c4f5ff50","Plugin\/Admin\/CustomerPlugin.php":"0e36a10a67a142c6f0c4b08eb7cb6ecf","Plugin\/Princing\/Render\/FinalPricePlugin.php":"0a620ccd42c351221810afcc3517b410","Plugin\/Webapi\/RestResponse\/JsonPlugin.php":"490703f70a11551c9176bb3d9fdc9af2","Setup\/InstallData.php":"db4b3b197fba8682516e91c0926e2575","Setup\/InstallSchema.php":"80352d6eb1ae6033b306d2eab6926248","Setup\/Recurrence.php":"5ff8fdd8678244b7992711671c9b6d3d","Setup\/UpgradeData.php":"538f454310d2cb839e6af1e0b112a1ac","Setup\/UpgradeSchema.php":"0ee6bcf6d2cf4edb258c0373ae9e020f","Test\/.gitignore":"ba12e4bb11bf03f72b5fca4598676180","Test\/Unit\/bootstrap.php":"31c2829c5f68634e4dd4eba2bd6e0697","Ui\/Component\/Column\/Actions.php":"ab278b043ce22ec5e7b07d8a63be5330","Ui\/Component\/Column\/Invoices\/Actions.php":"d3574046bcd7b16052c10299be8e57bb","Ui\/Component\/Column\/Invoices\/Boleto.php":"16bc8640d8ba77e2c5b5477a9dd9587f","Ui\/Component\/Column\/Subscriptions\/Actions.php":"d55878fd3a5234e79e606fece8daf9a6","Ui\/Component\/Listing\/Column\/BrazilCurrency.php":"e58024dad7dd7043f7691105bef22e4d","Ui\/Component\/Listing\/Column\/Translate.php":"67578d6182b6a674e02fc7c80e9aa27d","Ui\/Component\/Recurrence\/Column\/CreatedAt.php":"e54fa620a5e651285becaf3156b9b20c","Ui\/Component\/Recurrence\/Column\/CustomerName.php":"5fdae5b4a665e0352d4a61e861fd4f75","Ui\/Component\/Recurrence\/Column\/Interval.php":"a52697dfbd4d619987fc8c7936c7ca79","Ui\/Component\/Recurrence\/Column\/PaymentMethodColumn.php":"759629abb7d0b49c740d1d6d8e1dbf20","Ui\/Component\/Recurrence\/Column\/ProductRecurrenceName.php":"c324ffe8ed5d7e078a99e4073c12856b","Ui\/Component\/Recurrence\/Column\/RepetitionsColumn.php":"ac32324baa92eaf5eda1830d0b580c6b","Ui\/Component\/Recurrence\/Column\/TotalCyclesByProduct.php":"e541957924f01abf9ee7f48dd3676b95","Ui\/DataProvider\/Product\/Form\/Modifier\/Plan.php":"852b344f6f58d1a801e737a43130e411","Ui\/DataProvider\/Product\/GroupedProductDataProvider.php":"92ceee9c0bdf292f0aa82023a4369ea7","etc\/_product_types.xml":"596a72b85e1d77c23885c9fb61819a32","etc\/acl.xml":"fbf02b25fb2c76a1afd495f6d0b65bf1","etc\/adminhtml\/di.xml":"33475410b322d04a7171f1cec6a87092","etc\/adminhtml\/menu.xml":"9cc54ed838c2925b49798c8d41a55408","etc\/adminhtml\/routes.xml":"9840414d1096739703fef1d29b4a9f26","etc\/adminhtml\/system\/antifraud.xml":"3f1bc947245d0940d832c67604a158f2","etc\/adminhtml\/system\/customer\/address.xml":"345a05516722e877fd72e1330ed76536","etc\/adminhtml\/system\/customer.xml":"9b133c99036a4f4635586f22cdcd69a5","etc\/adminhtml\/system\/global.xml":"248a62b6e5cda5f27104e15089af72b5","etc\/adminhtml\/system\/recurrence.xml":"cc988d2e3c701a0d4cbb13b0f3c580de","etc\/adminhtml\/system\/transaction\/_recurrence.xml":"83f8ed0e8cec81d758a75741236129d6","etc\/adminhtml\/system\/transaction\/billet.xml":"3f4aec6c423e92c20c298ad9beda3597","etc\/adminhtml\/system\/transaction\/creditcard\/antifraud.xml":"68e71f22c1f128178c8a822e1447eacb","etc\/adminhtml\/system\/transaction\/creditcard\/installments\/amex.xml":"5a2013425cea8a16aa43c0ee6bdf5170","etc\/adminhtml\/system\/transaction\/creditcard\/installments\/aura.xml":"e47a772f83cc6362bb301f628742ede2","etc\/adminhtml\/system\/transaction\/creditcard\/installments\/banese.xml":"9274dc8e1fb77420db3d2651c0f48557","etc\/adminhtml\/system\/transaction\/creditcard\/installments\/cabal.xml":"84b278feba09b0bee1826fccd0e45ad4","etc\/adminhtml\/system\/transaction\/creditcard\/installments\/credz.xml":"93123d4233b76f80eab5fb7cc2c5b4a4","etc\/adminhtml\/system\/transaction\/creditcard\/installments\/diners.xml":"2e41f048770bbeb542026e407aeb41f3","etc\/adminhtml\/system\/transaction\/creditcard\/installments\/discover.xml":"e1753e3a1687822f6551728c135c884f","etc\/adminhtml\/system\/transaction\/creditcard\/installments\/elo.xml":"2002bd2d7ea76a335c067ce98f5bf32a","etc\/adminhtml\/system\/transaction\/creditcard\/installments\/hipercard.xml":"57b1c1758c57d8b52024b7f7b79cc60a","etc\/adminhtml\/system\/transaction\/creditcard\/installments\/jcb.xml":"d2889a8413e465d32a8ab1f74a81a4a2","etc\/adminhtml\/system\/transaction\/creditcard\/installments\/mastercard.xml":"3f75d9da2f8629ea87104e09b9b35f00","etc\/adminhtml\/system\/transaction\/creditcard\/installments\/visa.xml":"dcc2635a188aa275c781be5d4f0206e3","etc\/adminhtml\/system\/transaction\/creditcard\/installments.xml":"d9a4eda2bdaea6d7320b61719a113a8a","etc\/adminhtml\/system\/transaction\/creditcard\/types.xml":"8488c8aa7c2438e7ad24c5ebf5f68db8","etc\/adminhtml\/system\/transaction\/creditcard.xml":"70b6dac4612b9eba6885a2e10e0e4dbc","etc\/adminhtml\/system\/transaction\/debit\/types.xml":"f5be611051dfa466ba5dec74922a32c3","etc\/adminhtml\/system\/transaction\/debit.xml":"645203df14127bc6408f6cc2dcf500a4","etc\/adminhtml\/system\/transaction\/multibuyer.xml":"d7810c4aa68da90b95292bd483159793","etc\/adminhtml\/system\/transaction\/multipleactionscreditcardbillet.xml":"add2981e23f2cf7ade5d58c10570bada","etc\/adminhtml\/system\/transaction\/multipleactionstwocreditcard.xml":"fd47229ac3b954e6813683fdee77bc78","etc\/adminhtml\/system\/transaction\/pix.xml":"b3590fdb8e4938b0bde827c3e823cdc5","etc\/adminhtml\/system\/transaction\/voucher\/types.xml":"302407ee57c094cde8f8a0f566137ecf","etc\/adminhtml\/system\/transaction\/voucher.xml":"19b8cd52a08073cd143b1b6366d01bf2","etc\/adminhtml\/system\/transaction.xml":"4e009e07e85376eef2e04d8e900dd5b3","etc\/adminhtml\/system.xml":"545c384ff621caa8282a6dfb0da9e9d9","etc\/adminhtml\/ui_component\/plan_product_listing.xml":"efa1956c1c3462b07f4df8d8b8d7d100","etc\/config.xml":"73a839b3d159c0551136dd4e7df3baf0","etc\/di.xml":"30c733b7a748f6b6e419ac711bf2cfff","etc\/events.xml":"8c03a9dbecf8526d383a88a030e794e1","etc\/frontend\/di.xml":"225e69ef6b17dfb39b145bf7657415a1","etc\/frontend\/routes.xml":"ad43e5a9c1f0ddf6da3d9d195dcfbba6","etc\/module.xml":"3293a677040e819046301a89baa3da6c","etc\/payment.xml":"f6593f60f29bffd45ed4557b15c231cd","etc\/webapi.xml":"7a5c333b8f31604b87d198ef6c38bb2b","i18n\/en_US.csv":"c02b1251392a308501ee0606d4455479","i18n\/pt_BR.csv":"0e3a23192c6ed5167151a13e2408f690","patches\/0001-issues-18195.patch":"3579be995b868e8bc31470b82511f58e","view\/adminhtml\/layout\/pagarme_pagarme_cards_index.xml":"887a43156f512585a7b7f65f453fdce4","view\/adminhtml\/layout\/pagarme_pagarme_charges_index.xml":"3f6f17a466f2f620a61fea6c4470dc70","view\/adminhtml\/layout\/pagarme_pagarme_invoices_index.xml":"bf1331af0834aca51c671451ae57f537","view\/adminhtml\/layout\/pagarme_pagarme_plans_create.xml":"d6c0a4859c7c194ff03d0a2ecdd08763","view\/adminhtml\/layout\/pagarme_pagarme_plans_index.xml":"502cf46c4bc9fb132ffdd2e279179002","view\/adminhtml\/layout\/pagarme_pagarme_recurrenceproducts_create.xml":"1a7d78ebee01d01277d9a324a83e8508","view\/adminhtml\/layout\/pagarme_pagarme_recurrenceproducts_index.xml":"859b1612c4b9d3bb5ced6419cb5f7ff0","view\/adminhtml\/layout\/pagarme_pagarme_subscriptions_details.xml":"7d60a66fe93c90b7b75f2ed505906550","view\/adminhtml\/layout\/pagarme_pagarme_subscriptions_index.xml":"4f56d86566620045615705e37620fcf5","view\/adminhtml\/layout\/sales_order_create_index.xml":"8c308a488b49b8b42cb92c3e4ddf7343","view\/adminhtml\/layout\/sales_order_create_load_block_billing_method.xml":"10675c985e014d470c4d9bee97bb678f","view\/adminhtml\/layout\/sales_order_view.xml":"5eb7f65b38129182f76e26e76385ab33","view\/adminhtml\/templates\/customer\/cards.phtml":"83c7d80f3a32d427c3821ed9709bad2e","view\/adminhtml\/templates\/form\/creditcard.phtml":"add5e213e202df2143c432e01c73d9e9","view\/adminhtml\/templates\/info\/billet.phtml":"2f5a004728b0a5f7adb224cd220a1ef9","view\/adminhtml\/templates\/info\/billetCreditCard.phtml":"0a07344a071306c681834735fb86b3d9","view\/adminhtml\/templates\/info\/creditCard.phtml":"b7b77923e3d1d42afc826427f3e75b1a","view\/adminhtml\/templates\/info\/pix.phtml":"c5ba26e88a3fed78e16f1f467b42864b","view\/adminhtml\/templates\/info\/twoCreditCard.phtml":"0a220c7417af668dbf3ce1102a44b2bc","view\/adminhtml\/templates\/payment\/info\/billet.phtml":"9e6806b30916bad2cc4bbaf8b6ef0171","view\/adminhtml\/templates\/recurrence\/plans\/create.phtml":"ee52e7b04521fe49151b7b36105be063","view\/adminhtml\/templates\/recurrence\/subscriptions\/create.phtml":"8f31d226eeead0a42f2ad1362e2e1c37","view\/adminhtml\/templates\/recurrence\/subscriptions\/details.phtml":"c364c5a3b218ce55a7cc1e2e2c2925e4","view\/adminhtml\/templates\/tab\/view\/order_charge.phtml":"942d56890867faf265f7fe5cee283aa2","view\/adminhtml\/ui_component\/pagarme_pagarme_cards_index.xml":"4a8edc3cf66deeda8149bcd86e8925ee","view\/adminhtml\/ui_component\/pagarme_pagarme_charges_index.xml":"7239b9e237b04739c013291385e3e2d7","view\/adminhtml\/ui_component\/pagarme_pagarme_invoices_listing.xml":"5eee50f41de04e97558aa8c538d0ac15","view\/adminhtml\/ui_component\/pagarme_pagarme_plans_listing.xml":"1869cab509e383e05e813fa807505b75","view\/adminhtml\/ui_component\/pagarme_pagarme_recurrenceproducts_listing.xml":"f5b81b21aa80a9641ca44c5a74379882","view\/adminhtml\/ui_component\/pagarme_pagarme_subscriptions_listing.xml":"579e0e87d3a0d8eaecbe408ac543efcc","view\/adminhtml\/web\/css\/jquery-ui.min.css":"8dcebf12fbabea677390cfa6d9ad09fb","view\/adminhtml\/web\/css\/pagarme_style.css":"a49a28987438356ff07856f12193dbf2","view\/frontend\/layout\/checkout_index_index.xml":"b3bc872d6ab401c34ed3c498da3a892d","view\/frontend\/layout\/checkout_onepage_success.xml":"7254e97cf57d1c75eada7951fbbd2375","view\/frontend\/layout\/customer_account.xml":"cd5ee0022db7bd1306085321d795313d","view\/frontend\/layout\/pagarme_customer_cards.xml":"45326aa3e6e248bef518c53943c863fc","view\/frontend\/layout\/pagarme_customer_invoice.xml":"ce219436de951ad151a517bd06d1a362","view\/frontend\/layout\/pagarme_customer_subscription.xml":"c6d86376a8e4feeac79965a6cfacb1d6","view\/frontend\/requirejs-config.js":"5142463c632c65b2090fb3f4140f3539","view\/frontend\/templates\/customer\/cards.phtml":"e42a42935c6a0624ef98e4933400716e","view\/frontend\/templates\/customer\/invoice.phtml":"82c2eb5a1ee7e0d8a1eb4b5f6f111d63","view\/frontend\/templates\/customer\/subscription.phtml":"83b3b972e741fbde1882b3690e48367f","view\/frontend\/templates\/info\/billet.phtml":"18e2e36e8da4433f68df5f658ca35baa","view\/frontend\/templates\/info\/billetCreditCard.phtml":"9913bb0d2613b4a0dbcbe6587c18465d","view\/frontend\/templates\/info\/creditCard.phtml":"ceecdd60e7955c4427827c61fa27f589","view\/frontend\/templates\/info\/pix.phtml":"7e93afc4237e622446e8ab7463ca24d3","view\/frontend\/templates\/info\/twoCreditCard.phtml":"c4faca2b8efe544aea4d435eca78ca76","view\/frontend\/templates\/payment\/billet.phtml":"008e05d15ac3dd7f2d5db882619b3778","view\/frontend\/templates\/payment\/pix.phtml":"6f7fd1a92e1e9c6ab1c4fe0dc2f18f61","view\/frontend\/templates\/product\/priceFinal.phtml":"4165160fda9cb695c2911c59f42491a4","view\/frontend\/web\/css\/pagarme_style.css":"7755a0d3a04d2ecb788eadf3bb4fb205","view\/frontend\/web\/template\/payment\/boleto-form.html":"a4d7db1d36c9a1e18249d64c5803fcd5","view\/frontend\/web\/template\/payment\/boleto.html":"c52e34221346043ac23221e2182bcece","view\/frontend\/web\/template\/payment\/boletocreditcard.html":"6e257471cb9091c3f0624b80eeba69eb","view\/frontend\/web\/template\/payment\/creditcard-form.html":"53cfca9d53bf33d9434d4ccf8c797e42","view\/frontend\/web\/template\/payment\/creditcard.html":"59a8715f141f5486eaa2969b118f35b5","view\/frontend\/web\/template\/payment\/debit.html":"7ea6e00a8e5fde553ce5ef2bf0fa8ece","view\/frontend\/web\/template\/payment\/default.html":"a34e52a9c642afd5f5fa32240651c252","view\/frontend\/web\/template\/payment\/multibuyer-form.html":"ef6faf29c52fffae0914a8974bbe7cf0","view\/frontend\/web\/template\/payment\/pix-form.html":"99b4332117619550d10a7534c5e33466","view\/frontend\/web\/template\/payment\/pix.html":"dc0445c884e16179ff07c18fc6c4cd07","view\/frontend\/web\/template\/payment\/twocreditcards.html":"c788874c3d3c2c69219cc32fc19bc566","view\/frontend\/web\/template\/payment\/voucher.html":"7ea6e00a8e5fde553ce5ef2bf0fa8ece"} \ No newline at end of file +{"Api\/BaseRequestDataProviderInterface.php":"a3fdc44584c2ebea97041c464a4b3537","Api\/BilletCreditCardRequestDataProviderInterface.php":"acd369021f7ca56acf812c5127455ab4","Api\/BilletRequestDataProviderInterface.php":"f2adc2feeeab796f2f8ea3af6df5f0d9","Api\/CardsRepositoryInterface.php":"1391d4314aca2b474d5ac2d54d83b180","Api\/CartItemRequestDataProviderInterface.php":"efeec6d8d81b4e16bdba05cd019eb416","Api\/ChargesRepositoryInterface.php":"6dc223249c0f43dcd6f79bb21a51063a","Api\/CreditCardRequestDataProviderInterface.php":"8985d5d269d7a06532bf0a10e553e255","Api\/CustomerCreateManagementInterface.php":"5129813fd2dd0a690e8822db4be501aa","Api\/Data\/CardsInterface.php":"278f719fc6c042300e6a2156f7e76c07","Api\/Data\/CardsSearchResultsInterface.php":"d4bc9e79bc5c176791f15752e6e2b0c2","Api\/Data\/ChargesInterface.php":"8f1bd48765186084b0ea219ed4ddc490","Api\/Data\/ChargesSearchResultsInterface.php":"4b5786b4e0db410af8fe3690c3ac6920","Api\/Data\/InstallmentInterface.php":"4a1ff2a051f0a4f611c6a47c7aff3ed9","Api\/InstallmentsByBrandAndAmountManagementInterface.php":"34531e74f83f9f44d00ffb304f6b04b1","Api\/InstallmentsByBrandManagementInterface.php":"3938666296af2dcb07fac5fc602c349b","Api\/InstallmentsManagementInterface.php":"d66755cd2956a66312fa7edd4d35af96","Api\/InvoiceApiInterface.php":"8e3be8ee5fa24c362a5e3c02dd8a3aef","Api\/MaintenanceInterface.php":"7ff4300a43ae35961b52aebea5918b90","Api\/ObjectMapper\/ProductPlan\/ProductPlanMapperInterface.php":"f781bc611a8cab4a06e4ac773a650724","Api\/ObjectMapper\/ProductPlan\/SubProduct.php":"0038aaada32f85f1daa0577150e9983b","Api\/ObjectMapper\/ProductSubscription\/ProductSubscriptionMapperInterface.php":"f336ade7fbee4ca9404503903a6be705","Api\/ObjectMapper\/ProductSubscription\/RepetitionInterface.php":"1fe05b5e8ccdedaf85961ddaddbcb244","Api\/PixRequestDataProviderInterface.php":"f0f072fa2248af27f6c0e67b45a7b0e6","Api\/ProductPlanApiInterface.php":"840615ebcbaf6b90428bd49b508ac48b","Api\/ProductPlanInterface.php":"b230677fce0a196d1730a9984a1a1bfc","Api\/ProductSubscriptionApiInterface.php":"d43c0078b32274426cc4b4eb7fe2dc06","Api\/ProductSubscriptionInterface.php":"fc195b0e01e2b21b70643fed2fbdc755","Api\/SubscriptionApiInterface.php":"5eab18115c3f96fbaa7e0b83ca8b5a40","Api\/TwoCreditCardRequestDataProviderInterface.php":"d85968ced59736de93a023412f7d8d29","Api\/WebhookManagementInterface.php":"3e34391f524ad9e8f57cf48719959258","Block\/Adminhtml\/Customer\/Cards.php":"493ca9983db5f2837904d43d14b7ab26","Block\/Adminhtml\/Form\/Field\/ModuleVersion.php":"4a2ee8c2a2bfcc749ad5c11518857a81","Block\/Adminhtml\/Order\/Charge\/Tab\/View.php":"5a67843f461c700431ca4e26c2e5c15f","Block\/Adminhtml\/Recurrence\/Plans\/Plan.php":"b5ec57237da588e2e1ba38a9322b4ba4","Block\/Adminhtml\/Recurrence\/Subscriptions\/Subscription.php":"4debcd4df946d280b7ddc4548b06d079","Block\/Adminhtml\/System\/Config\/Fieldset\/CycleDiscount.php":"5caf4c22a4b4caf4cef9d58e632467d9","Block\/Adminhtml\/System\/Config\/Fieldset\/Group.php":"ff9b429c07c1b2dc59a1d9cf906221a6","Block\/Adminhtml\/System\/Config\/Fieldset\/Payment.php":"0acb1bb8166117c3c8197d85d8a93248","Block\/Customer\/Cards.php":"05498783fe43a9bd54a7129b237496ce","Block\/Customer\/Invoice.php":"4b825454ed14b183341a3d827cb62c52","Block\/Customer\/Subscription.php":"f03586f9e6404132b4340e67292eaec2","Block\/Form.php":"c752d4bf9dbbd1ca49e4d9ec381c4cec","Block\/Payment\/Billet.php":"bce33f8374632ed23684583a45095f00","Block\/Payment\/Info\/Billet.php":"6e58b04ee960922c85492139b27e0ecb","Block\/Payment\/Info\/BilletCreditCard.php":"5461896d31e978425cf3f24d76830851","Block\/Payment\/Info\/CreditCard.php":"5020455e238e649e1cd74ce856885628","Block\/Payment\/Info\/Debit.php":"ec3987d4cebee7ed7b1385d02c786d70","Block\/Payment\/Info\/Pix.php":"6e87e8e98b9e25bdd1db5752baf40252","Block\/Payment\/Info\/TwoCreditCard.php":"ec8bd7d939d46f2cb8067745b351e0cb","Block\/Payment\/Info\/Voucher.php":"5751aca84267178db0981a9a7d42f792","Block\/Payment\/Pix.php":"8ab558b48d650b527f199753b28f428e","Concrete\/Magento2CoreSetup.php":"f2e911ba50b9d39ffa1e8f193b765e68","Concrete\/Magento2DataService.php":"8592acfad796484bd5efa608392b7077","Concrete\/Magento2DatabaseDecorator.php":"edc1343e4e69e044737e1e1178ed23f6","Concrete\/Magento2PlatformCreditmemoDecorator.php":"84296416830d48cb261679739c670d29","Concrete\/Magento2PlatformCustomerDecorator.php":"3dd6e3401c98ad38833b29c3a7d5f081","Concrete\/Magento2PlatformInvoiceDecorator.php":"6c40be51cd279f1ddd58ca045194bed4","Concrete\/Magento2PlatformOrderDecorator.php":"3ccc8481c1f02abc5f1ab43dbcbdc405","Concrete\/Magento2PlatformPaymentMethodDecorator.php":"a72a24793c4c21508b04a045b7330867","Concrete\/Magento2PlatformProductDecorator.php":"29b51ba3ea4ceed3f617e6234af04f31","Concrete\/Magento2SavedCardAdapter.php":"a4a6464ebad93a7e9138cf24344ea32f","Controller\/Adminhtml\/Cards\/Index.php":"c689df20170615d8579cab25cfe624c1","Controller\/Adminhtml\/Charges\/Cancel.php":"43e361f5914beb812ab4fc1748761016","Controller\/Adminhtml\/Charges\/Capture.php":"2b8f476a2b7cd108d08618a0baaa408e","Controller\/Adminhtml\/Charges\/ChargeAction.php":"a4952c13398df76981ae5bd49d32d38d","Controller\/Adminhtml\/Charges\/Index.php":"e756bb11bed78f0822efa4f0fd61b989","Controller\/Adminhtml\/Invoices\/Delete.php":"3f1c6775fe792e4a98f2bb755b32f2ec","Controller\/Adminhtml\/Invoices\/Index.php":"aa39d70426b48bc7d20a456aa5386e69","Controller\/Adminhtml\/Plans\/Create.php":"14fee92d203bc659a3f0803151d9ead8","Controller\/Adminhtml\/Plans\/Delete.php":"0ec4fea5b106f8f217e5dd905846ef69","Controller\/Adminhtml\/Plans\/Index.php":"b3e21cc56a32669a8043854d4b3d36fd","Controller\/Adminhtml\/Plans\/SearchProduct.php":"27df04304ae4ee385bdc9172b4ffdba3","Controller\/Adminhtml\/RecurrenceProducts\/Create.php":"f9487f6b907fcfb84a240d731fc9d3a3","Controller\/Adminhtml\/RecurrenceProducts\/Delete.php":"64895404eb98ad9857782e4fbb085790","Controller\/Adminhtml\/RecurrenceProducts\/Index.php":"864744d5ffedfe584d27dfeeb7cbd8b1","Controller\/Adminhtml\/Subscriptions\/Delete.php":"b740c07a33e31b9b8e015524a95952d1","Controller\/Adminhtml\/Subscriptions\/Details.php":"b22306c13d19a7bd0e92a02eccf560da","Controller\/Adminhtml\/Subscriptions\/Index.php":"c8a84b21345f459b89afa4afc025745b","Controller\/Customer\/Cards.php":"a839d3a6a4b8970b43426e449a38ffc6","Controller\/Customer\/Invoice.php":"439f667282053ee11a03265dddd713aa","Controller\/Customer\/Remove.php":"52c9076bd86ac59b3fb963465b198e1d","Controller\/Customer\/Subscription.php":"e3469ecb1ecd2206233f05b8968637ce","Gateway\/Transaction\/Base\/Command\/AbstractApiCommand.php":"dbcfefb25d2bee7fb1a1cf05a1ea1501","Gateway\/Transaction\/Base\/Command\/InitializeCommand.php":"c6bca86e2e452a11206196b5fe0837fa","Gateway\/Transaction\/Base\/Config\/AbstractConfig.php":"03ec8f382c525e4937c5e67d62f47235","Gateway\/Transaction\/Base\/Config\/Config.php":"8496318879c263ef0083c5bd7d19bc00","Gateway\/Transaction\/Base\/Config\/ConfigInterface.php":"dd68b090d0610a632e318b15bc8cbd11","Gateway\/Transaction\/Base\/ResourceGateway\/AbstractRequestDataProvider.php":"e46066a53bff34e964bef28d27a98cb4","Gateway\/Transaction\/Base\/ResourceGateway\/CartItemRequestDataProvider.php":"08f65fc67a1569f45ac75e0284c4f16d","Gateway\/Transaction\/Base\/ResourceGateway\/Response\/AbstractHandler.php":"8347ed2c90c35443a6dfc284719c86bc","Gateway\/Transaction\/Base\/ResourceGateway\/Response\/AbstractValidator.php":"e66941ef701125b68b4fe8f14d3dbbd6","Gateway\/Transaction\/Billet\/Command\/AuthorizeCommand.php":"d64c0d2613bb1722d4b1173648f424a8","Gateway\/Transaction\/Billet\/Config\/Config.php":"ddef33e39170023842f01878f29fbad7","Gateway\/Transaction\/Billet\/Config\/ConfigInterface.php":"284234453377a178bcf320589fd7322b","Gateway\/Transaction\/Billet\/ResourceGateway\/Create\/RequestDataProvider.php":"126b622ca5c073a418c7819c5237751f","Gateway\/Transaction\/Billet\/ResourceGateway\/Create\/Response\/Validator.php":"a790d7459fd2737802e441a2abd86f12","Gateway\/Transaction\/BilletCreditCard\/Command\/AuthorizeCommand.php":"b0c951990b07121936a570d7fc90811b","Gateway\/Transaction\/BilletCreditCard\/Command\/CaptureCommand.php":"75647754dc381088aa0215fc55f73a7c","Gateway\/Transaction\/BilletCreditCard\/Command\/RefundCommand.php":"a087df263d5c121cb65174dfa0230e4a","Gateway\/Transaction\/BilletCreditCard\/Config\/Config.php":"60d8679b7df40a617dbe6e49f37a059f","Gateway\/Transaction\/BilletCreditCard\/Config\/ConfigInterface.php":"c2786da1bfc8daf6288404dcb8d7863d","Gateway\/Transaction\/BilletCreditCard\/ResourceGateway\/Capture\/Response\/Validator.php":"2a1a3d32c136235c0ad1a0e49f2768f2","Gateway\/Transaction\/BilletCreditCard\/ResourceGateway\/Create\/RequestDataProvider.php":"3f4379b5a7ebff6026fa8b8fc48af0ee","Gateway\/Transaction\/BilletCreditCard\/ResourceGateway\/Create\/Response\/Validator.php":"ab559ae31a175e66708919cdf9868f18","Gateway\/Transaction\/BilletCreditCard\/ResourceGateway\/Refund\/Response\/Validator.php":"4519598e553001a1a6ac0968b136250c","Gateway\/Transaction\/CreditCard\/Command\/AuthorizeCommand.php":"040f21a1ff363be6ef1075d81bbdf13c","Gateway\/Transaction\/CreditCard\/Command\/CaptureCommand.php":"725a509ad624be59fa78cb8d4f6ebcd4","Gateway\/Transaction\/CreditCard\/Command\/RefundCommand.php":"db4dd625e44679a6c3d4accbf1911444","Gateway\/Transaction\/CreditCard\/Config\/Config.php":"b93df339fa30033fa188b28b95a1871b","Gateway\/Transaction\/CreditCard\/Config\/ConfigInterface.php":"93f08c285b8300c86709808da97f0aec","Gateway\/Transaction\/CreditCard\/ResourceGateway\/Capture\/Response\/GeneralHandler.php":"2dd81d817c3cf3271beac1736f8e57cd","Gateway\/Transaction\/CreditCard\/ResourceGateway\/Capture\/Response\/Validator.php":"2cc693bd44c49a59e2cd10239f4bcd8b","Gateway\/Transaction\/CreditCard\/ResourceGateway\/Create\/RequestDataProvider.php":"0a08490321ab1e4950266726a94eee67","Gateway\/Transaction\/CreditCard\/ResourceGateway\/Create\/Response\/Validator.php":"1be04e105120b30e7dd835b0ca554b9b","Gateway\/Transaction\/CreditCard\/ResourceGateway\/Refund\/Response\/GeneralHandler.php":"cf1aeb148bb53488aff4d49fc120def6","Gateway\/Transaction\/CreditCard\/ResourceGateway\/Refund\/Response\/Validator.php":"e070f0fcf345925ccd9b193811567d97","Gateway\/Transaction\/TwoCreditCard\/Command\/AuthorizeCommand.php":"984d76eec10d644f6a02c312cadc2a5f","Gateway\/Transaction\/TwoCreditCard\/Command\/CaptureCommand.php":"3b17314ffb9ac796f3c1f27f25b85d96","Gateway\/Transaction\/TwoCreditCard\/Command\/RefundCommand.php":"e480ee822cc2db5aaa54c9a372f297f7","Gateway\/Transaction\/TwoCreditCard\/Config\/Config.php":"3b1be172e32efba7a7371f8d88d932a1","Gateway\/Transaction\/TwoCreditCard\/Config\/ConfigInterface.php":"367e736bab8a6b332304bd133cbe5e9c","Gateway\/Transaction\/TwoCreditCard\/ResourceGateway\/Capture\/Response\/Validator.php":"883123c0460b4efaf0f1f0a261a06fb2","Gateway\/Transaction\/TwoCreditCard\/ResourceGateway\/Create\/RequestDataProvider.php":"ea77649a47f20199c42419e751b131d7","Gateway\/Transaction\/TwoCreditCard\/ResourceGateway\/Create\/Response\/Validator.php":"96c1f002dab776c020c3cd471fcc1d37","Gateway\/Transaction\/TwoCreditCard\/ResourceGateway\/Refund\/Response\/Validator.php":"773b4107526a09446a9f58e5914afb33","Helper\/AbstractHelper.php":"87da1986967f4da6320f236c308d4702","Helper\/Adminhtml\/CheckoutHelper.php":"073a0063dca7a3d832efc9aa24bb19a1","Helper\/BuildChargeAddtionalInformationHelper.php":"23dc867ab38379d720952b00c6afc970","Helper\/Cards\/CreateCard.php":"7bec2850d5b095616d0df1bba58a3109","Helper\/CustomerAddress.php":"3f6f0ee15cddd895dfb6cb177e24186f","Helper\/CustomerAddressInterface.php":"9f723dd31eb76ad70bb7b8659fc1a120","Helper\/CustomerCustomAttributesHelper.php":"88ae2860bc8b03c9bb660a33ec0315e1","Helper\/CustomerUpdatePagarmeHelper.php":"a84df51bcb9d009f757935bd072e6f82","Helper\/ModuleHelper.php":"61e03e3dab3584ea4bf2e732446532c5","Helper\/Product\/Configuration\/Plugin\/Plan.php":"35dab5fd3303f06f53f46648b78335cd","Helper\/ProductHelper.php":"fd89d994c4c9eea6b268a4c81d7d4408","Helper\/ProductPlanHelper.php":"f28a1083b7a89cb74eadf75b16790f83","Helper\/ProductSubscriptionHelper.php":"3740b5f72361e373cf2ad98f36708f89","Helper\/RecurrenceProductHelper.php":"ed7620351551a071fdc3e8ecd8b6cf9d","Helper\/RulesCartRun.php":"014121cb07969350f804511dd8edfff0","Model\/AbstractInstallmentManagement.php":"dec788dd12cfc0552e9b4c6ac7ddb8a5","Model\/Api\/Invoice.php":"1a1342f81c7b14927da07eb0a7cc69fb","Model\/Api\/ProductsPlan.php":"53077cd222b5a5c8ac9059e150ba3e3a","Model\/Api\/ProductsSubscription.php":"1e72e02b03a0e2ed633600d6a6af66cd","Model\/Api\/Subscription.php":"2f90dff449aa2de15b2ac92a22d71f1a","Model\/Cards.php":"3cb39fc5ec17e1acbcea1928764b92a1","Model\/CardsRepository.php":"47ef94d35b20e9be75f5d7d17d0f3b2c","Model\/Cart\/CartConflict.php":"773d019a49b7f5c6a02bf2a168adcf2e","Model\/Charges.php":"6c2e6707c6bce66dd9d27c2a0c8ee42e","Model\/ChargesRepository.php":"dbc4fdaf2ad341a19941960220a1534b","Model\/Enum\/BankEnum.php":"0d7cd40e69d010f77dce11873a99b7cf","Model\/Enum\/CountryEnum.php":"25d3f3c2118013907874e3c2036fb20e","Model\/Enum\/CreditCardBrandEnum.php":"38046790649e063c50ad9b17c0687d76","Model\/Enum\/CreditCardOperationEnum.php":"386977a6dd579aaddbd7fe70ea7fd035","Model\/Enum\/DocumentTypeEnum.php":"5ad9cddbf736b0f13624f91bc866a21f","Model\/Enum\/PersonTypeEnum.php":"fc4d5759d05eb76b71def40d1f9f1fbe","Model\/Installment.php":"b875fe5acf098abc33b0e514794b6edf","Model\/Installments\/Builder.php":"3d2f6841b92e242d16a7b1690899beab","Model\/Installments\/BuilderByBrand.php":"b11fff0e54eef9c5385501b8cb1af306","Model\/Installments\/BuilderByBrandAndAmount.php":"94d196934237932b7929b4e676f2fcac","Model\/Installments\/Config\/Config.php":"b6aa518a72efea846a992a57d409e61f","Model\/Installments\/Config\/ConfigByBrand.php":"dc6c1a80a6bf613a31b0f710d16caa9f","Model\/Installments\/Config\/ConfigByBrandInterface.php":"4c454389f5a6039fa01a3b5ff6a6c69f","Model\/Installments\/Config\/ConfigInterface.php":"be24d358d670ab7e1bda8e588b7f8d47","Model\/InstallmentsByBrandAndAmountManagement.php":"e3bce81ff7ca0c4de175ac0ad70d65f7","Model\/InstallmentsByBrandManagement.php":"d33667cfd3e11ac99d6b442175f288a3","Model\/InstallmentsManagement.php":"15539ea3b27d4c97588ba45474d2bc7a","Model\/Invoices.php":"d83b3c9c8e3eb84d05f547d0d657b8d1","Model\/Maintenance.php":"23da98c3350d19b04068ca0b4b3300b6","Model\/PagarmeConfigProvider.php":"d2331abc83534b79b296094af63e1db0","Model\/Payment.php":"ae773cf6b9f404ed94557c383fe5da48","Model\/Product\/OnlyPlanItem.php":"d26a338455cba312992e7657c75aa64e","Model\/Product\/ProductPlan\/Cart\/Configuration\/Plugin\/Plan.php":"09e7b687f211ca72a3644b51527a7e95","Model\/Product\/ProductPlan\/CopyConstructor\/Plan.php":"63309836bf27c8bc645613d246ed4517","Model\/Product\/ProductPlan\/Initialization\/Helper\/ProductLinks\/Plugin\/Plan.php":"adfa6b11bcc6f0d8fe8ac95b605bf766","Model\/Product\/ProductPlan\/Plan.php":"11173e45b24a8752a82fc744a565fdc4","Model\/Product\/ProductPlan\/Type\/Plugin.php":"36eb6e2505a87210ec6f496a4fcb3ca2","Model\/Product\/Recurrence.php":"e460c4707d593b0cd74919cc35a3d8b1","Model\/ProductsPlan.php":"c3a552eed0db0e7c17f4ea1f574b3318","Model\/ProductsSubscription.php":"e57ac629a4b527b4b4c15cf40ddc071f","Model\/ResourceModel\/Cards\/Collection.php":"0be875c656b22f1ec917bffb623ce3b7","Model\/ResourceModel\/Cards.php":"684dceb44bc9dda259dfeaf39ffde27c","Model\/ResourceModel\/Charges\/Collection.php":"7d869d192399534fb9cb197aa39ac497","Model\/ResourceModel\/Charges.php":"673e8ccf2bbebafb3b6cc3fdbe0c66af","Model\/ResourceModel\/Invoices\/Collection.php":"b763a7a6ee29052506cfe8c5bd01a9f5","Model\/ResourceModel\/Invoices.php":"1298438e5f6a4b5aabeb446537411e64","Model\/ResourceModel\/ProductsPlan\/Collection.php":"574d01bc0649be59315bb85e8868cdc4","Model\/ResourceModel\/ProductsPlan.php":"f490678d47f15e4ae81de36d3a521f60","Model\/ResourceModel\/ProductsSubscription\/Collection.php":"a4b9cb0aeff628b152d25e70370c10c2","Model\/ResourceModel\/ProductsSubscription.php":"c1cd11095b04daa12714f94340efbc7f","Model\/ResourceModel\/Subscriptions\/Collection.php":"372e7614c94b01a8e68d2239dc5fae03","Model\/ResourceModel\/Subscriptions.php":"d631d391c5dd4326d9f996231b53d55c","Model\/Sales\/AdminOrder\/Product\/Quote\/Plugin\/Initializer.php":"077864471bcaaec2bfce38175c9f0af3","Model\/Source\/Bank.php":"9821cc9081a8bd0871e74fc669ee3b54","Model\/Source\/BilletTypes.php":"9762f11fbe5c925972ccb576a8f0a1e2","Model\/Source\/Billing.php":"1c577ac30681c772053f866d42ccb304","Model\/Source\/BrandTypes.php":"45b242889c4019eeb773e5a9bb918ece","Model\/Source\/Cctype.php":"c369a46b6f523b219437fffce87eb9ff","Model\/Source\/CctypePSP.php":"6a3f4c788242ce6384f168cec5978601","Model\/Source\/Debittype.php":"0cd3b277246d78a34851dededa5b7bf2","Model\/Source\/EavBillingType.php":"8c16b9513a53632036a4e8284a219ea2","Model\/Source\/EavInterval.php":"63e7a4c590c5b1920e8e2a9f10c6e0a1","Model\/Source\/EavPaymentMethods.php":"d35400de85bb40afed107785627dd28c","Model\/Source\/Interval.php":"e3f2e56a5ba4ba1862257bcfba3ac21c","Model\/Source\/PaymentAction.php":"8ab3e1337bb5ac2b1be2ddf13a26069a","Model\/Source\/PaymentMethods.php":"3da04d9c68692a4c25f722829da72705","Model\/Source\/PixTypes.php":"3d38fd2775c0c6a82b1f1c8c0ef5de9f","Model\/Source\/Sequence.php":"ab4170daf783d46b92c8dc3df071983c","Model\/Source\/SequenceCriteria.php":"123d2be23a33d0ec30d945411a399301","Model\/Source\/Status\/NewPending.php":"54318ca544e367e7eee8fe482313eb8e","Model\/Source\/Status\/Review.php":"8fc5f78aed2f58e0a2aa7b0819710031","Model\/Source\/Vouchertype.php":"b95ad2c6132bec030b54f6382f29559b","Model\/Subscriptions.php":"cf3e708798910261b1b6b2936eb487c4","Model\/Validation\/GenericValidation.php":"f0444865f1ec6ff1a299c8c49e70e40b","Model\/WebhookManagement.php":"431d81028f39564e2ea607aa1eb8771e","Observer\/AdminCustomerBeforeSave.php":"1a4a81ecf243374e16e07abf479ead8a","Observer\/BilletCreditCardDataAssignObserver.php":"2579d352081764e48c9614742d2d1add","Observer\/BilletDataAssignObserver.php":"af0e85f1d40b64fd109678e6d71f6ffd","Observer\/CartAddProductAfterObserver.php":"32d7eb39aa17937042232c69f46f7efa","Observer\/CreditCardDataAssignObserver.php":"ad9e573e5e75ca0fdee511cff135f349","Observer\/CreditCardOrderPlaceBeforeObserver.php":"8228c7b9a3c281dad892f5de3b2c2bc8","Observer\/CustomerAddressSaveBefore.php":"273b4db38b6439abbc59a2bad75cde4b","Observer\/DataValidateAdmin.php":"591a6ae72e710212d907df96107358f9","Observer\/DebitDataAssignObserver.php":"8c30cdda92900b5c9ea98d6650da4283","Observer\/OrderCancelAfter.php":"56adf6a468e341d0f409eb7733657cd8","Observer\/OrderPlaceBeforeObserver.php":"bd48ef3108625b4f91f0896281c4afe5","Observer\/PaymentMethodAvailable.php":"83c06458f2272ee26624bf6a80db69ce","Observer\/PixDataAssignObserver.php":"e3eddda7d20cd6eb8b0894fb543f492a","Observer\/SalesOrderPlaceAfter.php":"c2c1b8c4011ad79cbb78fed7fa719b65","Observer\/TwoCreditCardDataAssignObserver.php":"b3a052072b2c1436da3d036fe6b300d6","Observer\/UpdateProductPlanObserver.php":"ef8f5f5121c4745f95bd3a0a04cd9330","Observer\/VoucherDataAssignObserver.php":"a84415ddfa1f1dff23e82972c4f5ff50","Plugin\/Admin\/CustomerPlugin.php":"0e36a10a67a142c6f0c4b08eb7cb6ecf","Plugin\/Princing\/Render\/FinalPricePlugin.php":"0a620ccd42c351221810afcc3517b410","Plugin\/Webapi\/RestResponse\/JsonPlugin.php":"490703f70a11551c9176bb3d9fdc9af2","Setup\/InstallData.php":"7f402d3cb214a31b2abc03b31344c9fe","Setup\/InstallSchema.php":"86130278ae4622e89f92a8c8c72784c1","Setup\/MigrateData.php":"c8dbda5290890a69f762a995f4008f74","Setup\/UpgradeData.php":"c5cc771dc676366fce4949d0ba603d1b","Setup\/UpgradeSchema.php":"977b8a48117ed3b478268ef059c9a1cc","Test\/.gitignore":"ba12e4bb11bf03f72b5fca4598676180","Test\/Unit\/bootstrap.php":"31c2829c5f68634e4dd4eba2bd6e0697","Ui\/Component\/Column\/Actions.php":"ab278b043ce22ec5e7b07d8a63be5330","Ui\/Component\/Column\/Invoices\/Actions.php":"d3574046bcd7b16052c10299be8e57bb","Ui\/Component\/Column\/Invoices\/Boleto.php":"16bc8640d8ba77e2c5b5477a9dd9587f","Ui\/Component\/Column\/Subscriptions\/Actions.php":"d55878fd3a5234e79e606fece8daf9a6","Ui\/Component\/Listing\/Column\/BrazilCurrency.php":"e58024dad7dd7043f7691105bef22e4d","Ui\/Component\/Listing\/Column\/Translate.php":"67578d6182b6a674e02fc7c80e9aa27d","Ui\/Component\/Recurrence\/Column\/CreatedAt.php":"e54fa620a5e651285becaf3156b9b20c","Ui\/Component\/Recurrence\/Column\/CustomerName.php":"5fdae5b4a665e0352d4a61e861fd4f75","Ui\/Component\/Recurrence\/Column\/Interval.php":"a52697dfbd4d619987fc8c7936c7ca79","Ui\/Component\/Recurrence\/Column\/PaymentMethodColumn.php":"759629abb7d0b49c740d1d6d8e1dbf20","Ui\/Component\/Recurrence\/Column\/ProductRecurrenceName.php":"c324ffe8ed5d7e078a99e4073c12856b","Ui\/Component\/Recurrence\/Column\/RepetitionsColumn.php":"ac32324baa92eaf5eda1830d0b580c6b","Ui\/Component\/Recurrence\/Column\/TotalCyclesByProduct.php":"e541957924f01abf9ee7f48dd3676b95","Ui\/DataProvider\/Product\/Form\/Modifier\/Plan.php":"852b344f6f58d1a801e737a43130e411","Ui\/DataProvider\/Product\/GroupedProductDataProvider.php":"92ceee9c0bdf292f0aa82023a4369ea7","etc\/_product_types.xml":"596a72b85e1d77c23885c9fb61819a32","etc\/acl.xml":"fbf02b25fb2c76a1afd495f6d0b65bf1","etc\/adminhtml\/di.xml":"33475410b322d04a7171f1cec6a87092","etc\/adminhtml\/menu.xml":"9cc54ed838c2925b49798c8d41a55408","etc\/adminhtml\/routes.xml":"9840414d1096739703fef1d29b4a9f26","etc\/adminhtml\/system\/antifraud.xml":"3f1bc947245d0940d832c67604a158f2","etc\/adminhtml\/system\/customer\/address.xml":"345a05516722e877fd72e1330ed76536","etc\/adminhtml\/system\/customer.xml":"9b133c99036a4f4635586f22cdcd69a5","etc\/adminhtml\/system\/global.xml":"9e933dd7f822735a87d96211fe6f37aa","etc\/adminhtml\/system\/recurrence.xml":"effc905fd40ccc96cf83fad2a96479bf","etc\/adminhtml\/system\/transaction\/_recurrence.xml":"83f8ed0e8cec81d758a75741236129d6","etc\/adminhtml\/system\/transaction\/billet.xml":"809e52a6015cfa243f2b0bfe6e85d742","etc\/adminhtml\/system\/transaction\/creditcard\/antifraud.xml":"4c3d1f44ad2b079b15c2f94512e3b0c3","etc\/adminhtml\/system\/transaction\/creditcard\/installments\/amex.xml":"5a2013425cea8a16aa43c0ee6bdf5170","etc\/adminhtml\/system\/transaction\/creditcard\/installments\/aura.xml":"e47a772f83cc6362bb301f628742ede2","etc\/adminhtml\/system\/transaction\/creditcard\/installments\/banese.xml":"9274dc8e1fb77420db3d2651c0f48557","etc\/adminhtml\/system\/transaction\/creditcard\/installments\/cabal.xml":"84b278feba09b0bee1826fccd0e45ad4","etc\/adminhtml\/system\/transaction\/creditcard\/installments\/credz.xml":"93123d4233b76f80eab5fb7cc2c5b4a4","etc\/adminhtml\/system\/transaction\/creditcard\/installments\/diners.xml":"2e41f048770bbeb542026e407aeb41f3","etc\/adminhtml\/system\/transaction\/creditcard\/installments\/discover.xml":"e1753e3a1687822f6551728c135c884f","etc\/adminhtml\/system\/transaction\/creditcard\/installments\/elo.xml":"2002bd2d7ea76a335c067ce98f5bf32a","etc\/adminhtml\/system\/transaction\/creditcard\/installments\/hipercard.xml":"57b1c1758c57d8b52024b7f7b79cc60a","etc\/adminhtml\/system\/transaction\/creditcard\/installments\/jcb.xml":"d2889a8413e465d32a8ab1f74a81a4a2","etc\/adminhtml\/system\/transaction\/creditcard\/installments\/mastercard.xml":"3f75d9da2f8629ea87104e09b9b35f00","etc\/adminhtml\/system\/transaction\/creditcard\/installments\/visa.xml":"dcc2635a188aa275c781be5d4f0206e3","etc\/adminhtml\/system\/transaction\/creditcard\/installments.xml":"1dcdf097399b51f3ab71deba8ab63042","etc\/adminhtml\/system\/transaction\/creditcard\/types.xml":"5ea908e42fd838f592bc267d0d1793a1","etc\/adminhtml\/system\/transaction\/creditcard.xml":"e0ca0b7abe0a48d1228197a87de0af51","etc\/adminhtml\/system\/transaction\/debit\/types.xml":"f5be611051dfa466ba5dec74922a32c3","etc\/adminhtml\/system\/transaction\/debit.xml":"52e7ee70da0fbd9d248a3c2b1ecbd6e5","etc\/adminhtml\/system\/transaction\/multibuyer.xml":"d7810c4aa68da90b95292bd483159793","etc\/adminhtml\/system\/transaction\/multipleactionscreditcardbillet.xml":"add2981e23f2cf7ade5d58c10570bada","etc\/adminhtml\/system\/transaction\/multipleactionstwocreditcard.xml":"fd47229ac3b954e6813683fdee77bc78","etc\/adminhtml\/system\/transaction\/pix.xml":"9a7ac83c28bac31e0842b6c0543a97b9","etc\/adminhtml\/system\/transaction\/voucher\/types.xml":"302407ee57c094cde8f8a0f566137ecf","etc\/adminhtml\/system\/transaction\/voucher.xml":"7efd0b1b4684a5ae17b060c020c6ede5","etc\/adminhtml\/system\/transaction.xml":"4e009e07e85376eef2e04d8e900dd5b3","etc\/adminhtml\/system.xml":"545c384ff621caa8282a6dfb0da9e9d9","etc\/adminhtml\/ui_component\/plan_product_listing.xml":"efa1956c1c3462b07f4df8d8b8d7d100","etc\/config.xml":"73a839b3d159c0551136dd4e7df3baf0","etc\/di.xml":"30c733b7a748f6b6e419ac711bf2cfff","etc\/events.xml":"8c03a9dbecf8526d383a88a030e794e1","etc\/frontend\/di.xml":"225e69ef6b17dfb39b145bf7657415a1","etc\/frontend\/routes.xml":"ad43e5a9c1f0ddf6da3d9d195dcfbba6","etc\/module.xml":"8e3bb9c1b6e45060187620295a2d7534","etc\/payment.xml":"f6593f60f29bffd45ed4557b15c231cd","etc\/webapi.xml":"7a5c333b8f31604b87d198ef6c38bb2b","i18n\/en_US.csv":"aacb17d55aca24e7af3250470d43bf7a","i18n\/pt_BR.csv":"1f27a89619d59bef26848245518189c9","patches\/0001-issues-18195.patch":"3579be995b868e8bc31470b82511f58e","view\/adminhtml\/layout\/adminhtml_system_config_edit.xml":"50b95ca4ffaececba0abb169eb7b168d","view\/adminhtml\/layout\/pagarme_pagarme_cards_index.xml":"887a43156f512585a7b7f65f453fdce4","view\/adminhtml\/layout\/pagarme_pagarme_charges_index.xml":"3f6f17a466f2f620a61fea6c4470dc70","view\/adminhtml\/layout\/pagarme_pagarme_invoices_index.xml":"bf1331af0834aca51c671451ae57f537","view\/adminhtml\/layout\/pagarme_pagarme_plans_create.xml":"d6c0a4859c7c194ff03d0a2ecdd08763","view\/adminhtml\/layout\/pagarme_pagarme_plans_index.xml":"502cf46c4bc9fb132ffdd2e279179002","view\/adminhtml\/layout\/pagarme_pagarme_recurrenceproducts_create.xml":"1a7d78ebee01d01277d9a324a83e8508","view\/adminhtml\/layout\/pagarme_pagarme_recurrenceproducts_index.xml":"859b1612c4b9d3bb5ced6419cb5f7ff0","view\/adminhtml\/layout\/pagarme_pagarme_subscriptions_details.xml":"7d60a66fe93c90b7b75f2ed505906550","view\/adminhtml\/layout\/pagarme_pagarme_subscriptions_index.xml":"4f56d86566620045615705e37620fcf5","view\/adminhtml\/layout\/sales_order_create_index.xml":"8c308a488b49b8b42cb92c3e4ddf7343","view\/adminhtml\/layout\/sales_order_create_load_block_billing_method.xml":"10675c985e014d470c4d9bee97bb678f","view\/adminhtml\/layout\/sales_order_view.xml":"5eb7f65b38129182f76e26e76385ab33","view\/adminhtml\/templates\/customer\/cards.phtml":"83c7d80f3a32d427c3821ed9709bad2e","view\/adminhtml\/templates\/form\/creditcard.phtml":"add5e213e202df2143c432e01c73d9e9","view\/adminhtml\/templates\/info\/billet.phtml":"2f5a004728b0a5f7adb224cd220a1ef9","view\/adminhtml\/templates\/info\/billetCreditCard.phtml":"0a07344a071306c681834735fb86b3d9","view\/adminhtml\/templates\/info\/creditCard.phtml":"b7b77923e3d1d42afc826427f3e75b1a","view\/adminhtml\/templates\/info\/pix.phtml":"c5ba26e88a3fed78e16f1f467b42864b","view\/adminhtml\/templates\/info\/twoCreditCard.phtml":"0a220c7417af668dbf3ce1102a44b2bc","view\/adminhtml\/templates\/payment\/info\/billet.phtml":"9e6806b30916bad2cc4bbaf8b6ef0171","view\/adminhtml\/templates\/recurrence\/plans\/create.phtml":"ee52e7b04521fe49151b7b36105be063","view\/adminhtml\/templates\/recurrence\/subscriptions\/create.phtml":"8f31d226eeead0a42f2ad1362e2e1c37","view\/adminhtml\/templates\/recurrence\/subscriptions\/details.phtml":"c364c5a3b218ce55a7cc1e2e2c2925e4","view\/adminhtml\/templates\/tab\/view\/order_charge.phtml":"942d56890867faf265f7fe5cee283aa2","view\/adminhtml\/ui_component\/pagarme_pagarme_cards_index.xml":"4a8edc3cf66deeda8149bcd86e8925ee","view\/adminhtml\/ui_component\/pagarme_pagarme_charges_index.xml":"7239b9e237b04739c013291385e3e2d7","view\/adminhtml\/ui_component\/pagarme_pagarme_invoices_listing.xml":"5eee50f41de04e97558aa8c538d0ac15","view\/adminhtml\/ui_component\/pagarme_pagarme_plans_listing.xml":"1869cab509e383e05e813fa807505b75","view\/adminhtml\/ui_component\/pagarme_pagarme_recurrenceproducts_listing.xml":"f5b81b21aa80a9641ca44c5a74379882","view\/adminhtml\/ui_component\/pagarme_pagarme_subscriptions_listing.xml":"579e0e87d3a0d8eaecbe408ac543efcc","view\/adminhtml\/web\/css\/jquery-ui.min.css":"8dcebf12fbabea677390cfa6d9ad09fb","view\/adminhtml\/web\/css\/pagarme_style.css":"a49a28987438356ff07856f12193dbf2","view\/frontend\/layout\/checkout_index_index.xml":"b3bc872d6ab401c34ed3c498da3a892d","view\/frontend\/layout\/checkout_onepage_success.xml":"7254e97cf57d1c75eada7951fbbd2375","view\/frontend\/layout\/customer_account.xml":"cd5ee0022db7bd1306085321d795313d","view\/frontend\/layout\/pagarme_customer_cards.xml":"45326aa3e6e248bef518c53943c863fc","view\/frontend\/layout\/pagarme_customer_invoice.xml":"ce219436de951ad151a517bd06d1a362","view\/frontend\/layout\/pagarme_customer_subscription.xml":"c6d86376a8e4feeac79965a6cfacb1d6","view\/frontend\/requirejs-config.js":"5142463c632c65b2090fb3f4140f3539","view\/frontend\/templates\/customer\/cards.phtml":"e42a42935c6a0624ef98e4933400716e","view\/frontend\/templates\/customer\/invoice.phtml":"82c2eb5a1ee7e0d8a1eb4b5f6f111d63","view\/frontend\/templates\/customer\/subscription.phtml":"83b3b972e741fbde1882b3690e48367f","view\/frontend\/templates\/info\/billet.phtml":"18e2e36e8da4433f68df5f658ca35baa","view\/frontend\/templates\/info\/billetCreditCard.phtml":"9913bb0d2613b4a0dbcbe6587c18465d","view\/frontend\/templates\/info\/creditCard.phtml":"ceecdd60e7955c4427827c61fa27f589","view\/frontend\/templates\/info\/pix.phtml":"7e93afc4237e622446e8ab7463ca24d3","view\/frontend\/templates\/info\/twoCreditCard.phtml":"c4faca2b8efe544aea4d435eca78ca76","view\/frontend\/templates\/payment\/billet.phtml":"008e05d15ac3dd7f2d5db882619b3778","view\/frontend\/templates\/payment\/pix.phtml":"6f7fd1a92e1e9c6ab1c4fe0dc2f18f61","view\/frontend\/templates\/product\/priceFinal.phtml":"4165160fda9cb695c2911c59f42491a4","view\/frontend\/web\/css\/pagarme_style.css":"7755a0d3a04d2ecb788eadf3bb4fb205","view\/frontend\/web\/template\/payment\/boleto-form.html":"a4d7db1d36c9a1e18249d64c5803fcd5","view\/frontend\/web\/template\/payment\/boleto.html":"c52e34221346043ac23221e2182bcece","view\/frontend\/web\/template\/payment\/boletocreditcard.html":"6e257471cb9091c3f0624b80eeba69eb","view\/frontend\/web\/template\/payment\/creditcard-form.html":"53cfca9d53bf33d9434d4ccf8c797e42","view\/frontend\/web\/template\/payment\/creditcard.html":"59a8715f141f5486eaa2969b118f35b5","view\/frontend\/web\/template\/payment\/debit.html":"7ea6e00a8e5fde553ce5ef2bf0fa8ece","view\/frontend\/web\/template\/payment\/default.html":"a34e52a9c642afd5f5fa32240651c252","view\/frontend\/web\/template\/payment\/multibuyer-form.html":"ef6faf29c52fffae0914a8974bbe7cf0","view\/frontend\/web\/template\/payment\/pix-form.html":"99b4332117619550d10a7534c5e33466","view\/frontend\/web\/template\/payment\/pix.html":"dc0445c884e16179ff07c18fc6c4cd07","view\/frontend\/web\/template\/payment\/twocreditcards.html":"c788874c3d3c2c69219cc32fc19bc566","view\/frontend\/web\/template\/payment\/voucher.html":"7ea6e00a8e5fde553ce5ef2bf0fa8ece"} \ No newline at end of file diff --git a/Setup/InstallData.php b/Setup/InstallData.php index 1c7a6e61..7a883ad8 100644 --- a/Setup/InstallData.php +++ b/Setup/InstallData.php @@ -6,20 +6,29 @@ use Magento\Framework\Setup\InstallDataInterface; use Magento\Framework\Setup\ModuleContextInterface; use Magento\Framework\Setup\ModuleDataSetupInterface; +use Magento\Customer\Setup\CustomerSetupFactory; class InstallData implements InstallDataInterface { + private $customerSetupFactory; + public function __construct( + CustomerSetupFactory $customerSetupFactory + ) { + $this->customerSetupFactory = $customerSetupFactory; + } + /** * {@inheritdoc} */ public function install( ModuleDataSetupInterface $setup, ModuleContextInterface $context - ) - { + ) { $setup->startSetup(); - $tableName = $setup->getTable('sales_order_status_state'); + $tableName = $setup->getTable( + 'sales_order_status_state' + ); if ($setup->getConnection()->isTableExists($tableName) == true) { $connection = $setup->getConnection(); @@ -28,6 +37,40 @@ public function install( $connection->update($tableName, $data, $where); } + $this->addCustomerIdPagarme($setup); + $setup->endSetup(); + } + + protected function addCustomerIdPagarme($setup) + { + $setup->startSetup(); + + $customerSetup = $this->customerSetupFactory->create(['setup' => $setup]); + $attributeCode = 'customer_id_pagarme'; + $customerSetup->removeAttribute(\Magento\Customer\Model\Customer::ENTITY, $attributeCode); + $customerSetup->addAttribute( + 'customer', + $attributeCode, + [ + 'label' => 'Customer Id Pagar.me', + 'type' => 'varchar', + 'input' => 'text', + 'required' => false, + 'visible' => true, + 'system' => false, + 'position' => 200, + 'sort_order' => 200, + 'user_defined' => false, + 'default' => '0', + ] + ); + + $eavConfig = $customerSetup->getEavConfig()->getAttribute('customer', $attributeCode); + $eavConfig->setData('used_in_forms', ['adminhtml_customer']); + $eavConfig->save(); + $setup->endSetup(); + + return $setup; } } diff --git a/Setup/InstallSchema.php b/Setup/InstallSchema.php index d04d7f56..a69c3797 100755 --- a/Setup/InstallSchema.php +++ b/Setup/InstallSchema.php @@ -28,14 +28,17 @@ public function install( $this->installOrder($setup); $this->installCharge($setup); $this->installTransaction($setup); + $this->installCard($setup); + $this->installCharges($setup); $this->installSavedCard($setup); $this->installCustomer($setup); -// $this->installProductsSubscription($setup); -// $this->installSubscriptionRepetitions($setup); -// $this->installRecurrenceSubscription($setup); -// $this->installRecurrenceCharge($setup); -// $this->installSubProducts($setup); -// $this->installProductsPlan($setup); + $this->installProductsSubscription($setup); + $this->installSubscriptionItems($setup); + $this->installSubscriptionRepetitions($setup); + $this->installRecurrenceSubscription($setup); + $this->installRecurrenceCharge($setup); + $this->installSubProducts($setup); + $this->installProductsPlan($setup); $setup->endSetup(); } @@ -68,6 +71,15 @@ public function installConfig( ], 'data' ) + ->addColumn( + 'store_id', + Table::TYPE_TEXT, + 50, + [ + 'nullable' => true + ], + 'Store id' + ) ->setComment('Configuration Table') ->setOption('charset', 'utf8'); @@ -273,6 +285,24 @@ public function installCharge( ], 'Status' ) + ->addColumn( + 'metadata', + Table::TYPE_TEXT, + 500, + [ + 'nullable' => true, + ], + 'Charge metadata' + ) + ->addColumn( + 'customer_id', + Table::TYPE_TEXT, + 50, + [ + 'nullable' => true, + ], + 'Charge customer id' + ) ->setComment('Charge Table') ->setOption('charset', 'utf8'); @@ -340,8 +370,8 @@ public function installTransaction( ) ->addColumn( 'acquirer_tid', - Table::TYPE_INTEGER, - null, + Table::TYPE_TEXT, + 300, [ 'unsigned' => true, 'nullable' => false, @@ -350,8 +380,8 @@ public function installTransaction( ) ->addColumn( 'acquirer_nsu', - Table::TYPE_INTEGER, - null, + Table::TYPE_TEXT, + 300, [ 'unsigned' => true, 'nullable' => false, @@ -360,8 +390,8 @@ public function installTransaction( ) ->addColumn( 'acquirer_auth_code', - Table::TYPE_INTEGER, - null, + Table::TYPE_TEXT, + 300, [ 'unsigned' => true, 'nullable' => false, @@ -418,6 +448,33 @@ public function installTransaction( ], 'Created At' ) + ->addColumn( + 'boleto_url', + Table::TYPE_TEXT, + 500, + [ + 'nullable' => false, + ], + 'Boleto url' + ) + ->addColumn( + 'card_data', + Table::TYPE_TEXT, + 600, + [ + 'nullable' => true, + ], + 'Card data' + ) + ->addColumn( + 'transaction_data', + Table::TYPE_TEXT, + null, + [ + 'nullable' => true, + ], + 'Transaction Data' + ) ->setComment('Transaction Table') ->setOption('charset', 'utf8'); @@ -426,6 +483,187 @@ public function installTransaction( return $installer; } + public function installCard(SchemaSetupInterface $installer) + { + $tableName = $installer->getTable('pagarme_pagarme_cards'); + if (!$installer->getConnection()->isTableExists($tableName)) { + $savedCardTable = $installer->getConnection() + ->newTable($tableName) + ->addColumn( + 'id', + Table::TYPE_INTEGER, + null, + [ + 'identity' => true, + 'unsigned' => true, + 'nullable' => false, + 'primary' => true + ], + 'ID' + ) + ->addColumn( + 'customer_id', + Table::TYPE_INTEGER, + null, + ['nullable' => false, 'default' => '0'], + 'Customer Id' + ) + ->addColumn( + 'card_token', + Table::TYPE_TEXT, + null, + ['nullable' => false, 'default' => ''], + 'Card Token' + ) + ->addColumn( + 'card_id', + Table::TYPE_TEXT, + null, + ['nullable' => false, 'default' => ''], + 'Card Id' + ) + ->addColumn( + 'last_four_numbers', + Table::TYPE_TEXT, + null, + ['nullable' => false, 'default' => ''], + 'Last Four Numbers' + ) + ->addColumn( + 'created_at', + Table::TYPE_DATETIME, + null, + ['nullable' => false], + 'Created At' + ) + ->addColumn( + 'updated_at', + Table::TYPE_DATETIME, + null, + ['nullable' => false], + 'Updated At' + ) + ->addColumn( + 'brand', + Table::TYPE_TEXT, + 255, + ['nullable' => false, 'default' => ''], + 'Card Brand' + ) + ->setComment('Pagar.me Card Tokens') + ->setOption('type', 'InnoDB') + ->setOption('charset', 'utf8'); + + $installer->getConnection()->createTable($savedCardTable); + } + return $installer; + } + + protected function installCharges($setup) + { + $installer = $setup; + $installer->startSetup(); + + // Get tutorial_simplenews table + $tableName = $installer->getTable('pagarme_pagarme_charges'); + // Check if the table already exists + if ($installer->getConnection()->isTableExists($tableName) != true) { + // Create tutorial_simplenews table + $table = $installer->getConnection() + ->newTable($tableName) + ->addColumn( + 'id', + Table::TYPE_INTEGER, + null, + [ + 'identity' => true, + 'unsigned' => true, + 'nullable' => false, + 'primary' => true + ], + 'ID' + ) + ->addColumn( + 'charge_id', + Table::TYPE_TEXT, + null, + ['nullable' => false, 'default' => ''], + 'Charge Id' + ) + ->addColumn( + 'code', + Table::TYPE_TEXT, + null, + ['nullable' => false, 'default' => ''], + 'Code' + ) + ->addColumn( + 'order_id', + Table::TYPE_TEXT, + null, + ['nullable' => false, 'default' => ''], + 'Order Id' + ) + ->addColumn( + 'type', + Table::TYPE_TEXT, + null, + ['nullable' => false, 'default' => ''], + 'Type' + ) + ->addColumn( + 'status', + Table::TYPE_TEXT, + null, + ['nullable' => false, 'default' => ''], + 'Status' + ) + ->addColumn( + 'amount', + Table::TYPE_FLOAT, + null, + ['nullable' => false, 'default' => '0'], + 'Amount' + ) + ->addColumn( + 'paid_amount', + Table::TYPE_FLOAT, + null, + ['nullable' => false, 'default' => '0'], + 'Paid Amount' + ) + ->addColumn( + 'refunded_amount', + Table::TYPE_FLOAT, + null, + ['nullable' => false, 'default' => '0'], + 'Refunded Amount' + ) + ->addColumn( + 'created_at', + Table::TYPE_DATETIME, + null, + ['nullable' => false], + 'Created At' + ) + ->addColumn( + 'updated_at', + Table::TYPE_DATETIME, + null, + ['nullable' => false], + 'Updated At' + ) + ->setComment('Pagar.me Charges') + ->setOption('type', 'InnoDB') + ->setOption('charset', 'utf8'); + $installer->getConnection()->createTable($table); + } + + $installer->endSetup(); + + return $setup; + } + public function installSavedCard(SchemaSetupInterface $installer) { $tableName = $installer->getTable('pagarme_module_core_saved_card'); @@ -489,6 +727,24 @@ public function installSavedCard(SchemaSetupInterface $installer) ], 'card brand' ) + ->addColumn( + 'owner_name', + Table::TYPE_TEXT, + 50, + [ + 'nullable' => true + ], + 'Card owner name' + ) + ->addColumn( + 'created_at', + Table::TYPE_DATETIME, + null, + [ + 'nullable' => false, + ], + 'Card createdAt' + ) ->setComment('Saved Card Table') ->setOption('charset', 'utf8'); @@ -774,6 +1030,13 @@ public function installSubProducts(SchemaSetupInterface $installer) ['nullable' => false, 'default' => \Magento\Framework\DB\Ddl\Table::TIMESTAMP_INIT_UPDATE], 'Updated At' ) + ->addColumn( + 'pagarme_id', + Table::TYPE_TEXT, + 21, + ['nullable' => true], + 'Pagarme Id' + ) ->setOption('charset', 'utf8'); $installer->getConnection()->createTable($customer); diff --git a/Setup/Recurrence.php b/Setup/Recurrence.php deleted file mode 100644 index fdcd5400..00000000 --- a/Setup/Recurrence.php +++ /dev/null @@ -1,654 +0,0 @@ -$eavSetupFactory = $eavSetupFactory; - return $this->$eavSetupFactory; - } - - public function recorrence($setup,$eavSetupFactory){ - - $this->setFactory($eavSetupFactory); - //Plan - $this->updateConfigProductPlanPaymment($setup); - $this->updateConfigProductPlanInterval($setup); - $this->updateConfigProductPlanIntervalPeriod($setup); - $this->updateConfigProductPlanBillingType($setup); - $this->updateConfigProductPlanBillingPeriodDays($setup); - $this->updateConfigProductPlanTrialPeriod($setup); - - // Recorrence - $this->updateConfigProductRecurrencePaymment($setup); - $this->updateConfigProductRecurrenceInterval($setup); - $this->updateConfigProductRecurrenceIntervalPeriod($setup); - $this->updateConfigProductRecurrenceBillingType($setup); - $this->updateConfigProductRecurrenceBillingPeriodDays($setup); - $this->updateConfigProductRecurrenceStartAt($setup); - $this->updateConfigProductRecurrenceStartAtDays($setup); - $this->updateConfigProductRecurrenceAllowSet($setup); - $this->updateConfigProductRecurrenceGlobal($setup); - } - - - public function updateConfigProductPlanPaymment($setup) - { - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_payment', - [ - 'group' => 'Plan Config', - 'type' => 'varchar', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 1, - 'label' => 'Payment Methods', - 'input' => 'select', - 'class' => '', - 'source' => 'Pagarme\Pagarme\Model\Source\EavPaymentMethods', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => 'credit', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => true, - 'used_in_product_listing' => true, - 'unique' => false, - 'option' => [ - 'values' => [], - ], - 'apply_to'=>'plan' - ] - ); - - } - - - public function updateConfigProductPlanInterval($setup) - { - - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_interval', - [ - 'group' => 'Plan Config', - 'type' => 'varchar', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 2, - 'label' => 'Interval', - 'input' => 'select', - 'class' => '', - 'source' => 'Pagarme\Pagarme\Model\Source\EavInterval', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => 'day', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => true, - 'used_in_product_listing' => true, - 'unique' => false, - 'option' => [ - 'values' => [], - ], - 'apply_to'=>'plan,recurrence' - ] - ); - - } - - public function updateConfigProductPlanIntervalPeriod($setup) - { - - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_interval_period', - [ - 'group' => 'Plan Config', - 'type' => 'int', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 3, - 'label' => 'Period', - 'input' => 'text', - 'class' => '', - 'source' => '', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => '', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => true, - 'used_in_product_listing' => true, - 'unique' => false, - 'apply_to'=>'plan,recurrence' - ] - ); - - } - - - public function updateConfigProductPlanBillingType($setup) - { - - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_billing_type', - [ - 'group' => 'Plan Config', - 'type' => 'varchar', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 4, - 'label' => 'Billing Type', - 'input' => 'select', - 'class' => '', - 'source' => 'Pagarme\Pagarme\Model\Source\EavBillingType', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => 'day', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => true, - 'used_in_product_listing' => true, - 'unique' => false, - 'option' => [ - 'values' => [], - ], - 'apply_to'=>'plan,recurrence' - ] - ); - - } - - public function updateConfigProductPlanBillingPeriodDays($setup) - { - - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_billing_type_day', - [ - 'group' => 'Plan Config', - 'type' => 'int', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 5, - 'label' => 'Day(s)', - 'input' => 'text', - 'class' => '', - 'source' => '', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => '', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => true, - 'used_in_product_listing' => true, - 'unique' => false, - 'apply_to'=>'plan' - ] - ); - - } - - public function updateConfigProductPlanTrialPeriod($setup) - { - - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_trial_period', - [ - 'group' => 'Plan Config', - 'type' => 'int', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 6, - 'label' => 'Trial Period', - 'input' => 'text', - 'class' => '', - 'source' => '', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => '', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => true, - 'used_in_product_listing' => true, - 'unique' => false, - 'apply_to'=>'plan' - ] - ); - - } - - public function updateConfigProductRecurrencePaymment($setup) - { - - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - - $eavSetup->removeAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_rec_interval' - ); - $eavSetup->removeAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_rec_payment' - ); - - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_rec_payment', - [ - 'group' => 'Recurrence Config', - 'type' => 'varchar', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 4, - 'label' => 'Payment Methods', - 'input' => 'select', - 'class' => '', - 'source' => 'Pagarme\Pagarme\Model\Source\EavPaymentMethods', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => 'credit', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => true, - 'used_in_product_listing' => true, - 'unique' => false, - 'option' => [ - 'values' => [], - ], - 'apply_to'=>'recurrence' - ] - ); - - } - - - public function updateConfigProductRecurrenceInterval($setup) - { - - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_rec_interval', - [ - 'group' => 'Recurrence Config', - 'type' => 'varchar', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 5, - 'label' => 'Interval', - 'input' => 'select', - 'class' => '', - 'source' => 'Pagarme\Pagarme\Model\Source\EavInterval', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => 'day', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => true, - 'used_in_product_listing' => true, - 'unique' => false, - 'option' => [ - 'values' => [], - ], - 'apply_to'=>'recurrence' - ] - ); - - } - - public function updateConfigProductRecurrenceIntervalPeriod($setup) - { - - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_rec_interval_period', - [ - 'group' => 'Recurrence Config', - 'type' => 'int', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 6, - 'label' => 'Period', - 'input' => 'text', - 'class' => '', - 'source' => '', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => '', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_fHront' => true, - 'used_in_product_listing' => true, - 'unique' => false, - 'apply_to'=>'recurrence' - ] - ); - - } - - public function updateConfigProductRecurrenceBillingType($setup) - { - - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_rec_billing_type', - [ - 'group' => 'Recurrence Config', - 'type' => 'varchar', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 7, - 'label' => 'Billing Type', - 'input' => 'select', - 'class' => '', - 'source' => 'Pagarme\Pagarme\Model\Source\EavBillingType', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => 'day', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => true, - 'used_in_product_listing' => true, - 'unique' => false, - 'option' => [ - 'values' => [], - ], - 'apply_to'=>'recurrence' - ] - ); - } - - public function updateConfigProductRecurrenceBillingPeriodDays($setup) - { - - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_rec_billing_type_day', - [ - 'group' => 'Recurrence Config', - 'type' => 'int', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 8, - 'label' => 'Day(s)', - 'input' => 'text', - 'class' => '', - 'source' => '', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => '', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => true, - 'used_in_product_listing' => true, - 'unique' => false, - 'apply_to'=>'recurrence' - ] - ); - - } - - - - - public function updateConfigProductRecurrenceStartAt($setup) - { - - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_rec_start_at', - [ - 'group' => 'Recurrence Config', - 'type' => 'varchar', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 9, - 'label' => 'Start At', - 'input' => 'select', - 'class' => '', - 'source' => 'Pagarme\Pagarme\Model\Source\EavInterval', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => 'day', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => true, - 'used_in_product_listing' => true, - 'unique' => false, - 'option' => [ - 'values' => [], - ], - 'apply_to'=>'recurrence' - ] - ); - - } - - public function updateConfigProductRecurrenceStartAtDays($setup) - { - - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_rec_start_at_day', - [ - 'group' => 'Recurrence Config', - 'type' => 'int', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 10, - 'label' => 'Day(s)', - 'input' => 'text', - 'class' => '', - 'source' => '', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => '', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => true, - 'used_in_product_listing' => true, - 'unique' => false, - 'apply_to'=>'recurrence' - ] - ); - } - - public function updateConfigProductRecurrenceCycleDiscount($setup) - { - - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - - $eavSetup->removeAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_rec_cycle_discount'); - /* - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_rec_cycle_discount', - [ - 'group' => 'Recurrence Config', - 'type' => 'int', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 8, - 'label' => 'Day(s)', - 'input' => 'text', - 'class' => '', - 'source' => '', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => '', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => true, - 'used_in_product_listing' => true, - 'unique' => false, - 'apply_to'=>'recurrence' - ] - ); - */ - } - - public function updateConfigProductRecurrenceAllowSet($setup) - { - - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_rec_allow_set', - [ - 'group' => 'Recurrence Config', - 'type' => 'int', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 1, - 'label' => 'Allow sell as normal product', - 'input' => 'boolean', - 'class' => '', - 'source' => 'Magento\Eav\Model\Entity\Attribute\Source\Boolean', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => '0', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => false, - 'used_in_product_listing' => false, - 'unique' => false, - 'apply_to'=>'recurrence' - ] - ); - } - - public function updateConfigProductRecurrenceGlobal($setup) - { - - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_rec_global', - [ - 'group' => 'Recurrence Config', - 'type' => 'int', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 2, - 'label' => 'Use Global Configuration', - 'input' => 'boolean', - 'class' => '', - 'source' => 'Magento\Eav\Model\Entity\Attribute\Source\Boolean', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => '0', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => false, - 'used_in_product_listing' => false, - 'unique' => false, - 'apply_to'=>'recurrence' - ] - ); - } - - public function updateConfigProductRecurrenceAllowOther($setup) - { - - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_rec_allow_other', - [ - 'group' => 'Recurrence Config', - 'type' => 'int', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 3, - 'label' => 'Allow to add with other recurrence items in the cart', - 'input' => 'boolean', - 'class' => '', - 'source' => 'Magento\Eav\Model\Entity\Attribute\Source\Boolean', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => '0', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => false, - 'used_in_product_listing' => false, - 'unique' => false, - 'apply_to'=>'recurrence' - ] - ); - } - -} diff --git a/Setup/UpgradeData.php b/Setup/UpgradeData.php index e5d90bff..a952feba 100644 --- a/Setup/UpgradeData.php +++ b/Setup/UpgradeData.php @@ -15,17 +15,6 @@ class UpgradeData implements UpgradeDataInterface { - private $customerSetupFactory; - private $eavSetupFactory; - - public function __construct( - CustomerSetupFactory $customerSetupFactory, - EavSetupFactory $eavSetupFactory - ) - { - $this->customerSetupFactory = $customerSetupFactory; - $this->eavSetupFactory = $eavSetupFactory; - } /** * @param ModuleDataSetupInterface $setup @@ -34,728 +23,8 @@ public function __construct( public function upgrade( ModuleDataSetupInterface $setup, ModuleContextInterface $context - ) - { - $setup->startSetup(); - - if (version_compare($context->getVersion(), "0.1.1", "<")) { - $setup = $this->updateVersionZeroOneOne($setup); - } - - if (version_compare($context->getVersion(), "0.1.2", "<")) { - $setup = $this->updateVersionZeroOneTwo($setup); - } - - if (version_compare($context->getVersion(), "1.2.15", "<")) { - $setup = $this->updateVersionOneTwoFourteen($setup); - } - - $setup->endSetup(); - } - - protected function updateVersionOneTwoFourteen($setup) - { + ) { $setup->startSetup(); - - $customerSetup = $this->customerSetupFactory->create(['setup' => $setup]); - $attributeCode = 'customer_id_pagarme'; - $customerSetup->removeAttribute(\Magento\Customer\Model\Customer::ENTITY, $attributeCode); - $customerSetup->addAttribute( - 'customer', - $attributeCode, - [ - 'label' => 'Customer Id Pagar.me', - 'type' => 'varchar', - 'input' => 'text', - 'required' => false, - 'visible' => true, - 'system'=> false, - 'position' => 200, - 'sort_order' => 200, - 'user_defined' => false, - 'default' => '0', - ] - ); - - $eavConfig = $customerSetup->getEavConfig()->getAttribute('customer', $attributeCode); - $eavConfig->setData('used_in_forms',['adminhtml_customer']); - $eavConfig->save(); - $setup->endSetup(); - - return $setup; - } - - protected function updateVersionZeroOneTwo($setup) - { - $installer = $setup; - $installer->startSetup(); - - // Get tutorial_simplenews table - $tableName = $installer->getTable('pagarme_pagarme_charges'); - // Check if the table already exists - if ($installer->getConnection()->isTableExists($tableName) != true) { - // Create tutorial_simplenews table - $table = $installer->getConnection() - ->newTable($tableName) - ->addColumn( - 'id', - Table::TYPE_INTEGER, - null, - [ - 'identity' => true, - 'unsigned' => true, - 'nullable' => false, - 'primary' => true - ], - 'ID' - ) - ->addColumn( - 'charge_id', - Table::TYPE_TEXT, - null, - ['nullable' => false, 'default' => ''], - 'Charge Id' - ) - ->addColumn( - 'code', - Table::TYPE_TEXT, - null, - ['nullable' => false, 'default' => ''], - 'Code' - ) - ->addColumn( - 'order_id', - Table::TYPE_TEXT, - null, - ['nullable' => false, 'default' => ''], - 'Order Id' - ) - ->addColumn( - 'type', - Table::TYPE_TEXT, - null, - ['nullable' => false, 'default' => ''], - 'Type' - ) - ->addColumn( - 'status', - Table::TYPE_TEXT, - null, - ['nullable' => false, 'default' => ''], - 'Status' - ) - ->addColumn( - 'amount', - Table::TYPE_FLOAT, - null, - ['nullable' => false, 'default' => '0'], - 'Amount' - ) - ->addColumn( - 'paid_amount', - Table::TYPE_FLOAT, - null, - ['nullable' => false, 'default' => '0'], - 'Paid Amount' - ) - ->addColumn( - 'refunded_amount', - Table::TYPE_FLOAT, - null, - ['nullable' => false, 'default' => '0'], - 'Refunded Amount' - ) - ->addColumn( - 'created_at', - Table::TYPE_DATETIME, - null, - ['nullable' => false], - 'Created At' - ) - ->addColumn( - 'updated_at', - Table::TYPE_DATETIME, - null, - ['nullable' => false], - 'Updated At' - ) - ->setComment('Pagar.me Charges') - ->setOption('type', 'InnoDB') - ->setOption('charset', 'utf8'); - $installer->getConnection()->createTable($table); - } - - $installer->endSetup(); - - return $setup; - } - - protected function updateVersionZeroOneOne($setup) - { - $tableName = $setup->getTable('sales_order_status_state'); - - if ($setup->getConnection()->isTableExists($tableName) == true) { - $connection = $setup->getConnection(); - $where = ['state = ?' => 'pending_payment']; - $data = ['visible_on_front' => 1]; - $connection->update($tableName, $data, $where); - } - - return $setup; - } - - public function updateConfigProductPlanPaymment($setup) - { - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_payment', - [ - 'group' => 'Plan Config', - 'type' => 'varchar', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 1, - 'label' => 'Payment Methods', - 'input' => 'select', - 'class' => '', - 'source' => 'Pagarme\Pagarme\Model\Source\EavPaymentMethods', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => 'credit', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => true, - 'used_in_product_listing' => true, - 'unique' => false, - 'option' => [ - 'values' => [], - ], - 'apply_to'=>'plan' - ] - ); - } - - public function updateConfigProductPlanInterval($setup) - { - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_interval', - [ - 'group' => 'Plan Config', - 'type' => 'varchar', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 2, - 'label' => 'Interval', - 'input' => 'select', - 'class' => '', - 'source' => 'Pagarme\Pagarme\Model\Source\EavInterval', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => 'day', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => true, - 'used_in_product_listing' => true, - 'unique' => false, - 'option' => [ - 'values' => [], - ], - 'apply_to'=>'plan,recurrence' - ] - ); - - } - - public function updateConfigProductPlanIntervalPeriod($setup) - { - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_interval_period', - [ - 'group' => 'Plan Config', - 'type' => 'int', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 3, - 'label' => 'Period', - 'input' => 'text', - 'class' => '', - 'source' => '', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => '', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => true, - 'used_in_product_listing' => true, - 'unique' => false, - 'apply_to'=>'plan,recurrence' - ] - ); - } - - public function updateConfigProductPlanBillingType($setup) - { - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_billing_type', - [ - 'group' => 'Plan Config', - 'type' => 'varchar', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 4, - 'label' => 'Billing Type', - 'input' => 'select', - 'class' => '', - 'source' => 'Pagarme\Pagarme\Model\Source\EavBillingType', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => 'day', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => true, - 'used_in_product_listing' => true, - 'unique' => false, - 'option' => [ - 'values' => [], - ], - 'apply_to'=>'plan,recurrence' - ] - ); - } - - public function updateConfigProductPlanBillingPeriodDays($setup) - { - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_billing_type_day', - [ - 'group' => 'Plan Config', - 'type' => 'int', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 5, - 'label' => 'Day(s)', - 'input' => 'text', - 'class' => '', - 'source' => '', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => '', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => true, - 'used_in_product_listing' => true, - 'unique' => false, - 'apply_to'=>'plan' - ] - ); - } - - public function updateConfigProductPlanTrialPeriod($setup) - { - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_trial_period', - [ - 'group' => 'Plan Config', - 'type' => 'int', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 6, - 'label' => 'Trial Period', - 'input' => 'text', - 'class' => '', - 'source' => '', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => '', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => true, - 'used_in_product_listing' => true, - 'unique' => false, - 'apply_to'=>'plan' - ] - ); - } - - public function updateConfigProductRecurrencePaymment($setup) - { - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - - $eavSetup->removeAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_rec_interval' - ); - $eavSetup->removeAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_rec_payment' - ); - - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_rec_payment', - [ - 'group' => 'Recurrence Config', - 'type' => 'varchar', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 4, - 'label' => 'Payment Methods', - 'input' => 'select', - 'class' => '', - 'source' => 'Pagarme\Pagarme\Model\Source\EavPaymentMethods', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => 'credit', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => true, - 'used_in_product_listing' => true, - 'unique' => false, - 'option' => [ - 'values' => [], - ], - 'apply_to'=>'recurrence' - ] - ); - } - - public function updateConfigProductRecurrenceInterval($setup) - { - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_rec_interval', - [ - 'group' => 'Recurrence Config', - 'type' => 'varchar', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 5, - 'label' => 'Interval', - 'input' => 'select', - 'class' => '', - 'source' => 'Pagarme\Pagarme\Model\Source\EavInterval', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => 'day', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => true, - 'used_in_product_listing' => true, - 'unique' => false, - 'option' => [ - 'values' => [], - ], - 'apply_to'=>'recurrence' - ] - ); - } - - public function updateConfigProductRecurrenceIntervalPeriod($setup) - { - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_rec_interval_period', - [ - 'group' => 'Recurrence Config', - 'type' => 'int', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 6, - 'label' => 'Period', - 'input' => 'text', - 'class' => '', - 'source' => '', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => '', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_fHront' => true, - 'used_in_product_listing' => true, - 'unique' => false, - 'apply_to'=>'recurrence' - ] - ); - } - - public function updateConfigProductRecurrenceBillingType($setup) - { - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_rec_billing_type', - [ - 'group' => 'Recurrence Config', - 'type' => 'varchar', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 7, - 'label' => 'Billing Type', - 'input' => 'select', - 'class' => '', - 'source' => 'Pagarme\Pagarme\Model\Source\EavBillingType', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => 'day', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => true, - 'used_in_product_listing' => true, - 'unique' => false, - 'option' => [ - 'values' => [], - ], - 'apply_to'=>'recurrence' - ] - ); - } - - public function updateConfigProductRecurrenceBillingPeriodDays($setup) - { - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_rec_billing_type_day', - [ - 'group' => 'Recurrence Config', - 'type' => 'int', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 8, - 'label' => 'Day(s)', - 'input' => 'text', - 'class' => '', - 'source' => '', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => '', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => true, - 'used_in_product_listing' => true, - 'unique' => false, - 'apply_to'=>'recurrence' - ] - ); - } - - public function updateConfigProductRecurrenceStartAt($setup) - { - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_rec_start_at', - [ - 'group' => 'Recurrence Config', - 'type' => 'varchar', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 9, - 'label' => 'Start At', - 'input' => 'select', - 'class' => '', - 'source' => 'Pagarme\Pagarme\Model\Source\EavInterval', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => 'day', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => true, - 'used_in_product_listing' => true, - 'unique' => false, - 'option' => [ - 'values' => [], - ], - 'apply_to'=>'recurrence' - ] - ); - - } - - public function updateConfigProductRecurrenceStartAtDays($setup) - { - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_rec_start_at_day', - [ - 'group' => 'Recurrence Config', - 'type' => 'int', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 10, - 'label' => 'Day(s)', - 'input' => 'text', - 'class' => '', - 'source' => '', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => '', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => true, - 'used_in_product_listing' => true, - 'unique' => false, - 'apply_to'=>'recurrence' - ] - ); - } - - public function updateConfigProductRecurrenceCycleDiscount($setup) - { - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - - $eavSetup->removeAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_rec_cycle_discount'); - } - - public function updateConfigProductRecurrenceAllowSet($setup) - { - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_rec_allow_set', - [ - 'group' => 'Recurrence Config', - 'type' => 'int', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 1, - 'label' => 'Allow sell as normal product', - 'input' => 'boolean', - 'class' => '', - 'source' => 'Magento\Eav\Model\Entity\Attribute\Source\Boolean', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => '0', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => false, - 'used_in_product_listing' => false, - 'unique' => false, - 'apply_to'=>'recurrence' - ] - ); - } - - public function updateConfigProductRecurrenceGlobal($setup) - { - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_rec_global', - [ - 'group' => 'Recurrence Config', - 'type' => 'int', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 2, - 'label' => 'Use Global Configuration', - 'input' => 'boolean', - 'class' => '', - 'source' => 'Magento\Eav\Model\Entity\Attribute\Source\Boolean', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => '0', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => false, - 'used_in_product_listing' => false, - 'unique' => false, - 'apply_to'=>'recurrence' - ] - ); - } - - public function updateConfigProductRecurrenceAllowOther($setup) - { - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - $eavSetup->addAttribute( - \Magento\Catalog\Model\Product::ENTITY, - 'eav_pagarme_rec_allow_other', - [ - 'group' => 'Recurrence Config', - 'type' => 'int', - 'backend' => '', - 'frontend' => '', - 'sort_order' => 3, - 'label' => 'Allow to add with other recurrence items in the cart', - 'input' => 'boolean', - 'class' => '', - 'source' => 'Magento\Eav\Model\Entity\Attribute\Source\Boolean', - 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, - 'visible' => true, - 'required' => false, - 'user_defined' => false, - 'default' => '0', - 'searchable' => false, - 'filterable' => false, - 'comparable' => false, - 'visible_on_front' => false, - 'used_in_product_listing' => false, - 'unique' => false, - 'apply_to'=>'recurrence' - ] - ); } } diff --git a/Setup/UpgradeSchema.php b/Setup/UpgradeSchema.php index 7d28869b..4372cb89 100644 --- a/Setup/UpgradeSchema.php +++ b/Setup/UpgradeSchema.php @@ -1,10 +1,10 @@ startSetup(); - $version = $context->getVersion(); - - if (version_compare($version, "1.0.2", "<")) { - $setup = $this->updateVersionOneZeroTwo($setup); - } - - if (version_compare($version, "1.0.14", "<")) { - $setup = $this->updateVersionOneZeroTwelve($setup); - } - - //Pagarme Module Core tables - $installSchema = new InstallSchema(); - - if (version_compare($version, "1.3.0", "<")) { - $setup = $installSchema->installWebhook($setup); - $setup = $installSchema->installOrder($setup); - $setup = $installSchema->installCharge($setup); - $setup = $installSchema->installTransaction($setup); - } - - if (version_compare($version, "1.4.0", "<")) { - $setup = $installSchema->installConfig($setup); - $setup = $this->fixTransactionTable($setup); - } - if (version_compare($version, "1.7.0", "<")) { - $setup = $installSchema->installSavedCard($setup); - $setup = $installSchema->installCustomer($setup); - $setup = $this->addBoletoInfoToTransactionTable($setup); - } - - if (version_compare($version, "1.7.2", "<")) { - $setup = $this->addStoreIdToConfigurationTable($setup); - $setup = $this->addCardOwnerNameToCardsTable($setup); - } - - if (version_compare($version, "1.8.1", "<")) { - $setup = $this->addCreatedAtToCardsTable($setup); - } - - if (version_compare($version, "1.8.7", "<")) { - $setup = $this->addMetadataToChargeTable($setup); - $setup = $this->addCustomerIdToChargeTable($setup); - $setup = $this->addCardDataToTransactionTable($setup); - } - - if (version_compare($version, "2.0.0-beta", "<")) { - $setup = $installSchema->installProductsSubscription($setup); - $setup = $installSchema->installSubscriptionRepetitions($setup); - $setup = $installSchema->installRecurrenceSubscription($setup); - $setup = $installSchema->installRecurrenceCharge($setup); - $setup = $installSchema->installSubProducts($setup); - $setup = $installSchema->installProductsPlan($setup); - } - - if (version_compare($version, "2.0.1-beta", "<")) { - $setup = $this->addPagarmeIdToSubProductsTable($setup); - } - - if (version_compare($version, "2.0.2-beta", "<")) { - $setup = $this->addTransactionDataToTransactionTable($setup); - } - - if (version_compare($version, "2.1.0-beta", "<")) { - $setup = $installSchema->installSubscriptionItems($setup); - } - $setup->endSetup(); } - - protected function updateVersionOneZeroTwo($setup) - { - $installer = $setup; - $installer->startSetup(); - - // Get tutorial_simplenews table - $tableName = $installer->getTable('pagarme_pagarme_cards'); - // Check if the table already exists - if ($installer->getConnection()->isTableExists($tableName) != true) { - // Create tutorial_simplenews table - $table = $installer->getConnection() - ->newTable($tableName) - ->addColumn( - 'id', - Table::TYPE_INTEGER, - null, - [ - 'identity' => true, - 'unsigned' => true, - 'nullable' => false, - 'primary' => true - ], - 'ID' - ) - ->addColumn( - 'customer_id', - Table::TYPE_INTEGER, - null, - ['nullable' => false, 'default' => '0'], - 'Customer Id' - ) - ->addColumn( - 'card_token', - Table::TYPE_TEXT, - null, - ['nullable' => false, 'default' => ''], - 'Card Token' - ) - ->addColumn( - 'card_id', - Table::TYPE_TEXT, - null, - ['nullable' => false, 'default' => ''], - 'Card Id' - ) - ->addColumn( - 'last_four_numbers', - Table::TYPE_TEXT, - null, - ['nullable' => false, 'default' => ''], - 'Last Four Numbers' - ) - ->addColumn( - 'created_at', - Table::TYPE_DATETIME, - null, - ['nullable' => false], - 'Created At' - ) - ->addColumn( - 'updated_at', - Table::TYPE_DATETIME, - null, - ['nullable' => false], - 'Updated At' - ) - ->setComment('Pagar.me Card Tokens') - ->setOption('type', 'InnoDB') - ->setOption('charset', 'utf8'); - $installer->getConnection()->createTable($table); - } - - $installer->endSetup(); - - return $setup; - } - - protected function updateVersionOneZeroTwelve($setup) - { - $installer = $setup; - $installer->startSetup(); - - $connection = $installer->getConnection(); - - $connection->addColumn( - $installer->getTable('pagarme_pagarme_cards'), - 'brand', - [ - 'type' => Table::TYPE_TEXT, - 'length' => 255, - 'nullable' => false, - 'default' => '', - 'comment' => 'Card Brand' - ] - ); - - $installer->endSetup(); - - return $setup; - } - - protected function fixTransactionTable($setup) - { - $installer = $setup; - - $connection = $installer->getConnection(); - - $connection->modifyColumn( - $installer->getTable('pagarme_module_core_transaction'), - 'acquirer_tid', - [ - 'type' => Table::TYPE_TEXT, - 'length' => 300, - ] - ) - ->modifyColumn( - $installer->getTable('pagarme_module_core_transaction'), - 'acquirer_nsu', - [ - 'type' => Table::TYPE_TEXT, - 'length' => 300, - ] - ) - ->modifyColumn( - $installer->getTable('pagarme_module_core_transaction'), - 'acquirer_auth_code', - [ - 'type' => Table::TYPE_TEXT, - 'length' => 300, - ] - ); - - return $setup; - } - - protected function addBoletoInfoToTransactionTable($setup) - { - $installer = $setup; - - $connection = $installer->getConnection(); - $tableName = $installer->getTable('pagarme_module_core_transaction'); - - $connection->addColumn( - $tableName, - 'boleto_url', - [ - 'type' => Table::TYPE_TEXT, - 'length' => 500, - 'nullable' => true, - 'comment' => 'Boleto url' - ] - ); - - return $setup; - } - - protected function addStoreIdToConfigurationTable($setup) - { - $installer = $setup; - - $connection = $installer->getConnection(); - $tableName = $installer->getTable('pagarme_module_core_configuration'); - - $connection->addColumn( - $tableName, - 'store_id', - [ - 'type' => Table::TYPE_TEXT, - 'length' => 50, - 'nullable' => true, - 'comment' => 'Store id' - ] - ); - - return $setup; - } - - protected function addCardOwnerNameToCardsTable($setup) - { - $installer = $setup; - - $connection = $installer->getConnection(); - $tableName = $installer->getTable('pagarme_module_core_saved_card'); - - $connection->addColumn( - $tableName, - 'owner_name', - [ - 'type' => Table::TYPE_TEXT, - 'length' => 50, - 'nullable' => true, - 'comment' => 'Card owner name' - ] - ); - - return $setup; - } - - protected function addCreatedAtToCardsTable($setup) - { - $installer = $setup; - - $connection = $installer->getConnection(); - $tableName = $installer->getTable('pagarme_module_core_saved_card'); - - $connection->addColumn( - $tableName, - 'created_at', - [ - 'type' => Table::TYPE_DATETIME, - 'nullable' => false, - 'comment' => 'Card createdAt' - ] - ); - - return $setup; - } - - protected function addMetadataToChargeTable($setup) - { - $installer = $setup; - - $connection = $installer->getConnection(); - $tableName = $installer->getTable('pagarme_module_core_charge'); - - $connection->addColumn( - $tableName, - 'metadata', - [ - 'type' => Table::TYPE_TEXT, - 'length' => 500, - 'nullable' => true, - 'comment' => 'Charge metadata' - ] - ); - - return $setup; - } - - protected function addCustomerIdToChargeTable($setup) - { - $installer = $setup; - - $connection = $installer->getConnection(); - $tableName = $installer->getTable('pagarme_module_core_charge'); - - $connection->addColumn( - $tableName, - 'customer_id', - [ - 'type' => Table::TYPE_TEXT, - 'length' => 50, - 'nullable' => true, - 'comment' => 'Charge customer id' - ] - ); - - return $setup; - } - - protected function addCardDataToTransactionTable($setup) - { - $installer = $setup; - - $connection = $installer->getConnection(); - $tableName = $installer->getTable('pagarme_module_core_transaction'); - - $connection->addColumn( - $tableName, - 'card_data', - [ - 'type' => Table::TYPE_TEXT, - 'length' => 600, - 'nullable' => true, - 'comment' => 'Card data' - ] - ); - - return $setup; - } - - protected function addPagarmeIdToSubProductsTable($setup) - { - $installer = $setup; - - $connection = $installer->getConnection(); - $tableName = $installer->getTable('pagarme_module_core_recurrence_sub_products'); - - $connection->addColumn( - $tableName, - 'pagarme_id', - [ - 'type' => Table::TYPE_TEXT, - 'length' => 21, - 'nullable' => true, - 'comment' => 'Pagarme Id' - ] - ); - - return $setup; - } - - protected function addTransactionDataToTransactionTable($setup) - { - $installer = $setup; - - $connection = $installer->getConnection(); - $tableName = $installer->getTable('pagarme_module_core_transaction'); - - $connection->addColumn( - $tableName, - 'transaction_data', - [ - 'type' => Table::TYPE_TEXT, - null, - 'nullable' => true, - 'comment' => 'Transaction Data' - ] - ); - - return $setup; - } } diff --git a/composer.json b/composer.json index 7878e265..a1700377 100755 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "pagarme/pagarme-magento2-module", "license": "MIT", - "version": "1.0.0", + "version": "1.0.1", "type": "magento2-module", "description": "Magento 2 Module Pagar.me", "require": { diff --git a/etc/module.xml b/etc/module.xml index fb29b68c..6733464e 100755 --- a/etc/module.xml +++ b/etc/module.xml @@ -9,7 +9,7 @@ */ --> - + diff --git a/view/adminhtml/web/js/integrationType.js b/view/adminhtml/web/js/integrationType.js index e8cafc79..4f5de838 100644 --- a/view/adminhtml/web/js/integrationType.js +++ b/view/adminhtml/web/js/integrationType.js @@ -13,8 +13,21 @@ require([ }); function changeCommentsByIntegrionType(integrationType) { - document.getElementById('soft_description_max_size').innerHTML = integrationType === '0' ? 13 : 22; - document.getElementById('installments_max_size').innerHTML = integrationType === '0' ? 12 : 24; + const softDescriptionMaxSizeElement = + document.getElementById('soft_description_max_size'); + + const installmentsMaxSizeElement = + document.getElementById('installments_max_size'); + + if (softDescriptionMaxSizeElement){ + softDescriptionMaxSizeElement.innerHTML = + integrationType === '0' ? 13 : 22; + } + + if (installmentsMaxSizeElement){ + installmentsMaxSizeElement.innerHTML = + integrationType === '0' ? 12 : 24; + } } function changeAdminCssBorders() {