tests/testthat/test_invoice_out.R

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

context("Test InvoiceOut")

model.instance <- InvoiceOut$new()

test_that("items", {
  # tests for the property `items` (InvoiceItemOut)

  # uncomment below to test the property 
  #expect_equal(model.instance$`items`, "EXPECTED_RESULT")
})

test_that("user_id", {
  # tests for the property `user_id` (character)

  # uncomment below to test the property 
  #expect_equal(model.instance$`user_id`, "EXPECTED_RESULT")
})

test_that("invoice_id", {
  # tests for the property `invoice_id` (character)

  # uncomment below to test the property 
  #expect_equal(model.instance$`invoice_id`, "EXPECTED_RESULT")
})

test_that("is_striped", {
  # tests for the property `is_striped` (character)

  # uncomment below to test the property 
  #expect_equal(model.instance$`is_striped`, "EXPECTED_RESULT")
})

test_that("stripe_customer_id", {
  # tests for the property `stripe_customer_id` (character)

  # uncomment below to test the property 
  #expect_equal(model.instance$`stripe_customer_id`, "EXPECTED_RESULT")
})

test_that("amount_due", {
  # tests for the property `amount_due` (integer)

  # uncomment below to test the property 
  #expect_equal(model.instance$`amount_due`, "EXPECTED_RESULT")
})

test_that("amount_paid", {
  # tests for the property `amount_paid` (integer)

  # uncomment below to test the property 
  #expect_equal(model.instance$`amount_paid`, "EXPECTED_RESULT")
})

test_that("amount_remaining", {
  # tests for the property `amount_remaining` (integer)

  # uncomment below to test the property 
  #expect_equal(model.instance$`amount_remaining`, "EXPECTED_RESULT")
})

test_that("attempted", {
  # tests for the property `attempted` (character)

  # uncomment below to test the property 
  #expect_equal(model.instance$`attempted`, "EXPECTED_RESULT")
})

test_that("currency", {
  # tests for the property `currency` (character)

  # uncomment below to test the property 
  #expect_equal(model.instance$`currency`, "EXPECTED_RESULT")
})

test_that("invoice_date", {
  # tests for the property `invoice_date` (character)

  # uncomment below to test the property 
  #expect_equal(model.instance$`invoice_date`, "EXPECTED_RESULT")
})

test_that("due_date", {
  # tests for the property `due_date` (character)

  # uncomment below to test the property 
  #expect_equal(model.instance$`due_date`, "EXPECTED_RESULT")
})

test_that("description", {
  # tests for the property `description` (character)

  # uncomment below to test the property 
  #expect_equal(model.instance$`description`, "EXPECTED_RESULT")
})

test_that("invoice_pdf", {
  # tests for the property `invoice_pdf` (character)

  # uncomment below to test the property 
  #expect_equal(model.instance$`invoice_pdf`, "EXPECTED_RESULT")
})

test_that("period_start", {
  # tests for the property `period_start` (character)

  # uncomment below to test the property 
  #expect_equal(model.instance$`period_start`, "EXPECTED_RESULT")
})

test_that("period_end", {
  # tests for the property `period_end` (character)

  # uncomment below to test the property 
  #expect_equal(model.instance$`period_end`, "EXPECTED_RESULT")
})

test_that("receipt_number", {
  # tests for the property `receipt_number` (character)

  # uncomment below to test the property 
  #expect_equal(model.instance$`receipt_number`, "EXPECTED_RESULT")
})

test_that("invoice_status", {
  # tests for the property `invoice_status` (character)

  # uncomment below to test the property 
  #expect_equal(model.instance$`invoice_status`, "EXPECTED_RESULT")
})

test_that("sub_total", {
  # tests for the property `sub_total` (integer)

  # uncomment below to test the property 
  #expect_equal(model.instance$`sub_total`, "EXPECTED_RESULT")
})

test_that("tax", {
  # tests for the property `tax` (integer)

  # uncomment below to test the property 
  #expect_equal(model.instance$`tax`, "EXPECTED_RESULT")
})

test_that("tax_percent", {
  # tests for the property `tax_percent` (integer)

  # uncomment below to test the property 
  #expect_equal(model.instance$`tax_percent`, "EXPECTED_RESULT")
})

test_that("total", {
  # tests for the property `total` (integer)

  # uncomment below to test the property 
  #expect_equal(model.instance$`total`, "EXPECTED_RESULT")
})
wing328/namsor-r-client documentation built on May 26, 2019, 7:01 p.m.