Sub2ApiAdminUpdatePaymentConfigRequest constructor

Sub2ApiAdminUpdatePaymentConfigRequest({
  1. bool? enabled,
  2. Sub2ApiDecimal? minAmount,
  3. Sub2ApiDecimal? maxAmount,
  4. Sub2ApiDecimal? dailyLimit,
  5. int? orderTimeoutMinutes,
  6. int? maxPendingOrders,
  7. List<String>? enabledPaymentTypes,
  8. bool? balanceDisabled,
  9. Sub2ApiDecimal? balanceRechargeMultiplier,
  10. Sub2ApiDecimal? subscriptionUsdToCnyRate,
  11. Sub2ApiDecimal? rechargeFeeRate,
  12. String? loadBalanceStrategy,
  13. String? productNamePrefix,
  14. String? productNameSuffix,
  15. String? helpImageUrl,
  16. String? helpText,
  17. bool? cancelRateLimitEnabled,
  18. int? cancelRateLimitMax,
  19. int? cancelRateLimitWindow,
  20. String? cancelRateLimitUnit,
  21. String? cancelRateLimitMode,
  22. bool? alipayForceQrCode,
  23. bool? alipayMobilePrecreateDeepLink,
  24. String? visibleMethodAlipaySource,
  25. String? visibleMethodWxpaySource,
  26. bool? visibleMethodAlipayEnabled,
  27. bool? visibleMethodWxpayEnabled,
})

Implementation

Sub2ApiAdminUpdatePaymentConfigRequest({
  this.enabled,
  this.minAmount,
  this.maxAmount,
  this.dailyLimit,
  this.orderTimeoutMinutes,
  this.maxPendingOrders,
  List<String>? enabledPaymentTypes,
  this.balanceDisabled,
  this.balanceRechargeMultiplier,
  this.subscriptionUsdToCnyRate,
  this.rechargeFeeRate,
  this.loadBalanceStrategy,
  this.productNamePrefix,
  this.productNameSuffix,
  this.helpImageUrl,
  this.helpText,
  this.cancelRateLimitEnabled,
  this.cancelRateLimitMax,
  this.cancelRateLimitWindow,
  this.cancelRateLimitUnit,
  this.cancelRateLimitMode,
  this.alipayForceQrCode,
  this.alipayMobilePrecreateDeepLink,
  this.visibleMethodAlipaySource,
  this.visibleMethodWxpaySource,
  this.visibleMethodAlipayEnabled,
  this.visibleMethodWxpayEnabled,
}) : enabledPaymentTypes = enabledPaymentTypes == null
         ? null
         : List.unmodifiable(enabledPaymentTypes);