id
stringlengths
20
153
type
stringclasses
1 value
granularity
stringclasses
14 values
content
stringlengths
16
84.3k
metadata
dict
connector-service_multi_2188691800113068569_22
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/aci/transformers.rs pub struct AciVoidResponse { id: String, referenced_id: String, payment_type: AciPaymentType, amount: StringMajorUnit, currency: String, descriptor: String, result: AciCaptureResult, result_details: Option<AciCaptureResultDetails>, build_number: String, timestamp: String, ndc: Secret<String>, } pub struct AciRefundRequest { pub amount: StringMajorUnit, pub currency: String, pub payment_type: AciPaymentType, pub entity_id: Secret<String>, } pub struct AciRefundResponse { id: String, ndc: String, timestamp: String, build_number: String, pub(super) result: ResultCode, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_2188691800113068569_24
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/aci/transformers.rs pub struct AciRefundResponse { id: String, ndc: String, timestamp: String, build_number: String, pub(super) result: ResultCode, } pub struct AciWebhookCardDetails { pub bin: Option<String>, #[serde(rename = "last4Digits")] pub last4_digits: Option<String>, pub holder: Option<String>, pub expiry_month: Option<Secret<String>>, pub expiry_year: Option<Secret<String>>, } pub struct AciWebhookCustomerDetails { #[serde(rename = "givenName")] pub given_name: Option<Secret<String>>, pub surname: Option<Secret<String>>, #[serde(rename = "merchantCustomerId")] pub merchant_customer_id: Option<Secret<String>>, pub sex: Option<Secret<String>>, pub email: Option<Email>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_2188691800113068569_26
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/aci/transformers.rs pub struct AciWebhookCustomerDetails { #[serde(rename = "givenName")] pub given_name: Option<Secret<String>>, pub surname: Option<Secret<String>>, #[serde(rename = "merchantCustomerId")] pub merchant_customer_id: Option<Secret<String>>, pub sex: Option<Secret<String>>, pub email: Option<Email>, } pub struct AciWebhookAuthenticationDetails { #[serde(rename = "entityId")] pub entity_id: Secret<String>, } pub struct AciWebhookRiskDetails { pub score: Option<String>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_2188691800113068569_28
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/aci/transformers.rs pub struct AciWebhookRiskDetails { pub score: Option<String>, } pub struct AciPaymentWebhookPayload { pub id: String, pub payment_type: String, pub payment_brand: String, pub amount: StringMajorUnit, pub currency: String, pub presentation_amount: Option<StringMajorUnit>, pub presentation_currency: Option<String>, pub descriptor: Option<String>, pub result: ResultCode, pub authentication: Option<AciWebhookAuthenticationDetails>, pub card: Option<AciWebhookCardDetails>, pub customer: Option<AciWebhookCustomerDetails>, #[serde(rename = "customParameters")] pub custom_parameters: Option<serde_json::Value>, pub risk: Option<AciWebhookRiskDetails>, pub build_number: Option<String>, pub timestamp: String, pub ndc: String, #[serde(rename = "channelName")] pub channel_name: Option<String>, pub source: Option<String>, pub payment_method: Option<String>, #[serde(rename = "shortId")] pub short_id: Option<String>, } pub struct AciWebhookNotification { #[serde(rename = "type")] pub event_type: AciWebhookEventType, pub action: Option<AciWebhookAction>, pub payload: serde_json::Value, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_2188691800113068569_30
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/aci/transformers.rs pub struct AciWebhookNotification { #[serde(rename = "type")] pub event_type: AciWebhookEventType, pub action: Option<AciWebhookAction>, pub payload: serde_json::Value, } pub struct AciRepeatPaymentRequest< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > { #[serde(flatten)] pub txn_details: TransactionDetails, #[serde(flatten)] pub payment_method: PaymentDetails<T>, #[serde(flatten)] pub instruction: Option<Instruction>, pub shopper_result_url: Option<String>, #[serde(rename = "customParameters[3DS2_enrolled]")] pub three_ds_two_enrolled: Option<bool>, pub recurring_type: Option<AciRecurringType>, } pub enum AciRecurringType { Initial, Repeated, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_2188691800113068569_32
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/aci/transformers.rs pub enum AciRecurringType { Initial, Repeated, } pub enum PaymentDetails< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > { #[serde(rename = "card")] AciCard(Box<CardDetails<T>>), BankRedirect(Box<BankRedirectionPMData>), Wallet(Box<WalletPMData>), Klarna, Mandate, AciNetworkToken(Box<AciNetworkTokenData>), } pub enum AciTokenAccountType { Network, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_2188691800113068569_34
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/aci/transformers.rs pub enum AciTokenAccountType { Network, } pub enum PaymentBrand { Eps, Eft, Ideal, Giropay, Sofortueberweisung, InteracOnline, Przelewy, Trustly, Mbway, #[serde(rename = "ALIPAY")] AliPay, // Card network brands #[serde(rename = "VISA")] Visa, #[serde(rename = "MASTER")] Mastercard, #[serde(rename = "AMEX")] AmericanExpress, #[serde(rename = "JCB")] Jcb, #[serde(rename = "DINERS")] DinersClub, #[serde(rename = "DISCOVER")] Discover, #[serde(rename = "UNIONPAY")] UnionPay, #[serde(rename = "MAESTRO")] Maestro, } pub enum InstructionMode { Initial, Repeated, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_2188691800113068569_36
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/aci/transformers.rs pub enum InstructionMode { Initial, Repeated, } pub enum InstructionType { Unscheduled, } pub enum InstructionSource { #[serde(rename = "CIT")] CardholderInitiatedTransaction, #[serde(rename = "MIT")] MerchantInitiatedTransaction, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_2188691800113068569_38
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/aci/transformers.rs pub enum InstructionSource { #[serde(rename = "CIT")] CardholderInitiatedTransaction, #[serde(rename = "MIT")] MerchantInitiatedTransaction, } pub enum AciPaymentType { #[serde(rename = "PA")] Preauthorization, #[default] #[serde(rename = "DB")] Debit, #[serde(rename = "CD")] Credit, #[serde(rename = "CP")] Capture, #[serde(rename = "RV")] Reversal, #[serde(rename = "RF")] Refund, } pub enum AciPaymentStatus { Succeeded, Failed, #[default] Pending, RedirectShopper, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_2188691800113068569_40
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/aci/transformers.rs pub enum AciPaymentStatus { Succeeded, Failed, #[default] Pending, RedirectShopper, } pub enum AciStatus { Succeeded, Failed, #[default] Pending, } pub enum AciRefundStatus { Succeeded, Failed, #[default] Pending, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_2188691800113068569_42
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/aci/transformers.rs pub enum AciRefundStatus { Succeeded, Failed, #[default] Pending, } pub enum AciWebhookEventType { Payment, } pub enum AciWebhookAction { Created, Updated, Deleted, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_121725801324840430_0
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/fiserv/transformers.rs pub struct FiservPaymentsRequest< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > { pub amount: Amount, pub source: Source<T>, pub transaction_details: TransactionDetails, pub merchant_details: MerchantDetails, pub transaction_interaction: TransactionInteraction, } pub struct CardData< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > { pub card_data: RawCardNumber<T>, pub expiration_month: Secret<String>, pub expiration_year: Secret<String>, pub security_code: Secret<String>, } pub struct GooglePayToken { pub signature: Secret<String>, pub signed_message: Secret<String>, pub protocol_version: String, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_121725801324840430_2
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/fiserv/transformers.rs pub struct GooglePayToken { pub signature: Secret<String>, pub signed_message: Secret<String>, pub protocol_version: String, } pub struct Amount { pub total: FloatMajorUnit, pub currency: String, } pub struct TransactionDetails { pub capture_flag: Option<bool>, pub reversal_reason_code: Option<String>, pub merchant_transaction_id: String, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_121725801324840430_4
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/fiserv/transformers.rs pub struct TransactionDetails { pub capture_flag: Option<bool>, pub reversal_reason_code: Option<String>, pub merchant_transaction_id: String, } pub struct MerchantDetails { pub merchant_id: Secret<String>, pub terminal_id: Option<Secret<String>>, } pub struct TransactionInteraction { pub origin: TransactionInteractionOrigin, pub eci_indicator: TransactionInteractionEciIndicator, pub pos_condition_code: TransactionInteractionPosConditionCode, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_121725801324840430_6
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/fiserv/transformers.rs pub struct TransactionInteraction { pub origin: TransactionInteractionOrigin, pub eci_indicator: TransactionInteractionEciIndicator, pub pos_condition_code: TransactionInteractionPosConditionCode, } pub struct FiservAuthType { pub api_key: Secret<String>, pub merchant_account: Secret<String>, pub api_secret: Secret<String>, } pub struct FiservErrorResponse { pub details: Option<Vec<FiservErrorDetails>>, pub error: Option<Vec<FiservErrorDetails>>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_121725801324840430_8
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/fiserv/transformers.rs pub struct FiservErrorResponse { pub details: Option<Vec<FiservErrorDetails>>, pub error: Option<Vec<FiservErrorDetails>>, } pub struct FiservErrorDetails { #[serde(rename = "type")] pub error_type: String, pub code: Option<String>, pub message: String, pub field: Option<String>, } pub struct FiservPaymentsResponse { pub gateway_response: GatewayResponse, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_121725801324840430_10
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/fiserv/transformers.rs pub struct FiservPaymentsResponse { pub gateway_response: GatewayResponse, } pub struct FiservCaptureResponse { pub gateway_response: GatewayResponse, } pub struct FiservVoidResponse { pub gateway_response: GatewayResponse, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_121725801324840430_12
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/fiserv/transformers.rs pub struct FiservVoidResponse { pub gateway_response: GatewayResponse, } pub struct FiservRefundResponse { pub gateway_response: GatewayResponse, } pub struct FiservSyncResponse { pub sync_responses: Vec<FiservPaymentsResponse>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_121725801324840430_14
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/fiserv/transformers.rs pub struct FiservSyncResponse { pub sync_responses: Vec<FiservPaymentsResponse>, } pub struct FiservRefundSyncResponse { pub sync_responses: Vec<FiservPaymentsResponse>, } pub struct GatewayResponse { pub gateway_transaction_id: Option<String>, pub transaction_state: FiservPaymentStatus, pub transaction_processing_details: TransactionProcessingDetails, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_121725801324840430_16
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/fiserv/transformers.rs pub struct GatewayResponse { pub gateway_transaction_id: Option<String>, pub transaction_state: FiservPaymentStatus, pub transaction_processing_details: TransactionProcessingDetails, } pub struct TransactionProcessingDetails { pub order_id: String, pub transaction_id: String, } pub struct FiservCaptureRequest { pub amount: Amount, pub transaction_details: TransactionDetails, pub merchant_details: MerchantDetails, pub reference_transaction_details: ReferenceTransactionDetails, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_121725801324840430_18
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/fiserv/transformers.rs pub struct FiservCaptureRequest { pub amount: Amount, pub transaction_details: TransactionDetails, pub merchant_details: MerchantDetails, pub reference_transaction_details: ReferenceTransactionDetails, } pub struct ReferenceTransactionDetails { pub reference_transaction_id: String, } pub struct FiservSessionObject { pub terminal_id: Secret<String>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_121725801324840430_20
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/fiserv/transformers.rs pub struct FiservSessionObject { pub terminal_id: Secret<String>, } pub struct FiservVoidRequest { pub transaction_details: TransactionDetails, pub merchant_details: MerchantDetails, pub reference_transaction_details: ReferenceTransactionDetails, } pub struct FiservRefundRequest { pub amount: Amount, pub merchant_details: MerchantDetails, pub reference_transaction_details: ReferenceTransactionDetails, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_121725801324840430_22
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/fiserv/transformers.rs pub struct FiservRefundRequest { pub amount: Amount, pub merchant_details: MerchantDetails, pub reference_transaction_details: ReferenceTransactionDetails, } pub struct FiservSyncRequest { pub merchant_details: MerchantDetails, pub reference_transaction_details: ReferenceTransactionDetails, } pub struct FiservRefundSyncRequest { pub merchant_details: MerchantDetails, pub reference_transaction_details: ReferenceTransactionDetails, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_121725801324840430_24
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/fiserv/transformers.rs pub struct FiservRefundSyncRequest { pub merchant_details: MerchantDetails, pub reference_transaction_details: ReferenceTransactionDetails, } pub enum Source< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > { PaymentCard { card: CardData<T>, }, #[allow(dead_code)] GooglePay { data: Secret<String>, signature: Secret<String>, version: String, }, } pub enum TransactionInteractionOrigin { #[default] Ecom, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_121725801324840430_26
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/fiserv/transformers.rs pub enum TransactionInteractionOrigin { #[default] Ecom, } pub enum TransactionInteractionEciIndicator { #[default] ChannelEncrypted, } pub enum TransactionInteractionPosConditionCode { #[default] CardNotPresentEcom, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_121725801324840430_28
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/fiserv/transformers.rs pub enum TransactionInteractionPosConditionCode { #[default] CardNotPresentEcom, } pub enum FiservPaymentStatus { Succeeded, Failed, Captured, Declined, Voided, Authorized, #[default] Processing, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 2, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4134908991275845488_0
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/checkout/transformers.rs pub struct CheckoutSyncRequest {} pub struct CheckoutRefundSyncRequest {} pub struct CardSource< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > { #[serde(rename = "type")] pub source_type: CheckoutSourceTypes, pub number: RawCardNumber<T>, pub expiry_month: Secret<String>, pub expiry_year: Secret<String>, pub cvv: Secret<String>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4134908991275845488_2
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/checkout/transformers.rs pub struct CardSource< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > { #[serde(rename = "type")] pub source_type: CheckoutSourceTypes, pub number: RawCardNumber<T>, pub expiry_month: Secret<String>, pub expiry_year: Secret<String>, pub cvv: Secret<String>, } pub struct CheckoutPaymentsRequest< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > { pub source: CardSource<T>, pub amount: MinorUnit, pub currency: String, pub processing_channel_id: Secret<String>, pub capture: bool, pub reference: String, } pub struct CheckoutPaymentsResponse { pub id: String, pub amount: Option<MinorUnit>, pub currency: Option<String>, pub status: CheckoutPaymentStatus, pub reference: Option<String>, pub response_code: Option<String>, pub response_summary: Option<String>, pub action_id: Option<String>, pub balances: Option<Balances>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4134908991275845488_4
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/checkout/transformers.rs pub struct CheckoutPaymentsResponse { pub id: String, pub amount: Option<MinorUnit>, pub currency: Option<String>, pub status: CheckoutPaymentStatus, pub reference: Option<String>, pub response_code: Option<String>, pub response_summary: Option<String>, pub action_id: Option<String>, pub balances: Option<Balances>, } pub struct Balances { pub available_to_capture: i32, } pub struct CheckoutMeta { pub psync_flow: CheckoutPaymentIntent, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4134908991275845488_6
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/checkout/transformers.rs pub struct CheckoutMeta { pub psync_flow: CheckoutPaymentIntent, } pub struct PaymentCaptureRequest { pub amount: Option<MinorUnit>, pub capture_type: Option<CaptureType>, pub processing_channel_id: Secret<String>, pub reference: Option<String>, } pub struct PaymentCaptureResponse { pub action_id: String, pub reference: Option<String>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4134908991275845488_8
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/checkout/transformers.rs pub struct PaymentCaptureResponse { pub action_id: String, pub reference: Option<String>, } pub struct RefundRequest { pub amount: Option<MinorUnit>, pub reference: String, } pub struct RefundResponse { action_id: String, reference: String, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4134908991275845488_10
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/checkout/transformers.rs pub struct RefundResponse { action_id: String, reference: String, } pub struct CheckoutRefundResponse { pub(super) status: u16, pub(super) response: RefundResponse, } pub struct ActionResponse { #[serde(rename = "id")] pub action_id: String, pub amount: MinorUnit, pub approved: Option<bool>, pub reference: Option<String>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4134908991275845488_12
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/checkout/transformers.rs pub struct ActionResponse { #[serde(rename = "id")] pub action_id: String, pub amount: MinorUnit, pub approved: Option<bool>, pub reference: Option<String>, } pub struct PaymentVoidRequest { pub reference: String, } pub struct PaymentVoidResponse { #[serde(skip)] pub(super) status: u16, pub action_id: String, pub reference: String, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4134908991275845488_14
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/checkout/transformers.rs pub struct PaymentVoidResponse { #[serde(skip)] pub(super) status: u16, pub action_id: String, pub reference: String, } pub struct CheckoutErrorResponse { pub request_id: Option<String>, pub error_type: Option<String>, pub error_codes: Option<Vec<String>>, } pub enum CheckoutSourceTypes { Card, Token, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4134908991275845488_16
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/checkout/transformers.rs pub enum CheckoutSourceTypes { Card, Token, } pub enum CheckoutPaymentIntent { Capture, Authorize, } pub enum CaptureType { Final, NonFinal, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4134908991275845488_18
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/checkout/transformers.rs pub enum CaptureType { Final, NonFinal, } pub enum CheckoutPaymentStatus { Authorized, #[default] Pending, #[serde(rename = "Card Verified")] CardVerified, Declined, Captured, #[serde(rename = "Retry Scheduled")] RetryScheduled, Voided, #[serde(rename = "Partially Captured")] PartiallyCaptured, #[serde(rename = "Partially Refunded")] PartiallyRefunded, Refunded, Canceled, Expired, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 2, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4269101882135321764_0
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cashtocode/transformers.rs pub struct CashtocodePaymentsRequest { amount: FloatMajorUnit, transaction_id: String, user_id: Secret<id_type::CustomerId>, currency: common_enums::Currency, first_name: Option<Secret<String>>, last_name: Option<Secret<String>>, user_alias: Secret<id_type::CustomerId>, requested_url: String, cancel_url: String, email: Option<Email>, mid: Secret<String>, } pub struct CashtocodeAuthType { pub auths: HashMap<common_enums::Currency, CashtocodeAuth>, } pub struct CashtocodeAuth { pub password_classic: Option<Secret<String>>, pub password_evoucher: Option<Secret<String>>, pub username_classic: Option<Secret<String>>, pub username_evoucher: Option<Secret<String>>, pub merchant_id_classic: Option<Secret<String>>, pub merchant_id_evoucher: Option<Secret<String>>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4269101882135321764_2
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cashtocode/transformers.rs pub struct CashtocodeAuth { pub password_classic: Option<Secret<String>>, pub password_evoucher: Option<Secret<String>>, pub username_classic: Option<Secret<String>>, pub username_evoucher: Option<Secret<String>>, pub merchant_id_classic: Option<Secret<String>>, pub merchant_id_evoucher: Option<Secret<String>>, } pub struct CashtocodeErrors { pub message: String, pub path: String, #[serde(rename = "type")] pub event_type: String, } pub struct CashtocodePaymentsResponseData { pub pay_url: url::Url, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4269101882135321764_4
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cashtocode/transformers.rs pub struct CashtocodePaymentsResponseData { pub pay_url: url::Url, } pub struct CashtocodePaymentsSyncResponse { pub transaction_id: String, pub amount: FloatMajorUnit, } pub struct CashtocodeErrorResponse { pub error: serde_json::Value, pub error_description: String, pub errors: Option<Vec<CashtocodeErrors>>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4269101882135321764_6
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cashtocode/transformers.rs pub struct CashtocodeErrorResponse { pub error: serde_json::Value, pub error_description: String, pub errors: Option<Vec<CashtocodeErrors>>, } pub struct CashtocodeIncomingWebhook { pub amount: FloatMajorUnit, pub currency: String, pub foreign_transaction_id: String, #[serde(rename = "type")] pub event_type: String, pub transaction_id: String, } pub enum CashtocodePaymentStatus { Succeeded, #[default] Processing, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4269101882135321764_8
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cashtocode/transformers.rs pub enum CashtocodePaymentStatus { Succeeded, #[default] Processing, } pub enum CashtocodePaymentsResponse { CashtoCodeError(CashtocodeErrorResponse), CashtoCodeData(CashtocodePaymentsResponseData), }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 2, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_0
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct CybersourceConnectorMetadataObject { pub disable_avs: Option<bool>, pub disable_cvn: Option<bool>, } pub struct CybersourceZeroMandateRequest< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > { processing_information: ProcessingInformation, payment_information: PaymentInformation<T>, order_information: OrderInformationWithBill, client_reference_information: ClientReferenceInformation, } pub struct CybersourcePaymentsRequest< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > { processing_information: ProcessingInformation, payment_information: PaymentInformation<T>, order_information: OrderInformationWithBill, client_reference_information: ClientReferenceInformation, #[serde(skip_serializing_if = "Option::is_none")] consumer_authentication_information: Option<CybersourceConsumerAuthInformation>, #[serde(skip_serializing_if = "Option::is_none")] merchant_defined_information: Option<Vec<MerchantDefinedInformation>>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_2
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct CybersourcePaymentsRequest< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > { processing_information: ProcessingInformation, payment_information: PaymentInformation<T>, order_information: OrderInformationWithBill, client_reference_information: ClientReferenceInformation, #[serde(skip_serializing_if = "Option::is_none")] consumer_authentication_information: Option<CybersourceConsumerAuthInformation>, #[serde(skip_serializing_if = "Option::is_none")] merchant_defined_information: Option<Vec<MerchantDefinedInformation>>, } pub struct ProcessingInformation { action_list: Option<Vec<CybersourceActionsList>>, action_token_types: Option<Vec<CybersourceActionsTokenType>>, authorization_options: Option<CybersourceAuthorizationOptions>, commerce_indicator: String, capture: Option<bool>, capture_options: Option<CaptureOptions>, payment_solution: Option<String>, } pub struct CybersourceConsumerAuthInformation { ucaf_collection_indicator: Option<String>, cavv: Option<Secret<String>>, ucaf_authentication_data: Option<Secret<String>>, xid: Option<String>, directory_server_transaction_id: Option<Secret<String>>, specification_version: Option<SemanticVersion>, /// This field specifies the 3ds version pa_specification_version: Option<SemanticVersion>, /// Verification response enrollment status. /// /// This field is supported only on Asia, Middle East, and Africa Gateway. /// /// For external authentication, this field will always be "Y" veres_enrolled: Option<String>, /// Raw electronic commerce indicator (ECI) eci_raw: Option<String>, /// This field is supported only on Asia, Middle East, and Africa Gateway /// Also needed for Credit Mutuel-CIC in France and Mastercard Identity Check transactions /// This field is only applicable for Mastercard and Visa Transactions pares_status: Option<CybersourceParesStatus>, //This field is used to send the authentication date in yyyyMMDDHHMMSS format authentication_date: Option<String>, /// This field indicates the 3D Secure transaction flow. It is only supported for secure transactions in France. /// The possible values are - CH (Challenge), FD (Frictionless with delegation), FR (Frictionless) effective_authentication_type: Option<EffectiveAuthenticationType>, /// This field indicates the authentication type or challenge presented to the cardholder at checkout. challenge_code: Option<String>, /// This field indicates the reason for payer authentication response status. It is only supported for secure transactions in France. signed_pares_status_reason: Option<String>, /// This field indicates the reason why strong authentication was cancelled. It is only supported for secure transactions in France. challenge_cancel_code: Option<String>, /// This field indicates the score calculated by the 3D Securing platform. It is only supported for secure transactions in France. network_score: Option<u32>, /// This is the transaction ID generated by the access control server. This field is supported only for secure transactions in France. acs_transaction_id: Option<String>, /// This is the algorithm for generating a cardholder authentication verification value (CAVV) or universal cardholder authentication field (UCAF) data. cavv_algorithm: Option<String>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_4
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct CybersourceConsumerAuthInformation { ucaf_collection_indicator: Option<String>, cavv: Option<Secret<String>>, ucaf_authentication_data: Option<Secret<String>>, xid: Option<String>, directory_server_transaction_id: Option<Secret<String>>, specification_version: Option<SemanticVersion>, /// This field specifies the 3ds version pa_specification_version: Option<SemanticVersion>, /// Verification response enrollment status. /// /// This field is supported only on Asia, Middle East, and Africa Gateway. /// /// For external authentication, this field will always be "Y" veres_enrolled: Option<String>, /// Raw electronic commerce indicator (ECI) eci_raw: Option<String>, /// This field is supported only on Asia, Middle East, and Africa Gateway /// Also needed for Credit Mutuel-CIC in France and Mastercard Identity Check transactions /// This field is only applicable for Mastercard and Visa Transactions pares_status: Option<CybersourceParesStatus>, //This field is used to send the authentication date in yyyyMMDDHHMMSS format authentication_date: Option<String>, /// This field indicates the 3D Secure transaction flow. It is only supported for secure transactions in France. /// The possible values are - CH (Challenge), FD (Frictionless with delegation), FR (Frictionless) effective_authentication_type: Option<EffectiveAuthenticationType>, /// This field indicates the authentication type or challenge presented to the cardholder at checkout. challenge_code: Option<String>, /// This field indicates the reason for payer authentication response status. It is only supported for secure transactions in France. signed_pares_status_reason: Option<String>, /// This field indicates the reason why strong authentication was cancelled. It is only supported for secure transactions in France. challenge_cancel_code: Option<String>, /// This field indicates the score calculated by the 3D Securing platform. It is only supported for secure transactions in France. network_score: Option<u32>, /// This is the transaction ID generated by the access control server. This field is supported only for secure transactions in France. acs_transaction_id: Option<String>, /// This is the algorithm for generating a cardholder authentication verification value (CAVV) or universal cardholder authentication field (UCAF) data. cavv_algorithm: Option<String>, } pub struct MerchantDefinedInformation { key: u8, value: String, } pub struct CybersourceAuthorizationOptions { initiator: Option<CybersourcePaymentInitiator>, merchant_initiated_transaction: Option<MerchantInitiatedTransaction>, ignore_avs_result: Option<bool>, ignore_cv_result: Option<bool>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_6
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct CybersourceAuthorizationOptions { initiator: Option<CybersourcePaymentInitiator>, merchant_initiated_transaction: Option<MerchantInitiatedTransaction>, ignore_avs_result: Option<bool>, ignore_cv_result: Option<bool>, } pub struct MerchantInitiatedTransaction { reason: Option<String>, previous_transaction_id: Option<Secret<String>>, //Required for recurring mandates payment original_authorized_amount: Option<String>, } pub struct CybersourcePaymentInitiator { #[serde(rename = "type")] initiator_type: Option<CybersourcePaymentInitiatorTypes>, credential_stored_on_file: Option<bool>, stored_credential_used: Option<bool>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_8
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct CybersourcePaymentInitiator { #[serde(rename = "type")] initiator_type: Option<CybersourcePaymentInitiatorTypes>, credential_stored_on_file: Option<bool>, stored_credential_used: Option<bool>, } pub struct CaptureOptions { capture_sequence_number: u32, total_capture_count: u32, is_final: Option<bool>, } pub struct NetworkTokenizedCard { number: NetworkTokenNumber, expiration_month: Secret<String>, expiration_year: Secret<String>, cryptogram: Option<Secret<String>>, transaction_type: TransactionType, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_10
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct NetworkTokenizedCard { number: NetworkTokenNumber, expiration_month: Secret<String>, expiration_year: Secret<String>, cryptogram: Option<Secret<String>>, transaction_type: TransactionType, } pub struct NetworkTokenPaymentInformation { tokenized_card: NetworkTokenizedCard, } pub struct CardPaymentInformation< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > { card: Card<T>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_12
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct CardPaymentInformation< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > { card: Card<T>, } pub struct TokenizedCard { number: cards::CardNumber, expiration_month: Secret<String>, expiration_year: Secret<String>, cryptogram: Option<Secret<String>>, transaction_type: TransactionType, } pub struct ApplePayTokenizedCard { transaction_type: TransactionType, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_14
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct ApplePayTokenizedCard { transaction_type: TransactionType, } pub struct ApplePayTokenPaymentInformation { fluid_data: FluidData, tokenized_card: ApplePayTokenizedCard, } pub struct ApplePayPaymentInformation { tokenized_card: TokenizedCard, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_16
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct ApplePayPaymentInformation { tokenized_card: TokenizedCard, } pub struct MandatePaymentTokenizedCard { transaction_type: TransactionType, } pub struct MandateCard { type_selection_indicator: Option<String>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_18
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct MandateCard { type_selection_indicator: Option<String>, } pub struct MandatePaymentInformation { payment_instrument: CybersoucrePaymentInstrument, #[serde(skip_serializing_if = "Option::is_none")] tokenized_card: Option<MandatePaymentTokenizedCard>, card: Option<MandateCard>, } pub struct FluidData { value: Secret<String>, #[serde(skip_serializing_if = "Option::is_none")] descriptor: Option<String>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_20
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct FluidData { value: Secret<String>, #[serde(skip_serializing_if = "Option::is_none")] descriptor: Option<String>, } pub struct GooglePayTokenPaymentInformation { fluid_data: FluidData, tokenized_card: GooglePayTokenizedCard, } pub struct GooglePayTokenizedCard { transaction_type: TransactionType, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_22
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct GooglePayTokenizedCard { transaction_type: TransactionType, } pub struct GooglePayPaymentInformation { tokenized_card: TokenizedCard, } pub struct SamsungPayTokenizedCard { transaction_type: TransactionType, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_24
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct SamsungPayTokenizedCard { transaction_type: TransactionType, } pub struct SamsungPayPaymentInformation { fluid_data: FluidData, tokenized_card: SamsungPayTokenizedCard, } pub struct SamsungPayFluidDataValue { public_key_hash: Secret<String>, version: String, data: Secret<String>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_26
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct SamsungPayFluidDataValue { public_key_hash: Secret<String>, version: String, data: Secret<String>, } pub struct MessageExtensionAttribute { pub id: String, pub name: String, pub criticality_indicator: bool, pub data: serde_json::Value, } pub struct CybersoucrePaymentInstrument { id: Secret<String>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_28
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct CybersoucrePaymentInstrument { id: Secret<String>, } pub struct Card< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > { number: RawCardNumber<T>, expiration_month: Secret<String>, expiration_year: Secret<String>, security_code: Option<Secret<String>>, #[serde(rename = "type")] card_type: Option<String>, type_selection_indicator: Option<String>, } pub struct OrderInformationWithBill { amount_details: Amount, bill_to: Option<BillTo>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_30
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct OrderInformationWithBill { amount_details: Amount, bill_to: Option<BillTo>, } pub struct OrderInformationIncrementalAuthorization { amount_details: AdditionalAmount, } pub struct OrderInformation { amount_details: Amount, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_32
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct OrderInformation { amount_details: Amount, } pub struct Amount { total_amount: StringMajorUnit, currency: common_enums::Currency, } pub struct AdditionalAmount { additional_amount: StringMajorUnit, currency: String, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_34
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct AdditionalAmount { additional_amount: StringMajorUnit, currency: String, } pub struct BillTo { first_name: Option<Secret<String>>, last_name: Option<Secret<String>>, address1: Option<Secret<String>>, locality: Option<String>, #[serde(skip_serializing_if = "Option::is_none")] administrative_area: Option<Secret<String>>, #[serde(skip_serializing_if = "Option::is_none")] postal_code: Option<Secret<String>>, country: Option<common_enums::CountryAlpha2>, email: pii::Email, } pub struct CybersourceAuthSetupRequest< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > { payment_information: PaymentInformation<T>, client_reference_information: ClientReferenceInformation, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_36
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct CybersourceAuthSetupRequest< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > { payment_information: PaymentInformation<T>, client_reference_information: ClientReferenceInformation, } pub struct CybersourcePaymentsCaptureRequest { processing_information: ProcessingInformation, order_information: OrderInformationWithBill, client_reference_information: ClientReferenceInformation, #[serde(skip_serializing_if = "Option::is_none")] merchant_defined_information: Option<Vec<MerchantDefinedInformation>>, } pub struct CybersourcePaymentsIncrementalAuthorizationRequest { processing_information: ProcessingInformation, order_information: OrderInformationIncrementalAuthorization, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_38
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct CybersourcePaymentsIncrementalAuthorizationRequest { processing_information: ProcessingInformation, order_information: OrderInformationIncrementalAuthorization, } pub struct CybersourceVoidRequest { client_reference_information: ClientReferenceInformation, reversal_information: ReversalInformation, #[serde(skip_serializing_if = "Option::is_none")] merchant_defined_information: Option<Vec<MerchantDefinedInformation>>, // The connector documentation does not mention the merchantDefinedInformation field for Void requests. But this has been still added because it works! } pub struct ReversalInformation { amount_details: Amount, reason: String, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_40
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct ReversalInformation { amount_details: Amount, reason: String, } pub struct CybersourcePaymentsResponse { id: String, status: Option<CybersourcePaymentStatus>, client_reference_information: Option<ClientReferenceInformation>, processor_information: Option<ClientProcessorInformation>, risk_information: Option<ClientRiskInformation>, token_information: Option<CybersourceTokenInformation>, error_information: Option<CybersourceErrorInformation>, } pub struct CybersourceErrorInformationResponse { id: String, error_information: CybersourceErrorInformation, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_42
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct CybersourceErrorInformationResponse { id: String, error_information: CybersourceErrorInformation, } pub struct CybersourceConsumerAuthInformationResponse { access_token: Secret<String>, device_data_collection_url: String, reference_id: String, } pub struct ClientAuthSetupInfoResponse { id: String, client_reference_information: ClientReferenceInformation, consumer_authentication_information: CybersourceConsumerAuthInformationResponse, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_44
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct ClientAuthSetupInfoResponse { id: String, client_reference_information: ClientReferenceInformation, consumer_authentication_information: CybersourceConsumerAuthInformationResponse, } pub struct CybersourcePaymentsIncrementalAuthorizationResponse { status: CybersourceIncrementalAuthorizationStatus, error_information: Option<CybersourceErrorInformation>, } pub struct ClientReferenceInformation { code: Option<String>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_46
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct ClientReferenceInformation { code: Option<String>, } pub struct ClientProcessorInformation { network_transaction_id: Option<String>, avs: Option<Avs>, card_verification: Option<CardVerification>, merchant_advice: Option<MerchantAdvice>, response_code: Option<String>, } pub struct MerchantAdvice { code: Option<String>, code_raw: Option<String>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_48
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct MerchantAdvice { code: Option<String>, code_raw: Option<String>, } pub struct CardVerification { result_code: Option<String>, result_code_raw: Option<String>, } pub struct Avs { code: Option<String>, code_raw: Option<String>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_50
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct Avs { code: Option<String>, code_raw: Option<String>, } pub struct ClientRiskInformation { rules: Option<Vec<ClientRiskInformationRules>>, } pub struct ClientRiskInformationRules { name: Option<Secret<String>>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_52
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct ClientRiskInformationRules { name: Option<Secret<String>>, } pub struct CybersourceTokenInformation { payment_instrument: Option<CybersoucrePaymentInstrument>, } pub struct CybersourceErrorInformation { reason: Option<String>, message: Option<String>, details: Option<Vec<Details>>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_54
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct CybersourceErrorInformation { reason: Option<String>, message: Option<String>, details: Option<Vec<Details>>, } pub struct CybersourceConsumerAuthInformationRequest { return_url: String, reference_id: String, } pub struct CybersourceAuthEnrollmentRequest< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > { payment_information: PaymentInformation<T>, client_reference_information: ClientReferenceInformation, consumer_authentication_information: CybersourceConsumerAuthInformationRequest, order_information: OrderInformationWithBill, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_56
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct CybersourceAuthEnrollmentRequest< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > { payment_information: PaymentInformation<T>, client_reference_information: ClientReferenceInformation, consumer_authentication_information: CybersourceConsumerAuthInformationRequest, order_information: OrderInformationWithBill, } pub struct CybersourceRedirectionAuthResponse { pub transaction_id: String, } pub struct CybersourceConsumerAuthInformationValidateRequest { authentication_transaction_id: String, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_58
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct CybersourceConsumerAuthInformationValidateRequest { authentication_transaction_id: String, } pub struct CybersourceAuthValidateRequest< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > { payment_information: PaymentInformation<T>, client_reference_information: ClientReferenceInformation, consumer_authentication_information: CybersourceConsumerAuthInformationValidateRequest, order_information: OrderInformation, } pub struct CybersourceConsumerAuthValidateResponse { /// This field is supported only on Asia, Middle East, and Africa Gateway /// Also needed for Credit Mutuel-CIC in France and Mastercard Identity Check transactions /// This field is only applicable for Mastercard and Visa Transactions pares_status: Option<CybersourceParesStatus>, ucaf_collection_indicator: Option<String>, cavv: Option<Secret<String>>, ucaf_authentication_data: Option<Secret<String>>, xid: Option<String>, specification_version: Option<SemanticVersion>, directory_server_transaction_id: Option<Secret<String>>, acs_transaction_id: Option<String>, three_d_s_server_transaction_id: Option<String>, indicator: Option<String>, ecommerce_indicator: Option<String>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_60
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct CybersourceConsumerAuthValidateResponse { /// This field is supported only on Asia, Middle East, and Africa Gateway /// Also needed for Credit Mutuel-CIC in France and Mastercard Identity Check transactions /// This field is only applicable for Mastercard and Visa Transactions pares_status: Option<CybersourceParesStatus>, ucaf_collection_indicator: Option<String>, cavv: Option<Secret<String>>, ucaf_authentication_data: Option<Secret<String>>, xid: Option<String>, specification_version: Option<SemanticVersion>, directory_server_transaction_id: Option<Secret<String>>, acs_transaction_id: Option<String>, three_d_s_server_transaction_id: Option<String>, indicator: Option<String>, ecommerce_indicator: Option<String>, } pub struct CybersourceThreeDSMetadata { three_ds_data: CybersourceConsumerAuthValidateResponse, } pub struct CybersourceConsumerAuthInformationEnrollmentResponse { access_token: Option<Secret<String>>, step_up_url: Option<String>, authentication_transaction_id: Option<String>, //Added to segregate the three_ds_data in a separate struct #[serde(flatten)] validate_response: CybersourceConsumerAuthValidateResponse, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_62
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct CybersourceConsumerAuthInformationEnrollmentResponse { access_token: Option<Secret<String>>, step_up_url: Option<String>, authentication_transaction_id: Option<String>, //Added to segregate the three_ds_data in a separate struct #[serde(flatten)] validate_response: CybersourceConsumerAuthValidateResponse, } pub struct ClientAuthCheckInfoResponse { id: String, client_reference_information: ClientReferenceInformation, consumer_authentication_information: CybersourceConsumerAuthInformationEnrollmentResponse, status: CybersourceAuthEnrollmentStatus, error_information: Option<CybersourceErrorInformation>, } pub struct CybersourceTransactionResponse { id: String, application_information: ApplicationInformation, processor_information: Option<ClientProcessorInformation>, client_reference_information: Option<ClientReferenceInformation>, error_information: Option<CybersourceErrorInformation>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_64
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct CybersourceTransactionResponse { id: String, application_information: ApplicationInformation, processor_information: Option<ClientProcessorInformation>, client_reference_information: Option<ClientReferenceInformation>, error_information: Option<CybersourceErrorInformation>, } pub struct ApplicationInformation { status: Option<CybersourcePaymentStatus>, } pub struct CybersourceRefundRequest { order_information: OrderInformation, client_reference_information: ClientReferenceInformation, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_66
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct CybersourceRefundRequest { order_information: OrderInformation, client_reference_information: ClientReferenceInformation, } pub struct CybersourceRefundResponse { id: String, status: CybersourceRefundStatus, error_information: Option<CybersourceErrorInformation>, } pub struct RsyncApplicationInformation { status: Option<CybersourceRefundStatus>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_68
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct RsyncApplicationInformation { status: Option<CybersourceRefundStatus>, } pub struct CybersourceRsyncResponse { id: String, application_information: Option<RsyncApplicationInformation>, error_information: Option<CybersourceErrorInformation>, } pub struct CybersourceStandardErrorResponse { pub error_information: Option<ErrorInformation>, pub status: Option<String>, pub message: Option<String>, pub reason: Option<String>, pub details: Option<Vec<Details>>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_70
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct CybersourceStandardErrorResponse { pub error_information: Option<ErrorInformation>, pub status: Option<String>, pub message: Option<String>, pub reason: Option<String>, pub details: Option<Vec<Details>>, } pub struct CybersourceNotAvailableErrorResponse { pub errors: Vec<CybersourceNotAvailableErrorObject>, } pub struct CybersourceNotAvailableErrorObject { #[serde(rename = "type")] pub error_type: Option<String>, pub message: Option<String>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_72
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct CybersourceNotAvailableErrorObject { #[serde(rename = "type")] pub error_type: Option<String>, pub message: Option<String>, } pub struct CybersourceServerErrorResponse { pub status: Option<String>, pub message: Option<String>, pub reason: Option<Reason>, } pub struct CybersourceAuthenticationErrorResponse { pub response: AuthenticationErrorInformation, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_74
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct CybersourceAuthenticationErrorResponse { pub response: AuthenticationErrorInformation, } pub struct Details { pub field: String, pub reason: String, } pub struct ErrorInformation { pub message: String, pub reason: String, pub details: Option<Vec<Details>>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_76
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct ErrorInformation { pub message: String, pub reason: String, pub details: Option<Vec<Details>>, } pub struct AuthenticationErrorInformation { pub rmsg: String, } pub struct CybersourceRepeatPaymentRequest { processing_information: ProcessingInformation, payment_information: RepeatPaymentInformation, order_information: OrderInformationWithBill, client_reference_information: ClientReferenceInformation, #[serde(skip_serializing_if = "Option::is_none")] consumer_authentication_information: Option<CybersourceConsumerAuthInformation>, #[serde(skip_serializing_if = "Option::is_none")] merchant_defined_information: Option<Vec<MerchantDefinedInformation>>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_78
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub struct CybersourceRepeatPaymentRequest { processing_information: ProcessingInformation, payment_information: RepeatPaymentInformation, order_information: OrderInformationWithBill, client_reference_information: ClientReferenceInformation, #[serde(skip_serializing_if = "Option::is_none")] consumer_authentication_information: Option<CybersourceConsumerAuthInformation>, #[serde(skip_serializing_if = "Option::is_none")] merchant_defined_information: Option<Vec<MerchantDefinedInformation>>, } pub enum CybersourceParesStatus { #[serde(rename = "C")] CardChallenged, #[serde(rename = "R")] AuthenticationRejected, #[serde(rename = "Y")] AuthenticationSuccessful, #[serde(rename = "A")] AuthenticationAttempted, #[serde(rename = "N")] AuthenticationFailed, #[serde(rename = "U")] AuthenticationNotCompleted, } pub enum EffectiveAuthenticationType { CH, FR, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_80
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub enum EffectiveAuthenticationType { CH, FR, } pub enum CybersourceActionsList { TokenCreate, } pub enum CybersourceActionsTokenType { Customer, PaymentInstrument, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_82
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub enum CybersourceActionsTokenType { Customer, PaymentInstrument, } pub enum CybersourcePaymentInitiatorTypes { Customer, Merchant, } pub enum PaymentInformation< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > { Cards(Box<CardPaymentInformation<T>>), GooglePayToken(Box<GooglePayTokenPaymentInformation>), GooglePay(Box<GooglePayPaymentInformation>), ApplePay(Box<ApplePayPaymentInformation>), ApplePayToken(Box<ApplePayTokenPaymentInformation>), MandatePayment(Box<MandatePaymentInformation>), SamsungPay(Box<SamsungPayPaymentInformation>), NetworkToken(Box<NetworkTokenPaymentInformation>), }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_84
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub enum PaymentInformation< T: PaymentMethodDataTypes + std::fmt::Debug + std::marker::Sync + std::marker::Send + 'static + Serialize, > { Cards(Box<CardPaymentInformation<T>>), GooglePayToken(Box<GooglePayTokenPaymentInformation>), GooglePay(Box<GooglePayPaymentInformation>), ApplePay(Box<ApplePayPaymentInformation>), ApplePayToken(Box<ApplePayTokenPaymentInformation>), MandatePayment(Box<MandatePaymentInformation>), SamsungPay(Box<SamsungPayPaymentInformation>), NetworkToken(Box<NetworkTokenPaymentInformation>), } pub enum PaymentSolution { ApplePay, GooglePay, SamsungPay, } pub enum TransactionType { #[serde(rename = "1")] InApp, #[serde(rename = "2")] ContactlessNFC, #[serde(rename = "3")] StoredCredentials, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_86
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub enum TransactionType { #[serde(rename = "1")] InApp, #[serde(rename = "2")] ContactlessNFC, #[serde(rename = "3")] StoredCredentials, } pub enum AuthorizationStatus { Success, Failure, Processing, Unresolved, } pub enum CybersourcePaymentStatus { Authorized, Succeeded, Failed, Voided, Reversed, Pending, Declined, Rejected, Challenge, AuthorizedPendingReview, AuthorizedRiskDeclined, Transmitted, InvalidRequest, ServerError, PendingAuthentication, PendingReview, Accepted, Cancelled, StatusNotReceived, //PartialAuthorized, not being consumed yet. }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_88
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub enum CybersourcePaymentStatus { Authorized, Succeeded, Failed, Voided, Reversed, Pending, Declined, Rejected, Challenge, AuthorizedPendingReview, AuthorizedRiskDeclined, Transmitted, InvalidRequest, ServerError, PendingAuthentication, PendingReview, Accepted, Cancelled, StatusNotReceived, //PartialAuthorized, not being consumed yet. } pub enum CybersourceIncrementalAuthorizationStatus { Authorized, Declined, AuthorizedPendingReview, } pub enum CybersourceAuthSetupResponse { ClientAuthSetupInfo(Box<ClientAuthSetupInfoResponse>), ErrorInformation(Box<CybersourceErrorInformationResponse>), }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_90
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub enum CybersourceAuthSetupResponse { ClientAuthSetupInfo(Box<ClientAuthSetupInfoResponse>), ErrorInformation(Box<CybersourceErrorInformationResponse>), } pub enum CybersourceAuthenticateResponse { ClientAuthCheckInfo(Box<ClientAuthCheckInfoResponse>), ErrorInformation(Box<CybersourceErrorInformationResponse>), } pub enum CybersourceAuthEnrollmentStatus { PendingAuthentication, AuthenticationSuccessful, AuthenticationFailed, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_92
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub enum CybersourceAuthEnrollmentStatus { PendingAuthentication, AuthenticationSuccessful, AuthenticationFailed, } pub enum CybersourcePreProcessingResponse { ClientAuthCheckInfo(Box<ClientAuthCheckInfoResponse>), ErrorInformation(Box<CybersourceErrorInformationResponse>), } pub enum CybersourceRefundStatus { Succeeded, Transmitted, Failed, Pending, Voided, Cancelled, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_94
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub enum CybersourceRefundStatus { Succeeded, Transmitted, Failed, Pending, Voided, Cancelled, } pub enum Reason { SystemError, ServerTimeout, ServiceTimeout, } pub enum CybersourceErrorResponse { AuthenticationError(Box<CybersourceAuthenticationErrorResponse>), //If the request resource is not available/exists in cybersource NotAvailableError(Box<CybersourceNotAvailableErrorResponse>), StandardError(Box<CybersourceStandardErrorResponse>), }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_4931700295577699981_96
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cybersource/transformers.rs pub enum CybersourceErrorResponse { AuthenticationError(Box<CybersourceAuthenticationErrorResponse>), //If the request resource is not available/exists in cybersource NotAvailableError(Box<CybersourceNotAvailableErrorResponse>), StandardError(Box<CybersourceStandardErrorResponse>), } pub enum RepeatPaymentInformation { MandatePayment(Box<MandatePaymentInformation>), }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 2, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_-2461103467231849077_0
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cryptopay/transformers.rs pub struct CryptopayPaymentsRequest { price_amount: StringMajorUnit, price_currency: common_enums::Currency, pay_currency: String, #[serde(skip_serializing_if = "Option::is_none")] network: Option<String>, success_redirect_url: Option<String>, unsuccess_redirect_url: Option<String>, #[serde(skip_serializing_if = "Option::is_none")] metadata: Option<pii::SecretSerdeValue>, custom_id: String, } pub struct CryptopayPaymentsResponse { pub data: CryptopayPaymentResponseData, } pub struct CryptopayErrorData { pub code: String, pub message: String, pub reason: Option<String>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_-2461103467231849077_2
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cryptopay/transformers.rs pub struct CryptopayErrorData { pub code: String, pub message: String, pub reason: Option<String>, } pub struct CryptopayErrorResponse { pub error: CryptopayErrorData, } pub struct CryptopayPaymentResponseData { pub id: String, pub custom_id: Option<String>, pub customer_id: Option<String>, pub status: CryptopayPaymentStatus, pub status_context: Option<String>, pub address: Option<Secret<String>>, pub network: Option<String>, pub uri: Option<String>, pub price_amount: Option<StringMajorUnit>, pub price_currency: Option<common_enums::Currency>, pub pay_amount: Option<StringMajorUnit>, pub pay_currency: Option<String>, pub fee: Option<String>, pub fee_currency: Option<String>, pub paid_amount: Option<String>, pub name: Option<String>, pub description: Option<String>, pub success_redirect_url: Option<String>, pub unsuccess_redirect_url: Option<String>, pub hosted_page_url: Option<Url>, pub created_at: Option<String>, pub expires_at: Option<String>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_-2461103467231849077_4
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cryptopay/transformers.rs pub struct CryptopayPaymentResponseData { pub id: String, pub custom_id: Option<String>, pub customer_id: Option<String>, pub status: CryptopayPaymentStatus, pub status_context: Option<String>, pub address: Option<Secret<String>>, pub network: Option<String>, pub uri: Option<String>, pub price_amount: Option<StringMajorUnit>, pub price_currency: Option<common_enums::Currency>, pub pay_amount: Option<StringMajorUnit>, pub pay_currency: Option<String>, pub fee: Option<String>, pub fee_currency: Option<String>, pub paid_amount: Option<String>, pub name: Option<String>, pub description: Option<String>, pub success_redirect_url: Option<String>, pub unsuccess_redirect_url: Option<String>, pub hosted_page_url: Option<Url>, pub created_at: Option<String>, pub expires_at: Option<String>, } pub struct CryptopayWebhookDetails { #[serde(rename = "type")] pub service_type: String, pub event: WebhookEvent, pub data: CryptopayPaymentResponseData, } pub enum CryptopayPaymentStatus { New, Completed, Unresolved, Refunded, Cancelled, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_-2461103467231849077_6
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/cryptopay/transformers.rs pub enum CryptopayPaymentStatus { New, Completed, Unresolved, Refunded, Cancelled, } pub enum WebhookEvent { TransactionCreated, TransactionConfirmed, StatusChanged, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 2, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_-4688241219082903168_0
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/razorpayv2/transformers.rs pub struct RazorpayV2CreateOrderRequest { pub amount: MinorUnit, pub currency: String, pub receipt: String, #[serde(skip_serializing_if = "Option::is_none")] pub payment_capture: Option<bool>, #[serde(skip_serializing_if = "Option::is_none")] pub notes: Option<RazorpayV2Notes>, } pub struct RazorpayV2CreateOrderResponse { pub id: String, pub entity: String, pub amount: MinorUnit, pub amount_paid: MinorUnit, pub amount_due: MinorUnit, pub currency: String, pub receipt: String, pub status: String, pub attempts: i32, #[serde(skip_serializing_if = "Option::is_none")] pub notes: Option<Value>, #[serde(skip_serializing_if = "Option::is_none")] pub offer_id: Option<String>, pub created_at: i64, } pub struct RazorpayV2PaymentsRequest { pub amount: MinorUnit, pub currency: String, pub order_id: String, pub email: Email, pub contact: Secret<String>, pub method: String, pub description: Option<String>, pub notes: Option<RazorpayV2Notes>, pub callback_url: String, pub upi: Option<RazorpayV2UpiDetails>, #[serde(skip_serializing_if = "Option::is_none")] pub customer_id: Option<String>, #[serde(skip_serializing_if = "Option::is_none")] pub save: Option<bool>, #[serde(skip_serializing_if = "Option::is_none")] pub recurring: Option<String>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_-4688241219082903168_2
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/razorpayv2/transformers.rs pub struct RazorpayV2PaymentsRequest { pub amount: MinorUnit, pub currency: String, pub order_id: String, pub email: Email, pub contact: Secret<String>, pub method: String, pub description: Option<String>, pub notes: Option<RazorpayV2Notes>, pub callback_url: String, pub upi: Option<RazorpayV2UpiDetails>, #[serde(skip_serializing_if = "Option::is_none")] pub customer_id: Option<String>, #[serde(skip_serializing_if = "Option::is_none")] pub save: Option<bool>, #[serde(skip_serializing_if = "Option::is_none")] pub recurring: Option<String>, } pub struct RazorpayV2UpiDetails { #[serde(skip_serializing_if = "Option::is_none")] pub flow: Option<UpiFlow>, #[serde(skip_serializing_if = "Option::is_none")] pub vpa: Option<Secret<String>>, // Only for collect flow #[serde(skip_serializing_if = "Option::is_none")] pub expiry_time: Option<i32>, // In minutes (5 to 5760) #[serde(rename = "type", skip_serializing_if = "Option::is_none")] pub upi_type: Option<String>, // "recurring" for mandates #[serde(skip_serializing_if = "Option::is_none")] pub end_date: Option<i64>, // For recurring payments } pub struct RazorpayV2PaymentsResponse { pub id: String, pub entity: String, pub amount: i64, pub currency: String, pub status: RazorpayStatus, pub order_id: Option<String>, pub invoice_id: Option<String>, pub international: Option<bool>, pub method: String, pub amount_refunded: Option<i64>, pub refund_status: Option<String>, pub captured: Option<bool>, pub description: Option<String>, pub card_id: Option<String>, pub bank: Option<String>, pub wallet: Option<String>, pub vpa: Option<Secret<String>>, pub email: Email, pub contact: Secret<String>, pub notes: Option<Value>, pub fee: Option<i64>, pub tax: Option<i64>, pub error_code: Option<String>, pub error_description: Option<String>, pub error_reason: Option<String>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_-4688241219082903168_4
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/razorpayv2/transformers.rs pub struct RazorpayV2PaymentsResponse { pub id: String, pub entity: String, pub amount: i64, pub currency: String, pub status: RazorpayStatus, pub order_id: Option<String>, pub invoice_id: Option<String>, pub international: Option<bool>, pub method: String, pub amount_refunded: Option<i64>, pub refund_status: Option<String>, pub captured: Option<bool>, pub description: Option<String>, pub card_id: Option<String>, pub bank: Option<String>, pub wallet: Option<String>, pub vpa: Option<Secret<String>>, pub email: Email, pub contact: Secret<String>, pub notes: Option<Value>, pub fee: Option<i64>, pub tax: Option<i64>, pub error_code: Option<String>, pub error_description: Option<String>, pub error_reason: Option<String>, } pub struct RazorpayV2OrderPaymentsCollectionResponse { pub entity: String, pub count: i32, pub items: Vec<RazorpayV2PaymentsResponse>, } pub struct RazorpayV2ErrorDetails { pub code: String, pub description: String, pub source: Option<String>, pub step: Option<String>, pub reason: Option<String>, pub metadata: Option<serde_json::Value>, pub field: Option<String>, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_-4688241219082903168_6
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/razorpayv2/transformers.rs pub struct RazorpayV2ErrorDetails { pub code: String, pub description: String, pub source: Option<String>, pub step: Option<String>, pub reason: Option<String>, pub metadata: Option<serde_json::Value>, pub field: Option<String>, } pub struct RazorpayV2UpiResponseDetails { pub flow: Option<String>, pub vpa: Option<Secret<String>>, pub expiry_time: Option<i32>, } pub struct RazorpayV2RefundRequest { pub amount: i64, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_-4688241219082903168_8
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/razorpayv2/transformers.rs pub struct RazorpayV2RefundRequest { pub amount: i64, } pub struct RazorpayV2RefundResponse { pub id: String, pub entity: String, pub amount: i64, pub currency: String, pub payment_id: String, pub status: String, pub speed_requested: Option<String>, pub speed_processed: Option<String>, pub receipt: Option<String>, pub created_at: i64, } pub enum RazorpayV2AuthType { AuthToken(Secret<String>), ApiKeySecret { api_key: Secret<String>, api_secret: Secret<String>, }, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }
connector-service_multi_-4688241219082903168_10
clm
multi_item
// connector-service/backend/connector-integration/src/connectors/razorpayv2/transformers.rs pub enum RazorpayV2AuthType { AuthToken(Secret<String>), ApiKeySecret { api_key: Secret<String>, api_secret: Secret<String>, }, } pub enum UpiFlow { Collect, Intent, } pub enum RazorpayStatus { Created, Authorized, Captured, Refunded, Failed, }
{ "chunk": null, "crate": null, "enum_name": null, "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": 3, "num_structs": null, "repo": "connector-service", "start_line": null, "struct_name": null, "total_crates": null, "trait_name": null }