20 #ifndef RIPPLE_TEST_JTX_TICKET_H_INCLUDED
21 #define RIPPLE_TEST_JTX_TICKET_H_INCLUDED
23 #include <test/jtx/Env.h>
24 #include <test/jtx/Account.h>
25 #include <test/jtx/owners.h>
26 #include <boost/optional.hpp>
45 create (Account
const& account,
46 boost::optional<Account>
const& target,
47 boost::optional<std::uint32_t>
const& expire);
52 boost::optional<std::uint32_t>&,
61 boost::optional<std::uint32_t>& opt,
67 template<
class Arg,
class... Args>
70 boost::optional<std::uint32_t>& expire_opt,
71 Arg
const& arg, Args
const&... args)
74 if constexpr (
sizeof...(args))
81 template <
class... Args>
86 boost::optional<Account> target;
87 boost::optional<std::uint32_t> expire;
88 if constexpr (
sizeof...(args) > 0)
91 account, target, expire);