RazorpayCustomerCreateRequestBody constructor

  1. @JsonSerializable(includeIfNull: false)
const RazorpayCustomerCreateRequestBody({
  1. String? name,
  2. String? email,
  3. dynamic contact,
  4. @JsonKey(toJson: _boolToInt, fromJson: _intToBool) bool? fail_existing,
  5. String? gstin,
  6. IMap? notes,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory RazorpayCustomerCreateRequestBody({
  String? name,
  String? email,
  dynamic contact, // string | number
  @JsonKey(toJson: _boolToInt, fromJson: _intToBool)
  bool? fail_existing, // boolean | 0 | 1
  String? gstin,
  IMap<dynamic>? notes, // IMap<string | number>
}) = _RazorpayCustomerCreateRequestBody;