gr4vy 1.9.1__py3-none-any.whl → 1.10.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- gr4vy/_version.py +3 -3
- gr4vy/all.py +2 -0
- gr4vy/audit_logs.py +2 -0
- gr4vy/balances.py +2 -0
- gr4vy/basesdk.py +6 -0
- gr4vy/buyers_gift_cards.py +2 -0
- gr4vy/buyers_payment_methods.py +2 -0
- gr4vy/buyers_sdk.py +10 -0
- gr4vy/buyers_shipping_details.py +10 -0
- gr4vy/card_scheme_definitions_sdk.py +2 -0
- gr4vy/checkout_sessions.py +8 -0
- gr4vy/digital_wallets_sdk.py +10 -0
- gr4vy/domains.py +4 -0
- gr4vy/events.py +2 -0
- gr4vy/executions.py +6 -0
- gr4vy/gift_cards_sdk.py +8 -0
- gr4vy/jobs.py +2 -0
- gr4vy/merchant_accounts_sdk.py +8 -0
- gr4vy/models/paymentlink.py +13 -0
- gr4vy/models/paymentlinkcreate.py +13 -0
- gr4vy/network_tokens_cryptogram.py +2 -0
- gr4vy/payment_links_sdk.py +20 -0
- gr4vy/payment_methods_network_tokens.py +10 -0
- gr4vy/payment_methods_payment_service_tokens.py +6 -0
- gr4vy/payment_methods_sdk.py +8 -0
- gr4vy/payment_options_sdk.py +2 -0
- gr4vy/payment_service_definitions_sdk.py +6 -0
- gr4vy/payment_services_sdk.py +14 -0
- gr4vy/payouts.py +6 -0
- gr4vy/refunds_sdk.py +2 -0
- gr4vy/report_executions_sdk.py +2 -0
- gr4vy/reports_sdk.py +8 -0
- gr4vy/sessions.py +6 -0
- gr4vy/transactions.py +16 -0
- gr4vy/transactions_refunds.py +6 -0
- gr4vy/transactions_settlements.py +4 -0
- gr4vy/utils/forms.py +21 -10
- gr4vy/utils/queryparams.py +14 -2
- {gr4vy-1.9.1.dist-info → gr4vy-1.10.0.dist-info}/METADATA +1 -1
- {gr4vy-1.9.1.dist-info → gr4vy-1.10.0.dist-info}/RECORD +41 -41
- {gr4vy-1.9.1.dist-info → gr4vy-1.10.0.dist-info}/WHEEL +0 -0
gr4vy/models/paymentlink.py
CHANGED
|
@@ -73,6 +73,10 @@ class PaymentLinkTypedDict(TypedDict):
|
|
|
73
73
|
r"""The shipping details for the payment link."""
|
|
74
74
|
connection_options: NotRequired[Nullable[Dict[str, Dict[str, Any]]]]
|
|
75
75
|
r"""The connection options for the payment link."""
|
|
76
|
+
store: NotRequired[bool]
|
|
77
|
+
r"""Whether the payment method was stored."""
|
|
78
|
+
buyer_id: NotRequired[Nullable[str]]
|
|
79
|
+
r"""The ID of the buyer to associate with the stored payment method."""
|
|
76
80
|
|
|
77
81
|
|
|
78
82
|
class PaymentLink(BaseModel):
|
|
@@ -166,6 +170,12 @@ class PaymentLink(BaseModel):
|
|
|
166
170
|
connection_options: OptionalNullable[Dict[str, Dict[str, Any]]] = UNSET
|
|
167
171
|
r"""The connection options for the payment link."""
|
|
168
172
|
|
|
173
|
+
store: Optional[bool] = False
|
|
174
|
+
r"""Whether the payment method was stored."""
|
|
175
|
+
|
|
176
|
+
buyer_id: OptionalNullable[str] = UNSET
|
|
177
|
+
r"""The ID of the buyer to associate with the stored payment method."""
|
|
178
|
+
|
|
169
179
|
@model_serializer(mode="wrap")
|
|
170
180
|
def serialize_model(self, handler):
|
|
171
181
|
optional_fields = [
|
|
@@ -186,6 +196,8 @@ class PaymentLink(BaseModel):
|
|
|
186
196
|
"buyer",
|
|
187
197
|
"shipping_details",
|
|
188
198
|
"connection_options",
|
|
199
|
+
"store",
|
|
200
|
+
"buyer_id",
|
|
189
201
|
]
|
|
190
202
|
nullable_fields = [
|
|
191
203
|
"expires_at",
|
|
@@ -205,6 +217,7 @@ class PaymentLink(BaseModel):
|
|
|
205
217
|
"buyer",
|
|
206
218
|
"shipping_details",
|
|
207
219
|
"connection_options",
|
|
220
|
+
"buyer_id",
|
|
208
221
|
]
|
|
209
222
|
null_default_fields = []
|
|
210
223
|
|
|
@@ -61,6 +61,10 @@ class PaymentLinkCreateTypedDict(TypedDict):
|
|
|
61
61
|
r"""Arbitrary metadata for the payment link."""
|
|
62
62
|
payment_source: NotRequired[TransactionPaymentSource]
|
|
63
63
|
r"""The way payment method information made it to this transaction."""
|
|
64
|
+
store: NotRequired[bool]
|
|
65
|
+
r"""Whether to store the payment method for future use."""
|
|
66
|
+
buyer_id: NotRequired[Nullable[str]]
|
|
67
|
+
r"""The ID of the buyer to associate the payment method with. Note: When `buyer_id` is provided, the payment link should be treated as a secret as it will allow the user to manage payment methods for the associated buyer."""
|
|
64
68
|
|
|
65
69
|
|
|
66
70
|
class PaymentLinkCreate(BaseModel):
|
|
@@ -130,6 +134,12 @@ class PaymentLinkCreate(BaseModel):
|
|
|
130
134
|
] = None
|
|
131
135
|
r"""The way payment method information made it to this transaction."""
|
|
132
136
|
|
|
137
|
+
store: Optional[bool] = False
|
|
138
|
+
r"""Whether to store the payment method for future use."""
|
|
139
|
+
|
|
140
|
+
buyer_id: OptionalNullable[str] = UNSET
|
|
141
|
+
r"""The ID of the buyer to associate the payment method with. Note: When `buyer_id` is provided, the payment link should be treated as a secret as it will allow the user to manage payment methods for the associated buyer."""
|
|
142
|
+
|
|
133
143
|
@model_serializer(mode="wrap")
|
|
134
144
|
def serialize_model(self, handler):
|
|
135
145
|
optional_fields = [
|
|
@@ -151,6 +161,8 @@ class PaymentLinkCreate(BaseModel):
|
|
|
151
161
|
"cart_items",
|
|
152
162
|
"metadata",
|
|
153
163
|
"payment_source",
|
|
164
|
+
"store",
|
|
165
|
+
"buyer_id",
|
|
154
166
|
]
|
|
155
167
|
nullable_fields = [
|
|
156
168
|
"buyer",
|
|
@@ -169,6 +181,7 @@ class PaymentLinkCreate(BaseModel):
|
|
|
169
181
|
"return_url",
|
|
170
182
|
"cart_items",
|
|
171
183
|
"metadata",
|
|
184
|
+
"buyer_id",
|
|
172
185
|
]
|
|
173
186
|
null_default_fields = []
|
|
174
187
|
|
|
@@ -73,6 +73,7 @@ class NetworkTokensCryptogram(BaseSDK):
|
|
|
73
73
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
74
74
|
request.cryptogram_create, False, False, "json", models.CryptogramCreate
|
|
75
75
|
),
|
|
76
|
+
allow_empty_value=None,
|
|
76
77
|
timeout_ms=timeout_ms,
|
|
77
78
|
)
|
|
78
79
|
|
|
@@ -227,6 +228,7 @@ class NetworkTokensCryptogram(BaseSDK):
|
|
|
227
228
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
228
229
|
request.cryptogram_create, False, False, "json", models.CryptogramCreate
|
|
229
230
|
),
|
|
231
|
+
allow_empty_value=None,
|
|
230
232
|
timeout_ms=timeout_ms,
|
|
231
233
|
)
|
|
232
234
|
|
gr4vy/payment_links_sdk.py
CHANGED
|
@@ -48,6 +48,8 @@ class PaymentLinksSDK(BaseSDK):
|
|
|
48
48
|
] = UNSET,
|
|
49
49
|
metadata: OptionalNullable[Dict[str, Any]] = UNSET,
|
|
50
50
|
payment_source: Optional[models.TransactionPaymentSource] = None,
|
|
51
|
+
store: Optional[bool] = False,
|
|
52
|
+
buyer_id: OptionalNullable[str] = UNSET,
|
|
51
53
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
52
54
|
server_url: Optional[str] = None,
|
|
53
55
|
timeout_ms: Optional[int] = None,
|
|
@@ -79,6 +81,8 @@ class PaymentLinksSDK(BaseSDK):
|
|
|
79
81
|
:param cart_items: The cart items for the payment link.
|
|
80
82
|
:param metadata: Arbitrary metadata for the payment link.
|
|
81
83
|
:param payment_source: The way payment method information made it to this transaction.
|
|
84
|
+
:param store: Whether to store the payment method for future use.
|
|
85
|
+
:param buyer_id: The ID of the buyer to associate the payment method with. Note: When `buyer_id` is provided, the payment link should be treated as a secret as it will allow the user to manage payment methods for the associated buyer.
|
|
82
86
|
:param retries: Override the default retry configuration for this method
|
|
83
87
|
:param server_url: Override the default server URL for this method
|
|
84
88
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -127,6 +131,8 @@ class PaymentLinksSDK(BaseSDK):
|
|
|
127
131
|
),
|
|
128
132
|
metadata=metadata,
|
|
129
133
|
payment_source=payment_source,
|
|
134
|
+
store=store,
|
|
135
|
+
buyer_id=buyer_id,
|
|
130
136
|
),
|
|
131
137
|
)
|
|
132
138
|
|
|
@@ -153,6 +159,7 @@ class PaymentLinksSDK(BaseSDK):
|
|
|
153
159
|
"json",
|
|
154
160
|
models.PaymentLinkCreate,
|
|
155
161
|
),
|
|
162
|
+
allow_empty_value=None,
|
|
156
163
|
timeout_ms=timeout_ms,
|
|
157
164
|
)
|
|
158
165
|
|
|
@@ -280,6 +287,8 @@ class PaymentLinksSDK(BaseSDK):
|
|
|
280
287
|
] = UNSET,
|
|
281
288
|
metadata: OptionalNullable[Dict[str, Any]] = UNSET,
|
|
282
289
|
payment_source: Optional[models.TransactionPaymentSource] = None,
|
|
290
|
+
store: Optional[bool] = False,
|
|
291
|
+
buyer_id: OptionalNullable[str] = UNSET,
|
|
283
292
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
284
293
|
server_url: Optional[str] = None,
|
|
285
294
|
timeout_ms: Optional[int] = None,
|
|
@@ -311,6 +320,8 @@ class PaymentLinksSDK(BaseSDK):
|
|
|
311
320
|
:param cart_items: The cart items for the payment link.
|
|
312
321
|
:param metadata: Arbitrary metadata for the payment link.
|
|
313
322
|
:param payment_source: The way payment method information made it to this transaction.
|
|
323
|
+
:param store: Whether to store the payment method for future use.
|
|
324
|
+
:param buyer_id: The ID of the buyer to associate the payment method with. Note: When `buyer_id` is provided, the payment link should be treated as a secret as it will allow the user to manage payment methods for the associated buyer.
|
|
314
325
|
:param retries: Override the default retry configuration for this method
|
|
315
326
|
:param server_url: Override the default server URL for this method
|
|
316
327
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -359,6 +370,8 @@ class PaymentLinksSDK(BaseSDK):
|
|
|
359
370
|
),
|
|
360
371
|
metadata=metadata,
|
|
361
372
|
payment_source=payment_source,
|
|
373
|
+
store=store,
|
|
374
|
+
buyer_id=buyer_id,
|
|
362
375
|
),
|
|
363
376
|
)
|
|
364
377
|
|
|
@@ -385,6 +398,7 @@ class PaymentLinksSDK(BaseSDK):
|
|
|
385
398
|
"json",
|
|
386
399
|
models.PaymentLinkCreate,
|
|
387
400
|
),
|
|
401
|
+
allow_empty_value=None,
|
|
388
402
|
timeout_ms=timeout_ms,
|
|
389
403
|
)
|
|
390
404
|
|
|
@@ -534,6 +548,7 @@ class PaymentLinksSDK(BaseSDK):
|
|
|
534
548
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
535
549
|
),
|
|
536
550
|
security=self.sdk_configuration.security,
|
|
551
|
+
allow_empty_value=None,
|
|
537
552
|
timeout_ms=timeout_ms,
|
|
538
553
|
)
|
|
539
554
|
|
|
@@ -709,6 +724,7 @@ class PaymentLinksSDK(BaseSDK):
|
|
|
709
724
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
710
725
|
),
|
|
711
726
|
security=self.sdk_configuration.security,
|
|
727
|
+
allow_empty_value=None,
|
|
712
728
|
timeout_ms=timeout_ms,
|
|
713
729
|
)
|
|
714
730
|
|
|
@@ -878,6 +894,7 @@ class PaymentLinksSDK(BaseSDK):
|
|
|
878
894
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
879
895
|
),
|
|
880
896
|
security=self.sdk_configuration.security,
|
|
897
|
+
allow_empty_value=None,
|
|
881
898
|
timeout_ms=timeout_ms,
|
|
882
899
|
)
|
|
883
900
|
|
|
@@ -1021,6 +1038,7 @@ class PaymentLinksSDK(BaseSDK):
|
|
|
1021
1038
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
1022
1039
|
),
|
|
1023
1040
|
security=self.sdk_configuration.security,
|
|
1041
|
+
allow_empty_value=None,
|
|
1024
1042
|
timeout_ms=timeout_ms,
|
|
1025
1043
|
)
|
|
1026
1044
|
|
|
@@ -1164,6 +1182,7 @@ class PaymentLinksSDK(BaseSDK):
|
|
|
1164
1182
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
1165
1183
|
),
|
|
1166
1184
|
security=self.sdk_configuration.security,
|
|
1185
|
+
allow_empty_value=None,
|
|
1167
1186
|
timeout_ms=timeout_ms,
|
|
1168
1187
|
)
|
|
1169
1188
|
|
|
@@ -1311,6 +1330,7 @@ class PaymentLinksSDK(BaseSDK):
|
|
|
1311
1330
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
1312
1331
|
),
|
|
1313
1332
|
security=self.sdk_configuration.security,
|
|
1333
|
+
allow_empty_value=None,
|
|
1314
1334
|
timeout_ms=timeout_ms,
|
|
1315
1335
|
)
|
|
1316
1336
|
|
|
@@ -78,6 +78,7 @@ class PaymentMethodsNetworkTokens(BaseSDK):
|
|
|
78
78
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
79
79
|
),
|
|
80
80
|
security=self.sdk_configuration.security,
|
|
81
|
+
allow_empty_value=None,
|
|
81
82
|
timeout_ms=timeout_ms,
|
|
82
83
|
)
|
|
83
84
|
|
|
@@ -225,6 +226,7 @@ class PaymentMethodsNetworkTokens(BaseSDK):
|
|
|
225
226
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
226
227
|
),
|
|
227
228
|
security=self.sdk_configuration.security,
|
|
229
|
+
allow_empty_value=None,
|
|
228
230
|
timeout_ms=timeout_ms,
|
|
229
231
|
)
|
|
230
232
|
|
|
@@ -390,6 +392,7 @@ class PaymentMethodsNetworkTokens(BaseSDK):
|
|
|
390
392
|
"json",
|
|
391
393
|
models.NetworkTokenCreate,
|
|
392
394
|
),
|
|
395
|
+
allow_empty_value=None,
|
|
393
396
|
timeout_ms=timeout_ms,
|
|
394
397
|
)
|
|
395
398
|
|
|
@@ -551,6 +554,7 @@ class PaymentMethodsNetworkTokens(BaseSDK):
|
|
|
551
554
|
"json",
|
|
552
555
|
models.NetworkTokenCreate,
|
|
553
556
|
),
|
|
557
|
+
allow_empty_value=None,
|
|
554
558
|
timeout_ms=timeout_ms,
|
|
555
559
|
)
|
|
556
560
|
|
|
@@ -697,6 +701,7 @@ class PaymentMethodsNetworkTokens(BaseSDK):
|
|
|
697
701
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
698
702
|
),
|
|
699
703
|
security=self.sdk_configuration.security,
|
|
704
|
+
allow_empty_value=None,
|
|
700
705
|
timeout_ms=timeout_ms,
|
|
701
706
|
)
|
|
702
707
|
|
|
@@ -843,6 +848,7 @@ class PaymentMethodsNetworkTokens(BaseSDK):
|
|
|
843
848
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
844
849
|
),
|
|
845
850
|
security=self.sdk_configuration.security,
|
|
851
|
+
allow_empty_value=None,
|
|
846
852
|
timeout_ms=timeout_ms,
|
|
847
853
|
)
|
|
848
854
|
|
|
@@ -989,6 +995,7 @@ class PaymentMethodsNetworkTokens(BaseSDK):
|
|
|
989
995
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
990
996
|
),
|
|
991
997
|
security=self.sdk_configuration.security,
|
|
998
|
+
allow_empty_value=None,
|
|
992
999
|
timeout_ms=timeout_ms,
|
|
993
1000
|
)
|
|
994
1001
|
|
|
@@ -1135,6 +1142,7 @@ class PaymentMethodsNetworkTokens(BaseSDK):
|
|
|
1135
1142
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
1136
1143
|
),
|
|
1137
1144
|
security=self.sdk_configuration.security,
|
|
1145
|
+
allow_empty_value=None,
|
|
1138
1146
|
timeout_ms=timeout_ms,
|
|
1139
1147
|
)
|
|
1140
1148
|
|
|
@@ -1281,6 +1289,7 @@ class PaymentMethodsNetworkTokens(BaseSDK):
|
|
|
1281
1289
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
1282
1290
|
),
|
|
1283
1291
|
security=self.sdk_configuration.security,
|
|
1292
|
+
allow_empty_value=None,
|
|
1284
1293
|
timeout_ms=timeout_ms,
|
|
1285
1294
|
)
|
|
1286
1295
|
|
|
@@ -1427,6 +1436,7 @@ class PaymentMethodsNetworkTokens(BaseSDK):
|
|
|
1427
1436
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
1428
1437
|
),
|
|
1429
1438
|
security=self.sdk_configuration.security,
|
|
1439
|
+
allow_empty_value=None,
|
|
1430
1440
|
timeout_ms=timeout_ms,
|
|
1431
1441
|
)
|
|
1432
1442
|
|
|
@@ -65,6 +65,7 @@ class PaymentMethodsPaymentServiceTokens(BaseSDK):
|
|
|
65
65
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
66
66
|
),
|
|
67
67
|
security=self.sdk_configuration.security,
|
|
68
|
+
allow_empty_value=None,
|
|
68
69
|
timeout_ms=timeout_ms,
|
|
69
70
|
)
|
|
70
71
|
|
|
@@ -215,6 +216,7 @@ class PaymentMethodsPaymentServiceTokens(BaseSDK):
|
|
|
215
216
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
216
217
|
),
|
|
217
218
|
security=self.sdk_configuration.security,
|
|
219
|
+
allow_empty_value=None,
|
|
218
220
|
timeout_ms=timeout_ms,
|
|
219
221
|
)
|
|
220
222
|
|
|
@@ -380,6 +382,7 @@ class PaymentMethodsPaymentServiceTokens(BaseSDK):
|
|
|
380
382
|
"json",
|
|
381
383
|
models.PaymentServiceTokenCreate,
|
|
382
384
|
),
|
|
385
|
+
allow_empty_value=None,
|
|
383
386
|
timeout_ms=timeout_ms,
|
|
384
387
|
)
|
|
385
388
|
|
|
@@ -541,6 +544,7 @@ class PaymentMethodsPaymentServiceTokens(BaseSDK):
|
|
|
541
544
|
"json",
|
|
542
545
|
models.PaymentServiceTokenCreate,
|
|
543
546
|
),
|
|
547
|
+
allow_empty_value=None,
|
|
544
548
|
timeout_ms=timeout_ms,
|
|
545
549
|
)
|
|
546
550
|
|
|
@@ -687,6 +691,7 @@ class PaymentMethodsPaymentServiceTokens(BaseSDK):
|
|
|
687
691
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
688
692
|
),
|
|
689
693
|
security=self.sdk_configuration.security,
|
|
694
|
+
allow_empty_value=None,
|
|
690
695
|
timeout_ms=timeout_ms,
|
|
691
696
|
)
|
|
692
697
|
|
|
@@ -833,6 +838,7 @@ class PaymentMethodsPaymentServiceTokens(BaseSDK):
|
|
|
833
838
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
834
839
|
),
|
|
835
840
|
security=self.sdk_configuration.security,
|
|
841
|
+
allow_empty_value=None,
|
|
836
842
|
timeout_ms=timeout_ms,
|
|
837
843
|
)
|
|
838
844
|
|
gr4vy/payment_methods_sdk.py
CHANGED
|
@@ -101,6 +101,7 @@ class PaymentMethodsSDK(BaseSDK):
|
|
|
101
101
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
102
102
|
),
|
|
103
103
|
security=self.sdk_configuration.security,
|
|
104
|
+
allow_empty_value=None,
|
|
104
105
|
timeout_ms=timeout_ms,
|
|
105
106
|
)
|
|
106
107
|
|
|
@@ -288,6 +289,7 @@ class PaymentMethodsSDK(BaseSDK):
|
|
|
288
289
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
289
290
|
),
|
|
290
291
|
security=self.sdk_configuration.security,
|
|
292
|
+
allow_empty_value=None,
|
|
291
293
|
timeout_ms=timeout_ms,
|
|
292
294
|
)
|
|
293
295
|
|
|
@@ -463,6 +465,7 @@ class PaymentMethodsSDK(BaseSDK):
|
|
|
463
465
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
464
466
|
request.request_body, False, False, "json", models.Body
|
|
465
467
|
),
|
|
468
|
+
allow_empty_value=None,
|
|
466
469
|
timeout_ms=timeout_ms,
|
|
467
470
|
)
|
|
468
471
|
|
|
@@ -609,6 +612,7 @@ class PaymentMethodsSDK(BaseSDK):
|
|
|
609
612
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
610
613
|
request.request_body, False, False, "json", models.Body
|
|
611
614
|
),
|
|
615
|
+
allow_empty_value=None,
|
|
612
616
|
timeout_ms=timeout_ms,
|
|
613
617
|
)
|
|
614
618
|
|
|
@@ -752,6 +756,7 @@ class PaymentMethodsSDK(BaseSDK):
|
|
|
752
756
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
753
757
|
),
|
|
754
758
|
security=self.sdk_configuration.security,
|
|
759
|
+
allow_empty_value=None,
|
|
755
760
|
timeout_ms=timeout_ms,
|
|
756
761
|
)
|
|
757
762
|
|
|
@@ -899,6 +904,7 @@ class PaymentMethodsSDK(BaseSDK):
|
|
|
899
904
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
900
905
|
),
|
|
901
906
|
security=self.sdk_configuration.security,
|
|
907
|
+
allow_empty_value=None,
|
|
902
908
|
timeout_ms=timeout_ms,
|
|
903
909
|
)
|
|
904
910
|
|
|
@@ -1046,6 +1052,7 @@ class PaymentMethodsSDK(BaseSDK):
|
|
|
1046
1052
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
1047
1053
|
),
|
|
1048
1054
|
security=self.sdk_configuration.security,
|
|
1055
|
+
allow_empty_value=None,
|
|
1049
1056
|
timeout_ms=timeout_ms,
|
|
1050
1057
|
)
|
|
1051
1058
|
|
|
@@ -1189,6 +1196,7 @@ class PaymentMethodsSDK(BaseSDK):
|
|
|
1189
1196
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
1190
1197
|
),
|
|
1191
1198
|
security=self.sdk_configuration.security,
|
|
1199
|
+
allow_empty_value=None,
|
|
1192
1200
|
timeout_ms=timeout_ms,
|
|
1193
1201
|
)
|
|
1194
1202
|
|
gr4vy/payment_options_sdk.py
CHANGED
|
@@ -90,6 +90,7 @@ class PaymentOptionsSDK(BaseSDK):
|
|
|
90
90
|
"json",
|
|
91
91
|
models.PaymentOptionRequest,
|
|
92
92
|
),
|
|
93
|
+
allow_empty_value=None,
|
|
93
94
|
timeout_ms=timeout_ms,
|
|
94
95
|
)
|
|
95
96
|
|
|
@@ -261,6 +262,7 @@ class PaymentOptionsSDK(BaseSDK):
|
|
|
261
262
|
"json",
|
|
262
263
|
models.PaymentOptionRequest,
|
|
263
264
|
),
|
|
265
|
+
allow_empty_value=None,
|
|
264
266
|
timeout_ms=timeout_ms,
|
|
265
267
|
)
|
|
266
268
|
|
|
@@ -60,6 +60,7 @@ class PaymentServiceDefinitionsSDK(BaseSDK):
|
|
|
60
60
|
accept_header_value="application/json",
|
|
61
61
|
http_headers=http_headers,
|
|
62
62
|
security=self.sdk_configuration.security,
|
|
63
|
+
allow_empty_value=None,
|
|
63
64
|
timeout_ms=timeout_ms,
|
|
64
65
|
)
|
|
65
66
|
|
|
@@ -226,6 +227,7 @@ class PaymentServiceDefinitionsSDK(BaseSDK):
|
|
|
226
227
|
accept_header_value="application/json",
|
|
227
228
|
http_headers=http_headers,
|
|
228
229
|
security=self.sdk_configuration.security,
|
|
230
|
+
allow_empty_value=None,
|
|
229
231
|
timeout_ms=timeout_ms,
|
|
230
232
|
)
|
|
231
233
|
|
|
@@ -389,6 +391,7 @@ class PaymentServiceDefinitionsSDK(BaseSDK):
|
|
|
389
391
|
accept_header_value="application/json",
|
|
390
392
|
http_headers=http_headers,
|
|
391
393
|
security=self.sdk_configuration.security,
|
|
394
|
+
allow_empty_value=None,
|
|
392
395
|
timeout_ms=timeout_ms,
|
|
393
396
|
)
|
|
394
397
|
|
|
@@ -530,6 +533,7 @@ class PaymentServiceDefinitionsSDK(BaseSDK):
|
|
|
530
533
|
accept_header_value="application/json",
|
|
531
534
|
http_headers=http_headers,
|
|
532
535
|
security=self.sdk_configuration.security,
|
|
536
|
+
allow_empty_value=None,
|
|
533
537
|
timeout_ms=timeout_ms,
|
|
534
538
|
)
|
|
535
539
|
|
|
@@ -677,6 +681,7 @@ class PaymentServiceDefinitionsSDK(BaseSDK):
|
|
|
677
681
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
678
682
|
request.request_body, False, False, "json", Dict[str, Any]
|
|
679
683
|
),
|
|
684
|
+
allow_empty_value=None,
|
|
680
685
|
timeout_ms=timeout_ms,
|
|
681
686
|
)
|
|
682
687
|
|
|
@@ -820,6 +825,7 @@ class PaymentServiceDefinitionsSDK(BaseSDK):
|
|
|
820
825
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
821
826
|
request.request_body, False, False, "json", Dict[str, Any]
|
|
822
827
|
),
|
|
828
|
+
allow_empty_value=None,
|
|
823
829
|
timeout_ms=timeout_ms,
|
|
824
830
|
)
|
|
825
831
|
|
gr4vy/payment_services_sdk.py
CHANGED
|
@@ -72,6 +72,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
72
72
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
73
73
|
),
|
|
74
74
|
security=self.sdk_configuration.security,
|
|
75
|
+
allow_empty_value=None,
|
|
75
76
|
timeout_ms=timeout_ms,
|
|
76
77
|
)
|
|
77
78
|
|
|
@@ -251,6 +252,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
251
252
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
252
253
|
),
|
|
253
254
|
security=self.sdk_configuration.security,
|
|
255
|
+
allow_empty_value=None,
|
|
254
256
|
timeout_ms=timeout_ms,
|
|
255
257
|
)
|
|
256
258
|
|
|
@@ -481,6 +483,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
481
483
|
"json",
|
|
482
484
|
models.PaymentServiceCreate,
|
|
483
485
|
),
|
|
486
|
+
allow_empty_value=None,
|
|
484
487
|
timeout_ms=timeout_ms,
|
|
485
488
|
)
|
|
486
489
|
|
|
@@ -684,6 +687,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
684
687
|
"json",
|
|
685
688
|
models.PaymentServiceCreate,
|
|
686
689
|
),
|
|
690
|
+
allow_empty_value=None,
|
|
687
691
|
timeout_ms=timeout_ms,
|
|
688
692
|
)
|
|
689
693
|
|
|
@@ -827,6 +831,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
827
831
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
828
832
|
),
|
|
829
833
|
security=self.sdk_configuration.security,
|
|
834
|
+
allow_empty_value=None,
|
|
830
835
|
timeout_ms=timeout_ms,
|
|
831
836
|
)
|
|
832
837
|
|
|
@@ -974,6 +979,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
974
979
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
975
980
|
),
|
|
976
981
|
security=self.sdk_configuration.security,
|
|
982
|
+
allow_empty_value=None,
|
|
977
983
|
timeout_ms=timeout_ms,
|
|
978
984
|
)
|
|
979
985
|
|
|
@@ -1185,6 +1191,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
1185
1191
|
"json",
|
|
1186
1192
|
models.PaymentServiceUpdate,
|
|
1187
1193
|
),
|
|
1194
|
+
allow_empty_value=None,
|
|
1188
1195
|
timeout_ms=timeout_ms,
|
|
1189
1196
|
)
|
|
1190
1197
|
|
|
@@ -1392,6 +1399,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
1392
1399
|
"json",
|
|
1393
1400
|
models.PaymentServiceUpdate,
|
|
1394
1401
|
),
|
|
1402
|
+
allow_empty_value=None,
|
|
1395
1403
|
timeout_ms=timeout_ms,
|
|
1396
1404
|
)
|
|
1397
1405
|
|
|
@@ -1535,6 +1543,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
1535
1543
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
1536
1544
|
),
|
|
1537
1545
|
security=self.sdk_configuration.security,
|
|
1546
|
+
allow_empty_value=None,
|
|
1538
1547
|
timeout_ms=timeout_ms,
|
|
1539
1548
|
)
|
|
1540
1549
|
|
|
@@ -1678,6 +1687,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
1678
1687
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
1679
1688
|
),
|
|
1680
1689
|
security=self.sdk_configuration.security,
|
|
1690
|
+
allow_empty_value=None,
|
|
1681
1691
|
timeout_ms=timeout_ms,
|
|
1682
1692
|
)
|
|
1683
1693
|
|
|
@@ -1836,6 +1846,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
1836
1846
|
"json",
|
|
1837
1847
|
models.VerifyCredentials,
|
|
1838
1848
|
),
|
|
1849
|
+
allow_empty_value=None,
|
|
1839
1850
|
timeout_ms=timeout_ms,
|
|
1840
1851
|
)
|
|
1841
1852
|
|
|
@@ -1994,6 +2005,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
1994
2005
|
"json",
|
|
1995
2006
|
models.VerifyCredentials,
|
|
1996
2007
|
),
|
|
2008
|
+
allow_empty_value=None,
|
|
1997
2009
|
timeout_ms=timeout_ms,
|
|
1998
2010
|
)
|
|
1999
2011
|
|
|
@@ -2143,6 +2155,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
2143
2155
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
2144
2156
|
request.request_body, False, False, "json", Dict[str, Any]
|
|
2145
2157
|
),
|
|
2158
|
+
allow_empty_value=None,
|
|
2146
2159
|
timeout_ms=timeout_ms,
|
|
2147
2160
|
)
|
|
2148
2161
|
|
|
@@ -2292,6 +2305,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
2292
2305
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
2293
2306
|
request.request_body, False, False, "json", Dict[str, Any]
|
|
2294
2307
|
),
|
|
2308
|
+
allow_empty_value=None,
|
|
2295
2309
|
timeout_ms=timeout_ms,
|
|
2296
2310
|
)
|
|
2297
2311
|
|
gr4vy/payouts.py
CHANGED
|
@@ -66,6 +66,7 @@ class Payouts(BaseSDK):
|
|
|
66
66
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
67
67
|
),
|
|
68
68
|
security=self.sdk_configuration.security,
|
|
69
|
+
allow_empty_value=None,
|
|
69
70
|
timeout_ms=timeout_ms,
|
|
70
71
|
)
|
|
71
72
|
|
|
@@ -237,6 +238,7 @@ class Payouts(BaseSDK):
|
|
|
237
238
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
238
239
|
),
|
|
239
240
|
security=self.sdk_configuration.security,
|
|
241
|
+
allow_empty_value=None,
|
|
240
242
|
timeout_ms=timeout_ms,
|
|
241
243
|
)
|
|
242
244
|
|
|
@@ -458,6 +460,7 @@ class Payouts(BaseSDK):
|
|
|
458
460
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
459
461
|
request.payout_create, False, False, "json", models.PayoutCreate
|
|
460
462
|
),
|
|
463
|
+
allow_empty_value=None,
|
|
461
464
|
timeout_ms=timeout_ms,
|
|
462
465
|
)
|
|
463
466
|
|
|
@@ -654,6 +657,7 @@ class Payouts(BaseSDK):
|
|
|
654
657
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
655
658
|
request.payout_create, False, False, "json", models.PayoutCreate
|
|
656
659
|
),
|
|
660
|
+
allow_empty_value=None,
|
|
657
661
|
timeout_ms=timeout_ms,
|
|
658
662
|
)
|
|
659
663
|
|
|
@@ -797,6 +801,7 @@ class Payouts(BaseSDK):
|
|
|
797
801
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
798
802
|
),
|
|
799
803
|
security=self.sdk_configuration.security,
|
|
804
|
+
allow_empty_value=None,
|
|
800
805
|
timeout_ms=timeout_ms,
|
|
801
806
|
)
|
|
802
807
|
|
|
@@ -944,6 +949,7 @@ class Payouts(BaseSDK):
|
|
|
944
949
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
945
950
|
),
|
|
946
951
|
security=self.sdk_configuration.security,
|
|
952
|
+
allow_empty_value=None,
|
|
947
953
|
timeout_ms=timeout_ms,
|
|
948
954
|
)
|
|
949
955
|
|
gr4vy/refunds_sdk.py
CHANGED
|
@@ -62,6 +62,7 @@ class RefundsSDK(BaseSDK):
|
|
|
62
62
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
63
63
|
),
|
|
64
64
|
security=self.sdk_configuration.security,
|
|
65
|
+
allow_empty_value=None,
|
|
65
66
|
timeout_ms=timeout_ms,
|
|
66
67
|
)
|
|
67
68
|
|
|
@@ -209,6 +210,7 @@ class RefundsSDK(BaseSDK):
|
|
|
209
210
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
210
211
|
),
|
|
211
212
|
security=self.sdk_configuration.security,
|
|
213
|
+
allow_empty_value=None,
|
|
212
214
|
timeout_ms=timeout_ms,
|
|
213
215
|
)
|
|
214
216
|
|
gr4vy/report_executions_sdk.py
CHANGED
|
@@ -82,6 +82,7 @@ class ReportExecutionsSDK(BaseSDK):
|
|
|
82
82
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
83
83
|
),
|
|
84
84
|
security=self.sdk_configuration.security,
|
|
85
|
+
allow_empty_value=None,
|
|
85
86
|
timeout_ms=timeout_ms,
|
|
86
87
|
)
|
|
87
88
|
|
|
@@ -273,6 +274,7 @@ class ReportExecutionsSDK(BaseSDK):
|
|
|
273
274
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
274
275
|
),
|
|
275
276
|
security=self.sdk_configuration.security,
|
|
277
|
+
allow_empty_value=None,
|
|
276
278
|
timeout_ms=timeout_ms,
|
|
277
279
|
)
|
|
278
280
|
|