您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

57 行
2.1KB

  1. <?php
  2. namespace App\Http\Controllers\Web\BanckCheck;
  3. use App\Http\Controllers\Web\BaseParam;
  4. /**
  5. * @property string $gid 決済受付時に発行された決済番号
  6. * @property string $rst 決済結果(1:OK 2:NG)
  7. * @property string $ap 入金:完了(BAN_SAL)
  8. * @property string $ec エラーコード
  9. * @property string $god オーダーコード
  10. * @property string $cod 店舗側オーダー番号
  11. * @property string $am 決済金額
  12. * @property string $tx 税金額
  13. * @property string $sf 送料
  14. * @property string $ta 合計金額
  15. * @property string $id 発行ID
  16. * @property string $ps 発行パスワード
  17. * @property string $mf マッチングフラグ(1:マッチ2:過少3:過剰)
  18. * @property string $nk 入金金額
  19. * @property string $nkd 入金日(yyyymmdd形式)
  20. * @property string $bank 振込先口座情報(ドット「.」区切りの文字列)[銀行コード].[銀行名].[支店コード].[支店名].[口座種別].[口座番号].[口座名義]
  21. * @property string $exp 支払期限(yyyymmdd形式)
  22. * @property string $customerCode カスタム-顧客コード
  23. * @property int $entryRecordNo カスタム-定期申込レコード番号
  24. * @property string $token カスタム-トークン
  25. */
  26. class PaymentInfoParam extends BaseParam
  27. {
  28. public function rules(): array
  29. {
  30. return [
  31. 'gid' => $this->str(),
  32. 'rst' => $this->str(),
  33. 'ap' => $this->str(),
  34. 'ec' => $this->str(true),
  35. 'god' => $this->str(),
  36. 'cod' => $this->str(),
  37. 'am' => $this->numeric(),
  38. 'tx' => $this->numeric(),
  39. 'sf' => $this->numeric(),
  40. 'ta' => $this->numeric(),
  41. 'id' => $this->str(true),
  42. 'ps' => $this->str(true),
  43. 'mf' => $this->str(true),
  44. 'nk' => $this->str(true),
  45. 'nkd' => $this->str(true),
  46. 'bank' => $this->str(true),
  47. 'exp' => $this->str(),
  48. 'customer_code' => $this->str(),
  49. 'entry_record_no' => $this->numeric(),
  50. 'token' => $this->str(),
  51. ];
  52. }
  53. }