xrpld
Loading...
Searching...
No Matches
xrpl::test::jtx::AnyAmount Struct Reference

Amount specifier with an option for any issuer. More...

#include <amount.h>

Collaboration diagram for xrpl::test::jtx::AnyAmount:

Public Member Functions

 AnyAmount ()=delete
 AnyAmount (AnyAmount const &)=default
AnyAmountoperator= (AnyAmount const &)=default
 AnyAmount (STAmount amount)
 AnyAmount (STAmount amount, AnyT const *)
void to (AccountID const &id)

Public Attributes

bool isAny
STAmount value

Detailed Description

Amount specifier with an option for any issuer.

Definition at line 577 of file src/test/jtx/amount.h.

Constructor & Destructor Documentation

◆ AnyAmount() [1/4]

xrpl::test::jtx::AnyAmount::AnyAmount ( )
delete

◆ AnyAmount() [2/4]

xrpl::test::jtx::AnyAmount::AnyAmount ( AnyAmount const & )
default

◆ AnyAmount() [3/4]

xrpl::test::jtx::AnyAmount::AnyAmount ( STAmount amount)

Definition at line 587 of file src/test/jtx/amount.h.

◆ AnyAmount() [4/4]

xrpl::test::jtx::AnyAmount::AnyAmount ( STAmount amount,
AnyT const *  )

Definition at line 591 of file src/test/jtx/amount.h.

Member Function Documentation

◆ operator=()

AnyAmount & xrpl::test::jtx::AnyAmount::operator= ( AnyAmount const & )
default

◆ to()

void xrpl::test::jtx::AnyAmount::to ( AccountID const & id)

Definition at line 597 of file src/test/jtx/amount.h.

Member Data Documentation

◆ isAny

bool xrpl::test::jtx::AnyAmount::isAny

Definition at line 579 of file src/test/jtx/amount.h.

◆ value

STAmount xrpl::test::jtx::AnyAmount::value

Definition at line 580 of file src/test/jtx/amount.h.