Files
agent_contas/app/domain/contas/fixtures/discount_history.json

53 lines
1.9 KiB
JSON

{
"accounts": [
{
"msisdn": "11999999999",
"customer_key": "11999999999",
"contract_key": "3000131180",
"discounts": [
{
"discount_id": "DESC-FIDEL-80-BLACK",
"discount_name": "Desc Fidel 80 TIM Black A compartilhado 8.0",
"discount_type": "FIDELITY",
"plan_name": "TIM Black A 8.0",
"previous_value": 80.0,
"current_value": 0.0,
"start_date": "2024-11-20",
"end_date": "2025-11-20",
"discount_status": "EXPIRED",
"termination_reason": "FIM_PERIODO_FIDELIDADE",
"termination_reason_description": "O período de fidelidade contratado foi encerrado.",
"current_value_reference": "contract_as_of_date",
"as_of_date": "2025-11-20",
"last_billed_discount_value": 80.0,
"last_billed_period": "14/10 a 13/11",
"last_invoice_issue_date": "2025-11-20",
"last_billed_status": "APPLIED"
},
{
"discount_id": "DESC-FIDEL-33-CTRL",
"discount_name": "Desc Fidel 33 TIM CTRL Redes Sociais 8.0",
"discount_type": "FIDELITY",
"plan_name": "TIM CTRL Redes Sociais 8.0",
"previous_value": 33.0,
"current_value": 33.0,
"start_date": "2025-04-20",
"end_date": "2026-04-20",
"discount_status": "ACTIVE",
"termination_reason": null,
"termination_reason_description": null,
"current_value_reference": "contract_as_of_date",
"as_of_date": "2025-11-20",
"last_billed_discount_value": 33.0,
"last_billed_period": "14/10 a 13/11",
"last_invoice_issue_date": "2025-11-20",
"last_billed_status": "APPLIED"
}
],
"as_of_date": "2025-11-20",
"last_invoice_issue_date": "2025-11-20",
"last_billed_period": "14/10 a 13/11"
}
]
}