Commit 2416fed
authored
feat: update payment sessions model with new properties and classes (#190)
* feat: update payment sessions model with new properties and classes
- Add WECHATPAY and PAYNOW to PaymentMethodsType enum
- Create CustomerSummary class with customer analytics properties
- Create SessionPaymentCustomerRequest class with summary property
- Update PaymentSessionsRequest to use SessionPaymentCustomerRequest
- Update PaymentSessionWithPaymentRequest to use SessionPaymentCustomerRequest
- Add payment_type property to SubmitPaymentSessionRequest
* fix: remove unused import of PaymentCustomerRequest from sessions.py1 parent 6d9e1d8 commit 2416fed
1 file changed
Lines changed: 26 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| |||
130 | 132 | | |
131 | 133 | | |
132 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
133 | 155 | | |
134 | 156 | | |
135 | 157 | | |
| |||
207 | 229 | | |
208 | 230 | | |
209 | 231 | | |
210 | | - | |
| 232 | + | |
211 | 233 | | |
212 | 234 | | |
213 | 235 | | |
| |||
242 | 264 | | |
243 | 265 | | |
244 | 266 | | |
245 | | - | |
| 267 | + | |
246 | 268 | | |
247 | 269 | | |
248 | 270 | | |
| |||
268 | 290 | | |
269 | 291 | | |
270 | 292 | | |
| 293 | + | |
0 commit comments