@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExpenseCurrency extends Object implements Serializable, Cloneable, StructuredPojo
Returns the kind of currency detected.
Constructor and Description |
---|
ExpenseCurrency() |
Modifier and Type | Method and Description |
---|---|
ExpenseCurrency |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
Currency code for detected currency.
|
Float |
getConfidence()
Percentage confideence in the detected currency.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCode(String code)
Currency code for detected currency.
|
void |
setConfidence(Float confidence)
Percentage confideence in the detected currency.
|
String |
toString()
Returns a string representation of this object.
|
ExpenseCurrency |
withCode(String code)
Currency code for detected currency.
|
ExpenseCurrency |
withConfidence(Float confidence)
Percentage confideence in the detected currency.
|
public void setCode(String code)
Currency code for detected currency. the current supported codes are:
USD
EUR
GBP
CAD
INR
JPY
CHF
AUD
CNY
BZR
SEK
HKD
code
- Currency code for detected currency. the current supported codes are:
USD
EUR
GBP
CAD
INR
JPY
CHF
AUD
CNY
BZR
SEK
HKD
public String getCode()
Currency code for detected currency. the current supported codes are:
USD
EUR
GBP
CAD
INR
JPY
CHF
AUD
CNY
BZR
SEK
HKD
USD
EUR
GBP
CAD
INR
JPY
CHF
AUD
CNY
BZR
SEK
HKD
public ExpenseCurrency withCode(String code)
Currency code for detected currency. the current supported codes are:
USD
EUR
GBP
CAD
INR
JPY
CHF
AUD
CNY
BZR
SEK
HKD
code
- Currency code for detected currency. the current supported codes are:
USD
EUR
GBP
CAD
INR
JPY
CHF
AUD
CNY
BZR
SEK
HKD
public void setConfidence(Float confidence)
Percentage confideence in the detected currency.
confidence
- Percentage confideence in the detected currency.public Float getConfidence()
Percentage confideence in the detected currency.
public ExpenseCurrency withConfidence(Float confidence)
Percentage confideence in the detected currency.
confidence
- Percentage confideence in the detected currency.public String toString()
toString
in class Object
Object.toString()
public ExpenseCurrency clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.