Skip to content

feat(card): add IsJP field to CardResponse - #54

Merged
nonz250 merged 3 commits into
betafrom
nonz250/feat-card-is-jp
Apr 14, 2026
Merged

nonz250 merged 3 commits into
betafrom
nonz250/feat-card-is-jp

Conversation

@nonz250

@nonz250 nonz250 commented Apr 14, 2026

Copy link
Copy Markdown
Member

Summary

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

Changes

  • CardResponse 構造体に IsJP *bool フィールド(json:"is_jp")を追加
  • テーブル駆動テストで true/false/null/フィールド欠落の4パターンを検証

Checklist

  • *bool 型を採用(null/false の区別が可能)
  • 既存フィールド(ThreeDSecureStatus *string 等)のパターンに準拠
  • UnmarshalJSON への変更不要を確認
  • 全テスト PASS
  • 後方互換性あり(フィールド追加のみ)

その他

🤖 Generated with Claude Code

nonz250 and others added 2 commits April 14, 2026 13:55
🤖 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 requested a review from satetsu888 April 14, 2026 05:15
@nonz250
nonz250 marked this pull request as ready for review April 14, 2026 05:15
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@nonz250
nonz250 merged commit 40d0d91 into beta Apr 14, 2026
14 checks passed
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