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<String?>? creditCardName,
  7. Wrapped<String?>? creditCardExpiration,
  8. Wrapped<String?>? auditNote,
  9. Wrapped<String?>? recordTitle,
  10. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  11. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  12. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  13. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesPluginsCreditCardOrderDeposit copyWithWrapped(
    {Wrapped<String?>? orderId,
    Wrapped<DateTime?>? transactionDate,
    Wrapped<String?>? payType,
    Wrapped<String?>? checkOrReferenceNumber,
    Wrapped<double?>? amount,
    Wrapped<String?>? creditCardName,
    Wrapped<String?>? creditCardExpiration,
    Wrapped<String?>? auditNote,
    Wrapped<String?>? recordTitle,
    Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
    Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  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),
      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),
      fields: (fields != null ? fields.value : this.fields),
      custom: (custom != null ? custom.value : this.custom),
      defaultFieldAttributes: (defaultFieldAttributes != null
          ? defaultFieldAttributes.value
          : this.defaultFieldAttributes),
      translation:
          (translation != null ? translation.value : this.translation));
}