RazorpayPaymentLinkCreateRequestBody constructor

  1. @JsonSerializable(includeIfNull: false)
const RazorpayPaymentLinkCreateRequestBody({
  1. required dynamic amount,
  2. String? currency,
  3. bool? accept_partial,
  4. int? expire_by,
  5. String? reference_id,
  6. int? first_min_partial_amount,
  7. String? description,
  8. RazorpayPaymentLinkNotify? notify,
  9. bool? reminder_enable,
  10. IMap? notes,
  11. String? callback_url,
  12. String? callback_method,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory RazorpayPaymentLinkCreateRequestBody({
  required dynamic
      amount, // number | string, required RazorpayPaymentLinkCustomer customer, bool? upi_link,
  String? currency, // Default INR
  bool? accept_partial,
  int? expire_by, // Unix timestamp
  String? reference_id,
  int? first_min_partial_amount,
  String? description,
  RazorpayPaymentLinkNotify? notify,
  bool? reminder_enable,
  IMap<dynamic>? notes,
  String? callback_url,
  String? callback_method, // 'get'
}) = _RazorpayPaymentLinkCreateRequestBody;