copyWith method
WebApiModulesAgentCustomerCreditCustomerCredit
copyWith({
- String? receiptId,
- String? customerId,
- String? customer,
- String? officeLocationId,
- String? paymentBy,
- String? recType,
- String? recTypeDisplay,
- String? recTypeColor,
- String? receiptDate,
- String? paymentTypeId,
- String? paymentType,
- String? checkNumber,
- double? amount,
- double? applied,
- double? refunded,
- double? remaining,
- String? auditNote,
- String? recordTitle,
- dynamic urlIdentifier,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - FwStandardBusinessLogicFwBusinessLogic? original,
- List<
FwStandardDataFwTranslatedValue> ? translation, - bool? hasImport,
- bool? hasDocuments,
- String? createdByUserId,
- String? createdByUserName,
- String? createdDateTime,
- String? modifiedByUserId,
- String? modifiedByUserName,
- String? modifiedDateTime,
Implementation
WebApiModulesAgentCustomerCreditCustomerCredit copyWith({
String? receiptId,
String? customerId,
String? customer,
String? officeLocationId,
String? paymentBy,
String? recType,
String? recTypeDisplay,
String? recTypeColor,
String? receiptDate,
String? paymentTypeId,
String? paymentType,
String? checkNumber,
double? amount,
double? applied,
double? refunded,
double? remaining,
String? auditNote,
String? recordTitle,
dynamic urlIdentifier,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
FwStandardBusinessLogicFwBusinessLogic? original,
List<FwStandardDataFwTranslatedValue>? translation,
bool? hasImport,
bool? hasDocuments,
String? createdByUserId,
String? createdByUserName,
String? createdDateTime,
String? modifiedByUserId,
String? modifiedByUserName,
String? modifiedDateTime,
}) {
return WebApiModulesAgentCustomerCreditCustomerCredit(
receiptId: receiptId ?? this.receiptId,
customerId: customerId ?? this.customerId,
customer: customer ?? this.customer,
officeLocationId: officeLocationId ?? this.officeLocationId,
paymentBy: paymentBy ?? this.paymentBy,
recType: recType ?? this.recType,
recTypeDisplay: recTypeDisplay ?? this.recTypeDisplay,
recTypeColor: recTypeColor ?? this.recTypeColor,
receiptDate: receiptDate ?? this.receiptDate,
paymentTypeId: paymentTypeId ?? this.paymentTypeId,
paymentType: paymentType ?? this.paymentType,
checkNumber: checkNumber ?? this.checkNumber,
amount: amount ?? this.amount,
applied: applied ?? this.applied,
refunded: refunded ?? this.refunded,
remaining: remaining ?? this.remaining,
auditNote: auditNote ?? this.auditNote,
recordTitle: recordTitle ?? this.recordTitle,
urlIdentifier: urlIdentifier ?? this.urlIdentifier,
fields: fields ?? this.fields,
custom: custom ?? this.custom,
defaultFieldAttributes:
defaultFieldAttributes ?? this.defaultFieldAttributes,
original: original ?? this.original,
translation: translation ?? this.translation,
hasImport: hasImport ?? this.hasImport,
hasDocuments: hasDocuments ?? this.hasDocuments,
createdByUserId: createdByUserId ?? this.createdByUserId,
createdByUserName: createdByUserName ?? this.createdByUserName,
createdDateTime: createdDateTime ?? this.createdDateTime,
modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
);
}