RazorpayAccountBaseRequestBody constructor

  1. @JsonSerializable(includeIfNull: false)
const RazorpayAccountBaseRequestBody({
  1. required String email,
  2. required Profile profile,
  3. required dynamic phone,
  4. required String business_type,
  5. required String legal_business_name,
  6. required String contact_name,
  7. String? type,
  8. String? reference_id,
  9. String? customer_facing_business_name,
  10. LegalInfo? legal_info,
  11. Apps? apps,
  12. Brand? brand,
  13. ContactInfoSupport? contact_info,
  14. IMap? notes,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory RazorpayAccountBaseRequestBody({
  required String email,
  required Profile profile,
  required dynamic phone,
  required String business_type,
  required String legal_business_name,
  required String contact_name, // string | number
  String? type,
  String? reference_id,
  String? customer_facing_business_name,
  LegalInfo? legal_info,
  Apps? apps,
  Brand? brand,
  ContactInfoSupport? contact_info,
  IMap<dynamic>? notes, // IMap<string | number>
}) = _RazorpayAccountBaseRequestBody;