Package io.voucherify.client.model
Class VoucherTransactionDetails
java.lang.Object
io.voucherify.client.model.VoucherTransactionDetails
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class VoucherTransactionDetails
extends Object
Contains the detailed information about the transaction.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbalance(VoucherTransactionDetailsBalance balance) customEvent(VoucherTransactionDetailsCustomEvent customEvent) destinationVoucher(SimpleVoucher destinationVoucher) earningRule(VoucherTransactionDetailsEarningRule earningRule) booleaneventSchema(VoucherTransactionDetailsEventSchema eventSchema) static VoucherTransactionDetailsCreate an instance of VoucherTransactionDetails given an JSON stringGet balanceGet customEventGet destinationVoucherGet earningRulegetEvent()Get eventGet eventSchemaGet loyaltyTiergetOrder()Get orderGet redemptionGet rewardGet rollbackGet segmentGet sourceVoucherinthashCode()loyaltyTier(VoucherTransactionDetailsLoyaltyTier loyaltyTier) redemption(VoucherTransactionDetailsRedemption redemption) rollback(VoucherTransactionDetailsRollback rollback) segment(VoucherTransactionDetailsSegment segment) voidvoidsetCustomEvent(VoucherTransactionDetailsCustomEvent customEvent) voidsetDestinationVoucher(SimpleVoucher destinationVoucher) voidsetEarningRule(VoucherTransactionDetailsEarningRule earningRule) voidvoidsetEventSchema(VoucherTransactionDetailsEventSchema eventSchema) voidsetLoyaltyTier(VoucherTransactionDetailsLoyaltyTier loyaltyTier) voidvoidsetRedemption(VoucherTransactionDetailsRedemption redemption) voidvoidsetRollback(VoucherTransactionDetailsRollback rollback) voidvoidsetSourceVoucher(SimpleVoucher sourceVoucher) sourceVoucher(SimpleVoucher sourceVoucher) toJson()Convert an instance of VoucherTransactionDetails to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_BALANCE
- See Also:
-
SERIALIZED_NAME_ORDER
- See Also:
-
SERIALIZED_NAME_EVENT
- See Also:
-
SERIALIZED_NAME_EARNING_RULE
- See Also:
-
SERIALIZED_NAME_SEGMENT
- See Also:
-
SERIALIZED_NAME_LOYALTY_TIER
- See Also:
-
SERIALIZED_NAME_REDEMPTION
- See Also:
-
SERIALIZED_NAME_ROLLBACK
- See Also:
-
SERIALIZED_NAME_CUSTOM_EVENT
- See Also:
-
SERIALIZED_NAME_EVENT_SCHEMA
- See Also:
-
SERIALIZED_NAME_REWARD
- See Also:
-
SERIALIZED_NAME_SOURCE_VOUCHER
- See Also:
-
SERIALIZED_NAME_DESTINATION_VOUCHER
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
VoucherTransactionDetails
public VoucherTransactionDetails()
-
-
Method Details
-
balance
-
getBalance
Get balance- Returns:
- balance
-
setBalance
-
order
-
getOrder
Get order- Returns:
- order
-
setOrder
-
event
-
getEvent
Get event- Returns:
- event
-
setEvent
-
earningRule
-
getEarningRule
Get earningRule- Returns:
- earningRule
-
setEarningRule
-
segment
-
getSegment
Get segment- Returns:
- segment
-
setSegment
-
loyaltyTier
-
getLoyaltyTier
Get loyaltyTier- Returns:
- loyaltyTier
-
setLoyaltyTier
-
redemption
-
getRedemption
Get redemption- Returns:
- redemption
-
setRedemption
-
rollback
-
getRollback
Get rollback- Returns:
- rollback
-
setRollback
-
customEvent
-
getCustomEvent
Get customEvent- Returns:
- customEvent
-
setCustomEvent
-
eventSchema
-
getEventSchema
Get eventSchema- Returns:
- eventSchema
-
setEventSchema
-
reward
-
getReward
Get reward- Returns:
- reward
-
setReward
-
sourceVoucher
-
getSourceVoucher
Get sourceVoucher- Returns:
- sourceVoucher
-
setSourceVoucher
-
destinationVoucher
-
getDestinationVoucher
Get destinationVoucher- Returns:
- destinationVoucher
-
setDestinationVoucher
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of VoucherTransactionDetails given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of VoucherTransactionDetails
- Throws:
IOException- if the JSON string is invalid with respect to VoucherTransactionDetails
-
toJson
Convert an instance of VoucherTransactionDetails to an JSON string- Returns:
- JSON string
-