Commit 8b8d0eb
authored
Fix Link display params serialization (#2407)
LinkDisplayParams were serialized using the Dart field names
`linkDisplayParams` and `linkDisplay`, while the native iOS and Android
PaymentSheet implementations expect `link` and `display`.
Add JsonKey annotations to match the native payload fields.1 parent 4f38dbd commit 8b8d0eb
4 files changed
Lines changed: 38 additions & 32 deletions
File tree
- packages/stripe_platform_interface
- lib/src/models
- test
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
751 | 751 | | |
752 | 752 | | |
753 | 753 | | |
754 | | - | |
| 754 | + | |
755 | 755 | | |
756 | 756 | | |
757 | 757 | | |
| |||
0 commit comments