copyWithWrapped method
WebApiModulesPluginsCreditCardAccount
copyWithWrapped({
- Wrapped<
String?> ? profileId, - Wrapped<
String?> ? accountId, - Wrapped<
String?> ? nickname, - Wrapped<
WebApiModulesPluginsCreditCardProcessCreditCardPaymentCardTypes?> ? cardType, - Wrapped<
String?> ? expiration, - Wrapped<
String?> ? last4Digits, - Wrapped<
bool?> ? cardOnFilePermission, - Wrapped<
bool?> ? defaultAccount, - Wrapped<
String?> ? cardholderName, - Wrapped<
String?> ? address, - Wrapped<
String?> ? address2, - Wrapped<
String?> ? city, - Wrapped<
String?> ? region, - Wrapped<
String?> ? postalCode, - Wrapped<
String?> ? country, - Wrapped<
String?> ? token, - Wrapped<
String?> ? chargePaymentTypeId, - Wrapped<
String?> ? chargePaymentType, - Wrapped<
WebApiModulesPluginsCreditCardProcessCreditCardCardUsageTypes?> ? cardUseType, - Wrapped<
String?> ? cardUseString,
Implementation
WebApiModulesPluginsCreditCardAccount copyWithWrapped({
Wrapped<String?>? profileId,
Wrapped<String?>? accountId,
Wrapped<String?>? nickname,
Wrapped<
enums.WebApiModulesPluginsCreditCardProcessCreditCardPaymentCardTypes?
>?
cardType,
Wrapped<String?>? expiration,
Wrapped<String?>? last4Digits,
Wrapped<bool?>? cardOnFilePermission,
Wrapped<bool?>? defaultAccount,
Wrapped<String?>? cardholderName,
Wrapped<String?>? address,
Wrapped<String?>? address2,
Wrapped<String?>? city,
Wrapped<String?>? region,
Wrapped<String?>? postalCode,
Wrapped<String?>? country,
Wrapped<String?>? token,
Wrapped<String?>? chargePaymentTypeId,
Wrapped<String?>? chargePaymentType,
Wrapped<
enums.WebApiModulesPluginsCreditCardProcessCreditCardCardUsageTypes?
>?
cardUseType,
Wrapped<String?>? cardUseString,
}) {
return WebApiModulesPluginsCreditCardAccount(
profileId: (profileId != null ? profileId.value : this.profileId),
accountId: (accountId != null ? accountId.value : this.accountId),
nickname: (nickname != null ? nickname.value : this.nickname),
cardType: (cardType != null ? cardType.value : this.cardType),
expiration: (expiration != null ? expiration.value : this.expiration),
last4Digits: (last4Digits != null ? last4Digits.value : this.last4Digits),
cardOnFilePermission: (cardOnFilePermission != null
? cardOnFilePermission.value
: this.cardOnFilePermission),
defaultAccount: (defaultAccount != null
? defaultAccount.value
: this.defaultAccount),
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),
postalCode: (postalCode != null ? postalCode.value : this.postalCode),
country: (country != null ? country.value : this.country),
token: (token != null ? token.value : this.token),
chargePaymentTypeId: (chargePaymentTypeId != null
? chargePaymentTypeId.value
: this.chargePaymentTypeId),
chargePaymentType: (chargePaymentType != null
? chargePaymentType.value
: this.chargePaymentType),
cardUseType: (cardUseType != null ? cardUseType.value : this.cardUseType),
cardUseString: (cardUseString != null
? cardUseString.value
: this.cardUseString),
);
}