Skip to content

feat(card): add isJp property#46

Merged
nonz250 merged 5 commits intomasterfrom
nonz250/feat-card-is-jp
Apr 14, 2026
Merged

feat(card): add isJp property#46
nonz250 merged 5 commits intomasterfrom
nonz250/feat-card-is-jp

Conversation

@nonz250
Copy link
Copy Markdown
Member

@nonz250 nonz250 commented Apr 14, 2026

Summary

PAY.JP v1 API の Card オブジェクトに追加された is_jp プロパティに対応。

Changes

  • Card モデルに Boolean isJp フィールドと getIsJp() getter を追加
  • テストフィクスチャ(charge.json, token.json)に is_jp フィールドを追加
  • ChargeTest で true、TokenTest で false のデシリアライズを検証するアサーションを追加

Checklist

  • Card.java にフィールド・getter 追加
  • テストフィクスチャ更新(charge.json: true, token.json: false
  • テストコード追加(ChargeTest, TokenTest)
  • Docker (maven:3.8.6-jdk-11) でテスト全パス(86 tests, 0 failures)
  • nonz250_payjp_tool で動作確認済み

その他

🤖 Generated with Claude Code

nonz250 and others added 2 commits April 14, 2026 14:27
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@nonz250 nonz250 self-assigned this Apr 14, 2026
@nonz250 nonz250 marked this pull request as ready for review April 14, 2026 05:37
nonz250 and others added 2 commits April 14, 2026 14:42
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@nonz250 nonz250 merged commit 31dd148 into master Apr 14, 2026
2 checks passed
@nonz250 nonz250 deleted the nonz250/feat-card-is-jp branch April 14, 2026 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants