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