RazorpayTaxInvoice constructor

  1. @JsonSerializable(includeIfNull: false)
const RazorpayTaxInvoice({
  1. String? number,
  2. int? date,
  3. String? customer_name,
  4. String? business_gstin,
  5. int? gst_amount,
  6. int? cess_amount,
  7. SupplyType? supply_type,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory RazorpayTaxInvoice({
  String? number,
  int? date, // Unix timestamp
  String? customer_name,
  String? business_gstin,
  int? gst_amount, // In paise
  int? cess_amount, // In paise
  SupplyType? supply_type,
}) = _RazorpayTaxInvoice;