Decimal.h
namespace VerifoneSdk
class DecimalParser : public VerifoneSdk::IDecimalParser
Public Functions
virtual VerifoneSdk::Decimal *Parse(System::String *value)
virtual VerifoneSdk::Decimal * FromDecimal (System::Decimal% net_decimal)
interface IDecimal
- Subclassed by VerifoneSdk::sealed
Public Functions
void set(int32_t scale)
void set(int64_t value)
virtual System::String *ToString(const int display_precision)
virtual System::String *ToString()
Public Members
property int32_t Scale
property int64_t Value
interface IDecimalParser
- Subclassed by VerifoneSdk::DecimalParser
Public Functions
virtual VerifoneSdk::Decimal *Parse(System::String *value)
virtual VerifoneSdk::Decimal * FromDecimal (System::Decimal% net_decimal)
class sealed : public VerifoneSdk::IDecimal, public VerifoneSdk::VerifoneCliBase<verifone_sdk::DeviceScannerInterface>, public VerifoneSdk::VerifoneCliBase<verifone_sdk::PaymentSdkInterface>, private VerifoneSdk::IPaymentSdk, public verifone_sdk::PlatformContextInterface, public VerifoneSdk::IReceiptTypeToReceiptMap, private VerifoneSdk::ComMap<ReceiptType, Receipt*>, public VerifoneSdk::IStringToDecimalMap, private VerifoneSdk::ComMap<String*, Decimal*>, public VerifoneSdk::IStringToStringMap, private VerifoneSdk::ComMap<String*, String*>
Public Functions
Decimal(int32_t scale, int64_t value)
Decimal(int64_t value)
inline Decimal()
inline Decimal (Decimal% decimal)
virtual System::String *ToString(const int display_precision)
virtual System::String *ToString() override
System::Decimal ToDecimal()
Public Members
property int32_t DefaultPrecision
int64_t value_
Public Static Functions
static Decimal *Parse(System::String *value)
static Decimal * FromDecimal (System::Decimal% net_decimal)
Public Static Attributes
static int64_t value_stat