fromJson static method
Implementation
static TransactionAttributes fromJson(Map<String, dynamic> json) {
return TransactionAttributes(
transactionId: json['transactionId'] as String,
affiliation: json['affiliation'] as String,
couponCode: json['couponCode'] as String,
shipping: json['shipping'] as double,
tax: json['tax'] as double,
revenue: json['revenue'] as double);
}