RazorpayCustomerDetails constructor
- @JsonSerializable(includeIfNull: false)
const
RazorpayCustomerDetails(
{ - String? id,
- String? name,
- String? email,
- dynamic contact,
- String? gstin,
- String? customer_name,
- String? customer_email,
- String? customer_contact,
- RazorpayInvoiceAddress? billing_address,
- 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;