copyWithWrapped method

ShopifySharpOrder copyWithWrapped({
  1. Wrapped<int?>? appId,
  2. Wrapped<ShopifySharpAddress?>? billingAddress,
  3. Wrapped<String?>? browserIp,
  4. Wrapped<bool?>? buyerAcceptsMarketing,
  5. Wrapped<String?>? cancelReason,
  6. Wrapped<DateTime?>? cancelledAt,
  7. Wrapped<String?>? cartToken,
  8. Wrapped<String?>? checkoutToken,
  9. Wrapped<int?>? checkoutId,
  10. Wrapped<ShopifySharpClientDetails?>? clientDetails,
  11. Wrapped<DateTime?>? closedAt,
  12. Wrapped<bool?>? confirmed,
  13. Wrapped<DateTime?>? createdAt,
  14. Wrapped<String?>? currency,
  15. Wrapped<ShopifySharpCustomer?>? customer,
  16. Wrapped<String?>? customerLocale,
  17. Wrapped<int?>? deviceId,
  18. Wrapped<List<ShopifySharpDiscountCode>?>? discountCodes,
  19. Wrapped<List<ShopifySharpDiscountApplication>?>? discountApplications,
  20. Wrapped<String?>? email,
  21. Wrapped<String?>? financialStatus,
  22. Wrapped<List<ShopifySharpFulfillment>?>? fulfillments,
  23. Wrapped<String?>? fulfillmentStatus,
  24. Wrapped<String?>? phone,
  25. Wrapped<String?>? tags,
  26. Wrapped<String?>? landingSite,
  27. Wrapped<List<ShopifySharpLineItem>?>? lineItems,
  28. Wrapped<int?>? locationId,
  29. Wrapped<String?>? name,
  30. Wrapped<String?>? note,
  31. Wrapped<List<ShopifySharpNoteAttribute>?>? noteAttributes,
  32. Wrapped<int?>? number,
  33. Wrapped<int?>? orderNumber,
  34. Wrapped<String?>? orderStatusUrl,
  35. Wrapped<List<String>?>? paymentGatewayNames,
  36. Wrapped<DateTime?>? processedAt,
  37. Wrapped<String?>? processingMethod,
  38. Wrapped<String?>? referringSite,
  39. Wrapped<List<ShopifySharpRefund>?>? refunds,
  40. Wrapped<ShopifySharpAddress?>? shippingAddress,
  41. Wrapped<List<ShopifySharpShippingLine>?>? shippingLines,
  42. Wrapped<String?>? sourceIdentifier,
  43. Wrapped<String?>? sourceName,
  44. Wrapped<double?>? subtotalPrice,
  45. Wrapped<List<ShopifySharpTaxLine>?>? taxLines,
  46. Wrapped<bool?>? taxesIncluded,
  47. Wrapped<bool?>? test,
  48. Wrapped<String?>? token,
  49. Wrapped<double?>? totalDiscounts,
  50. Wrapped<double?>? totalLineItemsPrice,
  51. Wrapped<double?>? totalTipReceived,
  52. Wrapped<double?>? totalPrice,
  53. Wrapped<double?>? totalTax,
  54. Wrapped<int?>? totalWeight,
  55. Wrapped<DateTime?>? updatedAt,
  56. Wrapped<int?>? userId,
  57. Wrapped<List<ShopifySharpTransaction>?>? transactions,
  58. Wrapped<List<ShopifySharpMetaField>?>? metafields,
  59. Wrapped<ShopifySharpPriceSet?>? currentTotalDutiesSet,
  60. Wrapped<ShopifySharpPriceSet?>? originalTotalDutiesSet,
  61. Wrapped<String?>? presentmentCurrency,
  62. Wrapped<ShopifySharpPriceSet?>? totalLineItemsPriceSet,
  63. Wrapped<ShopifySharpPriceSet?>? totalDiscountsSet,
  64. Wrapped<ShopifySharpPriceSet?>? totalShippingPriceSet,
  65. Wrapped<ShopifySharpPriceSet?>? subtotalPriceSet,
  66. Wrapped<ShopifySharpPriceSet?>? totalPriceSet,
  67. Wrapped<String?>? totalOutstanding,
  68. Wrapped<ShopifySharpPriceSet?>? totalTaxSet,
  69. Wrapped<bool?>? estimatedTaxes,
  70. Wrapped<double?>? currentSubtotalPrice,
  71. Wrapped<ShopifySharpPriceSet?>? currentSubtotalPriceSet,
  72. Wrapped<double?>? currentTotalDiscounts,
  73. Wrapped<ShopifySharpPriceSet?>? currentTotalDiscountsSet,
  74. Wrapped<double?>? currentTotalPrice,
  75. Wrapped<ShopifySharpPriceSet?>? currentTotalPriceSet,
  76. Wrapped<double?>? currentTotalTax,
  77. Wrapped<ShopifySharpPriceSet?>? currentTotalTaxSet,
  78. Wrapped<ShopifySharpPaymentTerms?>? paymentTerms,
  79. Wrapped<ShopifySharpPriceSet?>? currentTotalAdditionalFeesSet,
  80. Wrapped<ShopifySharpPriceSet?>? originalTotalAdditionalFeesSet,
  81. Wrapped<String?>? poNumber,
  82. Wrapped<bool?>? taxExempt,
  83. Wrapped<ShopifySharpOrderCompany?>? company,
  84. Wrapped<int?>? id,
  85. Wrapped<String?>? adminGraphqlApiId,
})

