
    Dh,0                    D   S SK Jr  S SKJr  S SKJr  S SKJr  S SKJ	r	  S SK
Jr  S SKJr  S SKJrJr  S S	KJrJrJrJrJrJr  S S
KJrJrJrJrJrJr  \(       a$  S SKJ r   S SK!J"r"  S SK#J$r$  S SK%J&r&  S SK'J(r(  S SK)J*r*   " S S\S   \S   5      r+\+\+RX                  l-        g)    )ExpandableField)
ListObject)ListableAPIResource)RequestOptions)StripeObject)APIResourceTestHelpers)UpdateableAPIResource)class_method_variantsanitize_id)ClassVarDictListOptionalcastoverload)LiteralNotRequiredType	TypedDictUnpackTYPE_CHECKING)BalanceTransaction)Authorization)Card)
Cardholder)Dispute)Tokenc                      \ rS rSr% SrSr\\S      \S'    " S S\	5      r
 " S S\	5      r " S	 S
\	5      r " S S\	5      r " S S\	5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S \5      r " S! S"\5      r " S# S$\5      r " S% S&\5      r " S' S(\5      r " S) S*\5      r " S+ S,\5      r " S- S.\5      r  " S/ S0\5      r! " S1 S2\5      r" " S3 S4\5      r# " S5 S6\5      r$ " S7 S8\5      r% " S9 S:\5      r& " S; S<\5      r' " S= S>\5      r( " S? S@\5      r) " SA SB\5      r* " SC SD\5      r+ " SE SF\5      r, " SG SH\5      r- " SI SJ\5      r. " SK SL\5      r/ " SM SN\5      r0 " SO SP\5      r1\2\SQ'    \3\
   \SR'    \3\4SS      \ST'    \3\4SU      \SV'    \4SW   \SX'    \3\4SY      \SZ'    \2\S['    \5\S\'    \3\4S]      \S^'    \5\S_'    \6\S`'    \2\Sa'    \5\Sb'    \\Sc'   \7\5\54   \Sd'    \3\   \Se'    \S   \Sf'    \3\   \Sg'    \3\4Sh      \Si'    \3\   \Sj'    \Sk   \Sl'    \3\Sm      \Sn'    \8So\9Sp   Sq\:S    4Sr j5       r;\8So\9Sp   Sq\:S    4Ss j5       r<\8S_\5So\9St   SqS 4Su j5       r=\8S_\5So\9St   SqS 4Sv j5       r>\8S_\5So\9Sw   SqS 4Sx j5       r?\8S_\5So\9Sw   SqS 4Sy j5       r@ " Sz S{\AS    5      rB\CS| 5       rD\
\\\\S}.rES~rFg)Transaction   a;  
Any use of an [issued card](https://stripe.com/docs/issuing) that results in funds entering or leaving
your Stripe account, such as a completed purchase or refund, is represented by an Issuing
`Transaction` object.

Related guide: [Issued card transactions](https://stripe.com/docs/issuing/purchases/transactions)
zissuing.transactionOBJECT_NAMEc                   8    \ rS rSr% \\   \S'    \\   \S'   Srg)Transaction.AmountDetails.   atm_feecashback_amount N__name__
__module____qualname____firstlineno__r   int__annotations____static_attributes__r'       ^/home/kali/devsecops-assessor/venv/lib/python3.13/site-packages/stripe/issuing/_transaction.pyAmountDetailsr#   .   s"    #	 "#&	r0   r2   c                       \ rS rSr% \\S'    \\S'    \\   \S'    \\   \S'    \\   \S'    \\S'    \\   \S'    \\   \S	'    \\   \S
'    \\   \S'    \\   \S'   Srg)Transaction.MerchantData8   categorycategory_codecitycountryname
network_idpostal_codestatetax_idterminal_idurlr'   N)r)   r*   r+   r,   strr.   r   r/   r'   r0   r1   MerchantDatar4   8   s    	 	 sm	 #	 sm	 	 c]"	 }	 	 c]"	 c]	r0   rB   c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)Transaction.NetworkDataf   authorization_codeprocessing_datetransaction_idr'   Nr)   r*   r+   r,   r   rA   r.   r/   r'   r0   r1   NetworkDatarD   f   s3    $SM)	 "#&	 !%	r0   rJ   c                      \ rS rSr%  " S S\5      r " S S\5      r " S S\5      r " S S	\5      r " S
 S\5      r	\
\   \S'    \
\   \S'    \
\   \S'    \
\   \S'    \
\\	      \S'    \
\   \S'    \\\\\	S.rSrg)Transaction.PurchaseDetailst   c                       \ rS rSr%  " S S\5      r " S S\5      r\\   \S'    \\	   \S'    \\   \S'    \\	   \S	'    \\S
.r
Srg)!Transaction.PurchaseDetails.Fleetu   c                   n    \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg)	6Transaction.PurchaseDetails.Fleet.CardholderPromptDatav   	driver_idodometerunspecified_iduser_idvehicle_numberr'   N)	r)   r*   r+   r,   r   rA   r.   r-   r/   r'   r0   r1   CardholderPromptDatarR   v   sU    #C=( #3-' !)- "#& !)-r0   rY   c                       \ rS rSr%  " S S\5      r " S S\5      r " S S\5      r\\   \	S'    \\   \	S	'    \\   \	S
'    \\\S.r
Srg)3Transaction.PurchaseDetails.Fleet.ReportedBreakdown   c                   &    \ rS rSr% \\   \S'   Srg)8Transaction.PurchaseDetails.Fleet.ReportedBreakdown.Fuel   gross_amount_decimalr'   NrI   r'   r0   r1   Fuelr^          *23-7r0   ra   c                   &    \ rS rSr% \\   \S'   Srg);Transaction.PurchaseDetails.Fleet.ReportedBreakdown.NonFuel   r`   r'   NrI   r'   r0   r1   NonFuelrd      rb   r0   rf   c                   8    \ rS rSr% \\   \S'    \\   \S'   Srg)7Transaction.PurchaseDetails.Fleet.ReportedBreakdown.Tax   local_amount_decimalnational_amount_decimalr'   NrI   r'   r0   r1   Taxrh      s"    *23-7 .6c]:r0   rl   fuelnon_fueltax)rm   rn   ro   r'   N)r)   r*   r+   r,   r   ra   rf   rl   r   r.   _inner_class_typesr/   r'   r0   r1   ReportedBreakdownr[      sm    < l ,  tn$ #7++ c]" ! '&"r0   rq   cardholder_prompt_datapurchase_typereported_breakdownservice_type)rr   rt   r'   N)r)   r*   r+   r,   r   rY   rq   r   r.   rA   rp   r/   r'   r0   r1   FleetrO   u   ss    | ,'L 'R %--A$BB $C=( !)): ;; #3-' +?&7"r0   rv   c                       \ rS rSr%  " S S\5      r\\   \S'    \\	   \S'    \\
   \S'    \\\      \S'    \\	   \S'    S\0rS	rg
)"Transaction.PurchaseDetails.Flight   c                       \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg	)
*Transaction.PurchaseDetails.Flight.Segment   arrival_airport_codecarrierdeparture_airport_codeflight_numberservice_classstopover_allowedr'   N)	r)   r*   r+   r,   r   rA   r.   boolr/   r'   r0   r1   Segmentr{      sf    &.sm3 "#& )15  (},  (}, #+4.0r0   r   departure_atpassenger_name
refundablesegmentstravel_agencyr'   N)r)   r*   r+   r,   r   r   r   r-   r.   rA   r   r   rp   r/   r'   r0   r1   Flightrx      su    , 4 #3-' %SM) !& tG}-- $C=( #-g!6r0   r   c                   \    \ rS rSr% \\   \S'    \\   \S'    \\S'    \\S'    \\S'   Srg)	 Transaction.PurchaseDetails.Fuel   industry_product_codequantity_decimaltypeunitunit_cost_decimalr'   NrI   r'   r0   r1   ra   r      sG    #+C=0 'sm+ I I  #"r0   ra   c                   8    \ rS rSr% \\   \S'    \\   \S'   Srg)#Transaction.PurchaseDetails.Lodgingi  check_in_atnightsr'   Nr(   r'   r0   r1   Lodgingr     s"    !#& SM!r0   r   c                   \    \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'   Sr	g)#Transaction.PurchaseDetails.Receipti  descriptionquantitytotal	unit_costr'   N)
r)   r*   r+   r,   r   rA   r.   floatr-   r/   r'   r0   r1   Receiptr     sD    !#& uo% C=   }$r0   r   fleetflightrm   lodgingreceipt	reference)r   r   rm   r   r   r'   N)r)   r*   r+   r,   r   rv   r   ra   r   r   r   r.   r   rA   rp   r/   r'   r0   r1   PurchaseDetailsrL   t   s    S	L S	j/	7\ /	7b	< 	,	l 		l 	$ 	   	 tn	 '""	 $w-((	 C= 	 
r0   r   c                   8    \ rS rSr% \\   \S'    \\   \S'   Srg)Transaction.TreasuryiM  received_creditreceived_debitr'   NrI   r'   r0   r1   Treasuryr   M  s"    !#&	 !%	r0   r   c                   z    \ rS rSr% \\S'    \\S'    \\   \S'    \\\      \S'    \S   \S'    \S   \S	'   S
r	g)$Transaction.CreateForceCaptureParamsiW  amountcardcurrencyexpand0Transaction.CreateForceCaptureParamsMerchantDatamerchant_data3Transaction.CreateForceCaptureParamsPurchaseDetailspurchase_detailsr'   N
r)   r*   r+   r,   r-   r.   rA   r   r   r/   r'   r0   r1   CreateForceCaptureParamsr   W  sn    	 		 c""	 DI&&	 #>
 	
	 &A
 	
	r0   r   c                       \ rS rSr% \\S      \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S	'    \\   \S
'    \\   \S'   Srg)r   iu  &  ac_refrigeration_repairaccounting_bookkeeping_servicesadvertising_servicesagricultural_cooperativeairlines_air_carriersairports_flying_fieldsambulance_servicesamusement_parks_carnivalsantique_reproductionsantique_shops	aquariums architectural_surveying_servicesart_dealers_and_galleriesartists_supply_and_craft_shopsauto_and_home_supply_storesauto_body_repair_shopsauto_paint_shopsauto_service_shopsautomated_cash_disburseautomated_fuel_dispensersautomobile_associations'automotive_parts_and_accessories_storesautomotive_tire_storesbail_and_bond_paymentsbakeriesbands_orchestrasbarber_and_beauty_shopsbetting_casino_gamblingbicycle_shopsbilliard_pool_establishmentsboat_dealersboat_rentals_and_leasesbook_stores books_periodicals_and_newspapersbowling_alleys	bus_linesbusiness_secretarial_schoolsbuying_shopping_services2cable_satellite_and_other_pay_television_and_radio%camera_and_photographic_supply_stores"candy_nut_and_confectionery_storescar_and_truck_dealers_new_usedcar_and_truck_dealers_used_onlycar_rental_agencies
car_washescarpentry_servicescarpet_upholstery_cleaningcaterers7charitable_and_social_service_organizations_fundraisingchemicals_and_allied_productschild_care_services!childrens_and_infants_wear_storeschiropodists_podiatristschiropractorscigar_stores_and_stands#civic_social_fraternal_associationscleaning_and_maintenanceclothing_rentalcolleges_universitiescommercial_equipmentcommercial_footwear'commercial_photography_art_and_graphicscommuter_transport_and_ferriescomputer_network_servicescomputer_programmingcomputer_repaircomputer_software_stores"computers_peripherals_and_softwareconcrete_work_servicesconstruction_materialsconsulting_public_relationscorrespondence_schoolscosmetic_storescounseling_servicescountry_clubscourier_servicescourt_costscredit_reporting_agenciescruise_linesdairy_products_storesdance_hall_studios_schoolsdating_escort_servicesdentists_orthodontistsdepartment_storesdetective_agenciesdigital_goods_applicationsdigital_goods_gamesdigital_goods_large_volumedigital_goods_media!direct_marketing_catalog_merchant8direct_marketing_combination_catalog_and_retail_merchant&direct_marketing_inbound_telemarketing#direct_marketing_insurance_servicesdirect_marketing_other'direct_marketing_outbound_telemarketingdirect_marketing_subscriptiondirect_marketing_traveldiscount_storesdoctorsdoor_to_door_sales-drapery_window_covering_and_upholstery_storesdrinking_placesdrug_stores_and_pharmacies.drugs_drug_proprietaries_and_druggist_sundriesdry_cleanersdurable_goodsduty_free_storeseating_places_restaurantseducational_serviceselectric_razor_storeselectric_vehicle_chargingelectrical_parts_and_equipmentelectrical_serviceselectronics_repair_shopselectronics_storeselementary_secondary_schools%emergency_services_gcas_visa_use_onlyemployment_temp_agenciesequipment_rentalexterminating_servicesfamily_clothing_storesfast_food_restaurantsfinancial_institutions(fines_government_administrative_entities2fireplace_fireplace_screens_and_accessories_storesfloor_covering_storesflorists+florists_supplies_nursery_stock_and_flowers$freezer_and_locker_meat_provisionersfuel_dealers_non_automotivefuneral_services_crematoriesAfurniture_home_furnishings_and_equipment_stores_except_appliancesfurniture_repair_refinishingfurriers_and_fur_shopsgeneral_services$gift_card_novelty_and_souvenir_shops glass_paint_and_wallpaper_storesglassware_crystal_storesgolf_courses_public3government_licensed_horse_dog_racing_us_region_onlyAgovernment_licensed_online_casions_online_gambling_us_region_only(government_owned_lotteries_non_us_region)government_owned_lotteries_us_region_onlygovernment_servicesgrocery_stores_supermarketshardware_equipment_and_supplieshardware_storeshealth_and_beauty_spashearing_aids_sales_and_suppliesheating_plumbing_a_chobby_toy_and_game_shopshome_supply_warehouse_stores	hospitalshotels_motels_and_resortshousehold_appliance_storesindustrial_suppliesinformation_retrieval_servicesinsurance_defaultinsurance_underwriting_premiumsintra_company_purchases3jewelry_stores_watches_clocks_and_silverware_storeslandscaping_services	laundrieslaundry_cleaning_serviceslegal_services_attorneys luggage_and_leather_goods_stores lumber_building_materials_storesmanual_cash_disbursemarinas_service_and_suppliesmarketplacesmasonry_stonework_and_plastermassage_parlorsmedical_and_dental_labs=medical_dental_ophthalmic_and_hospital_equipment_and_suppliesmedical_servicesmembership_organizations-mens_and_boys_clothing_and_accessories_storesmens_womens_clothing_storesmetal_service_centers)miscellaneous_apparel_and_accessory_shopsmiscellaneous_auto_dealersmiscellaneous_business_servicesmiscellaneous_food_stores!miscellaneous_general_merchandisemiscellaneous_general_services.miscellaneous_home_furnishing_specialty_stores%miscellaneous_publishing_and_printing!miscellaneous_recreation_servicesmiscellaneous_repair_shopsmiscellaneous_specialty_retailmobile_home_dealersmotion_picture_theaters#motor_freight_carriers_and_truckingmotor_homes_dealers$motor_vehicle_supplies_and_new_partsmotorcycle_shops_and_dealersmotorcycle_shops_dealers7music_stores_musical_instruments_pianos_and_sheet_musicnews_dealers_and_newsstandsnon_fi_money_orders&non_fi_stored_value_card_purchase_loadnondurable_goods'nurseries_lawn_and_garden_supply_storesnursing_personal_careoffice_and_commercial_furnitureopticians_eyeglassesoptometrists_ophthalmologist#orthopedic_goods_prosthetic_devices
osteopaths#package_stores_beer_wine_and_liquorpaints_varnishes_and_suppliesparking_lots_garagespassenger_railways
pawn_shopspet_shops_pet_food_and_supplies petroleum_and_petroleum_productsphoto_developing7photographic_photocopy_microfilm_equipment_and_suppliesphotographic_studiospicture_video_production'piece_goods_notions_and_other_dry_goods'plumbing_heating_equipment_and_suppliespolitical_organizationspostal_services_government_only.precious_stones_and_metals_watches_and_jewelryprofessional_servicespublic_warehousing_and_storagequick_copy_repro_and_blueprint	railroads'real_estate_agents_and_managers_rentalsrecord_storesrecreational_vehicle_rentalsreligious_goods_storesreligious_organizationsroofing_siding_sheet_metalsecretarial_support_servicessecurity_brokers_dealersservice_stations/sewing_needlework_fabric_and_piece_goods_storesshoe_repair_hat_cleaningshoe_storessmall_appliance_repairsnowmobile_dealersspecial_trade_servicesspecialty_cleaningsporting_goods_storessporting_recreation_camps sports_and_riding_apparel_storessports_clubs_fieldsstamp_and_coin_stores5stationary_office_supplies_printing_and_writing_paper1stationery_stores_office_and_school_supply_storesswimming_pools_salest_ui_travel_germanytailors_alterations tax_payments_government_agenciestax_preparation_servicestaxicabs_limousines/telecommunication_equipment_and_telephone_salestelecommunication_servicestelegraph_servicestent_and_awning_shopstesting_laboratoriestheatrical_ticket_agencies
timesharestire_retreading_and_repairtolls_bridge_fees tourist_attractions_and_exhibitstowing_servicestrailer_parks_campgroundstransportation_servicestravel_agencies_tour_operatorstruck_stop_iterationtruck_utility_trailer_rentals-typesetting_plate_making_and_related_servicestypewriter_stores.u_s_federal_government_agencies_or_departmentsuniforms_commercial_clothing&used_merchandise_and_secondhand_stores	utilitiesvariety_storesveterinary_servicesvideo_amusement_game_suppliesvideo_game_arcadesvideo_tape_rental_storesvocational_trade_schoolswatch_jewelry_repairwelding_repairwholesale_clubswig_and_toupee_storeswires_money_orders$womens_accessory_and_specialty_shopswomens_ready_to_wear_storeswrecking_and_salvage_yardsr6   r8   r9   r:   r;   r<   r=   r?   r@   r'   N	r)   r*   r+   r,   r   r   r.   rA   r/   r'   r0   r1   $CreateForceCaptureParamsMerchantData0Transaction.CreateForceCaptureParamsMerchantDatau      e.gi
 i	
T		 #	 S!!	 #	  $$	 !%%	 3	 !%%	 	r0   r  c                       \ rS rSr% \S   \S'    \S   \S'    \S   \S'    \S   \S	'    \\S
      \S'    \\   \S'   Srg)r   i  8Transaction.CreateForceCaptureParamsPurchaseDetailsFleetr   9Transaction.CreateForceCaptureParamsPurchaseDetailsFlightr   7Transaction.CreateForceCaptureParamsPurchaseDetailsFuelrm   :Transaction.CreateForceCaptureParamsPurchaseDetailsLodgingr   :Transaction.CreateForceCaptureParamsPurchaseDetailsReceiptr   r   r'   N	r)   r*   r+   r,   r   r.   r   rA   r/   r'   r0   r1   'CreateForceCaptureParamsPurchaseDetails3Transaction.CreateForceCaptureParamsPurchaseDetails  s    F
 	
	 G
 	
	 E
 	
	 H
 	
	 MN
 	
	 s##	r0   r  c                   h    \ rS rSr% \S   \S'    \\S      \S'    \S   \S'    \\S      \S	'   S
rg)r  i  LTransaction.CreateForceCaptureParamsPurchaseDetailsFleetCardholderPromptDatarr   fuel_and_non_fuel_purchasefuel_purchasenon_fuel_purchasers   ITransaction.CreateForceCaptureParamsPurchaseDetailsFleetReportedBreakdownrt   full_servicenon_fuel_transactionself_serviceru   r'   Nr)   r*   r+   r,   r   r.   r   r/   r'   r0   r1   ,CreateForceCaptureParamsPurchaseDetailsFleet8Transaction.CreateForceCaptureParamsPurchaseDetailsFleet  sl     +Z!
 	
	 #%
 	
	 (W
 	
	 "JK
 	
	r0   r  c                   n    \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg)	r  i  rT   rU   rV   rW   rX   r'   N	r)   r*   r+   r,   r   rA   r.   r-   r/   r'   r0   r1   @CreateForceCaptureParamsPurchaseDetailsFleetCardholderPromptDataLTransaction.CreateForceCaptureParamsPurchaseDetailsFleetCardholderPromptData  \     s##	 c""	 $C((	 S!!	 $C((	r0   r  c                   J    \ rS rSr% \S   \S'    \S   \S'    \S   \S'   Srg	)
r  i  MTransaction.CreateForceCaptureParamsPurchaseDetailsFleetReportedBreakdownFuelrm   PTransaction.CreateForceCaptureParamsPurchaseDetailsFleetReportedBreakdownNonFuelrn   LTransaction.CreateForceCaptureParamsPurchaseDetailsFleetReportedBreakdownTaxro   r'   Nr)   r*   r+   r,   r   r.   r/   r'   r0   r1   =CreateForceCaptureParamsPurchaseDetailsFleetReportedBreakdownITransaction.CreateForceCaptureParamsPurchaseDetailsFleetReportedBreakdown  sG     [
 	
	 ^
 	
	 Z
 	
	r0   r  c                   &    \ rS rSr% \\   \S'   Srg)r   i4  r`   r'   Nr)   r*   r+   r,   r   rA   r.   r/   r'   r0   r1   ACreateForceCaptureParamsPurchaseDetailsFleetReportedBreakdownFuelMTransaction.CreateForceCaptureParamsPurchaseDetailsFleetReportedBreakdownFuel4       *#..	r0   r  c                   &    \ rS rSr% \\   \S'   Srg)r  i<  r`   r'   Nr  r'   r0   r1   DCreateForceCaptureParamsPurchaseDetailsFleetReportedBreakdownNonFuelPTransaction.CreateForceCaptureParamsPurchaseDetailsFleetReportedBreakdownNonFuel<  r
  r0   r  c                   8    \ rS rSr% \\   \S'    \\   \S'   Srg)r  iD  rj   rk   r'   Nr  r'   r0   r1   @CreateForceCaptureParamsPurchaseDetailsFleetReportedBreakdownTaxLTransaction.CreateForceCaptureParamsPurchaseDetailsFleetReportedBreakdownTaxD  &     *#..	 "-S!11	r0   r  c                   t    \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\	S      \S'    \\   \S'   Sr
