copyWithWrapped method

TransferRefundCreateRequest copyWithWrapped({
  1. Wrapped<String?>? clientId,
  2. Wrapped<String?>? secret,
  3. Wrapped<String>? transferId,
  4. Wrapped<String>? amount,
  5. Wrapped<String>? idempotencyKey,
})

Implementation

TransferRefundCreateRequest copyWithWrapped(
    {Wrapped<String?>? clientId,
    Wrapped<String?>? secret,
    Wrapped<String>? transferId,
    Wrapped<String>? amount,
    Wrapped<String>? idempotencyKey}) {
  return TransferRefundCreateRequest(
      clientId: (clientId != null ? clientId.value : this.clientId),
      secret: (secret != null ? secret.value : this.secret),
      transferId: (transferId != null ? transferId.value : this.transferId),
      amount: (amount != null ? amount.value : this.amount),
      idempotencyKey: (idempotencyKey != null
          ? idempotencyKey.value
          : this.idempotencyKey));
}