id stringlengths 20 153 | type stringclasses 1
value | granularity stringclasses 14
values | content stringlengths 16 84.3k | metadata dict |
|---|---|---|---|---|
hyperswitch_method_hyperswitch_domain_models_AuthNFlowType_get_acs_url | clm | method | // hyperswitch/crates/hyperswitch_domain_models/src/router_request_types/authentication.rs
// impl for AuthNFlowType
pub fn get_acs_url(&self) -> Option<String> {
if let Self::Challenge(challenge_params) = self {
challenge_params.acs_url.as_ref().map(ToString::to_string)
} else {
... | {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": null,
"file_size": null,
"for_type": "AuthNFlowType",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "get_acs_url",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "... |
hyperswitch_method_hyperswitch_domain_models_AuthNFlowType_get_challenge_request | clm | method | // hyperswitch/crates/hyperswitch_domain_models/src/router_request_types/authentication.rs
// impl for AuthNFlowType
pub fn get_challenge_request(&self) -> Option<String> {
if let Self::Challenge(challenge_params) = self {
challenge_params.challenge_request.clone()
} else {
None... | {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": null,
"file_size": null,
"for_type": "AuthNFlowType",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "get_challenge_request",
"num_enums": null,
"num_items": null,
"num_structs": null,
... |
hyperswitch_method_hyperswitch_domain_models_AuthNFlowType_get_challenge_request_key | clm | method | // hyperswitch/crates/hyperswitch_domain_models/src/router_request_types/authentication.rs
// impl for AuthNFlowType
pub fn get_challenge_request_key(&self) -> Option<String> {
if let Self::Challenge(challenge_params) = self {
challenge_params.challenge_request_key.clone()
} else {
... | {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": null,
"file_size": null,
"for_type": "AuthNFlowType",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "get_challenge_request_key",
"num_enums": null,
"num_items": null,
"num_structs": nul... |
hyperswitch_method_hyperswitch_domain_models_AuthNFlowType_get_acs_reference_number | clm | method | // hyperswitch/crates/hyperswitch_domain_models/src/router_request_types/authentication.rs
// impl for AuthNFlowType
pub fn get_acs_reference_number(&self) -> Option<String> {
if let Self::Challenge(challenge_params) = self {
challenge_params.acs_reference_number.clone()
} else {
... | {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": null,
"file_size": null,
"for_type": "AuthNFlowType",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "get_acs_reference_number",
"num_enums": null,
"num_items": null,
"num_structs": null... |
hyperswitch_method_hyperswitch_domain_models_AuthNFlowType_get_acs_trans_id | clm | method | // hyperswitch/crates/hyperswitch_domain_models/src/router_request_types/authentication.rs
// impl for AuthNFlowType
pub fn get_acs_trans_id(&self) -> Option<String> {
if let Self::Challenge(challenge_params) = self {
challenge_params.acs_trans_id.clone()
} else {
None
}... | {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": null,
"file_size": null,
"for_type": "AuthNFlowType",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "get_acs_trans_id",
"num_enums": null,
"num_items": null,
"num_structs": null,
"rep... |
hyperswitch_method_hyperswitch_domain_models_AuthNFlowType_get_acs_signed_content | clm | method | // hyperswitch/crates/hyperswitch_domain_models/src/router_request_types/authentication.rs
// impl for AuthNFlowType
pub fn get_acs_signed_content(&self) -> Option<String> {
if let Self::Challenge(challenge_params) = self {
challenge_params.acs_signed_content.clone()
} else {
No... | {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": null,
"file_size": null,
"for_type": "AuthNFlowType",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "get_acs_signed_content",
"num_enums": null,
"num_items": null,
"num_structs": null,
... |
hyperswitch_method_hyperswitch_domain_models_AuthNFlowType_get_decoupled_authentication_type | clm | method | // hyperswitch/crates/hyperswitch_domain_models/src/router_request_types/authentication.rs
// impl for AuthNFlowType
pub fn get_decoupled_authentication_type(&self) -> common_enums::DecoupledAuthenticationType {
match self {
Self::Challenge(_) => common_enums::DecoupledAuthenticationType::Challenge... | {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": null,
"file_size": null,
"for_type": "AuthNFlowType",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "get_decoupled_authentication_type",
"num_enums": null,
"num_items": null,
"num_struc... |
hyperswitch_method_hyperswitch_domain_models_ConnectorNetworkTxnId_new | clm | method | // hyperswitch/crates/hyperswitch_domain_models/src/router_flow_types/webhooks.rs
// impl for ConnectorNetworkTxnId
pub fn new(txn_id: masking::Secret<String>) -> Self {
Self(txn_id)
}
| {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": null,
"file_size": null,
"for_type": "ConnectorNetworkTxnId",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "... |
hyperswitch_method_hyperswitch_domain_models_ConnectorNetworkTxnId_get_id | clm | method | // hyperswitch/crates/hyperswitch_domain_models/src/router_flow_types/webhooks.rs
// impl for ConnectorNetworkTxnId
pub fn get_id(&self) -> &masking::Secret<String> {
&self.0
}
| {
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": null,
"file_size": null,
"for_type": "ConnectorNetworkTxnId",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "get_id",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo"... |
hyperswitch_method_hyperswitch_connectors_PaymentsPreProcessingData_get_minor_amount | clm | method | // hyperswitch/crates/router/src/connector/utils.rs
// impl for PaymentsPreProcessingData
fn get_minor_amount(&self) -> Result<MinorUnit, Error> {
self.minor_amount.ok_or_else(missing_field_err("amount"))
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "PaymentsPreProcessingData",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "get_minor_amount",
"num_enums": null,
"num_items": null,
"num_structs": nul... |
hyperswitch_method_hyperswitch_connectors_{
_ .write_event | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/utils.rs
// impl for {
.write_event(Event::DocType(BytesText::from_escaped(xml_doc_type_data)))
.change_context(errors::ConnectorError::RequestEncodingFailed)
.attach_printable("Failed to write the XML declara... | {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "{\n ",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": " .write_event",
"num_enums": null,
"num_items": null,
"num_structs": null,
... |
hyperswitch_method_hyperswitch_connectors_Wellsfargo_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/wellsfargo.rs
// impl for Wellsfargo
pub fn new() -> &'static Self {
&Self {
amount_converter: &StringMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Wellsfargo",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
... |
hyperswitch_method_hyperswitch_connectors_Wellsfargo_generate_digest | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/wellsfargo.rs
// impl for Wellsfargo
pub fn generate_digest(&self, payload: &[u8]) -> String {
let payload_digest = digest::digest(&digest::SHA256, payload);
consts::BASE64_ENGINE.encode(payload_digest)
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Wellsfargo",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "generate_digest",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hy... |
hyperswitch_method_hyperswitch_connectors_Wellsfargo_generate_signature | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/wellsfargo.rs
// impl for Wellsfargo
pub fn generate_signature(
&self,
auth: wellsfargo::WellsfargoAuthType,
host: String,
resource: &str,
payload: &String,
date: OffsetDateTime,
http_method: Method,
... | {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Wellsfargo",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "generate_signature",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": ... |
hyperswitch_method_hyperswitch_connectors_Braintree_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/braintree.rs
// impl for Braintree
pub const fn new() -> &'static Self {
&Self {
amount_converter: &StringMajorUnitForConnector,
amount_converter_webhooks: &StringMinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Braintree",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
... |
hyperswitch_method_hyperswitch_connectors_Noon_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/noon.rs
// impl for Noon
pub const fn new() -> &'static Self {
&Self {
amount_converter: &StringMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Noon",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"sta... |
hyperswitch_method_hyperswitch_connectors_Breadpay_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/breadpay.rs
// impl for Breadpay
pub fn new() -> &'static Self {
&Self {
amount_converter: &StringMinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Breadpay",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
... |
hyperswitch_method_hyperswitch_connectors_Worldpayvantiv_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs
// impl for Worldpayvantiv
pub fn new() -> &'static Self {
&Self {
amount_converter: &MinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Worldpayvantiv",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitc... |
hyperswitch_method_hyperswitch_connectors_Thunes_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/thunes.rs
// impl for Thunes
pub fn new() -> &'static Self {
&Self {
amount_converter: &StringMinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Thunes",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"s... |
hyperswitch_method_hyperswitch_connectors_Paysafe_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/paysafe.rs
// impl for Paysafe
pub fn new() -> &'static Self {
&Self {
amount_converter: &MinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Paysafe",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"... |
hyperswitch_method_hyperswitch_connectors_Adyenplatform_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/adyenplatform.rs
// impl for Adyenplatform
pub const fn new() -> &'static Self {
&Self {
#[cfg(feature = "payouts")]
amount_converter: &MinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Adyenplatform",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch... |
hyperswitch_method_hyperswitch_connectors_Coinbase_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/coinbase.rs
// impl for Coinbase
pub fn new() -> &'static Self {
&Self {
amount_convertor: &StringMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Coinbase",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
... |
hyperswitch_method_hyperswitch_connectors_Payme_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/payme.rs
// impl for Payme
pub const fn new() -> &'static Self {
&Self {
amount_converter: &MinorUnitForConnector,
apple_pay_google_pay_amount_converter: &StringMajorUnitForConnector,
amount_converter_webhooks: &Str... | {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Payme",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"st... |
hyperswitch_method_hyperswitch_connectors_Xendit_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/xendit.rs
// impl for Xendit
pub fn new() -> &'static Self {
&Self {
amount_converter: &FloatMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Xendit",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"s... |
hyperswitch_method_hyperswitch_connectors_Worldpayxml_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/worldpayxml.rs
// impl for Worldpayxml
pub fn new() -> &'static Self {
&Self {
amount_converter: &StringMinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Worldpayxml",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",... |
hyperswitch_method_hyperswitch_connectors_Boku_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/boku.rs
// impl for Boku
pub fn new() -> &'static Self {
&Self {
amount_converter: &MinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Boku",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"sta... |
hyperswitch_method_hyperswitch_connectors_Paystack_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/paystack.rs
// impl for Paystack
pub fn new() -> &'static Self {
&Self {
amount_converter: &MinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Paystack",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
... |
hyperswitch_method_hyperswitch_connectors_Nomupay_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/nomupay.rs
// impl for Nomupay
pub fn new() -> &'static Self {
&Self {
#[cfg(feature = "payouts")]
amount_converter: &FloatMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Nomupay",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"... |
hyperswitch_method_hyperswitch_connectors_Inespay_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/inespay.rs
// impl for Inespay
pub fn new() -> &'static Self {
&Self {
amount_converter: &StringMinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Inespay",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"... |
hyperswitch_method_hyperswitch_connectors_Dwolla_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/dwolla.rs
// impl for Dwolla
pub fn new() -> &'static Self {
&Self {
amount_converter: &StringMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Dwolla",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"s... |
hyperswitch_method_hyperswitch_connectors_Authipay_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/authipay.rs
// impl for Authipay
pub fn new() -> &'static Self {
&Self {
amount_converter: &FloatMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Authipay",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
... |
hyperswitch_method_hyperswitch_connectors_Authipay_generate_authorization_signature | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/authipay.rs
// impl for Authipay
pub fn generate_authorization_signature(
&self,
auth: authipay::AuthipayAuthType,
request_id: &str,
payload: &str,
timestamp: i128,
) -> CustomResult<String, errors::ConnectorError> ... | {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Authipay",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "generate_authorization_signature",
"num_enums": null,
"num_items": null,
"num_structs": null... |
hyperswitch_method_hyperswitch_connectors_Adyen_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/adyen.rs
// impl for Adyen
pub const fn new() -> &'static Self {
&Self {
amount_converter: &MinorUnitForConnector,
amount_converter_webhooks: &StringMinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Adyen",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"st... |
hyperswitch_method_hyperswitch_connectors_Chargebee_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/chargebee.rs
// impl for Chargebee
pub fn new() -> &'static Self {
&Self {
amount_converter: &MinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Chargebee",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
... |
hyperswitch_method_hyperswitch_connectors_Juspaythreedsserver_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs
// impl for Juspaythreedsserver
pub fn new() -> &'static Self {
&Self {
amount_converter: &StringMinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Juspaythreedsserver",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyper... |
hyperswitch_method_hyperswitch_connectors_Finix_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/finix.rs
// impl for Finix
pub fn new() -> &'static Self {
&Self {
amount_converter: &MinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Finix",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"st... |
hyperswitch_method_hyperswitch_connectors_Cybersource_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/cybersource.rs
// impl for Cybersource
pub fn new() -> &'static Self {
&Self {
amount_converter: &StringMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Cybersource",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",... |
hyperswitch_method_hyperswitch_connectors_Cybersource_generate_digest | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/cybersource.rs
// impl for Cybersource
pub fn generate_digest(&self, payload: &[u8]) -> String {
let payload_digest = digest::digest(&digest::SHA256, payload);
consts::BASE64_ENGINE.encode(payload_digest)
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Cybersource",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "generate_digest",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "h... |
hyperswitch_method_hyperswitch_connectors_Cybersource_generate_signature | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/cybersource.rs
// impl for Cybersource
pub fn generate_signature(
&self,
auth: cybersource::CybersourceAuthType,
host: String,
resource: &str,
payload: &String,
date: OffsetDateTime,
http_method: Method,... | {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Cybersource",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "generate_signature",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo":... |
hyperswitch_method_hyperswitch_connectors_Dlocal_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/dlocal.rs
// impl for Dlocal
pub fn new() -> &'static Self {
&Self {
amount_convertor: &MinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Dlocal",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"s... |
hyperswitch_method_hyperswitch_connectors_Datatrans_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/datatrans.rs
// impl for Datatrans
pub const fn new() -> &'static Self {
&Self {
amount_converter: &MinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Datatrans",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
... |
hyperswitch_method_hyperswitch_connectors_Affirm_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/affirm.rs
// impl for Affirm
pub fn new() -> &'static Self {
&Self {
amount_converter: &MinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Affirm",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"s... |
hyperswitch_method_hyperswitch_connectors_Barclaycard_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/barclaycard.rs
// impl for Barclaycard
pub fn new() -> &'static Self {
&Self {
amount_converter: &StringMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Barclaycard",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",... |
hyperswitch_method_hyperswitch_connectors_Barclaycard_generate_digest | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/barclaycard.rs
// impl for Barclaycard
pub fn generate_digest(&self, payload: &[u8]) -> String {
let payload_digest = digest::digest(&digest::SHA256, payload);
consts::BASE64_ENGINE.encode(payload_digest)
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Barclaycard",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "generate_digest",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "h... |
hyperswitch_method_hyperswitch_connectors_Barclaycard_generate_signature | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/barclaycard.rs
// impl for Barclaycard
pub fn generate_signature(
&self,
auth: barclaycard::BarclaycardAuthType,
host: String,
resource: &str,
payload: &String,
date: OffsetDateTime,
http_method: Method,... | {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Barclaycard",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "generate_signature",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo":... |
hyperswitch_method_hyperswitch_connectors_Mollie_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/mollie.rs
// impl for Mollie
pub fn new() -> &'static Self {
&Self {
amount_converter: &StringMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Mollie",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"s... |
hyperswitch_method_hyperswitch_connectors_Tesouro_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/tesouro.rs
// impl for Tesouro
pub fn new() -> &'static Self {
&Self {
amount_converter: &FloatMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Tesouro",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"... |
hyperswitch_method_hyperswitch_connectors_Novalnet_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/novalnet.rs
// impl for Novalnet
pub fn new() -> &'static Self {
&Self {
amount_converter: &StringMinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Novalnet",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
... |
hyperswitch_method_hyperswitch_connectors_Peachpayments_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/peachpayments.rs
// impl for Peachpayments
pub fn new() -> &'static Self {
&Self {
amount_converter: &MinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Peachpayments",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch... |
hyperswitch_method_hyperswitch_connectors_Gigadat_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/gigadat.rs
// impl for Gigadat
pub fn new() -> &'static Self {
&Self {
amount_converter: &FloatMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Gigadat",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"... |
hyperswitch_method_hyperswitch_connectors_Custombilling_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/custombilling.rs
// impl for Custombilling
pub fn new() -> &'static Self {
&Self {
amount_converter: &StringMinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Custombilling",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch... |
hyperswitch_method_hyperswitch_connectors_Silverflow_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/silverflow.rs
// impl for Silverflow
pub fn new() -> &'static Self {
&Self
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Silverflow",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
... |
hyperswitch_method_hyperswitch_connectors_Cashtocode_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/cashtocode.rs
// impl for Cashtocode
pub fn new() -> &'static Self {
&Self {
amount_converter: &FloatMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Cashtocode",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
... |
hyperswitch_method_hyperswitch_connectors_Bambora_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/bambora.rs
// impl for Bambora
pub fn new() -> &'static Self {
&Self {
amount_convertor: &FloatMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Bambora",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"... |
hyperswitch_method_hyperswitch_connectors_Wellsfargopayout_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs
// impl for Wellsfargopayout
pub fn new() -> &'static Self {
&Self {
amount_converter: &StringMinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Wellsfargopayout",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswi... |
hyperswitch_method_hyperswitch_connectors_Forte_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/forte.rs
// impl for Forte
pub fn new() -> &'static Self {
&Self {
amount_converter: &FloatMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Forte",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"st... |
hyperswitch_method_hyperswitch_connectors_Nuvei_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/nuvei.rs
// impl for Nuvei
pub fn new() -> &'static Self {
&Self {
amount_convertor: &StringMajorUnitForConnector,
amount_converter_string_minor_unit: &StringMinorUnitForConnector,
amount_converter_float_major_unit:... | {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Nuvei",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"st... |
hyperswitch_method_hyperswitch_connectors_Coingate_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/coingate.rs
// impl for Coingate
pub fn new() -> &'static Self {
&Self {
amount_converter: &StringMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Coingate",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
... |
hyperswitch_method_hyperswitch_connectors_Jpmorgan_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/jpmorgan.rs
// impl for Jpmorgan
pub fn new() -> &'static Self {
&Self {
amount_converter: &MinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Jpmorgan",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
... |
hyperswitch_method_hyperswitch_connectors_Payu_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/payu.rs
// impl for Payu
pub fn new() -> &'static Self {
&Self {
amount_converter: &MinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Payu",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"sta... |
hyperswitch_method_hyperswitch_connectors_Paybox_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/paybox.rs
// impl for Paybox
pub fn new() -> &'static Self {
&Self {
amount_converter: &MinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Paybox",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"s... |
hyperswitch_method_hyperswitch_connectors_UnifiedAuthenticationService_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs
// impl for UnifiedAuthenticationService
pub fn new() -> &'static Self {
&Self {
amount_converter: &FloatMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "UnifiedAuthenticationService",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo... |
hyperswitch_method_hyperswitch_connectors_DummyConnector<T>_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/dummyconnector.rs
// impl for DummyConnector<T>
pub fn new() -> &'static Self {
&Self {
amount_converter: &MinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "DummyConnector<T>",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hypersw... |
hyperswitch_method_hyperswitch_connectors_Katapult_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/katapult.rs
// impl for Katapult
pub fn new() -> &'static Self {
&Self {
amount_converter: &StringMinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Katapult",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
... |
hyperswitch_method_hyperswitch_connectors_Paytm_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/paytm.rs
// impl for Paytm
pub fn new() -> &'static Self {
&Self {
amount_converter: &StringMinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Paytm",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"st... |
hyperswitch_method_hyperswitch_connectors_Paypal_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/paypal.rs
// impl for Paypal
pub fn new() -> &'static Self {
&Self {
amount_converter: &StringMajorUnitForConnector,
amount_converter_webhooks: &StringMinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Paypal",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"s... |
hyperswitch_method_hyperswitch_connectors_Sift_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/sift.rs
// impl for Sift
pub fn new() -> &'static Self {
&Self {
amount_converter: &StringMinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Sift",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"sta... |
hyperswitch_method_hyperswitch_connectors_Globepay_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/globepay.rs
// impl for Globepay
pub fn new() -> &'static Self {
&Self {
amount_converter: &MinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Globepay",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
... |
hyperswitch_method_hyperswitch_connectors_Fiserv_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/fiserv.rs
// impl for Fiserv
pub fn new() -> &'static Self {
&Self {
amount_converter: &FloatMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Fiserv",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"s... |
hyperswitch_method_hyperswitch_connectors_Fiserv_generate_authorization_signature | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/fiserv.rs
// impl for Fiserv
pub fn generate_authorization_signature(
&self,
auth: fiserv::FiservAuthType,
request_id: &str,
payload: &str,
timestamp: i128,
) -> CustomResult<String, errors::ConnectorError> {
... | {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Fiserv",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "generate_authorization_signature",
"num_enums": null,
"num_items": null,
"num_structs": null,
... |
hyperswitch_method_hyperswitch_connectors_Multisafepay_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/multisafepay.rs
// impl for Multisafepay
pub fn new() -> &'static Self {
&Self {
amount_converter: &MinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Multisafepay",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch"... |
hyperswitch_method_hyperswitch_connectors_Powertranz_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/powertranz.rs
// impl for Powertranz
pub fn new() -> &'static Self {
&Self {
amount_convertor: &FloatMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Powertranz",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
... |
hyperswitch_method_hyperswitch_connectors_Payone_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/payone.rs
// impl for Payone
pub fn new() -> &'static Self {
&Self {
#[cfg(feature = "payouts")]
amount_converter: &MinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Payone",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"s... |
hyperswitch_method_hyperswitch_connectors_Payone_generate_signature | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/payone.rs
// impl for Payone
pub fn generate_signature(
&self,
auth: payone::PayoneAuthType,
http_method: String,
canonicalized_path: String,
content_type: String,
date_header: String,
) -> CustomResult<Stri... | {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Payone",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "generate_signature",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyp... |
hyperswitch_method_hyperswitch_connectors_Razorpay_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/razorpay.rs
// impl for Razorpay
pub fn new() -> &'static Self {
&Self {
amount_converter: &MinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Razorpay",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
... |
hyperswitch_method_hyperswitch_connectors_Worldpay_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/worldpay.rs
// impl for Worldpay
pub const fn new() -> &'static Self {
&Self {
amount_converter: &MinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Worldpay",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
... |
hyperswitch_method_hyperswitch_connectors_Deutschebank_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/deutschebank.rs
// impl for Deutschebank
pub fn new() -> &'static Self {
&Self {
amount_converter: &MinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Deutschebank",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch"... |
hyperswitch_method_hyperswitch_connectors_Opayo_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/opayo.rs
// impl for Opayo
pub fn new() -> &'static Self {
&Self {
amount_converter: &MinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Opayo",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"st... |
hyperswitch_method_hyperswitch_connectors_Getnet_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/getnet.rs
// impl for Getnet
pub fn new() -> &'static Self {
&Self {
amount_converter: &FloatMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Getnet",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"s... |
hyperswitch_method_hyperswitch_connectors_Blackhawknetwork_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs
// impl for Blackhawknetwork
pub fn new() -> &'static Self {
&Self {
amount_converter: &StringMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Blackhawknetwork",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswi... |
hyperswitch_method_hyperswitch_connectors_Bitpay_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/bitpay.rs
// impl for Bitpay
pub fn new() -> &'static Self {
&Self {
amount_converter: &FloatMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Bitpay",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"s... |
hyperswitch_method_hyperswitch_connectors_Facilitapay_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/facilitapay.rs
// impl for Facilitapay
pub fn new() -> &'static Self {
&Self {
amount_converter: &StringMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Facilitapay",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",... |
hyperswitch_method_hyperswitch_connectors_Flexiti_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/flexiti.rs
// impl for Flexiti
pub fn new() -> &'static Self {
&Self {
amount_converter: &FloatMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Flexiti",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"... |
hyperswitch_method_hyperswitch_connectors_Flexiti_get_default_header | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/flexiti.rs
// impl for Flexiti
fn get_default_header() -> (String, masking::Maskable<String>) {
(
"x-reference-id".to_string(),
Uuid::new_v4().to_string().into(),
)
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Flexiti",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "get_default_header",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hy... |
hyperswitch_method_hyperswitch_connectors_Volt_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/volt.rs
// impl for Volt
pub fn new() -> &'static Self {
&Self {
amount_converter: &MinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Volt",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"sta... |
hyperswitch_method_hyperswitch_connectors_Fiuu_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/fiuu.rs
// impl for Fiuu
pub fn new() -> &'static Self {
&Self {
amount_converter: &StringMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Fiuu",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"sta... |
hyperswitch_method_hyperswitch_connectors_Hipay_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/hipay.rs
// impl for Hipay
pub fn new() -> &'static Self {
&Self {
amount_converter: &StringMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Hipay",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"st... |
hyperswitch_method_hyperswitch_connectors_Itaubank_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/itaubank.rs
// impl for Itaubank
pub fn new() -> &'static Self {
&Self {
amount_converter: &StringMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Itaubank",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
... |
hyperswitch_method_hyperswitch_connectors_Digitalvirgo_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs
// impl for Digitalvirgo
pub fn new() -> &'static Self {
&Self {
amount_converter: &FloatMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Digitalvirgo",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch"... |
hyperswitch_method_hyperswitch_connectors_Phonepe_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/phonepe.rs
// impl for Phonepe
pub fn new() -> &'static Self {
&Self {
amount_converter: &StringMinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Phonepe",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"... |
hyperswitch_method_hyperswitch_connectors_Bluesnap_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/bluesnap.rs
// impl for Bluesnap
pub fn new() -> &'static Self {
&Self {
amount_converter: &StringMajorUnitForConnector,
amount_converter_to_string_minor_unit: &StringMinorUnitForConnector,
amount_converter_float_ma... | {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Bluesnap",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
... |
hyperswitch_method_hyperswitch_connectors_Trustpayments_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/trustpayments.rs
// impl for Trustpayments
pub fn new() -> &'static Self {
&Self {
amount_converter: &StringMinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Trustpayments",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch... |
hyperswitch_method_hyperswitch_connectors_Helcim_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/helcim.rs
// impl for Helcim
pub fn new() -> &'static Self {
&Self {
amount_convertor: &FloatMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Helcim",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"s... |
hyperswitch_method_hyperswitch_connectors_Celero_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/celero.rs
// impl for Celero
pub fn new() -> &'static Self {
&Self {
amount_converter: &MinorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Celero",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"s... |
hyperswitch_method_hyperswitch_connectors_Plaid_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/plaid.rs
// impl for Plaid
pub fn new() -> &'static Self {
&Self {
amount_converter: &FloatMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Plaid",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"st... |
hyperswitch_method_hyperswitch_connectors_Mifinity_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/mifinity.rs
// impl for Mifinity
pub fn new() -> &'static Self {
&Self {
amount_converter: &StringMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Mifinity",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
... |
hyperswitch_method_hyperswitch_connectors_Worldline_generate_authorization_token | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/worldline.rs
// impl for Worldline
pub fn generate_authorization_token(
&self,
auth: worldline::WorldlineAuthType,
http_method: Method,
content_type: &str,
date: &str,
endpoint: &str,
) -> CustomResult<Strin... | {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Worldline",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "generate_authorization_token",
"num_enums": null,
"num_items": null,
"num_structs": null,
... |
hyperswitch_method_hyperswitch_connectors_Worldline_get_current_date_time | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/worldline.rs
// impl for Worldline
pub fn get_current_date_time() -> CustomResult<String, errors::ConnectorError> {
let format = format_description::parse(
"[weekday repr:short], [day] [month repr:short] [year] [hour]:[minute]:[second] GMT... | {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Worldline",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "get_current_date_time",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo"... |
hyperswitch_method_hyperswitch_connectors_Bankofamerica_new | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/bankofamerica.rs
// impl for Bankofamerica
pub fn new() -> &'static Self {
&Self {
amount_convertor: &StringMajorUnitForConnector,
}
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Bankofamerica",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "new",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch... |
hyperswitch_method_hyperswitch_connectors_Bankofamerica_generate_digest | clm | method | // hyperswitch/crates/hyperswitch_connectors/src/connectors/bankofamerica.rs
// impl for Bankofamerica
pub fn generate_digest(&self, payload: &[u8]) -> String {
let payload_digest = digest::digest(&digest::SHA256, payload);
consts::BASE64_ENGINE.encode(payload_digest)
}
| {
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": "Bankofamerica",
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": "generate_digest",
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.