Payment constructor
Payment({
- dynamic id,
- dynamic bsid,
- int? time,
- DbJsonWraper? extra,
- List? trans,
- dynamic uid,
- int? type,
- int? state,
- int? rmbfen,
- Message? notice,
- PayGoods? paygoods,
- dynamic relation,
- int? substate,
- String? describe,
- int? update,
- DbJsonWraper? activeRechargeOrderData,
- DbJsonWraper? activeRechargeOrderResult,
- int? activeRechargeNotifyCount,
- List<
DbJsonWraper> ? activeRechargeNotifyResult, - String? passiveRechargeOrderNo,
- DbJsonWraper? passiveRechargeOrderReceipt,
- int? passiveRechargeVerifyCount,
- List<
DbJsonWraper> ? passiveRechargeVerifyResult, - String? cashoutAccountTp,
- String? cashoutAccountNo,
- int? cashoutActualRmbfen,
- bool? virtualValueMode,
- int? virtualCustomXNo,
- dynamic virtualCustomXId,
- List? bonusesUids,
- List<
int> ? bonusesRmbfen, - List? bonusesPending,
Implementation
Payment({
ObjectId? id,
ObjectId? bsid,
int? time,
DbJsonWraper? extra,
List<ObjectId>? trans,
ObjectId? uid,
int? type,
int? state,
int? rmbfen,
this.notice,
this.paygoods,
ObjectId? relation,
int? substate,
String? describe,
int? update,
DbJsonWraper? activeRechargeOrderData,
DbJsonWraper? activeRechargeOrderResult,
int? activeRechargeNotifyCount,
List<DbJsonWraper>? activeRechargeNotifyResult,
String? passiveRechargeOrderNo,
DbJsonWraper? passiveRechargeOrderReceipt,
int? passiveRechargeVerifyCount,
List<DbJsonWraper>? passiveRechargeVerifyResult,
String? cashoutAccountTp,
String? cashoutAccountNo,
int? cashoutActualRmbfen,
bool? virtualValueMode,
int? virtualCustomXNo,
ObjectId? virtualCustomXId,
List<ObjectId>? bonusesUids,
List<int>? bonusesRmbfen,
List<ObjectId>? bonusesPending,
}) : _id = id ?? ObjectId(),
_bsid = bsid ?? ObjectId.fromHexString('000000000000000000000000'),
_time = time ?? DateTime.now().millisecondsSinceEpoch,
_extra = extra ?? DbJsonWraper(),
_trans = trans ?? [],
uid = uid ?? ObjectId.fromHexString('000000000000000000000000'),
type = type ?? 0,
state = state ?? 0,
rmbfen = rmbfen ?? 0,
relation = relation ?? ObjectId.fromHexString('000000000000000000000000'),
substate = substate ?? 0,
describe = describe ?? '',
update = update ?? DateTime.now().millisecondsSinceEpoch,
activeRechargeOrderData = activeRechargeOrderData ?? DbJsonWraper(),
activeRechargeOrderResult = activeRechargeOrderResult ?? DbJsonWraper(),
activeRechargeNotifyCount = activeRechargeNotifyCount ?? 0,
activeRechargeNotifyResult = activeRechargeNotifyResult ?? [],
passiveRechargeOrderNo = passiveRechargeOrderNo ?? '',
passiveRechargeOrderReceipt = passiveRechargeOrderReceipt ?? DbJsonWraper(),
passiveRechargeVerifyCount = passiveRechargeVerifyCount ?? 0,
passiveRechargeVerifyResult = passiveRechargeVerifyResult ?? [],
cashoutAccountTp = cashoutAccountTp ?? '',
cashoutAccountNo = cashoutAccountNo ?? '',
cashoutActualRmbfen = cashoutActualRmbfen ?? 0,
virtualValueMode = virtualValueMode ?? false,
virtualCustomXNo = virtualCustomXNo ?? 0,
virtualCustomXId = virtualCustomXId ?? ObjectId.fromHexString('000000000000000000000000'),
bonusesUids = bonusesUids ?? [],
bonusesRmbfen = bonusesRmbfen ?? [],
bonusesPending = bonusesPending ?? [];