RazorpayRefundBaseRequestBody constructor

  1. @JsonSerializable(includeIfNull: false)
const RazorpayRefundBaseRequestBody({
  1. int? amount,
  2. RefundSpeed? speed,
  3. IMap? notes,
  4. String? receipt,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory RazorpayRefundBaseRequestBody({
  int? amount, // Amount is optional for full refund, required for partial
  RefundSpeed? speed,
  IMap<dynamic>? notes, // IMap<string | number>
  String? receipt, // Nullable string
}) = _RazorpayRefundBaseRequestBody;