RazorpaySubscriptionUpdateRequestBody constructor
- @JsonSerializable(includeIfNull: false)
const
RazorpaySubscriptionUpdateRequestBody(
{ - String? plan_id,
- 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? notes,
- ScheduleChangeAt? schedule_change_at,
- int? remaining_count,
})
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;