@@ -225,6 +225,14 @@ class Receipt(StripeObject):
225225 An indication of various EMV functions performed during the transaction.
226226 """
227227
228+ class Wallet (StripeObject ):
229+ type : Literal [
230+ "apple_pay" , "google_pay" , "samsung_pay" , "unknown"
231+ ]
232+ """
233+ The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
234+ """
235+
228236 amount_authorized : Optional [int ]
229237 """
230238 The authorized amount
@@ -331,9 +339,11 @@ class Receipt(StripeObject):
331339 """
332340 A collection of fields required to be displayed on receipts. Only required for EMV transactions.
333341 """
342+ wallet : Optional [Wallet ]
334343 _inner_class_types = {
335344 "offline" : Offline ,
336345 "receipt" : Receipt ,
346+ "wallet" : Wallet ,
337347 }
338348
339349 card_present : Optional [CardPresent ]
@@ -667,6 +677,12 @@ class Offline(StripeObject):
667677 The method used to process this payment method offline. Only deferred is allowed.
668678 """
669679
680+ class Wallet (StripeObject ):
681+ type : Literal ["apple_pay" , "google_pay" , "samsung_pay" , "unknown" ]
682+ """
683+ The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
684+ """
685+
670686 brand : Optional [str ]
671687 """
672688 Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
@@ -741,7 +757,12 @@ class Offline(StripeObject):
741757 """
742758 How card details were read in this transaction.
743759 """
744- _inner_class_types = {"networks" : Networks , "offline" : Offline }
760+ wallet : Optional [Wallet ]
761+ _inner_class_types = {
762+ "networks" : Networks ,
763+ "offline" : Offline ,
764+ "wallet" : Wallet ,
765+ }
745766
746767 class Cashapp (StripeObject ):
747768 buyer_id : Optional [str ]
0 commit comments