copyWith method
WebApiModulesPluginsCreditCardCreditCardPreAuthorizationRequest
copyWith({
- WebApiModulesPluginsCreditCardCreditCardPreAuthorizationRequestPaymentTypes? payWith,
- String? orderId,
- double? amountToPay,
- int? creditCardPinPadId,
- String? dealNumber,
- String? paymentBy,
- String? dealId,
- String? customerId,
- String? accountId,
- String? account,
- String? expirationDate,
- String? cardholderName,
- String? creditCardSource,
- bool? saveCreditCard,
- bool? defaultAccount,
- bool? authorizationOnFile,
- String? address,
- String? address2,
- String? city,
- String? region,
- String? postalCode,
- String? countryId,
- String? trackData,
- String? emailFrom,
- String? emailTo,
- String? emailSubject,
- String? emailBody,
Implementation
WebApiModulesPluginsCreditCardCreditCardPreAuthorizationRequest copyWith(
{enums.WebApiModulesPluginsCreditCardCreditCardPreAuthorizationRequestPaymentTypes?
payWith,
String? orderId,
double? amountToPay,
int? creditCardPinPadId,
String? dealNumber,
String? paymentBy,
String? dealId,
String? customerId,
String? accountId,
String? account,
String? expirationDate,
String? cardholderName,
String? creditCardSource,
bool? saveCreditCard,
bool? defaultAccount,
bool? authorizationOnFile,
String? address,
String? address2,
String? city,
String? region,
String? postalCode,
String? countryId,
String? trackData,
String? emailFrom,
String? emailTo,
String? emailSubject,
String? emailBody}) {
return WebApiModulesPluginsCreditCardCreditCardPreAuthorizationRequest(
payWith: payWith ?? this.payWith,
orderId: orderId ?? this.orderId,
amountToPay: amountToPay ?? this.amountToPay,
creditCardPinPadId: creditCardPinPadId ?? this.creditCardPinPadId,
dealNumber: dealNumber ?? this.dealNumber,
paymentBy: paymentBy ?? this.paymentBy,
dealId: dealId ?? this.dealId,
customerId: customerId ?? this.customerId,
accountId: accountId ?? this.accountId,
account: account ?? this.account,
expirationDate: expirationDate ?? this.expirationDate,
cardholderName: cardholderName ?? this.cardholderName,
creditCardSource: creditCardSource ?? this.creditCardSource,
saveCreditCard: saveCreditCard ?? this.saveCreditCard,
defaultAccount: defaultAccount ?? this.defaultAccount,
authorizationOnFile: authorizationOnFile ?? this.authorizationOnFile,
address: address ?? this.address,
address2: address2 ?? this.address2,
city: city ?? this.city,
region: region ?? this.region,
postalCode: postalCode ?? this.postalCode,
countryId: countryId ?? this.countryId,
trackData: trackData ?? this.trackData,
emailFrom: emailFrom ?? this.emailFrom,
emailTo: emailTo ?? this.emailTo,
emailSubject: emailSubject ?? this.emailSubject,
emailBody: emailBody ?? this.emailBody);
}