RazorpaySubscriptionRegistrationEmandate constructor

  1. @JsonSerializable(includeIfNull: false)
const RazorpaySubscriptionRegistrationEmandate({
  1. required int first_payment_amount,
  2. int? max_amount,
  3. int? expire_at,
  4. EmandateAuthType? auth_type,
  5. RazorpayOrderBankDetailsBaseRequestBody? bank_account,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory RazorpaySubscriptionRegistrationEmandate({
  required int
      first_payment_amount, // Required for emandate, AuthorizationMethod? method, // Should be 'emandate'
  int? max_amount,
  int? expire_at,
  EmandateAuthType? auth_type,
  RazorpayOrderBankDetailsBaseRequestBody? bank_account,
}) = _RazorpaySubscriptionRegistrationEmandate;