g	)
r  iP  r   r   r   @Transaction.CreateForceCaptureParamsPurchaseDetailsFlightSegmentr   r   r'   Nr)   r*   r+   r,   r   r-   r.   rA   r   r   r/   r'   r0   r1   -CreateForceCaptureParamsPurchaseDetailsFlight9Transaction.CreateForceCaptureParamsPurchaseDetailsFlightP  sg    !#&&	 $C((	  %%	 R
 	

	 #3''	r0   r  c                       \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg	)
r  ij  r}   r~   r   r   r   r   r'   N	r)   r*   r+   r,   r   rA   r.   r   r/   r'   r0   r1   4CreateForceCaptureParamsPurchaseDetailsFlightSegment@Transaction.CreateForceCaptureParamsPurchaseDetailsFlightSegmentj  l    )#..	 S!!	 !,C 00	 #3''	 #3''	 &d++	r0   r  c                   z    \ rS rSr% \\   \S'    \\   \S'    \\S      \S'    \\S      \S'    \\   \S'   S	rg
)r  i  r   r   dieselotherunleaded_plusunleaded_regularunleaded_superr   charging_minuteimperial_gallonkilogramkilowatt_hourliterr  pound	us_gallonr   r   r'   N	r)   r*   r+   r,   r   rA   r.   r   r/   r'   r0   r1   +CreateForceCaptureParamsPurchaseDetailsFuel7Transaction.CreateForceCaptureParamsPurchaseDetailsFuel  x    *3//	 &c**	 "
 	
	 	
 	
	 's++	r0   r,  c                   8    \ rS rSr% \\   \S'    \\   \S'   Srg)r  i  r   r   r'   Nr)   r*   r+   r,   r   r-   r.   r/   r'   r0   r1   .CreateForceCaptureParamsPurchaseDetailsLodging:Transaction.CreateForceCaptureParamsPurchaseDetailsLodging  $     %%	 C  	r0   r1  c                   V    \ rS rSr% \\   \S'   \\   \S'   \\   \S'   \\   \S'   Srg)r  i  r   r   r   r   r'   Nr  r'   r0   r1   .CreateForceCaptureParamsPurchaseDetailsReceipt:Transaction.CreateForceCaptureParamsPurchaseDetailsReceipt  .     %%c""3s##r0   r5  c                   z    \ rS rSr% \\S'    \\S'    \\   \S'    \\\      \S'    \S   \S'    \S   \S	'   S
