Sub2ApiAdminUpdatePaymentProviderRequest constructor

Sub2ApiAdminUpdatePaymentProviderRequest({
  1. String? name,
  2. Map<String, Sub2ApiAdminCredentialSecret>? config,
  3. List<String>? supportedTypes,
  4. bool? enabled,
  5. String? paymentMode,
  6. int? sortOrder,
  7. String? limits,
  8. bool? refundEnabled,
  9. bool? allowUserRefund,
})

Implementation

Sub2ApiAdminUpdatePaymentProviderRequest({
  this.name,
  Map<String, Sub2ApiAdminCredentialSecret>? config,
  List<String>? supportedTypes,
  this.enabled,
  this.paymentMode,
  this.sortOrder,
  this.limits,
  this.refundEnabled,
  this.allowUserRefund,
}) : config = config == null ? null : Map.unmodifiable(config),
     supportedTypes = supportedTypes == null
         ? null
         : List.unmodifiable(supportedTypes);