{"id":13550619,"url":"https://github.com/xclud/dart_pos","last_synced_at":"2025-04-27T08:32:11.855Z","repository":{"id":61974211,"uuid":"487767105","full_name":"xclud/dart_pos","owner":"xclud","description":"Dart Implementation of the ISO-8583 banking protocol.","archived":false,"fork":false,"pushed_at":"2024-07-04T00:19:57.000Z","size":177,"stargazers_count":17,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-25T12:54:40.338Z","etag":null,"topics":["dart","flutter","iso8583","point-of-sale","pos"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/pos","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xclud.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-02T08:16:43.000Z","updated_at":"2025-04-05T07:15:33.000Z","dependencies_parsed_at":"2024-06-21T21:49:33.963Z","dependency_job_id":"1ecefd72-5c5c-4848-b1d2-b36441e69648","html_url":"https://github.com/xclud/dart_pos","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"8112670e6921051b742ae019c9549d719bea41b8"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xclud%2Fdart_pos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xclud%2Fdart_pos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xclud%2Fdart_pos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xclud%2Fdart_pos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xclud","download_url":"https://codeload.github.com/xclud/dart_pos/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251112546,"owners_count":21538162,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dart","flutter","iso8583","point-of-sale","pos"],"created_at":"2024-08-01T12:01:35.393Z","updated_at":"2025-04-27T08:32:08.056Z","avatar_url":"https://github.com/xclud.png","language":"Dart","funding_links":[],"categories":["Dart"],"sub_categories":[],"readme":"[![pub package](https://img.shields.io/pub/v/pos.svg)](https://pub.dartlang.org/packages/pos)\n\nDart Implementation of the [ISO-8583](https://en.wikipedia.org/wiki/ISO_8583) banking protocol. Supports `03xx` message class (File Actions Message - 1987) and is compatible with most PoS devices in the market.\n\n## Features\n\n* Supports MAC (Message Authentication Code) calculation.\n* DES Encryption.\n* Written in 100% Dart.\n* Works on all platforms (Android, iOS, macOS, Windows, Linux, Web).\n\nThe package also provides the following methods:\n\n```\nfactory Message.parse(Uint8List data)\n```\n\n```\nfactory Message.conntectionTest({DateTime? dateTime})\n```\n\n```\nfactory Message.purchase({required int amount, DateTime? dateTime})\n```\n\n```\nfactory Message.ack({required String terminalId, DateTime? dateTime})\n```\n\n```\nfactory Message.nack({required String terminalId, DateTime? dateTime})\n```\n\n```\nfactory Message.eot({required String terminalId, DateTime? dateTime})\n```\n\n```\nfactory Message.dispose({DateTime? dateTime})\n```\n\n```\nMap\u003cString, Object\u003e toJson()\n```\n\n## Getting started\n\nIn your `pubspec.yaml` file add:\n\n```dart\ndependencies:\n  pos: any\n```\n\n## Usage\n\nImport the package:\n\n```dart\nimport 'package:pos/pos.dart';\n```\n\nThen:\n\n```dart\nfinal iso8583Message = Message.parse(Uint8List);\n```\n\n## Additional information\n\nPlease look at the `./example` directory for a working demo using `TCP` and `SerialPort`.\n\n\n## Special Thanks\n\nI would thank [YeGoBox](https://github.com/yegobox/) for being kind enought to transfer the ownership of their original `pos` package to me.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxclud%2Fdart_pos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxclud%2Fdart_pos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxclud%2Fdart_pos/lists"}