RazorpayCustomerDetails constructor

  1. @JsonSerializable(includeIfNull: false)
const RazorpayCustomerDetails({
  1. String? id,
  2. String? name,
  3. String? email,
  4. dynamic contact,
  5. String? gstin,
  6. String? customer_name,
  7. String? customer_email,
  8. String? customer_contact,
  9. RazorpayInvoiceAddress? billing_address,
  10. RazorpayInvoiceAddress? shipping_address,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory RazorpayCustomerDetails({
  String? id, // Unique identifier of the customer
  String? name, // From Base
  String? email, // From Base
  dynamic contact, // From Base
  String? gstin, // Nullable GSTIN
  String? customer_name, // Alias for name?
  String? customer_email, // Alias for email?
  String? customer_contact, // Alias for contact?
  RazorpayInvoiceAddress? billing_address, // Use response Address type
  RazorpayInvoiceAddress? shipping_address, // Use response Address type
}) = _RazorpayCustomerDetails;