r	g)&Transaction.CreateUnlinkedRefundParamsi  r   r   r   r   2Transaction.CreateUnlinkedRefundParamsMerchantDatar   5Transaction.CreateUnlinkedRefundParamsPurchaseDetailsr   r'   Nr   r'   r0   r1   CreateUnlinkedRefundParamsr9    sn    	 		 c""	 DI&&	 #@
 	
	 &C
 	
	r0   r<  c                       \ rS rSr% \\S      \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S	'    \\   \S
'    \\   \S'   Srg)r:  i  r   r6   r8   r9   r:   r;   r<   r=   r?   r@   r'   Nr  r'   r0   r1   &CreateUnlinkedRefundParamsMerchantData2Transaction.CreateUnlinkedRefundParamsMerchantData  r  r0   r>  c                       \ rS rSr% \S   \S'    \S   \S'    \S   \S'    \S   \S	'    \\S
      \S'    \\   \S'   Srg)r;  i*  :Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFleetr   ;Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFlightr   9Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuelrm   <Transaction.CreateUnlinkedRefundParamsPurchaseDetailsLodgingr   <Transaction.CreateUnlinkedRefundParamsPurchaseDetailsReceiptr   r   r'   Nr  r'   r0   r1   )CreateUnlinkedRefundParamsPurchaseDetails5Transaction.CreateUnlinkedRefundParamsPurchaseDetails*  s    H
 	
	 I
 	
	 G
 	
	 J
 	
	 N
 	

	 s##	r0   rF  c                   h    \ rS rSr% \S   \S'    \\S      \S'    \S   \S'    \\S      \S	'   S
