RazorpayPaymentLinkCreateRequestBody constructor
- @JsonSerializable(includeIfNull: false)
const
RazorpayPaymentLinkCreateRequestBody(
{ - required dynamic amount,
- String? currency,
- bool? accept_partial,
- int? expire_by,
- String? reference_id,
- int? first_min_partial_amount,
- String? description,
- RazorpayPaymentLinkNotify? notify,
- bool? reminder_enable,
- IMap? notes,
- String? callback_url,
- 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;