copyWithWrapped method
WebApiModulesPluginsCreditCardCreditCardPluginCreateOrUpdateAccountResponse
copyWithWrapped({
- Wrapped<
bool?> ? success, - Wrapped<
WebApiModulesPluginsCreditCardCreditCardPluginCreateOrUpdateProfileResponseStatusCodes?> ? status, - Wrapped<
String?> ? statusText, - Wrapped<
String?> ? profileId, - Wrapped<
String?> ? accountId, - Wrapped<
String?> ? responseStatus, - Wrapped<
String?> ? token, - Wrapped<
String?> ? responseCode, - Wrapped<
String?> ? responseText, - Wrapped<
WebApiModulesPluginsCreditCardProcessCreditCardPaymentCardTypes?> ? cardType, - Wrapped<
String?> ? expiry, - Wrapped<
String?> ? cardholderName, - Wrapped<
String?> ? address, - Wrapped<
String?> ? address2, - Wrapped<
String?> ? city, - Wrapped<
String?> ? region, - Wrapped<
String?> ? country, - Wrapped<
String?> ? phone, - Wrapped<
String?> ? postal, - Wrapped<
String?> ? email, - Wrapped<
String?> ? company, - Wrapped<
bool?> ? defaultAccount, - Wrapped<
bool?> ? gsaCard, - Wrapped<
bool?> ? accountUpdaterOptOut, - Wrapped<
bool?> ? cardOnFilePermission,
Implementation
WebApiModulesPluginsCreditCardCreditCardPluginCreateOrUpdateAccountResponse
copyWithWrapped({
Wrapped<bool?>? success,
Wrapped<
enums.WebApiModulesPluginsCreditCardCreditCardPluginCreateOrUpdateProfileResponseStatusCodes?
>?
status,
Wrapped<String?>? statusText,
Wrapped<String?>? profileId,
Wrapped<String?>? accountId,
Wrapped<String?>? responseStatus,
Wrapped<String?>? token,
Wrapped<String?>? responseCode,
Wrapped<String?>? responseText,
Wrapped<
enums.WebApiModulesPluginsCreditCardProcessCreditCardPaymentCardTypes?
>?
cardType,
Wrapped<String?>? expiry,
Wrapped<String?>? cardholderName,
Wrapped<String?>? address,
Wrapped<String?>? address2,
Wrapped<String?>? city,
Wrapped<String?>? region,
Wrapped<String?>? country,
Wrapped<String?>? phone,
Wrapped<String?>? postal,
Wrapped<String?>? email,
Wrapped<String?>? company,
Wrapped<bool?>? defaultAccount,
Wrapped<bool?>? gsaCard,
Wrapped<bool?>? accountUpdaterOptOut,
Wrapped<bool?>? cardOnFilePermission,
}) {
return WebApiModulesPluginsCreditCardCreditCardPluginCreateOrUpdateAccountResponse(
success: (success != null ? success.value : this.success),
status: (status != null ? status.value : this.status),
statusText: (statusText != null ? statusText.value : this.statusText),
profileId: (profileId != null ? profileId.value : this.profileId),
accountId: (accountId != null ? accountId.value : this.accountId),
responseStatus: (responseStatus != null
? responseStatus.value
: this.responseStatus),
token: (token != null ? token.value : this.token),
responseCode: (responseCode != null
? responseCode.value
: this.responseCode),
responseText: (responseText != null
? responseText.value
: this.responseText),
cardType: (cardType != null ? cardType.value : this.cardType),
expiry: (expiry != null ? expiry.value : this.expiry),
cardholderName: (cardholderName != null
? cardholderName.value
: this.cardholderName),
address: (address != null ? address.value : this.address),
address2: (address2 != null ? address2.value : this.address2),
city: (city != null ? city.value : this.city),
region: (region != null ? region.value : this.region),
country: (country != null ? country.value : this.country),
phone: (phone != null ? phone.value : this.phone),
postal: (postal != null ? postal.value : this.postal),
email: (email != null ? email.value : this.email),
company: (company != null ? company.value : this.company),
defaultAccount: (defaultAccount != null
? defaultAccount.value
: this.defaultAccount),
gsaCard: (gsaCard != null ? gsaCard.value : this.gsaCard),
accountUpdaterOptOut: (accountUpdaterOptOut != null
? accountUpdaterOptOut.value
: this.accountUpdaterOptOut),
cardOnFilePermission: (cardOnFilePermission != null
? cardOnFilePermission.value
: this.cardOnFilePermission),
);
}