copyWithWrapped method

BankTransferBalanceGetResponse copyWithWrapped({
  1. Wrapped<BankTransferBalance>? balance,
  2. Wrapped<String?>? originationAccountId,
  3. Wrapped<String>? requestId,
})

Implementation

BankTransferBalanceGetResponse copyWithWrapped(
    {Wrapped<BankTransferBalance>? balance,
    Wrapped<String?>? originationAccountId,
    Wrapped<String>? requestId}) {
  return BankTransferBalanceGetResponse(
      balance: (balance != null ? balance.value : this.balance),
      originationAccountId: (originationAccountId != null
          ? originationAccountId.value
          : this.originationAccountId),
      requestId: (requestId != null ? requestId.value : this.requestId));
}