copyWithWrapped method

WebApiModulesPluginsCreditCardCreditCardPluginBinResponse copyWithWrapped({
  1. Wrapped<bool?>? success,
  2. Wrapped<WebApiModulesPluginsCreditCardCreditCardPluginBinResponseStatusCodes?>? status,
  3. Wrapped<String?>? statusText,
  4. Wrapped<String?>? paymentTypeId,
  5. Wrapped<String?>? paymentType,
  6. Wrapped<String?>? cardType,
  7. Wrapped<String?>? cardUseType,
  8. Wrapped<String?>? cardUseString,
})

Implementation

WebApiModulesPluginsCreditCardCreditCardPluginBinResponse copyWithWrapped({
  Wrapped<bool?>? success,
  Wrapped<
    enums.WebApiModulesPluginsCreditCardCreditCardPluginBinResponseStatusCodes?
  >?
  status,
  Wrapped<String?>? statusText,
  Wrapped<String?>? paymentTypeId,
  Wrapped<String?>? paymentType,
  Wrapped<String?>? cardType,
  Wrapped<String?>? cardUseType,
  Wrapped<String?>? cardUseString,
}) {
  return WebApiModulesPluginsCreditCardCreditCardPluginBinResponse(
    success: (success != null ? success.value : this.success),
    status: (status != null ? status.value : this.status),
    statusText: (statusText != null ? statusText.value : this.statusText),
    paymentTypeId: (paymentTypeId != null
        ? paymentTypeId.value
        : this.paymentTypeId),
    paymentType: (paymentType != null ? paymentType.value : this.paymentType),
    cardType: (cardType != null ? cardType.value : this.cardType),
    cardUseType: (cardUseType != null ? cardUseType.value : this.cardUseType),
    cardUseString: (cardUseString != null
        ? cardUseString.value
        : this.cardUseString),
  );
}