Sub2ApiAdminUpdatePaymentConfigRequest constructor
Sub2ApiAdminUpdatePaymentConfigRequest({
- bool? enabled,
- Sub2ApiDecimal? minAmount,
- Sub2ApiDecimal? maxAmount,
- Sub2ApiDecimal? dailyLimit,
- int? orderTimeoutMinutes,
- int? maxPendingOrders,
- List<
String> ? enabledPaymentTypes, - bool? balanceDisabled,
- Sub2ApiDecimal? balanceRechargeMultiplier,
- Sub2ApiDecimal? subscriptionUsdToCnyRate,
- Sub2ApiDecimal? rechargeFeeRate,
- String? loadBalanceStrategy,
- String? productNamePrefix,
- String? productNameSuffix,
- String? helpImageUrl,
- String? helpText,
- bool? cancelRateLimitEnabled,
- int? cancelRateLimitMax,
- int? cancelRateLimitWindow,
- String? cancelRateLimitUnit,
- String? cancelRateLimitMode,
- bool? alipayForceQrCode,
- bool? alipayMobilePrecreateDeepLink,
- String? visibleMethodAlipaySource,
- String? visibleMethodWxpaySource,
- bool? visibleMethodAlipayEnabled,
- 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);