copyWithWrapped method

WebApiModulesPluginsCreditCardOrderDeposit copyWithWrapped({
  1. Wrapped<String?>? orderId,
  2. Wrapped<DateTime?>? transactionDate,
  3. Wrapped<String?>? payType,
  4. Wrapped<String?>? checkOrReferenceNumber,
  5. Wrapped<double?>? amount,
  6. Wrapped<double?>? feePercent,
  7. Wrapped<double?>? paymentTypeFee,
  8. Wrapped<double?>? amountWithFee,
  9. Wrapped<String?>? creditCardName,
  10. Wrapped<String?>? creditCardExpiration,
  11. Wrapped<String?>? auditNote,
  12. Wrapped<String?>? recordTitle,
  13. Wrapped? urlIdentifier,
  14. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  15. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  16. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  17. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  18. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  19. Wrapped<bool?>? hasImport,
  20. Wrapped<String?>? createdByUserId,
  21. Wrapped<String?>? createdByUserName,
  22. Wrapped<String?>? createdDateTime,
  23. Wrapped<String?>? modifiedByUserId,
  24. Wrapped<String?>? modifiedByUserName,
  25. Wrapped<String?>? modifiedDateTime,
})

Implementation

WebApiModulesPluginsCreditCardOrderDeposit copyWithWrapped({
  Wrapped<String?>? orderId,
  Wrapped<DateTime?>? transactionDate,
  Wrapped<String?>? payType,
  Wrapped<String?>? checkOrReferenceNumber,
  Wrapped<double?>? amount,
  Wrapped<double?>? feePercent,
  Wrapped<double?>? paymentTypeFee,
  Wrapped<double?>? amountWithFee,
  Wrapped<String?>? creditCardName,
  Wrapped<String?>? creditCardExpiration,
  Wrapped<String?>? auditNote,
  Wrapped<String?>? recordTitle,
  Wrapped<dynamic>? urlIdentifier,
  Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
  fields,
  Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  Wrapped<bool?>? hasImport,
  Wrapped<String?>? createdByUserId,
  Wrapped<String?>? createdByUserName,
  Wrapped<String?>? createdDateTime,
  Wrapped<String?>? modifiedByUserId,
  Wrapped<String?>? modifiedByUserName,
  Wrapped<String?>? modifiedDateTime,
}) {
  return WebApiModulesPluginsCreditCardOrderDeposit(
    orderId: (orderId != null ? orderId.value : this.orderId),
    transactionDate: (transactionDate != null
        ? transactionDate.value
        : this.transactionDate),
    payType: (payType != null ? payType.value : this.payType),
    checkOrReferenceNumber: (checkOrReferenceNumber != null
        ? checkOrReferenceNumber.value
        : this.checkOrReferenceNumber),
    amount: (amount != null ? amount.value : this.amount),
    feePercent: (feePercent != null ? feePercent.value : this.feePercent),
    paymentTypeFee: (paymentTypeFee != null
        ? paymentTypeFee.value
        : this.paymentTypeFee),
    amountWithFee: (amountWithFee != null
        ? amountWithFee.value
        : this.amountWithFee),
    creditCardName: (creditCardName != null
        ? creditCardName.value
        : this.creditCardName),
    creditCardExpiration: (creditCardExpiration != null
        ? creditCardExpiration.value
        : this.creditCardExpiration),
    auditNote: (auditNote != null ? auditNote.value : this.auditNote),
    recordTitle: (recordTitle != null ? recordTitle.value : this.recordTitle),
    urlIdentifier: (urlIdentifier != null
        ? urlIdentifier.value
        : this.urlIdentifier),
    fields: (fields != null ? fields.value : this.fields),
    custom: (custom != null ? custom.value : this.custom),
    defaultFieldAttributes: (defaultFieldAttributes != null
        ? defaultFieldAttributes.value
        : this.defaultFieldAttributes),
    original: (original != null ? original.value : this.original),
    translation: (translation != null ? translation.value : this.translation),
    hasImport: (hasImport != null ? hasImport.value : this.hasImport),
    createdByUserId: (createdByUserId != null
        ? createdByUserId.value
        : this.createdByUserId),
    createdByUserName: (createdByUserName != null
        ? createdByUserName.value
        : this.createdByUserName),
    createdDateTime: (createdDateTime != null
        ? createdDateTime.value
        : this.createdDateTime),
    modifiedByUserId: (modifiedByUserId != null
        ? modifiedByUserId.value
        : this.modifiedByUserId),
    modifiedByUserName: (modifiedByUserName != null
        ? modifiedByUserName.value
        : this.modifiedByUserName),
    modifiedDateTime: (modifiedDateTime != null
        ? modifiedDateTime.value
        : this.modifiedDateTime),
  );
}