text stringlengths 70 351k | source stringclasses 4
values |
|---|---|
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | crate: hyperswitch_connectors | connector: gocardless
use common_enums::{enums, CountryAlpha2, UsStatesAbbreviation};
use hyperswitch_domain_models::{
address::AddressDetails,
payment_method_data::{Bank... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | crate: hyperswitch_connectors | connector: gocardless
use hyperswitch_domain_models::{
address::AddressDetails,
payment_method_data::{BankDebitData, PaymentMethodData},
router_data::{ConnectorAuthTy... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | crate: hyperswitch_connectors | connector: gocardless
use crate::{
types::{RefundsResponseRouterData, ResponseRouterData},
utils::{
self, AddressDetailsData, BrowserInformationData, CustomerData... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | crate: hyperswitch_connectors | connector: gocardless
use crate::{
types::{RefundsResponseRouterData, ResponseRouterData},
utils::{
self, AddressDetailsData, BrowserInformationData, CustomerData... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | crate: hyperswitch_connectors | connector: gocardless
fn from(item: GocardlessPaymentStatus) -> Self {
{
GocardlessPaymentStatus::PendingCustomerApproval
| GocardlessPaymentStatus::PendingSubmission... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | crate: hyperswitch_connectors | connector: gocardless
use crate::{
types::{RefundsResponseRouterData, ResponseRouterData},
utils::{
self, AddressDetailsData, BrowserInformationData, CustomerData... | ast_fragments |
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | crate: hyperswitch_connectors | connector: gocardless
use crate::{
types::{RefundsResponseRouterData, ResponseRouterData},
utils::{
self, AddressDetailsData, BrowserInformationData, CustomerData, ForeignTryFro... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | crate: hyperswitch_connectors | connector: gocardless
use hyperswitch_domain_models::{
address::AddressDetails,
payment_method_data::{BankDebitData, PaymentMethodData},
router_data::{ConnectorAuthTy... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | crate: hyperswitch_connectors | connector: gocardless
use common_enums::{enums, CountryAlpha2, UsStatesAbbreviation};
use hyperswitch_domain_models::{
address::AddressDetails,
payment_method_data::{Bank... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | crate: hyperswitch_connectors | connector: gocardless
fn from(item: GocardlessPaymentStatus) -> Self {
<|fim_suffix|>
<|fim_middle|>
}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | crate: hyperswitch_connectors | connector: gocardless
use hyperswitch_domain_models::{
address::AddressDetails,
payment_method_data::{BankDebitData, PaymentMethodData},
router_data::{ConnectorAuthTy... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | crate: hyperswitch_connectors | connector: gocardless
use hyperswitch_domain_models::{
address::AddressDetails,
payment_method_data::{BankDebitData, PaymentMethodData},
router_data::{ConnectorAuthTy... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | crate: hyperswitch_connectors | connector: gocardless
use hyperswitch_domain_models::{
address::AddressDetails,
payment_method_data::{BankDebitData, PaymentMethodData},
router_data::{ConnectorAuthTy... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | crate: hyperswitch_connectors | connector: gocardless
use common_enums::{enums, CountryAlpha2, UsStatesAbbreviation};
fn from(item: common_enums::BankType) -> Self {
{<|fim_suffix|>
<|fim_middle|>
}}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | crate: hyperswitch_connectors | connector: gocardless
use hyperswitch_domain_models::{
address::AddressDetails,
payment_method_data::{BankDebitData, PaymentMethodData},
router_data::{ConnectorAuthTy... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | crate: hyperswitch_connectors | connector: gocardless
use common_enums::{enums, CountryAlpha2, UsStatesAbbreviation};
use hyperswitch_domain_models::{
address::AddressDetails,
payment_method_data::{Bank... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | crate: hyperswitch_connectors | connector: gocardless
use common_enums::{enums, CountryAlpha2, UsStatesAbbreviation};
use hyperswitch_domain_models::{
address::AddressDetails,
payment_method_data::{Bank... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | crate: hyperswitch_connectors | connector: paybox
use common_enums::enums;
use common_utils::{
date_time::DateFormat, errors::CustomResult, ext_traits::ValueExt, types::MinorUnit,
};
use hyperswitch_domain_mode... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | crate: hyperswitch_connectors | connector: paybox
use common_enums::enums;
use common_utils::{
date_time::DateFormat, errors::CustomResult, ext_traits::ValueExt, types::MinorUnit,
};
use hyperswitch_domain_mode... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | crate: hyperswitch_connectors | connector: paybox
use common_enums::enums;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, ErrorResponse, RouterData... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | crate: hyperswitch_connectors | connector: paybox
use common_enums::enums;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, ErrorResponse, RouterData... | ast_fragments |
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | crate: hyperswitch_connectors | connector: paybox
use common_enums::enums;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, ErrorResponse, RouterData},
router_f... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | crate: hyperswitch_connectors | connector: paybox
use common_enums::enums;
use common_utils::{
date_time::DateFormat, errors::CustomResult, ext_traits::ValueExt, types::MinorUnit,
};
use hyperswitch_domain_mode... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | crate: hyperswitch_connectors | connector: paybox
use common_enums::enums;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, ErrorResponse, RouterData... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | crate: hyperswitch_connectors | connector: paybox
use common_enums::enums;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, ErrorResponse, RouterData... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | crate: hyperswitch_connectors | connector: paybox
use common_enums::enums;
use common_utils::{
date_time::DateFormat, errors::CustomResult, ext_traits::ValueExt, types::MinorUnit,
};
use hyperswitch_domain_mode... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | crate: hyperswitch_connectors | connector: paybox
use common_enums::enums;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, ErrorResponse, RouterData... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | crate: hyperswitch_connectors | connector: paybox
fn from(item: PayboxStatus) -> Self {
{
PayboxStatus::Refunded => Self::Success,<|fim_suffix|>
<|fim_middle|>
PayboxStatus::Cancelled
| PayboxStatus::Au... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | crate: hyperswitch_connectors | connector: paybox
use common_enums::enums;
use common_utils::{
date_time::DateFormat, errors::CustomResult, ext_traits::ValueExt, types::MinorUnit,
};
use crate::{
types::{Re... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | crate: hyperswitch_connectors | connector: paybox
use common_utils::{
date_time::DateFormat, errors::CustomResult, ext_traits::ValueExt, types::MinorUnit,
};
use crate::{
types::{RefundsResponseRouterData, ... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | crate: hyperswitch_connectors | connector: paybox
use common_utils::{
date_time::DateFormat, errors::CustomResult, ext_traits::ValueExt, types::MinorUnit,
};
use masking::{ExposeInterface, PeekInterface, Secret... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | crate: hyperswitch_connectors | connector: paybox
fn get_status_of_request(item: String) -> bool {
<|fim_suffix|>
<|fim_middle|>
}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | crate: hyperswitch_connectors | connector: paybox
fn from(item: PayboxStatus) -> Self {
{<|fim_suffix|>
<|fim_middle|>
}}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | crate: hyperswitch_connectors | connector: paybox
use common_utils::{
date_time::DateFormat, errors::CustomResult, ext_traits::ValueExt, types::MinorUnit,
};
use crate::{
types::{RefundsResponseRouterData, ... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | crate: hyperswitch_connectors | connector: paybox
use common_utils::{
date_time::DateFormat, errors::CustomResult, ext_traits::ValueExt, types::MinorUnit,
};
use serde::{de::DeserializeOwned, Deserialize, Seria... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | crate: hyperswitch_connectors | connector: paybox
use common_utils::{
date_time::DateFormat, errors::CustomResult, ext_traits::ValueExt, types::MinorUnit,
};
use crate::{
types::{RefundsResponseRouterData, ... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | crate: hyperswitch_connectors | connector: paybox
use common_enums::enums;
use common_utils::{
date_time::DateFormat, errors::CustomResult, ext_traits::ValueExt, types::MinorUnit,
};
use crate::{
types::{Re... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | crate: hyperswitch_connectors | connector: paybox
use common_utils::{
date_time::DateFormat, errors::CustomResult, ext_traits::ValueExt, types::MinorUnit,
};
use crate::{
types::{RefundsResponseRouterData, ... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | crate: hyperswitch_connectors | connector: paybox
use common_enums::enums;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, ErrorResponse, RouterData... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | crate: hyperswitch_connectors | connector: paybox
use common_enums::enums;
use common_utils::{
date_time::DateFormat, errors::CustomResult, ext_traits::ValueExt, types::MinorUnit,
};
use hyperswitch_domain_mode... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | crate: hyperswitch_connectors | connector: stripebilling
use common_enums::enums;
use common_utils::id_type;
use common_utils::{errors::CustomResult, ext_traits::ByteSliceExt, types::StringMinorUnit};
use hy... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | crate: hyperswitch_connectors | connector: stripebilling
fn from(status: StripebillingChargeStatus) -> Self {
{
StripebillingChargeStatus::Succeeded => Self::Charged,<|fim_suffix|>
<|fim_middle|>
Stripebilli... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | crate: hyperswitch_connectors | connector: stripebilling
use common_utils::{errors::CustomResult, ext_traits::ByteSliceExt, types::StringMinorUnit};
use hyperswitch_domain_models::{
payment_method_data::... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | crate: hyperswitch_connectors | connector: stripebilling
use common_utils::{errors::CustomResult, ext_traits::ByteSliceExt, types::StringMinorUnit};
use hyperswitch_domain_models::{
router_flow_types::re... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | crate: hyperswitch_connectors | connector: stripebilling
fn from(method: StripebillingPaymentMethod) -> Self {
<|fim_suffix|>
<|fim_middle|>
}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | crate: hyperswitch_connectors | connector: stripebilling
fn from(funding: StripebillingFundingTypes) -> Self {
<|fim_suffix|>
<|fim_middle|>
}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | crate: hyperswitch_connectors | connector: stripebilling
fn from(status: StripebillingChargeStatus) -> Self {
<|fim_suffix|>
<|fim_middle|>
}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | crate: hyperswitch_connectors | connector: stripebilling
use common_utils::{errors::CustomResult, ext_traits::ByteSliceExt, types::StringMinorUnit};
fn try_from(item: StripebillingInvoiceBody) -> Result<Self... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | crate: hyperswitch_connectors | connector: stripebilling
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, RouterData},
router_flow_types::... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | crate: hyperswitch_connectors | connector: stripebilling
use common_enums::enums;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, RouterData}... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | crate: hyperswitch_connectors | connector: stripebilling
fn from(item: StripebillingPaymentStatus) -> Self {
{<|fim_suffix|>
<|fim_middle|>
}}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | crate: hyperswitch_connectors | connector: stripebilling
use common_utils::{errors::CustomResult, ext_traits::ByteSliceExt, types::StringMinorUnit};
use hyperswitch_domain_models::{
payment_method_data::... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | crate: hyperswitch_connectors | connector: multisafepay
use common_enums::{enums, AttemptStatus, BankNames};
use crate::{
types::{RefundsResponseRouterData, ResponseRouterData},
utils::{
self,... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | crate: hyperswitch_connectors | connector: multisafepay
use common_enums::{enums, AttemptStatus, BankNames};
use hyperswitch_domain_models::{
payment_method_data::{BankRedirectData, PayLaterData, PaymentM... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | crate: hyperswitch_connectors | connector: multisafepay
use common_enums::{enums, AttemptStatus, BankNames};
use hyperswitch_domain_models::{
payment_method_data::{BankRedirectData, PayLaterData, PaymentM... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | crate: hyperswitch_connectors | connector: multisafepay
use common_enums::{enums, AttemptStatus, BankNames};
use common_utils::{
errors::ParsingError,
pii::{Email, IpAddress},
request::Method,
... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | crate: hyperswitch_connectors | connector: multisafepay
fn from(item: MultisafepayPaymentStatus) -> Self {
{
MultisafepayPaymentStatus::Completed => Self::Charged,<|fim_suffix|>
<|fim_middle|>
MultisafepayPay... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | crate: hyperswitch_connectors | connector: multisafepay
| utils::CardIssuer::CarteBlanche => Err(errors::ConnectorError::NotImplemented(
utils::get_unimplemented_payment_method_err... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | crate: hyperswitch_connectors | connector: multisafepay
use common_utils::{
errors::ParsingError,
pii::{Email, IpAddress},
request::Method,
types::{FloatMajorUnit, MinorUnit},
};
use crate::{
... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | crate: hyperswitch_connectors | connector: multisafepay
use common_utils::{
errors::ParsingError,
pii::{Email, IpAddress},
request::Method,
types::{FloatMajorUnit, MinorUnit},
};
use hyperswit... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | crate: hyperswitch_connectors | connector: multisafepay
use common_enums::{enums, AttemptStatus, BankNames};
use hyperswitch_domain_models::{
payment_method_data::{BankRedirectData, PayLaterData, PaymentM... | ast_fragments |
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | crate: hyperswitch_connectors | connector: multisafepay
fn from(item: MultisafepayPaymentStatus) -> Self {
match item {
MultisafepayPaymentStatus::Completed => Self::Charged,
MultisafepayPaym... | ast_fragments |
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | crate: hyperswitch_connectors | connector: multisafepay
use common_enums::{enums, AttemptStatus, BankNames};
use common_utils::{
errors::ParsingError,
pii::{Email, IpAddress},
request::Method,
types::{FloatM... | ast_fragments |
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | crate: hyperswitch_connectors | connector: multisafepay
use common_utils::{
errors::ParsingError,
pii::{Email, IpAddress},
request::Method,
types::{FloatMajorUnit, MinorUnit},
};
use hyperswitch_domain_model... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs | crate: hyperswitch_connectors | connector: payeezy
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, RouterData},
router_flow_types::Execute,
... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs | crate: hyperswitch_connectors | connector: payeezy
use error_stack::ResultExt;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, RouterData},
rou... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs | crate: hyperswitch_connectors | connector: payeezy
use common_enums::{enums, AttemptStatus, CaptureMethod, Currency, PaymentMethod};
use error_stack::ResultExt;
use hyperswitch_domain_models::{
payment_method_... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs | crate: hyperswitch_connectors | connector: payeezy
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, RouterData},
router_flow_types::Execute,
... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs | crate: hyperswitch_connectors | connector: payeezy
get_transaction_type_and_stored_creds(item.router_data)?;
Ok(PayeezyPaymentsRequest {
merchant_ref,
transaction_type,
method,
... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs | crate: hyperswitch_connectors | connector: payeezy
use error_stack::ResultExt;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, RouterData},
rou... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs | crate: hyperswitch_connectors | connector: payeezy
use common_enums::{enums, AttemptStatus, CaptureMethod, Currency, PaymentMethod};
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs | crate: hyperswitch_connectors | connector: payeezy
fn construct_payeezy_payments_metadata(transaction_tag: String) -> PayeezyPaymentsMetadata {
{<|fim_suffix|>
<|fim_middle|>
}}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs | crate: hyperswitch_connectors | connector: payeezy
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, RouterData},
router_flow_types::Execute,
... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs | crate: hyperswitch_connectors | connector: payeezy
use common_enums::{enums, AttemptStatus, CaptureMethod, Currency, PaymentMethod};
fn get_status(status: PayeezyPaymentStatus, method: PayeezyTransactionType) -> A... | ast_fragments |
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs | crate: hyperswitch_connectors | connector: payeezy
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, RouterData},
router_flow_types::Execute,
router_request... | ast_fragments |
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs | crate: hyperswitch_connectors | connector: payeezy
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, RouterData},
router_flow_types::Execute,
router_request... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs | crate: hyperswitch_connectors | connector: payeezy
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, RouterData},
router_flow_types::Execute,
... | ast_fragments |
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs | crate: hyperswitch_connectors | connector: payeezy
use error_stack::ResultExt;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, RouterData},
router_flow_types:... | ast_fragments |
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs | crate: hyperswitch_connectors | connector: payeezy
use common_enums::{enums, AttemptStatus, CaptureMethod, Currency, PaymentMethod};
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs | crate: hyperswitch_connectors | connector: payeezy
use crate::{
types::{RefundsResponseRouterData, ResponseRouterData},
utils::{
get_amount_as_string, get_unimplemented_payment_method_error_message... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs | crate: hyperswitch_connectors | connector: payeezy
use common_enums::{enums, AttemptStatus, CaptureMethod, Currency, PaymentMethod};
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | crate: hyperswitch_connectors | connector: bamboraapac
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, ErrorResponse, RouterData},
router_r... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | crate: hyperswitch_connectors | connector: bamboraapac | op: refund
use common_utils::types::MinorUnit;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorA... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | crate: hyperswitch_connectors | connector: bamboraapac
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, ErrorResponse, RouterData},
router_r... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | crate: hyperswitch_connectors | connector: bamboraapac | op: sync
use common_utils::types::MinorUnit;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAut... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | crate: hyperswitch_connectors | connector: bamboraapac
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, ErrorResponse, RouterData},
router_r... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | crate: hyperswitch_connectors | connector: bamboraapac | op: refund
use common_utils::types::MinorUnit;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorA... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | crate: hyperswitch_connectors | connector: bamboraapac | op: capture
use common_utils::types::MinorUnit;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{Connector... | ast_fragments |
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | crate: hyperswitch_connectors | connector: bamboraapac
use common_enums::enums;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, ErrorResponse, RouterData},
... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | crate: hyperswitch_connectors | connector: bamboraapac
use common_utils::types::MinorUnit;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, Erro... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | crate: hyperswitch_connectors | connector: bamboraapac
use common_enums::enums;
use common_utils::types::MinorUnit;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data:... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | crate: hyperswitch_connectors | connector: bamboraapac
use common_utils::types::MinorUnit;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, Erro... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | crate: hyperswitch_connectors | connector: bamboraapac
impl<F>
TryFrom<
ResponseRouterData<
F,
BamboraapacMandateResponse,
SetupMandateRequestData,
... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | crate: hyperswitch_connectors | connector: bamboraapac
use common_enums::enums;
use crate::{
types::ResponseRouterData,
utils::{self, CardData as _, PaymentsAuthorizeRequestData, RouterData as _},
};
f... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | crate: hyperswitch_connectors | connector: bamboraapac
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, ErrorResponse, RouterData},
router_r... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | crate: hyperswitch_connectors | connector: bamboraapac
use common_enums::enums;
use crate::{
types::ResponseRouterData,
utils::{self, CardData as _, PaymentsAuthorizeRequestData, RouterData as _},
};
t... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | crate: hyperswitch_connectors | connector: bamboraapac
use common_enums::enums;
use crate::{
types::ResponseRouterData,
utils::{self, CardData as _, PaymentsAuthorizeRequestData, RouterData as _},
};
f... | ast_fragments |
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | crate: hyperswitch_connectors | connector: bamboraapac
use common_enums::enums;
use crate::{
types::ResponseRouterData,
utils::{self, CardData as _, PaymentsAuthorizeRequestData, RouterData as _},
};
fn get_attempt_s... | ast_fragments |
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | crate: hyperswitch_connectors | connector: bamboraapac
use common_enums::enums;
use crate::{
types::ResponseRouterData,
utils::{self, CardData as _, PaymentsAuthorizeRequestData, RouterData as _},
};
type Error = err... | ast_fragments |
// file: hyperswitch/crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | crate: hyperswitch_connectors | connector: bamboraapac
use common_utils::types::MinorUnit;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, ErrorResponse, Rout... | ast_fragments |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.