Class currency

Public Member Functions

Currency (String currencyCode, Integer exponent, String symbol)
String value ()
String getCurrencyCode ()
Integer getExponent ()
String getSymbol ()

Static Public Member Functions

static Currency fromValue (String v)

Public Attributes

AED =(“784”, 2, “AED”)
ANG =(“532”, 2, “ƒ”)
ARS =(“032”, 2, “$”)
AUD =(“036”, 2, “$”)
AWG =(“533”, 2, “ƒ”)
BBD =(“052”, 2, “$”)
BDT =(“050”, 2, “৳”)
BHD =(“048”, 3, “Bd”)
BMD =(“060”, 2, “$”)
BRL =(“986”, 2, “R$”)
BSD =(“044”, 2, “$”)
CAD =(“124”, 2, “$”)
CHF =(“756”, 2, “SFr”)
CNY =(“156”, 2, “¥”)
COP =(“170”, 2, “$”)
CZK =(“203”, 2, “Kč”)
DKK =(“208”, 2, “kr”)
EUR =(“978”, 2, “€”)
GBP =(“826”, 2, “£”)
HKD =(“344”, 2, “$”)
HUF =(“348”, 2, “Ft”)
ILS =(“376”, 2, “₪”)
INR =(“356”, 2, “₹”)
ISK =(“352”, 0, “kr”)
JMD =(“388”, 2, “JM$”)
JPY =(“392”, 0, “¥”)
KES =(“404”, 2, “Ksh”)
KRW =(“410”, 0, “₩”)
KWD =(“414”, 3, “KD”)
KYD =(“136”, 2, “KY$”)
LVL =(“428”, 2, “Ls”)
MAD =(“504”, 2, “MAD”)
MXN =(“484”, 2, “$”)
MYR =(“458”, 2, “RM”)
NOK =(“578”, 2, “kr”)
NZD =(“554”, 2, “$”)
OMR =(“512”, 3, “OMR”)
PAB =(“590”, 2, “B/”)
PLN =(“985”, 2, “zł”)
QAR =(“634”, 2, “QR”)
RON =(“946”, 2, “lei”)
RUB =(“643”, 2, “руб”)
SAR =(“682”, 2, “SR”)
SEK =(“752”, 2, “kr”)
SGD =(“702”, 2, “$”)
THB =(“764”, 2, “฿”)
TRY =(“949”, 2, “₺”)
TTD =(“780”, 2, “TT$”)
TWD =(“901”, 2, “NT$”)
UAH =(“980”, 2, “₴”)
USD =(“840”, 2, “$”)
VEF =(“937”, 2, “Bs”)
XCD =(“951”, 2, “XC$”)
ZAR =(“710”, 2, “R”)

Detailed Description

Enum of Currencies

Constructor & Destructor Documentation

Currency()

    • com.payments.core.common.enums.Currency.Currency
    • (
    • String
    • currencyCode,

    • Integer
    • exponent,

    • String
    • symbol

    • )

  • inline

Member Function Documentation

fromValue()

    • static Currency com.payments.core.common.enums.Currency.fromValue
    • (
    • String
    • v
    • )

  • inlinestatic

Gets the Currency based on the value.

Parameters

  • v
  • value used to get the code

Returns

possible object is String

getCurrencyCode()

    • String com.payments.core.common.enums.Currency.getCurrencyCode
    • (
    • )

  • inline

Gets the currency code

Returns

possible object is String

getExponent()

    • Integer com.payments.core.common.enums.Currency.getExponent
    • (
    • )

  • inline

Gets the exponent

Returns

possible object is Integer

getSymbol()

    • String com.payments.core.common.enums.Currency.getSymbol
    • (
    • )

  • inline

Gets the symbol

Returns

possible object is String

value()

    • String com.payments.core.common.enums.Currency.value
    • (
    • )

  • inline

Returns currency value

Returns

possible object is String

Member Data Documentation

AED

  • com.payments.core.common.enums.Currency.AED =(“784”, 2, “AED”)

Corresponds to international currency codes

ANG

  • com.payments.core.common.enums.Currency.ANG =(“532”, 2, “ƒ”)

ARS

  • com.payments.core.common.enums.Currency.ARS =(“032”, 2, “$”)

AUD

  • com.payments.core.common.enums.Currency.AUD =(“036”, 2, “$”)

AWG

  • com.payments.core.common.enums.Currency.AWG =(“533”, 2, “ƒ”)

BBD

  • com.payments.core.common.enums.Currency.BBD =(“052”, 2, “$”)

BDT

  • com.payments.core.common.enums.Currency.BDT =(“050”, 2, “৳”)

