Sub2ApiAdminPaymentOrder constructor
const
Sub2ApiAdminPaymentOrder({
- required int id,
- required int userId,
- required String userEmail,
- required String userName,
- required Sub2ApiDecimal amount,
- required Sub2ApiDecimal payAmount,
- required Sub2ApiDecimal feeRate,
- required String currency,
- required String outTradeNo,
- required String paymentType,
- required String paymentTradeNo,
- required String orderType,
- required String status,
- required Sub2ApiDecimal refundAmount,
- required bool forceRefund,
- required DateTime expiresAt,
- required String clientIp,
- required String srcHost,
- required DateTime createdAt,
- required DateTime updatedAt,
- String? userNotes,
- Sub2ApiRedeemCodeSecret? rechargeCode,
- Sub2ApiAdminPaymentCheckoutSecret? payUrl,
- Sub2ApiAdminPaymentCheckoutSecret? qrCode,
- Sub2ApiAdminPaymentCheckoutSecret? qrCodeImage,
- int? planId,
- int? subscriptionGroupId,
- int? subscriptionDays,
- String? providerInstanceId,
- String? providerKey,
- String? refundReason,
- DateTime? refundAt,
- DateTime? refundRequestedAt,
- String? refundRequestReason,
- String? refundRequestedBy,
- DateTime? paidAt,
- DateTime? completedAt,
- DateTime? failedAt,
- String? failedReason,
- String? srcUrl,
Implementation
const Sub2ApiAdminPaymentOrder({
required this.id,
required this.userId,
required this.userEmail,
required this.userName,
required this.amount,
required this.payAmount,
required this.feeRate,
required this.currency,
required this.outTradeNo,
required this.paymentType,
required this.paymentTradeNo,
required this.orderType,
required this.status,
required this.refundAmount,
required this.forceRefund,
required this.expiresAt,
required this.clientIp,
required this.srcHost,
required this.createdAt,
required this.updatedAt,
this.userNotes,
this.rechargeCode,
this.payUrl,
this.qrCode,
this.qrCodeImage,
this.planId,
this.subscriptionGroupId,
this.subscriptionDays,
this.providerInstanceId,
this.providerKey,
this.refundReason,
this.refundAt,
this.refundRequestedAt,
this.refundRequestReason,
this.refundRequestedBy,
this.paidAt,
this.completedAt,
this.failedAt,
this.failedReason,
this.srcUrl,
});