Companion

public class Companion

Functions

Link copied to clipboard
public final Amount parse(String amountStr)

Creates Amount from string in format value:currency_code or throws an Exception

Properties

Link copied to clipboard
public final Amount EMPTY

Creates thread safe static instance of Amount class.

Link copied to clipboard
public final static Amount.Companion INSTANCE