Package com.adyen.model.binlookup
Class CostEstimateResponse
- java.lang.Object
-
- com.adyen.model.binlookup.CostEstimateResponse
-
public class CostEstimateResponse extends Object
CostEstimateResponse
-
-
Constructor Summary
Constructors Constructor Description CostEstimateResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CostEstimateResponsecardBin(CardBin cardBin)CostEstimateResponsecostEstimateAmount(Amount costEstimateAmount)booleanequals(Object o)CardBingetCardBin()Get cardBinAmountgetCostEstimateAmount()Get costEstimateAmountStringgetResultCode()The result of the cost estimation.StringgetSurchargeType()Indicates the way the charges can be passed on to the cardholder.inthashCode()CostEstimateResponseresultCode(String resultCode)voidsetCardBin(CardBin cardBin)voidsetCostEstimateAmount(Amount costEstimateAmount)voidsetResultCode(String resultCode)voidsetSurchargeType(String surchargeType)CostEstimateResponsesurchargeType(String surchargeType)StringtoString()
-
-
-
Method Detail
-
cardBin
public CostEstimateResponse cardBin(CardBin cardBin)
-
getCardBin
public CardBin getCardBin()
Get cardBin- Returns:
- cardBin
-
setCardBin
public void setCardBin(CardBin cardBin)
-
costEstimateAmount
public CostEstimateResponse costEstimateAmount(Amount costEstimateAmount)
-
getCostEstimateAmount
public Amount getCostEstimateAmount()
Get costEstimateAmount- Returns:
- costEstimateAmount
-
setCostEstimateAmount
public void setCostEstimateAmount(Amount costEstimateAmount)
-
resultCode
public CostEstimateResponse resultCode(String resultCode)
-
getResultCode
public String getResultCode()
The result of the cost estimation.- Returns:
- resultCode
-
setResultCode
public void setResultCode(String resultCode)
-
surchargeType
public CostEstimateResponse surchargeType(String surchargeType)
-
getSurchargeType
public String getSurchargeType()
Indicates the way the charges can be passed on to the cardholder. The following values are possible: * `ZERO` - the charges are not allowed to pass on * `PASSTHROUGH` - the charges can be passed on * `UNLIMITED` - there is no limit on how much surcharge is passed on- Returns:
- surchargeType
-
setSurchargeType
public void setSurchargeType(String surchargeType)
-
-