mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-11-04 05:59:48 +08:00 
			
		
		
		
	feat(connector): [Breadpay]Add support for Breadpay connector (#8676)
Co-authored-by: Chikke Srujan <chikke.srujan@Chikke-Srujan-V9P7D4K9V0.local> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
		@ -56,6 +56,7 @@ pub enum PayLaterType {
 | 
			
		||||
    PayBright,
 | 
			
		||||
    Walley,
 | 
			
		||||
    Atome,
 | 
			
		||||
    Breadpay,
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#[derive(
 | 
			
		||||
 | 
			
		||||
@ -32,6 +32,7 @@ impl From<enums::PayLaterType> for global_enums::PaymentMethodType {
 | 
			
		||||
            enums::PayLaterType::PayBright => Self::PayBright,
 | 
			
		||||
            enums::PayLaterType::Walley => Self::Walley,
 | 
			
		||||
            enums::PayLaterType::Atome => Self::Atome,
 | 
			
		||||
            enums::PayLaterType::Breadpay => Self::Breadpay,
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -103,6 +103,7 @@ impl IntoDirValue for (global_enums::PaymentMethodType, global_enums::PaymentMet
 | 
			
		||||
 | 
			
		||||
            global_enums::PaymentMethodType::PayBright => Ok(dirval!(PayLaterType = PayBright)),
 | 
			
		||||
            global_enums::PaymentMethodType::Walley => Ok(dirval!(PayLaterType = Walley)),
 | 
			
		||||
            global_enums::PaymentMethodType::Breadpay => Ok(dirval!(PayLaterType = Breadpay)),
 | 
			
		||||
            global_enums::PaymentMethodType::Przelewy24 => {
 | 
			
		||||
                Ok(dirval!(BankRedirectType = Przelewy24))
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user