Package com.maxmind.minfraud.request
Class Order
- java.lang.Object
-
- com.maxmind.minfraud.AbstractModel
-
- com.maxmind.minfraud.request.Order
-
public final class Order extends AbstractModel
The order information for the transaction.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOrder.BuilderBuildercreates instances ofOrderfrom values set by the builder's methods.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAffiliateId()BigDecimalgetAmount()StringgetCurrency()StringgetDiscountCode()URIgetReferrerUri()StringgetSubaffiliateId()BooleanhasGiftMessage()BooleanisGift()-
Methods inherited from class com.maxmind.minfraud.AbstractModel
toJson, toString
-
-
-
-
Method Detail
-
getAmount
public BigDecimal getAmount()
- Returns:
- The total order amount.
-
getCurrency
public String getCurrency()
- Returns:
- The currency code.
-
getDiscountCode
public String getDiscountCode()
- Returns:
- The discount codes.
-
getAffiliateId
public String getAffiliateId()
- Returns:
- The affiliate ID.
-
getSubaffiliateId
public String getSubaffiliateId()
- Returns:
- The sub-affiliate ID.
-
getReferrerUri
public URI getReferrerUri()
- Returns:
- The referrer URI.
-
hasGiftMessage
public Boolean hasGiftMessage()
- Returns:
- The order is a gift.
-
isGift
public Boolean isGift()
- Returns:
- The order is a gift.
-
-