RazorpaySubscriptionLinkCreateRequestBody constructor
const
RazorpaySubscriptionLinkCreateRequestBody({})
Implementation
@JsonSerializable(includeIfNull: false)
const factory RazorpaySubscriptionLinkCreateRequestBody({
required String plan_id,
required int total_count,
@JsonKey(toJson: _boolToInt, fromJson: _intToBool) bool? customer_notify,
int? quantity,
String? offer_id,
int? start_at,
int? expire_by,
List<RazorpaySubscriptionAddonsItem>? addons,
IMap<dynamic>? notes,
// Not typically used on link creation: ScheduleChangeAt? schedule_change_at,
RazorpaySubscriptionNotifyInfo? notify_info, // Specific to link creation
}) = _RazorpaySubscriptionLinkCreateRequestBody;