pub async fn disable_subscription_discount_code_in_transaction(
transaction: &mut Transaction<'_, Postgres>,
billing_scope_id: BillingScopeId,
plan_key: &PlanKey,
discount_code_id: DiscountCodeId,
) -> Result<Option<SubscriptionDiscountCodeRecord>, SubscriptionDiscountOperationError>Expand description
Disables an administrative record even when its historical terms are no longer quoteable against the host’s current offer.