com.google.checkout.checkout
Class RoundingMode

java.lang.Object
  extended by com.google.checkout.checkout.RoundingMode

public class RoundingMode
extends java.lang.Object

This class represents the <rounding-policy> <mode> in the Checkout API.

Author:
simonjsmith

Field Summary
static RoundingMode CEILING
          An instance of the RoundingMode class with mode: CEILING.
static RoundingMode DOWN
          An instance of the RoundingMode class with mode: DOWN.
static RoundingMode FLOOR
          An instance of the RoundingMode class with mode: FLOOR.
static RoundingMode HALF_DOWN
          An instance of the RoundingMode class with mode: HALF_DOWN.
static RoundingMode HALF_EVEN
          An instance of the RoundingMode class with mode: HALF_EVEN.
static RoundingMode HALF_UP
          An instance of the RoundingMode class with mode: HALF_UP.
static RoundingMode UNNECESSARY
          An instance of the RoundingMode class with mode: UNNECESSARY.
static RoundingMode UP
          An instance of the RoundingMode class with mode: UP.
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CEILING

public static final RoundingMode CEILING
An instance of the RoundingMode class with mode: CEILING.


DOWN

public static final RoundingMode DOWN
An instance of the RoundingMode class with mode: DOWN.


FLOOR

public static final RoundingMode FLOOR
An instance of the RoundingMode class with mode: FLOOR.


HALF_DOWN

public static final RoundingMode HALF_DOWN
An instance of the RoundingMode class with mode: HALF_DOWN.


HALF_EVEN

public static final RoundingMode HALF_EVEN
An instance of the RoundingMode class with mode: HALF_EVEN.


HALF_UP

public static final RoundingMode HALF_UP
An instance of the RoundingMode class with mode: HALF_UP.


UNNECESSARY

public static final RoundingMode UNNECESSARY
An instance of the RoundingMode class with mode: UNNECESSARY.


UP

public static final RoundingMode UP
An instance of the RoundingMode class with mode: UP.

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object