rg)rA  iP  NTransaction.CreateUnlinkedRefundParamsPurchaseDetailsFleetCardholderPromptDatarr   r  rs   KTransaction.CreateUnlinkedRefundParamsPurchaseDetailsFleetReportedBreakdownrt   r  ru   r'   Nr  r'   r0   r1   .CreateUnlinkedRefundParamsPurchaseDetailsFleet:Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFleetP  sl     +\!
 	
	 #%
 	
	 (Y
 	
	 "JK
 	
	r0   rK  c                   n    \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg)	rI  in  rT   rU   rV   rW   rX   r'   Nr  r'   r0   r1   BCreateUnlinkedRefundParamsPurchaseDetailsFleetCardholderPromptDataNTransaction.CreateUnlinkedRefundParamsPurchaseDetailsFleetCardholderPromptDatan  r  r0   rN  c                   J    \ rS rSr% \S   \S'    \S   \S'    \S   \S'   Srg	)
rJ  i  OTransaction.CreateUnlinkedRefundParamsPurchaseDetailsFleetReportedBreakdownFuelrm   RTransaction.CreateUnlinkedRefundParamsPurchaseDetailsFleetReportedBreakdownNonFuelrn   NTransaction.CreateUnlinkedRefundParamsPurchaseDetailsFleetReportedBreakdownTaxro   r'   Nr  r'   r0   r1   ?CreateUnlinkedRefundParamsPurchaseDetailsFleetReportedBreakdownKTransaction.CreateUnlinkedRefundParamsPurchaseDetailsFleetReportedBreakdown  sG     ]
 	
	 `
 	
	 \
 	
	r0   rT  c                   &    \ rS rSr% \\   \S'   Srg)rQ  i  r`   r'   Nr  r'   r0   r1   CCreateUnlinkedRefundParamsPurchaseDetailsFleetReportedBreakdownFuelOTransaction.CreateUnlinkedRefundParamsPurchaseDetailsFleetReportedBreakdownFuel  r
  r0   rW  c                   &    \ rS rSr% \\   \S'   Srg)rR  i  r`   r'   Nr  r'   r0   r1   FCreateUnlinkedRefundParamsPurchaseDetailsFleetReportedBreakdownNonFuelRTransaction.CreateUnlinkedRefundParamsPurchaseDetailsFleetReportedBreakdownNonFuel  r
  r0   rZ  c                   8    \ rS rSr% \\   \S'    \\   \S'   Srg)rS  i  rj   rk   r'   Nr  r'   r0   r1   BCreateUnlinkedRefundParamsPurchaseDetailsFleetReportedBreakdownTaxNTransaction.CreateUnlinkedRefundParamsPurchaseDetailsFleetReportedBreakdownTax  r  r0   r]  c                   t    \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\	S      \S'    \\   \S'   Sr
