RazorpayCustomerEligibility constructor

  1. @JsonSerializable(includeIfNull: false)
const RazorpayCustomerEligibility({
  1. required dynamic amount,
  2. CustomersEligibilityInput? customer,
  3. List<Instruments>? instruments,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory RazorpayCustomerEligibility({
  required dynamic
      amount, // number | string, required String currency, String? inquiry,
  CustomersEligibilityInput?
      customer, // Use the input type or a response-specific one if different
  List<Instruments>? instruments,
}) = _RazorpayCustomerEligibility;