RazorpayDisputesContestBaseRequestBody constructor
- @JsonSerializable(includeIfNull: false)
const
RazorpayDisputesContestBaseRequestBody(
{ - int? amount,
- String? summary,
- List<String>? shipping_proof,
- List<String>? billing_proof,
- List<String>? cancellation_proof,
- List<String>? customer_communication,
- List<String>? proof_of_service,
- List<String>? explanation_letter,
- List<String>? refund_confirmation,
- List<String>? access_activity_log,
- List<String>? refund_cancellation_policy,
- List<String>? term_and_conditions,
- List<OthersEvidence>? others,
- String? action,
- dynamic submitted_at,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory RazorpayDisputesContestBaseRequestBody({
// Fields for submitting evidence
int?
amount, // Make contest fields optional as they form 'evidence' in response
String? summary,
List<String>? shipping_proof,
List<String>? billing_proof,
List<String>? cancellation_proof,
List<String>? customer_communication,
List<String>? proof_of_service,
List<String>? explanation_letter,
List<String>? refund_confirmation,
List<String>? access_activity_log,
List<String>? refund_cancellation_policy,
List<String>? term_and_conditions,
List<OthersEvidence>? others,
String? action, // 'draft' or 'submit' when contesting
dynamic
submitted_at, // Keep as dynamic or use int? for nullable Unix timestamp
}) = _RazorpayDisputesContestBaseRequestBody;