Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String id = UUID.randomUUID().toString();
- 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);
- BillResponse response = BillPaymentClientFactory.createCustom(KRNetwork.qiwiToken, new ApacheWebClient(HttpClients.createDefault())).createBill(billInfo);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement