Download the PHP package kubinyete/getnet-edi without Composer

On this page you can find all versions of the php package kubinyete/getnet-edi. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package getnet-edi

EDI for PHP

pt-BR: Uma biblioteca simples e direta para carregar arquivos EDI da adquirente Getnet

en-US: A straightfoward library for loading EDI files from Getnet

NOTA: Este guia está primariamente em inglês, caso haja necessidade, será adicionado uma versão em pt-BR no futuro.


Warning

This package is still work-in-progress, there are plans for adding better support for document reading by providing indexing and class bindings to directly access those entries, for now we have only provided the basic parser & document wrapper, providing the necessary means for line-by-line sequential reading.

Installation

Let's start by requiring the package by running the following command

Usage

Basic line-by-line parsing

Provides a basic document class for opening a EDI text-file

The above code will output:

Type reference

Quick type reference for each registry type and associated baseline version.

We advice only to expect the associated registry interface, and not its defined type, this will prevent any breaking change from affecting your application immediately (Ex: Name changes, value type changes, and so on)

If there are any changes that are not retrocompatible, a new type or associated interface will be used for that functionality.

Type Version Registry type Interface
0 >=10.1 Kubinyete\Edi\Getnet\Registry\Header HeaderInterface
1 >=10.1 Kubinyete\Edi\Getnet\Registry\TransactionalSummary TransactionalSummaryInterface
2 >=10.1 Kubinyete\Edi\Getnet\Registry\TransactionalAnalytic TransactionalAnalyticInterface
3 >=10.1 Kubinyete\Edi\Getnet\Registry\FinantialAdjustment FinantialAdjustmentInterface
4 - - -
5 >=10.1 Kubinyete\Edi\Getnet\Registry\FinantialSummary -
6 >=10.1 Kubinyete\Edi\Getnet\Registry\FinantialDetail -
9 >=10.1 Kubinyete\Edi\Getnet\Registry\Trailer TrailerInterface

Registry types

Functionality interface Signature
HeaderInterface getFileCreationDate(): DateTimeInterface
HeaderInterface getMovementReferenceDate(): DateTimeInterface
HeaderInterface getFileVersion(): string
HeaderInterface getEstablishmentCode(): string
HeaderInterface getAcquirerDocument(): string
HeaderInterface getAcquirerName(): string
HeaderInterface getSequenceNumber(): int
HeaderInterface getAcquirerCode(): string
HeaderInterface getLayoutVersion(): string

Functionality interface Signature
TrailerInterface getRegistryQuantity(): int

Functionality interface Signature
FinantialAdjustmentInterface getRegistryType(): int
FinantialAdjustmentInterface getEstablishmentCode(): string
FinantialAdjustmentInterface getSalesSummaryNumber(): string
FinantialAdjustmentInterface getSalesSummaryDate(): DateTimeInterface
FinantialAdjustmentInterface getSalesSummaryPaymentDate(): DateTimeInterface
FinantialAdjustmentInterface getAdjustmentId(): string
FinantialAdjustmentInterface getWhiteSpace(): string
FinantialAdjustmentInterface getAdjustmentSignal(): string
FinantialAdjustmentInterface getAdjustmentAmount(): string
FinantialAdjustmentInterface getAdjustmentReasonCode(): string
FinantialAdjustmentInterface getLetterDate(): DateTimeInterface
FinantialAdjustmentInterface getCardNumber(): string
FinantialAdjustmentInterface getSalesSummaryNumberOriginal(): string
FinantialAdjustmentInterface getAcquirerNsu(): string
FinantialAdjustmentInterface getTransactionDateOriginal(): DateTimeInterface
FinantialAdjustmentInterface getPaymentTypeIndicator(): string
FinantialAdjustmentInterface getTerminalCodeOriginal(): string
FinantialAdjustmentInterface getPaymentDateOriginal(): DateTimeInterface
FinantialAdjustmentInterface getCurrencyCode(): int
FinantialAdjustmentInterface getSaleComissionAmount(): string
FinantialAdjustmentInterface getMetadataContentType(): string
FinantialAdjustmentInterface getMetadata(): string

Functionality interface Signature
TransactionalSummaryInterface getRegistryType(): int
TransactionalSummaryInterface getEstablishmentCode(): string
TransactionalSummaryInterface getProductCode(): string
TransactionalSummaryInterface getCaptureSignature(): string
TransactionalSummaryInterface getSalesSummaryNumber(): string
TransactionalSummaryInterface getSalesSummaryDate(): DateTimeInterface
TransactionalSummaryInterface getSalesSummaryPaymentDate(): DateTimeInterface
TransactionalSummaryInterface getBankCode(): string
TransactionalSummaryInterface getBankAgency(): string
TransactionalSummaryInterface getCheckingAccount(): string
TransactionalSummaryInterface getSalesAcceptedQuantity(): int
TransactionalSummaryInterface getSalesRejectedQuantity(): int
TransactionalSummaryInterface getGrossAmount(): string
TransactionalSummaryInterface getAmount(): string
TransactionalSummaryInterface getFareAmount(): string
TransactionalSummaryInterface getDiscountRateAmount(): string
TransactionalSummaryInterface getTotalRejectedAmount(): string
TransactionalSummaryInterface getTotalCreditAmount(): string
TransactionalSummaryInterface getChargesAmount(): string
TransactionalSummaryInterface getPaymentTypeIndicator(): string
TransactionalSummaryInterface getSalesSummaryInstallment(): int
TransactionalSummaryInterface getSalesSummaryInstallments(): int
TransactionalSummaryInterface getEstablishmentCodeOrigin(): string
TransactionalSummaryInterface getAnticipationOperationNumber(): string
TransactionalSummaryInterface getDueDateOriginal(): DateTimeInterface
TransactionalSummaryInterface getOperationCost(): string
TransactionalSummaryInterface getSalesSummaryAnticipationAmount(): string
TransactionalSummaryInterface getChargeControlNumber(): string
TransactionalSummaryInterface getChargeAmount(): string
TransactionalSummaryInterface getCompensationId(): string
TransactionalSummaryInterface getCurrencyCode(): int
TransactionalSummaryInterface getChargeWriteOffIdentifier(): string
TransactionalSummaryInterface getTransactionAdjustmentSignal(): string
TransactionalSummaryInterface getAccountTypeForPayment(): string
TransactionalSummaryInterface getAccountNumberForPayment(): string
TransactionalSummaryInterface getReceivableUnitId(): string

Functionality interface Signature
TransactionalAnalyticInterface getRegistryType(): int
TransactionalAnalyticInterface getEstablishmentCode(): string
TransactionalAnalyticInterface getSalesSummaryNumber(): string
TransactionalAnalyticInterface getAcquirerNsu(): string
TransactionalAnalyticInterface getTransactionDate(): DateTimeInterface
TransactionalAnalyticInterface getCardNumber(): string
TransactionalAnalyticInterface getTransactionAmount(): string
TransactionalAnalyticInterface getWithdrawalAmount(): string
TransactionalAnalyticInterface getBoardingTaxAmount(): string
TransactionalAnalyticInterface getInstallments(): int
TransactionalAnalyticInterface getInstallment(): int
TransactionalAnalyticInterface getInstallmentAmount(): string
TransactionalAnalyticInterface getPaymentDate(): DateTimeInterface
TransactionalAnalyticInterface getAuthorizationCode(): string
TransactionalAnalyticInterface getCaptureMethod(): string
TransactionalAnalyticInterface getTransactionStatus(): string
TransactionalAnalyticInterface getEstablishmentCodeOrigin(): string
TransactionalAnalyticInterface getTerminalCode(): string
TransactionalAnalyticInterface getCurrencyCode(): int
TransactionalAnalyticInterface getCardIssuerOrigin(): string
TransactionalAnalyticInterface getTransactionAdjustmentSignal(): string
TransactionalAnalyticInterface getDigitalWallet(): string
TransactionalAnalyticInterface getSaleComissionAmount(): string
TransactionalAnalyticInterface getMetadataContentType(): string
TransactionalAnalyticInterface getMetadata(): string
TransactionalAnalyticInterface getMetadata2ContentType(): string
TransactionalAnalyticInterface getMetadata2(): string

All versions of getnet-edi with dependencies

PHP Build Version
Package Version
Requires symfony/polyfill-php80 Version ^1.0
symfony/polyfill-php81 Version ^1.0
psr/log Version ^1|^2|^3
kubinyete/edi-php Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kubinyete/getnet-edi contains the following files

Loading the files please wait ....