RazorpayRefundPaymentLinkAccountCreateRequestBody constructor

  1. @JsonSerializable(includeIfNull: false)
const RazorpayRefundPaymentLinkAccountCreateRequestBody({
  1. required dynamic amount,
  2. @JsonKey(toJson: _boolToInt, fromJson: _intToBool) bool? reverse_all,
  3. String? speed,
  4. IMap? notes,
  5. String? receipt,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory RazorpayRefundPaymentLinkAccountCreateRequestBody({
  required dynamic amount,
  @JsonKey(toJson: _boolToInt, fromJson: _intToBool)
  bool? reverse_all, // 1 | 0
  // Add other standard refund params if applicable here (speed, notes, receipt)
  String? speed, // 'normal' | 'optimum'
  IMap<dynamic>? notes,
  String? receipt,
}) = _RazorpayRefundPaymentLinkAccountCreateRequestBody;