copyWithWrapped method

TaxpayerIdentifier copyWithWrapped({
  1. Wrapped<TaxpayerIdentifierType?>? taxpayerIdentifierType,
  2. Wrapped<String?>? taxpayerIdentifierValue,
})

Implementation

TaxpayerIdentifier copyWithWrapped(
    {Wrapped<enums.TaxpayerIdentifierType?>? taxpayerIdentifierType,
    Wrapped<String?>? taxpayerIdentifierValue}) {
  return TaxpayerIdentifier(
      taxpayerIdentifierType: (taxpayerIdentifierType != null
          ? taxpayerIdentifierType.value
          : this.taxpayerIdentifierType),
      taxpayerIdentifierValue: (taxpayerIdentifierValue != null
          ? taxpayerIdentifierValue.value
          : this.taxpayerIdentifierValue));
}