Map<String, dynamic> toJson() => { "id": id, "object": object, "currency": currency, "customer_details": customerDetails?.toJson(), };