copyWith method
WebApiModulesPluginsCreditCardCreditCardPluginCreateOrUpdateAccountRequest
copyWith({
- String? accountId,
- String? profile,
- bool? isDefaultAccount,
- bool? profileUpdate,
- bool? cardOnFilePermission,
- bool? accountUpdaterOptOut,
- String? accountType,
- String? account,
- String? bankAba,
- String? expiry,
- String? name,
- String? address,
- String? address2,
- String? city,
- String? region,
- String? countryId,
- String? phone,
- String? postalCode,
- String? company,
- String? email,
Implementation
WebApiModulesPluginsCreditCardCreditCardPluginCreateOrUpdateAccountRequest
copyWith(
{String? accountId,
String? profile,
bool? isDefaultAccount,
bool? profileUpdate,
bool? cardOnFilePermission,
bool? accountUpdaterOptOut,
String? accountType,
String? account,
String? bankAba,
String? expiry,
String? name,
String? address,
String? address2,
String? city,
String? region,
String? countryId,
String? phone,
String? postalCode,
String? company,
String? email}) {
return WebApiModulesPluginsCreditCardCreditCardPluginCreateOrUpdateAccountRequest(
accountId: accountId ?? this.accountId,
profile: profile ?? this.profile,
isDefaultAccount: isDefaultAccount ?? this.isDefaultAccount,
profileUpdate: profileUpdate ?? this.profileUpdate,
cardOnFilePermission: cardOnFilePermission ?? this.cardOnFilePermission,
accountUpdaterOptOut: accountUpdaterOptOut ?? this.accountUpdaterOptOut,
accountType: accountType ?? this.accountType,
account: account ?? this.account,
bankAba: bankAba ?? this.bankAba,
expiry: expiry ?? this.expiry,
name: name ?? this.name,
address: address ?? this.address,
address2: address2 ?? this.address2,
city: city ?? this.city,
region: region ?? this.region,
countryId: countryId ?? this.countryId,
phone: phone ?? this.phone,
postalCode: postalCode ?? this.postalCode,
company: company ?? this.company,
email: email ?? this.email);
}