|
|
@ -24,10 +24,12 @@ class WithdrawFromWalletService: WithdrawFromWalletServiceType { |
|
|
|
failure(error) |
|
|
|
} else { |
|
|
|
if let model = response.data{ |
|
|
|
var neModel = WithdrawInformation() |
|
|
|
neModel = model |
|
|
|
neModel.amount = amount |
|
|
|
success(neModel) |
|
|
|
var newModel = WithdrawInformation() |
|
|
|
newModel = model |
|
|
|
newModel.amount = amount |
|
|
|
newModel.bankName = GMEDB.shared.user.string(.primaryBankName) |
|
|
|
newModel.accountNo = GMEDB.shared.user.string(.primaryAccountNumber) |
|
|
|
success(newModel) |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|