RazorpayCardS2SMethod constructor

  1. @JsonSerializable(includeIfNull: false)
const RazorpayCardS2SMethod({
  1. required String number,
  2. required String name,
  3. required dynamic expiry_month,
  4. required dynamic expiry_year,
  5. required dynamic cvv,
  6. String? cryptogram_value,
  7. bool? tokenised,
  8. String? token_provider,
  9. String? last4,
  10. String? provider_type,
  11. PaymentAuthentication? authentication,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory RazorpayCardS2SMethod({
  // Base fields
  required String number,
  required String name,
  required dynamic expiry_month, // string | number
  required dynamic expiry_year, // string | number
  required dynamic cvv, // string | number
  String? cryptogram_value,
  bool? tokenised,
  String? token_provider,
  String? last4,
  String? provider_type,
  // S2S specific
  PaymentAuthentication? authentication,
}) = _RazorpayCardS2SMethod;