BHD

  • com.payments.core.common.enums.Currency.BHD =(“048”, 3, “Bd”)

BMD

  • com.payments.core.common.enums.Currency.BMD =(“060”, 2, “$”)

BRL

  • com.payments.core.common.enums.Currency.BRL =(“986”, 2, “R$”)

BSD

  • com.payments.core.common.enums.Currency.BSD =(“044”, 2, “$”)

CAD

  • com.payments.core.common.enums.Currency.CAD =(“124”, 2, “$”)

CHF

  • com.payments.core.common.enums.Currency.CHF =(“756”, 2, “SFr”)

CNY

  • com.payments.core.common.enums.Currency.CNY =(“156”, 2, “¥”)

COP

  • com.payments.core.common.enums.Currency.COP =(“170”, 2, “$”)

CZK

  • com.payments.core.common.enums.Currency.CZK =(“203”, 2, “Kč”)

DKK

  • com.payments.core.common.enums.Currency.DKK =(“208”, 2, “kr”)

EUR

  • com.payments.core.common.enums.Currency.EUR =(“978”, 2, “€”)

GBP

  • com.payments.core.common.enums.Currency.GBP =(“826”, 2, “£”)

HKD

  • com.payments.core.common.enums.Currency.HKD =(“344”, 2, “$”)

HUF

  • com.payments.core.common.enums.Currency.HUF =(“348”, 2, “Ft”)

ILS

  • com.payments.core.common.enums.Currency.ILS =(“376”, 2, “₪”)

INR

  • com.payments.core.common.enums.Currency.INR =(“356”, 2, “₹”)

ISK

  • com.payments.core.common.enums.Currency.ISK =(“352”, 0, “kr”)

JMD

  • com.payments.core.common.enums.Currency.JMD =(“388”, 2, “JM$”)

JPY

  • com.payments.core.common.enums.Currency.JPY =(“392”, 0, “¥”)

KES

  • com.payments.core.common.enums.Currency.KES =(“404”, 2, “Ksh”)

KRW

  • com.payments.core.common.enums.Currency.KRW =(“410”, 0, “₩”)

KWD

  • com.payments.core.common.enums.Currency.KWD =(“414”, 3, “KD”)

KYD

  • com.payments.core.common.enums.Currency.KYD =(“136”, 2, “KY$”)

LVL

  • com.payments.core.common.enums.Currency.LVL =(“428”, 2, “Ls”)

MAD

  • com.payments.core.common.enums.Currency.MAD =(“504”, 2, “MAD”)

MXN

  • com.payments.core.common.enums.Currency.MXN =(“484”, 2, “$”)

MYR

  • com.payments.core.common.enums.Currency.MYR =(“458”, 2, “RM”)

NOK

  • com.payments.core.common.enums.Currency.NOK =(“578”, 2, “kr”)

NZD

  • com.payments.core.common.enums.Currency.NZD =(“554”, 2, “$”)

OMR

  • com.payments.core.common.enums.Currency.OMR =(“512”, 3, “OMR”)

PAB

  • com.payments.core.common.enums.Currency.PAB =(“590”, 2, “B/”)

PLN

  • com.payments.core.common.enums.Currency.PLN =(“985”, 2, “zł”)

QAR

  • com.payments.core.common.enums.Currency.QAR =(“634”, 2, “QR”)

RON

  • com.payments.core.common.enums.Currency.RON =(“946”, 2, “lei”)

RUB

  • com.payments.core.common.enums.Currency.RUB =(“643”, 2, “руб”)

SAR

  • com.payments.core.common.enums.Currency.SAR =(“682”, 2, “SR”)

SEK

  • com.payments.core.common.enums.Currency.SEK =(“752”, 2, “kr”)

SGD

  • com.payments.core.common.enums.Currency.SGD =(“702”, 2, “$”)

THB

  • com.payments.core.common.enums.Currency.THB =(“764”, 2, “฿”)

TRY

  • com.payments.core.common.enums.Currency.TRY =(“949”, 2, “₺”)

TTD

  • com.payments.core.common.enums.Currency.TTD =(“780”, 2, “TT$”)

TWD

  • com.payments.core.common.enums.Currency.TWD =(“901”, 2, “NT$”)

UAH

  • com.payments.core.common.enums.Currency.UAH =(“980”, 2, “₴”)

USD

  • com.payments.core.common.enums.Currency.USD =(“840”, 2, “$”)

VEF

  • com.payments.core.common.enums.Currency.VEF =(“937”, 2, “Bs”)

XCD

  • com.payments.core.common.enums.Currency.XCD =(“951”, 2, “XC$”)

ZAR

  • com.payments.core.common.enums.Currency.ZAR =(“710”, 2, “R”)