tests/testthat/test_fiat_api.R

# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate

context("Test FiatApi")

api.instance <- FiatApi$new()

test_that("SapiV1FiatOrdersGet", {
  # tests for SapiV1FiatOrdersGet
  # base path: https://api.binance.com
  # Fiat Deposit/Withdraw History (USER_DATA)
  # - If beginTime and endTime are not sent, the recent 30-day data will be returned.  Weight(IP): 1
  # @param transaction.type character 0-deposit, 1-withdraw
  # @param timestamp integer UTC timestamp in ms
  # @param signature character Signature
  # @param begin.time integer  (optional)
  # @param end.time integer UTC timestamp in ms (optional)
  # @param page integer Default 1 (optional)
  # @param rows integer Default 100, max 500 (optional)
  # @param recv.window integer The value cannot be greater than 60000 (optional)
  # @return [InlineResponse20072]

  # uncomment below to test the operation
  #expect_equal(result, "EXPECTED_RESULT")
})

test_that("SapiV1FiatPaymentsGet", {
  # tests for SapiV1FiatPaymentsGet
  # base path: https://api.binance.com
  # Fiat Payments History (USER_DATA)
  # - If beginTime and endTime are not sent, the recent 30-day data will be returned.  Weight(IP): 1
  # @param transaction.type character 0-deposit, 1-withdraw
  # @param timestamp integer UTC timestamp in ms
  # @param signature character Signature
  # @param begin.time integer  (optional)
  # @param end.time integer UTC timestamp in ms (optional)
  # @param page integer Default 1 (optional)
  # @param rows integer Default 100, max 500 (optional)
  # @param recv.window integer The value cannot be greater than 60000 (optional)
  # @return [InlineResponse20073]

  # uncomment below to test the operation
  #expect_equal(result, "EXPECTED_RESULT")
})
grahamjwhite/binanceRapi documentation built on Nov. 22, 2022, 9:37 p.m.