mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 10:06:32 +08:00 
			
		
		
		
	feat(core): add payments post_session_tokens flow (#6202)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
		| @ -31,6 +31,8 @@ pub enum Derives { | ||||
|     IncrementalAuthorizationData, | ||||
|     SdkSessionUpdate, | ||||
|     SdkSessionUpdateData, | ||||
|     PostSessionTokens, | ||||
|     PostSessionTokensData, | ||||
| } | ||||
|  | ||||
| impl Derives { | ||||
| @ -113,6 +115,12 @@ impl Conversion { | ||||
|             Derives::SdkSessionUpdateData => { | ||||
|                 syn::Ident::new("SdkPaymentsSessionUpdateData", Span::call_site()) | ||||
|             } | ||||
|             Derives::PostSessionTokens => { | ||||
|                 syn::Ident::new("PaymentsPostSessionTokensRequest", Span::call_site()) | ||||
|             } | ||||
|             Derives::PostSessionTokensData => { | ||||
|                 syn::Ident::new("PaymentsPostSessionTokensData", Span::call_site()) | ||||
|             } | ||||
|         } | ||||
|     } | ||||
|  | ||||
| @ -434,6 +442,7 @@ pub fn operation_derive_inner(input: DeriveInput) -> syn::Result<proc_macro::Tok | ||||
|                     CompleteAuthorizeData, | ||||
|                     PaymentsIncrementalAuthorizationData, | ||||
|                     SdkPaymentsSessionUpdateData, | ||||
|                     PaymentsPostSessionTokensData, | ||||
|  | ||||
|                     api::{ | ||||
|                         PaymentsCaptureRequest, | ||||
| @ -447,6 +456,7 @@ pub fn operation_derive_inner(input: DeriveInput) -> syn::Result<proc_macro::Tok | ||||
|                         VerifyRequest, | ||||
|                         PaymentsDynamicTaxCalculationRequest, | ||||
|                         PaymentsIncrementalAuthorizationRequest, | ||||
|                         PaymentsPostSessionTokensRequest | ||||
|                     } | ||||
|                 }; | ||||
|                 #trait_derive | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Swangi Kumari
					Swangi Kumari