paypalnvp.fields
Enum Currency

java.lang.Object
  extended by java.lang.Enum<Currency>
      extended by paypalnvp.fields.Currency
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Currency>

public enum Currency
extends java.lang.Enum<Currency>
implements java.io.Serializable


Enum Constant Summary
AUD
          Australian Dollar
BRL
          Brazilian Real This currency is supported as a payment currency and a currency balance for in-country PayPal accounts only.
CAD
          Canadian Dollar
CHF
          Swiss Franc
CZK
          Czech Koruna
DKK
          Danish Krone
EUR
          Euro
GBP
          Pound Sterling
HKD
          Hong Kong Dollar
HUF
          Hungarian Forint
ILS
          Israeli New Sheqel
JPY
          Japanese Yen
MXN
          Mexican Peso
MYR
          Malaysian Ringgit This currency is supported as a payment currency and a currency balance for in-country PayPal accounts only.
NOK
          Norwegian Krone
NZD
          New Zealand Dollar
PHP
          Philippine Peso
PLN
          Polish Zloty
SEK
          Swedish Krona
SGD
          Singapore Dollar
THB
          Thai Baht
TWD
          Taiwan New Dollar
USD
          U.S.
 
Method Summary
static Currency valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Currency[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AUD

public static final Currency AUD
Australian Dollar


BRL

public static final Currency BRL
Brazilian Real This currency is supported as a payment currency and a currency balance for in-country PayPal accounts only.


CAD

public static final Currency CAD
Canadian Dollar


CZK

public static final Currency CZK
Czech Koruna


DKK

public static final Currency DKK
Danish Krone


EUR

public static final Currency EUR
Euro


HKD

public static final Currency HKD
Hong Kong Dollar


HUF

public static final Currency HUF
Hungarian Forint


ILS

public static final Currency ILS
Israeli New Sheqel


JPY

public static final Currency JPY
Japanese Yen


MYR

public static final Currency MYR
Malaysian Ringgit This currency is supported as a payment currency and a currency balance for in-country PayPal accounts only.


MXN

public static final Currency MXN
Mexican Peso


NOK

public static final Currency NOK
Norwegian Krone


NZD

public static final Currency NZD
New Zealand Dollar


PHP

public static final Currency PHP
Philippine Peso


PLN

public static final Currency PLN
Polish Zloty


GBP

public static final Currency GBP
Pound Sterling


SGD

public static final Currency SGD
Singapore Dollar


SEK

public static final Currency SEK
Swedish Krona


CHF

public static final Currency CHF
Swiss Franc


TWD

public static final Currency TWD
Taiwan New Dollar


THB

public static final Currency THB
Thai Baht


USD

public static final Currency USD
U.S. Dollar

Method Detail

values

public static Currency[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Currency c : Currency.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Currency valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null