Implementation

ShopifySharpOrder copyWithWrapped({
  Wrapped<int?>? appId,
  Wrapped<ShopifySharpAddress?>? billingAddress,
  Wrapped<String?>? browserIp,
  Wrapped<bool?>? buyerAcceptsMarketing,
  Wrapped<String?>? cancelReason,
  Wrapped<DateTime?>? cancelledAt,
  Wrapped<String?>? cartToken,
  Wrapped<String?>? checkoutToken,
  Wrapped<int?>? checkoutId,
  Wrapped<ShopifySharpClientDetails?>? clientDetails,
  Wrapped<DateTime?>? closedAt,
  Wrapped<bool?>? confirmed,
  Wrapped<DateTime?>? createdAt,
  Wrapped<String?>? currency,
  Wrapped<ShopifySharpCustomer?>? customer,
  Wrapped<String?>? customerLocale,
  Wrapped<int?>? deviceId,
  Wrapped<List<ShopifySharpDiscountCode>?>? discountCodes,
  Wrapped<List<ShopifySharpDiscountApplication>?>? discountApplications,
  Wrapped<String?>? email,
  Wrapped<String?>? financialStatus,
  Wrapped<List<ShopifySharpFulfillment>?>? fulfillments,
  Wrapped<String?>? fulfillmentStatus,
  Wrapped<String?>? phone,
  Wrapped<String?>? tags,
  Wrapped<String?>? landingSite,
  Wrapped<List<ShopifySharpLineItem>?>? lineItems,
  Wrapped<int?>? locationId,
  Wrapped<String?>? name,
  Wrapped<String?>? note,
  Wrapped<List<ShopifySharpNoteAttribute>?>? noteAttributes,
  Wrapped<int?>? number,
  Wrapped<int?>? orderNumber,
  Wrapped<String?>? orderStatusUrl,
  Wrapped<List<String>?>? paymentGatewayNames,
  Wrapped<DateTime?>? processedAt,
  Wrapped<String?>? processingMethod,
  Wrapped<String?>? referringSite,
  Wrapped<List<ShopifySharpRefund>?>? refunds,
  Wrapped<ShopifySharpAddress?>? shippingAddress,
  Wrapped<List<ShopifySharpShippingLine>?>? shippingLines,
  Wrapped<String?>? sourceIdentifier,
  Wrapped<String?>? sourceName,
  Wrapped<double?>? subtotalPrice,
  Wrapped<List<ShopifySharpTaxLine>?>? taxLines,
  Wrapped<bool?>? taxesIncluded,
  Wrapped<bool?>? test,
  Wrapped<String?>? token,
  Wrapped<double?>? totalDiscounts,
  Wrapped<double?>? totalLineItemsPrice,
  Wrapped<double?>? totalTipReceived,
  Wrapped<double?>? totalPrice,
  Wrapped<double?>? totalTax,
  Wrapped<int?>? totalWeight,
  Wrapped<DateTime?>? updatedAt,
  Wrapped<int?>? userId,
  Wrapped<List<ShopifySharpTransaction>?>? transactions,
  Wrapped<List<ShopifySharpMetaField>?>? metafields,
  Wrapped<ShopifySharpPriceSet?>? currentTotalDutiesSet,
  Wrapped<ShopifySharpPriceSet?>? originalTotalDutiesSet,
  Wrapped<String?>? presentmentCurrency,
  Wrapped<ShopifySharpPriceSet?>? totalLineItemsPriceSet,
  Wrapped<ShopifySharpPriceSet?>? totalDiscountsSet,
  Wrapped<ShopifySharpPriceSet?>? totalShippingPriceSet,
  Wrapped<ShopifySharpPriceSet?>? subtotalPriceSet,
  Wrapped<ShopifySharpPriceSet?>? totalPriceSet,
  Wrapped<String?>? totalOutstanding,
  Wrapped<ShopifySharpPriceSet?>? totalTaxSet,
  Wrapped<bool?>? estimatedTaxes,
  Wrapped<double?>? currentSubtotalPrice,
  Wrapped<ShopifySharpPriceSet?>? currentSubtotalPriceSet,
  Wrapped<double?>? currentTotalDiscounts,
  Wrapped<ShopifySharpPriceSet?>? currentTotalDiscountsSet,
  Wrapped<double?>? currentTotalPrice,
  Wrapped<ShopifySharpPriceSet?>? currentTotalPriceSet,
  Wrapped<double?>? currentTotalTax,
  Wrapped<ShopifySharpPriceSet?>? currentTotalTaxSet,
  Wrapped<ShopifySharpPaymentTerms?>? paymentTerms,
  Wrapped<ShopifySharpPriceSet?>? currentTotalAdditionalFeesSet,
  Wrapped<ShopifySharpPriceSet?>? originalTotalAdditionalFeesSet,
  Wrapped<String?>? poNumber,
  Wrapped<bool?>? taxExempt,
  Wrapped<ShopifySharpOrderCompany?>? company,
  Wrapped<int?>? id,
  Wrapped<String?>? adminGraphqlApiId,
}) {
  return ShopifySharpOrder(
    appId: (appId != null ? appId.value : this.appId),
    billingAddress: (billingAddress != null
        ? billingAddress.value
        : this.billingAddress),
    browserIp: (browserIp != null ? browserIp.value : this.browserIp),
    buyerAcceptsMarketing: (buyerAcceptsMarketing != null
        ? buyerAcceptsMarketing.value
        : this.buyerAcceptsMarketing),
    cancelReason: (cancelReason != null
        ? cancelReason.value
        : this.cancelReason),
    cancelledAt: (cancelledAt != null ? cancelledAt.value : this.cancelledAt),
    cartToken: (cartToken != null ? cartToken.value : this.cartToken),
    checkoutToken: (checkoutToken != null
        ? checkoutToken.value
        : this.checkoutToken),
    checkoutId: (checkoutId != null ? checkoutId.value : this.checkoutId),
    clientDetails: (clientDetails != null
        ? clientDetails.value
        : this.clientDetails),
    closedAt: (closedAt != null ? closedAt.value : this.closedAt),
    confirmed: (confirmed != null ? confirmed.value : this.confirmed),
    createdAt: (createdAt != null ? createdAt.value : this.createdAt),
    currency: (currency != null ? currency.value : this.currency),
    customer: (customer != null ? customer.value : this.customer),
    customerLocale: (customerLocale != null
        ? customerLocale.value
        : this.customerLocale),
    deviceId: (deviceId != null ? deviceId.value : this.deviceId),
    discountCodes: (discountCodes != null
        ? discountCodes.value
        : this.discountCodes),
    discountApplications: (discountApplications != null
        ? discountApplications.value
        : this.discountApplications),
    email: (email != null ? email.value : this.email),
    financialStatus: (financialStatus != null
        ? financialStatus.value
        : this.financialStatus),
    fulfillments: (fulfillments != null
        ? fulfillments.value
        : this.fulfillments),
    fulfillmentStatus: (fulfillmentStatus != null
        ? fulfillmentStatus.value
        : this.fulfillmentStatus),
    phone: (phone != null ? phone.value : this.phone),
    tags: (tags != null ? tags.value : this.tags),
    landingSite: (landingSite != null ? landingSite.value : this.landingSite),
    lineItems: (lineItems != null ? lineItems.value : this.lineItems),
    locationId: (locationId != null ? locationId.value : this.locationId),
    name: (name != null ? name.value : this.name),
    note: (note != null ? note.value : this.note),
    noteAttributes: (noteAttributes != null
        ? noteAttributes.value
        : this.noteAttributes),
    number: (number != null ? number.value : this.number),
    orderNumber: (orderNumber != null ? orderNumber.value : this.orderNumber),
    orderStatusUrl: (orderStatusUrl != null
        ? orderStatusUrl.value
        : this.orderStatusUrl),
    paymentGatewayNames: (paymentGatewayNames != null
        ? paymentGatewayNames.value
        : this.paymentGatewayNames),
    processedAt: (processedAt != null ? processedAt.value : this.processedAt),
    processingMethod: (processingMethod != null
        ? processingMethod.value
        : this.processingMethod),
    referringSite: (referringSite != null
        ? referringSite.value
        : this.referringSite),
    refunds: (refunds != null ? refunds.value : this.refunds),
    shippingAddress: (shippingAddress != null
        ? shippingAddress.value
        : this.shippingAddress),
    shippingLines: (shippingLines != null
        ? shippingLines.value
        : this.shippingLines),
    sourceIdentifier: (sourceIdentifier != null
        ? sourceIdentifier.value
        : this.sourceIdentifier),
    sourceName: (sourceName != null ? sourceName.value : this.sourceName),
    subtotalPrice: (subtotalPrice != null
        ? subtotalPrice.value
        : this.subtotalPrice),
    taxLines: (taxLines != null ? taxLines.value : this.taxLines),
    taxesIncluded: (taxesIncluded != null
        ? taxesIncluded.value
        : this.taxesIncluded),
    test: (test != null ? test.value : this.test),
    token: (token != null ? token.value : this.token),
    totalDiscounts: (totalDiscounts != null
        ? totalDiscounts.value
        : this.totalDiscounts),
    totalLineItemsPrice: (totalLineItemsPrice != null
        ? totalLineItemsPrice.value
        : this.totalLineItemsPrice),
    totalTipReceived: (totalTipReceived != null
        ? totalTipReceived.value
        : this.totalTipReceived),
    totalPrice: (totalPrice != null ? totalPrice.value : this.totalPrice),
    totalTax: (totalTax != null ? totalTax.value : this.totalTax),
    totalWeight: (totalWeight != null ? totalWeight.value : this.totalWeight),
    updatedAt: (updatedAt != null ? updatedAt.value : this.updatedAt),
    userId: (userId != null ? userId.value : this.userId),
    transactions: (transactions != null
        ? transactions.value
        : this.transactions),
    metafields: (metafields != null ? metafields.value : this.metafields),
    currentTotalDutiesSet: (currentTotalDutiesSet != null
        ? currentTotalDutiesSet.value
        : this.currentTotalDutiesSet),
    originalTotalDutiesSet: (originalTotalDutiesSet != null
        ? originalTotalDutiesSet.value
        : this.originalTotalDutiesSet),
    presentmentCurrency: (presentmentCurrency != null
        ? presentmentCurrency.value
        : this.presentmentCurrency),
    totalLineItemsPriceSet: (totalLineItemsPriceSet != null
        ? totalLineItemsPriceSet.value
        : this.totalLineItemsPriceSet),
    totalDiscountsSet: (totalDiscountsSet != null
        ? totalDiscountsSet.value
        : this.totalDiscountsSet),
    totalShippingPriceSet: (totalShippingPriceSet != null
        ? totalShippingPriceSet.value
        : this.totalShippingPriceSet),
    subtotalPriceSet: (subtotalPriceSet != null
        ? subtotalPriceSet.value
        : this.subtotalPriceSet),
    totalPriceSet: (totalPriceSet != null
        ? totalPriceSet.value
        : this.totalPriceSet),
    totalOutstanding: (totalOutstanding != null
        ? totalOutstanding.value
        : this.totalOutstanding),
    totalTaxSet: (totalTaxSet != null ? totalTaxSet.value : this.totalTaxSet),
    estimatedTaxes: (estimatedTaxes != null
        ? estimatedTaxes.value
        : this.estimatedTaxes),
    currentSubtotalPrice: (currentSubtotalPrice != null
        ? currentSubtotalPrice.value
        : this.currentSubtotalPrice),
    currentSubtotalPriceSet: (currentSubtotalPriceSet != null
        ? currentSubtotalPriceSet.value
        : this.currentSubtotalPriceSet),
    currentTotalDiscounts: (currentTotalDiscounts != null
        ? currentTotalDiscounts.value
        : this.currentTotalDiscounts),
    currentTotalDiscountsSet: (currentTotalDiscountsSet != null
        ? currentTotalDiscountsSet.value
        : this.currentTotalDiscountsSet),
    currentTotalPrice: (currentTotalPrice != null
        ? currentTotalPrice.value
        : this.currentTotalPrice),
    currentTotalPriceSet: (currentTotalPriceSet != null
        ? currentTotalPriceSet.value
        : this.currentTotalPriceSet),
    currentTotalTax: (currentTotalTax != null
        ? currentTotalTax.value
        : this.currentTotalTax),
    currentTotalTaxSet: (currentTotalTaxSet != null
        ? currentTotalTaxSet.value
        : this.currentTotalTaxSet),
    paymentTerms: (paymentTerms != null
        ? paymentTerms.value
        : this.paymentTerms),
    currentTotalAdditionalFeesSet: (currentTotalAdditionalFeesSet != null
        ? currentTotalAdditionalFeesSet.value
        : this.currentTotalAdditionalFeesSet),
    originalTotalAdditionalFeesSet: (originalTotalAdditionalFeesSet != null
        ? originalTotalAdditionalFeesSet.value
        : this.originalTotalAdditionalFeesSet),
    poNumber: (poNumber != null ? poNumber.value : this.poNumber),
    taxExempt: (taxExempt != null ? taxExempt.value : this.taxExempt),
    company: (company != null ? company.value : this.company),
    id: (id != null ? id.value : this.id),
    adminGraphqlApiId: (adminGraphqlApiId != null
        ? adminGraphqlApiId.value
        : this.adminGraphqlApiId),
  );
}