g	)
rB  i  r   r   r   BTransaction.CreateUnlinkedRefundParamsPurchaseDetailsFlightSegmentr   r   r'   Nr  r'   r0   r1   /CreateUnlinkedRefundParamsPurchaseDetailsFlight;Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFlight  sg    !#&&	 $C((	  %%	 T
 	

	 #3''	r0   ra  c                       \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg	)
r`  i  r}   r~   r   r   r   r   r'   Nr  r'   r0   r1   6CreateUnlinkedRefundParamsPurchaseDetailsFlightSegmentBTransaction.CreateUnlinkedRefundParamsPurchaseDetailsFlightSegment  r  r0   rd  c                   z    \ rS rSr% \\   \S'    \\   \S'    \\S      \S'    \\S      \S'    \\   \S'   S	rg
)rC  i  r   r   r  r   r#  r   r   r'   Nr+  r'   r0   r1   -CreateUnlinkedRefundParamsPurchaseDetailsFuel9Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel  r.  r0   rg  c                   8    \ rS rSr% \\   \S'    \\   \S'   Srg)rD  i  r   r   r'   Nr0  r'   r0   r1   0CreateUnlinkedRefundParamsPurchaseDetailsLodging<Transaction.CreateUnlinkedRefundParamsPurchaseDetailsLodging  r3  r0   rj  c                   V    \ rS rSr% \\   \S'   \\   \S'   \\   \S'   \\   \S'   Srg)rE  i  r   r   r   r   r'   Nr  r'   r0   r1   0CreateUnlinkedRefundParamsPurchaseDetailsReceipt<Transaction.CreateUnlinkedRefundParamsPurchaseDetailsReceipt  r7  r0   rm  c                       \ rS rSr% \\   \S'    \\   \S'    \S   \S'    \\   \S'    \\\      \S'    \\   \S'    \\   \S	'    \\	S
      \S'   Sr
g)Transaction.ListParamsi%  r   
cardholderz!Transaction.ListParamsCreated|intcreatedending_beforer   limitstarting_aftercapturerefundr   r'   N)r)   r*   r+   r,   r   rA   r.   r   r-   r   r/   r'   r0   r1   
ListParamsrp  %  s    #	  $$	 @AA	 #3''	 DI&&	 3	 $C((	 '"5677	r0   ry  c                   \    \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg)Transaction.ListParamsCreatediG  gtgteltlter'   Nr0  r'   r0   r1   ListParamsCreatedr{  G  sH    	 	 	 	r0   r  c                   >    \ rS rSr% \\\      \S'    \S   \S'   Srg)Transaction.ModifyParamsiY  r   zLiteral['']|Dict[str, str]metadatar'   N	r)   r*   r+   r,   r   r   rA   r.   r/   r'   r0   r1   ModifyParamsr  Y  s)    DI&&	 :;;	r0   r  c                   >    \ rS rSr% \\\      \S'    \\   \S'   Sr	g)Transaction.RefundParamsic  r   refund_amountr'   N)
r)   r*   r+   r,   r   r   rA   r.   r-   r/   r'   r0   r1   RefundParamsr  c  s(    DI&&	 #3''	r0   r  c                   ,    \ rS rSr% \\\      \S'   Srg)Transaction.RetrieveParamsim  r   r'   Nr  r'   r0   r1   RetrieveParamsr  m  s    DI&&	r0   r  r   amount_detailsr   authorizationr   balance_transactionr   r   r   rq  rr  r   r   disputeidlivemodemerchant_amountmerchant_currencyr   r  network_dataobjectr   r   tokentreasuryrv  r   )	apple_pay
google_paysamsung_paywalletparamsrp  returnc                     U R                  SU R                  5       US9n[        U[        5      (       d!  [	        S[        U5      R                  -  5      eU$ )
Returns a list of Issuing Transaction objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
getr  %Expected list object from API, got %s)_static_request	class_url
isinstancer   	TypeErrorr   r)   clsr  results      r1   listTransaction.list  s`     $$MMO % 

 &*--7<((* 
 r0   c                    #    U R                  SU R                  5       US9I Sh  vN n[        U[        5      (       d!  [	        S[        U5      R                  -  5      eU$  N<7f)r  r  r  Nr  )_static_request_asyncr  r  r   r  r   r)   r  s      r1   
list_asyncTransaction.list_async  sm      00MMO 1 
 

 &*--7<((* 
 
s   #A$A"=A$r  c           	      x    U R                  5       < S[        U5      < 3n[        SU R                  SUUS95      $ )
Updates the specified Issuing Transaction object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
/r   postr  )r  r   r   r  r  r  r  r@   s       r1   modifyTransaction.modify  sD     +b/:   
 	
r0   c           	         #    U R                  5       < S[        U5      < 3n[        SU R                  SUUS9I Sh  vN 5      $  N7f)r  r  r   r  r  N)r  r   r   r  r  s       r1   modify_asyncTransaction.modify_async  sQ      +b/:++ ,  
 	
s   ;AA
	Ar  c                 8    U " U40 UD6nUR                  5         U$ )*
Retrieves an Issuing Transaction object.
)refreshr  r  r  instances       r1   retrieveTransaction.retrieve  s$     r$V$r0   c                 T   #    U " U40 UD6nUR                  5       I Sh  vN   U$  N7f)r  N)refresh_asyncr  s       r1   retrieve_asyncTransaction.retrieve_async  s2      r$V$$$&&& 	's   (&(c                      \ rS rSr% \S   \S'   \S\S   SS4S j5       r\S\S   SS4S j5       r	\S\S	   SS4S
 j5       r
\S\S	   SS4S j5       r\S\S\S   SS4S j5       r\\S\S\S   SS4S j5       5       r\S\S   SS4S j5       r\" S5      S\S   SS4S j5       r\S\S\S   SS4S j5       r\\S\S\S   SS4S j5       5       r\S\S   SS4S j5       r\" S5      S\S   SS4S j5       rSrg)Transaction.TestHelpersi)  r   _resource_clsr  r   r  c           	      8    [        SU R                  SSUS95      $ )Q
Allows the user to capture an arbitrary amount, also known as a forced capture.
r   r  :/v1/test_helpers/issuing/transactions/create_force_capturer  r   r  r  r  s     r1   create_force_capture,Transaction.TestHelpers.create_force_capture,  s0     ##P! $  r0   c           	      T   #    [        SU R                  SSUS9I Sh  vN 5      $  N7f)r  r   r  r  r  Nr   r  r  s     r1   create_force_capture_async2Transaction.TestHelpers.create_force_capture_async<  s=      //P! 0      (&
	(r9  c           	      8    [        SU R                  SSUS95      $ )Q
Allows the user to refund an arbitrary amount, also known as a unlinked refund.
r   r  </v1/test_helpers/issuing/transactions/create_unlinked_refundr  r  r  s     r1   create_unlinked_refund.Transaction.TestHelpers.create_unlinked_refundL  s0     ##R! $  r0   c           	      T   #    [        SU R                  SSUS9I Sh  vN 5      $  N7f)r  r   r  r  r  Nr  r  s     r1   create_unlinked_refund_async4Transaction.TestHelpers.create_unlinked_refund_async\  s=      //R! 0   r  transactionr  c                 d    [        SU R                  SSR                  [        U5      S9US95      $ )!
Refund a test-mode Transaction.
r   r  :/v1/test_helpers/issuing/transactions/{transaction}/refundr  r  )r   r  formatr   r  r  r  s      r1   _cls_refund#Transaction.TestHelpers._cls_refundl  sK     ##PWW$/$< X  " $ 	 	r0   c                     gr  Nr'   r  r  s     r1   rx  Transaction.TestHelpers.refund~  s     r0   c                     gr  r'   selfr  s     r1   rx  r    s     r0   r  c                     [        SU R                  R                  SSR                  [	        U R                  R                  S5      5      S9US95      $ )r  r   r  r  r  r  r  )r   resource_requestr  r   r  r  s     r1   rx  r    s^     &&PWW$/0A0A$0G$H X  " ' 	 	r0   c                    #    [        SU R                  SSR                  [        U5      S9US9I Sh  vN 5      $  N7f)r  r   r  r  r  r  N)r   r  r  r   r  s      r1   _cls_refund_async)Transaction.TestHelpers._cls_refund_async  sX      //PWW$/$< X  " 0  	 	s   1><
	>c                    #    g7fr  r'   r  s     r1   refund_async$Transaction.TestHelpers.refund_async  s
         c                    #    g7fr  r'   r  s     r1   r  r    s
      r  r  c                    #    [        SU R                  R                  SSR                  [	        U R                  R                  S5      5      S9US9I Sh  vN 5      $  N7f)r  r   r  r  r  r  r  N)r   r  _request_asyncr  r   r  r  s     r1   r  r    sk      mm22PWW$/0A0A$0G$H X  " 3  	 	s   AA!A
	A!r'   N)r)   r*   r+   r,   r   r.   classmethodr   r  r  r  r  rA   r  r   staticmethodrx  r
   r  r  r/   r'   r0   r1   TestHelpersr  )  s>   M**		!"HI		 
	 
	!"HI		 
	 
	!"JK		 
	 
	!"JK		 
	 
	!	-34N-O		 
	" 
			(./I(J		 
 
	 
	"#=>		 
	 
m	,	"#=>		 
-	" 
	!	-34N-O		 
	" 
			(./I(J		 
 
	 
	"#=>		 
	 
1	2	"#=>		 
3	r0   r  c                 $    U R                  U 5      $ )N)r  )r  s    r1   test_helpersTransaction.test_helpers  s    %%r0   )r  r   r  r   r  r'   N)Gr)   r*   r+   r,   __doc__r!   r   r   r.   r   r2   rB   rJ   r   r   r   r   r   r  r  r  r  r  r  r  r  r  r  r,  r1  r5  r<  r>  rF  rK  rN  rT  rW  rZ  r]  ra  rd  rg  rj  rm  ry  r  r  r  r  r-   r   r   rA   r   r   r  r   r   r  r  r  r  r  r  r   r  propertyr  rp   r/   r'   r0   r1   r   r      s    	 '"789  ,| ,\l W
, W
r< > <My M^
") "Hy <0,

	 4y 4'i 'R $ $^ <M M^
$I $L <0,

) 4 4'	 'R9 $9 $ ^  DI $~ ~   K ]++ OO<== "/2F"GHH &
!! 677 L M oi011 	G N    38n ;'' )** // OG,-- x   %
&& WEFGG 67	M	" & 67	M	" & 

 &'A B
	
 
  

 &'A B
	
 
   &'C D	   &'C D	 o,]; ob & & (%#+r0   r   N).stripe._expandable_fieldr   stripe._list_objectr   stripe._listable_api_resourcer   stripe._request_optionsr   stripe._stripe_objectr   stripe._test_helpersr   stripe._updateable_api_resourcer	   stripe._utilr
   r   typingr   r   r   r   r   r   typing_extensionsr   r   r   r   r   r   stripe._balance_transactionr   stripe.issuing._authorizationr   stripe.issuing._cardr   stripe.issuing._cardholderr   stripe.issuing._disputer   stripe.issuing._tokenr   r   r  r  r'   r0   r1   <module>r     ss    5 * = 2 . 7 A : A A  >;)5/+F&-(FR> )4   %r0   