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