copyWithWrapped method

WebApiModulesAgentOrderSendContactConfirmationRequest copyWithWrapped({
  1. Wrapped<String?>? orderId,
  2. Wrapped<String?>? orderNumber,
  3. Wrapped<String?>? contactEmail,
})

Implementation

WebApiModulesAgentOrderSendContactConfirmationRequest copyWithWrapped({
  Wrapped<String?>? orderId,
  Wrapped<String?>? orderNumber,
  Wrapped<String?>? contactEmail,
}) {
  return WebApiModulesAgentOrderSendContactConfirmationRequest(
    orderId: (orderId != null ? orderId.value : this.orderId),
    orderNumber: (orderNumber != null ? orderNumber.value : this.orderNumber),
    contactEmail: (contactEmail != null
        ? contactEmail.value
        : this.contactEmail),
  );
}