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

47 行
1.6KB

  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 $bank 振込先口座情報(ドット「.」区切りの文字列)[銀行コード].[銀行名].[支店コード].[支店名].[口座種別].[口座番号].[口座名義]
  16. * @property string $exp 支払期限(yyyymmdd形式)
  17. * @property string $customerCode カスタム-顧客コード
  18. * @property int $entryRecordNo カスタム-定期申込レコード番号
  19. * @property string $token カスタム-トークン
  20. */
  21. class EntryParam extends BaseParam
  22. {
  23. public function rules(): array
  24. {
  25. return [
  26. 'gid' => $this->str(),
  27. 'rst' => $this->str(),
  28. 'ap' => $this->str(),
  29. 'ec' => $this->str(),
  30. 'god' => $this->str(),
  31. 'cod' => $this->str(),
  32. 'am' => $this->numeric(),
  33. 'tx' => $this->numeric(),
  34. 'sf' => $this->numeric(),
  35. 'ta' => $this->numeric(),
  36. 'bank' => $this->str(),
  37. 'exp' => $this->str(),
  38. 'customer_code' => $this->str(),
  39. 'entry_record_no' => $this->numeric(),
  40. 'token' => $this->str(),
  41. ];
  42. }
  43. }