|
- <?php
-
- namespace App\Http\Controllers\Web\RobotPayment\BanckCheck;
-
- use App\Http\Controllers\Web\BaseParam;
-
- /**
- * @property string $gid 決済受付時に発行された決済番号
- * @property string $rst 決済結果(1:OK 2:NG)
- * @property string $ap 入金:完了(BAN_SAL)
- * @property string $ec エラーコード
- * @property string $god オーダーコード
- * @property string $cod 店舗側オーダー番号
- * @property string $am 決済金額
- * @property string $tx 税金額
- * @property string $sf 送料
- * @property string $ta 合計金額
- * @property string $id 発行ID
- * @property string $ps 発行パスワード
- * @property string $mf マッチングフラグ(1:マッチ2:過少3:過剰)
- * @property string $nk 入金金額
- * @property string $nkd 入金日(yyyymmdd形式)
- * @property string $bank 振込先口座情報(ドット「.」区切りの文字列)[銀行コード].[銀行名].[支店コード].[支店名].[口座種別].[口座番号].[口座名義]
- * @property string $exp 支払期限(yyyymmdd形式)
- * @property string $customerCode カスタム-顧客コード
- * @property int $entryRecordNo カスタム-定期申込レコード番号
- * @property string $token カスタム-トークン
- */
- class PaymentInfoParam extends BaseParam
- {
- public function rules(): array
- {
- return [
- 'gid' => $this->str(),
- 'rst' => $this->str(),
- 'ap' => $this->str(),
- 'ec' => $this->str(true),
- 'god' => $this->str(),
- 'cod' => $this->str(),
- 'am' => $this->numeric(),
- 'tx' => $this->numeric(),
- 'sf' => $this->numeric(),
- 'ta' => $this->numeric(),
- 'id' => $this->str(true),
- 'ps' => $this->str(true),
- 'mf' => $this->str(true),
- 'nk' => $this->str(true),
- 'nkd' => $this->str(true),
- 'bank' => $this->str(true),
- 'exp' => $this->str(),
- 'customer_code' => $this->str(),
- 'entry_record_no' => $this->numeric(),
- 'token' => $this->str(),
- ];
- }
- }
|