Class CurrencyConversion
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.moneymanagement.CurrencyConversion
- All Implemented Interfaces:
HasId,StripeObjectInterface
The CurrencyConversion object. Contains details such as the amount debited and credited and the
FinancialAccount the CurrencyConversion was performed on.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe from block containing what was debited.static classThe to block containing what was credited. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe time the CurrencyConversion was created at.The exchange rate used when processing the CurrencyConversion.The FinancialAccount the CurrencyConversion was performed on.getFrom()The from block containing what was debited.getId()The id of the CurrencyConversion.If the CurrencyConversion was performed in livemode or not.String representing the object's type.getTo()The to block containing what was credited.inthashCode()voidsetCreated(Instant created) The time the CurrencyConversion was created at.voidsetExchangeRate(String exchangeRate) The exchange rate used when processing the CurrencyConversion.voidsetFinancialAccount(String financialAccount) The FinancialAccount the CurrencyConversion was performed on.voidThe from block containing what was debited.voidThe id of the CurrencyConversion.voidsetLivemode(Boolean livemode) If the CurrencyConversion was performed in livemode or not.voidString representing the object's type.voidThe to block containing what was credited.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
CurrencyConversion
public CurrencyConversion()
-
-
Method Details
-
getCreated
The time the CurrencyConversion was created at. -
getExchangeRate
The exchange rate used when processing the CurrencyConversion. -
getFinancialAccount
The FinancialAccount the CurrencyConversion was performed on. -
getFrom
The from block containing what was debited. -
getLivemode
If the CurrencyConversion was performed in livemode or not. -
getObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.money_management.currency_conversion. -
getTo
The to block containing what was credited. -
setCreated
The time the CurrencyConversion was created at. -
setExchangeRate
The exchange rate used when processing the CurrencyConversion. -
setFinancialAccount
The FinancialAccount the CurrencyConversion was performed on. -
setFrom
The from block containing what was debited. -
setId
The id of the CurrencyConversion. -
setLivemode
If the CurrencyConversion was performed in livemode or not. -
setObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.money_management.currency_conversion. -
setTo
The to block containing what was credited. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
The id of the CurrencyConversion.
-