RazorpaySubscriptionUpdateRequestBody constructor
const
RazorpaySubscriptionUpdateRequestBody({})
Implementation
@JsonSerializable(includeIfNull: false)
const factory RazorpaySubscriptionUpdateRequestBody({
String? plan_id, // Optional
int? total_count, // Optional
@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,
ScheduleChangeAt? schedule_change_at,
int? remaining_count, // Specific to update
}) = _RazorpaySubscriptionUpdateRequestBody;