toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'transactionId': this.transactionId,
'affiliation': this.affiliation,
'couponCode': this.couponCode,
'shipping': this.shipping,
'tax': this.tax,
'revenue': this.revenue
};
}