copyWithWrapped method

PartnerCustomerCreateRequest copyWithWrapped({
  1. Wrapped<String?>? clientId,
  2. Wrapped<String?>? secret,
  3. Wrapped<String>? companyName,
  4. Wrapped<bool>? isDiligenceAttested,
  5. Wrapped<List<Products>>? products,
  6. Wrapped<bool?>? createLinkCustomization,
  7. Wrapped<String>? legalEntityName,
  8. Wrapped<String>? website,
  9. Wrapped<String>? applicationName,
  10. Wrapped<PartnerEndCustomerTechnicalContact?>? technicalContact,
  11. Wrapped<PartnerEndCustomerBillingContact?>? billingContact,
  12. Wrapped<PartnerEndCustomerAddress>? address,
  13. Wrapped<bool>? isBankAddendumCompleted,
  14. Wrapped<PartnerEndCustomerAssetsUnderManagement?>? assetsUnderManagement,
})

Implementation

PartnerCustomerCreateRequest copyWithWrapped(
    {Wrapped<String?>? clientId,
    Wrapped<String?>? secret,
    Wrapped<String>? companyName,
    Wrapped<bool>? isDiligenceAttested,
    Wrapped<List<enums.Products>>? products,
    Wrapped<bool?>? createLinkCustomization,
    Wrapped<String?>? logo,
    Wrapped<String>? legalEntityName,
    Wrapped<String>? website,
    Wrapped<String>? applicationName,
    Wrapped<PartnerEndCustomerTechnicalContact?>? technicalContact,
    Wrapped<PartnerEndCustomerBillingContact?>? billingContact,
    Wrapped<PartnerEndCustomerAddress>? address,
    Wrapped<bool>? isBankAddendumCompleted,
    Wrapped<PartnerEndCustomerAssetsUnderManagement?>?
        assetsUnderManagement}) {
  return PartnerCustomerCreateRequest(
      clientId: (clientId != null ? clientId.value : this.clientId),
      secret: (secret != null ? secret.value : this.secret),
      companyName:
          (companyName != null ? companyName.value : this.companyName),
      isDiligenceAttested: (isDiligenceAttested != null
          ? isDiligenceAttested.value
          : this.isDiligenceAttested),
      products: (products != null ? products.value : this.products),
      createLinkCustomization: (createLinkCustomization != null
          ? createLinkCustomization.value
          : this.createLinkCustomization),
      logo: (logo != null ? logo.value : this.logo),
      legalEntityName: (legalEntityName != null
          ? legalEntityName.value
          : this.legalEntityName),
      website: (website != null ? website.value : this.website),
      applicationName: (applicationName != null
          ? applicationName.value
          : this.applicationName),
      technicalContact: (technicalContact != null
          ? technicalContact.value
          : this.technicalContact),
      billingContact: (billingContact != null
          ? billingContact.value
          : this.billingContact),
      address: (address != null ? address.value : this.address),
      isBankAddendumCompleted: (isBankAddendumCompleted != null
          ? isBankAddendumCompleted.value
          : this.isBankAddendumCompleted),
      assetsUnderManagement: (assetsUnderManagement != null
          ? assetsUnderManagement.value
          : this.assetsUnderManagement));
}