copyWithWrapped method
WebApiModulesPluginsCreditCardCreditCardPreAuthorizationRequest
copyWithWrapped({
- Wrapped<
WebApiModulesPluginsCreditCardCreditCardPreAuthorizationRequestPaymentTypes> ? paymentType, - Wrapped<
String> ? orderId, - Wrapped<
double> ? amountToPay, - Wrapped<
int?> ? creditCardPinPadId, - Wrapped<
String> ? dealNumber, - Wrapped<
String?> ? account, - Wrapped<
String?> ? expirationDate, - Wrapped<
String?> ? trackData, - Wrapped<
String?> ? emailFrom, - Wrapped<
String?> ? emailTo, - Wrapped<
String?> ? emailSubject, - Wrapped<
String?> ? emailBody,
Implementation
WebApiModulesPluginsCreditCardCreditCardPreAuthorizationRequest copyWithWrapped(
{Wrapped<
enums
.WebApiModulesPluginsCreditCardCreditCardPreAuthorizationRequestPaymentTypes>?
paymentType,
Wrapped<String>? orderId,
Wrapped<double>? amountToPay,
Wrapped<int?>? creditCardPinPadId,
Wrapped<String>? dealNumber,
Wrapped<String?>? account,
Wrapped<String?>? expirationDate,
Wrapped<String?>? trackData,
Wrapped<String?>? emailFrom,
Wrapped<String?>? emailTo,
Wrapped<String?>? emailSubject,
Wrapped<String?>? emailBody}) {
return WebApiModulesPluginsCreditCardCreditCardPreAuthorizationRequest(
paymentType:
(paymentType != null ? paymentType.value : this.paymentType),
orderId: (orderId != null ? orderId.value : this.orderId),
amountToPay:
(amountToPay != null ? amountToPay.value : this.amountToPay),
creditCardPinPadId: (creditCardPinPadId != null
? creditCardPinPadId.value
: this.creditCardPinPadId),
dealNumber: (dealNumber != null ? dealNumber.value : this.dealNumber),
account: (account != null ? account.value : this.account),
expirationDate: (expirationDate != null
? expirationDate.value
: this.expirationDate),
trackData: (trackData != null ? trackData.value : this.trackData),
emailFrom: (emailFrom != null ? emailFrom.value : this.emailFrom),
emailTo: (emailTo != null ? emailTo.value : this.emailTo),
emailSubject:
(emailSubject != null ? emailSubject.value : this.emailSubject),
emailBody: (emailBody != null ? emailBody.value : this.emailBody));
}