toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    '__typename': 'AdvancedCommerceInfoIOS',
    'description': description,
    'displayName': displayName,
    'estimatedTax': estimatedTax,
    'items': items.map((e) => e.toJson()).toList(),
    'requestReferenceId': requestReferenceId,
    'taxCode': taxCode,
    'taxExclusivePrice': taxExclusivePrice,
    'taxRate': taxRate,
  };
}