Advertisement
_GameDoctor_

Untitled

Jul 1st, 2022
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. String id = UUID.randomUUID().toString();
  2. CreateBillInfo billInfo = new CreateBillInfo(id, new MoneyAmount(BigDecimal.valueOf((sum - dd)), Currency.getInstance("RUB")), "Пополнение баланса игрока проекта KosfaRix на сумму " + sum + " рублей.", ZonedDateTime.now().plusHours(1L), new Customer(KRNetwork.qiwiMail, UUID.randomUUID().toString(), KRNetwork.qiwiPhone), "https://payment.kosfarix.ru/info.php?id=" + id);
  3. BillResponse response = BillPaymentClientFactory.createCustom(KRNetwork.qiwiToken, new ApacheWebClient(HttpClients.createDefault())).createBill(billInfo);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement