toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'credit_card'] = this.creditCard;
if (this.coupon != null) {
json[r'coupon'] = this.coupon;
} else {
json[r'coupon'] = null;
}
if (this.invitation != null) {
json[r'invitation'] = this.invitation;
} else {
json[r'invitation'] = null;
}
return json;
}