mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
feat(connector): [chargebee] consumes required fields to support transaction monitoring (#7774)
Co-authored-by: Nishanth Challa <nishanth.challa@Nishanth-Challa-C0WGKCFHLF.local> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
8759162927
commit
5fa54e5e57
@ -8565,6 +8565,8 @@ pub struct PaymentRevenueRecoveryMetadata {
|
||||
/// The name of the payment connector through which the payment attempt was made.
|
||||
#[schema(value_type = Connector, example = "stripe")]
|
||||
pub connector: common_enums::connector_enums::Connector,
|
||||
/// Invoice Next billing time
|
||||
pub invoice_next_billing_time: Option<PrimitiveDateTime>,
|
||||
}
|
||||
#[cfg(feature = "v2")]
|
||||
impl PaymentRevenueRecoveryMetadata {
|
||||
@ -8666,6 +8668,15 @@ pub struct PaymentsAttemptRecordRequest {
|
||||
/// customer id at payment connector for which mandate is attached.
|
||||
#[schema(value_type = String, example = "cust_12345")]
|
||||
pub connector_customer_id: String,
|
||||
|
||||
/// Number of attempts made for invoice
|
||||
#[schema(value_type = Option<u16>, example = 1)]
|
||||
pub retry_count: Option<u16>,
|
||||
|
||||
/// Next Billing time of the Invoice
|
||||
#[schema(example = "2022-09-10T10:11:12Z")]
|
||||
#[serde(default, with = "common_utils::custom_serde::iso8601::option")]
|
||||
pub invoice_next_billing_time: Option<PrimitiveDateTime>,
|
||||
}
|
||||
|
||||
/// Error details for the payment
|
||||
|
||||
Reference in New Issue
Block a user