QuotesResourceComputedRecurring.fromJson constructor
QuotesResourceComputedRecurring.fromJson(
- Object? json
Implementation
factory QuotesResourceComputedRecurring.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return QuotesResourceComputedRecurring(
amountSubtotal: (map['amount_subtotal'] as num).toInt(),
amountTotal: (map['amount_total'] as num).toInt(),
interval: InvoiceitemPlanInterval.fromJson(map['interval']),
intervalCount: (map['interval_count'] as num).toInt(),
totalDetails: QuotesResourceTotalDetails.fromJson(map['total_details']),
);
}