copyWith method

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

Implementation

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