diablomedia/gpcsv-generator
Composer 安装命令:
composer require diablomedia/gpcsv-generator
包简介
Library to assist with the generation of CashPro Global Payments GPCSV files
关键字:
README 文档
README
Library to assist with the generation of CashPro Global Payments GPCSV files
Usage
CLI
composer require diablomedia/gpcsv
Code
<?php $payment = new GPCSV\Payment(); $payment->setDestinationCountry($country); // Set other values... $csv = new GPCSV\File(); $csv->addPayment($payment); // Add other payments... echo $csv->getCsvString();
Options
By default, the Payment class will automatically strip unsupported characters from values that are sent to it. If you would prefer it to throw an error instead, you can disable the autoClean option:
<?php $payment = new Payment(['autoClean' => false]); // or: $payment = new Payment(); $payment->setOptionAutomaticallyCleanFields(false);
统计信息
- 总下载量: 341
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2020-06-16