diff --git a/libs/shared-entity/src/dto/billing_dto.rs b/libs/shared-entity/src/dto/billing_dto.rs index 8be28fe0..4aebc401 100644 --- a/libs/shared-entity/src/dto/billing_dto.rs +++ b/libs/shared-entity/src/dto/billing_dto.rs @@ -134,3 +134,16 @@ pub struct SetSubscriptionRecurringInterval { pub plan: SubscriptionPlan, pub recurring_interval: RecurringInterval, } + +#[derive(Serialize, Deserialize, Debug)] +pub struct SubscriptionPlanDetail { + pub currency: Currency, + pub price_cents: i64, + pub plan: SubscriptionPlan, +} + +#[derive(Copy, Clone, Debug, Deserialize, Serialize, Eq, PartialEq, Hash, Default)] +pub enum Currency { + #[default] + USD, +}