Package io.voucherify.client.model
Class OrderRedemptionsEntry
java.lang.Object
io.voucherify.client.model.OrderRedemptionsEntry
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class OrderRedemptionsEntry
extends Object
OrderRedemptionsEntry
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRollbackStackedItem(String rollbackStackedItem) addStackedItem(String stackedItem) date(OffsetDateTime date) booleanstatic OrderRedemptionsEntryCreate an instance of OrderRedemptionsEntry given an JSON stringgetDate()Timestamp representing the date and time when the redemption was created.Unique ID of the parent redemption.Represent's the campaign ID of the voucher if the redemption was based on a voucher that was part of bulk codes generated within a campaign.The source of the incentive.Timestamp representing the date and tiem when the redemption rollback was created.Unique ID of the redemption rollback.Lists the rollback redemption IDs of the particular child redemptions.Contains a list of unique IDs of child redemptions, which belong to the stacked incentives.inthashCode()relatedObjectId(String relatedObjectId) relatedObjectParentId(String relatedObjectParentId) relatedObjectType(String relatedObjectType) rollbackDate(OffsetDateTime rollbackDate) rollbackId(String rollbackId) rollbackStacked(List<String> rollbackStacked) voidsetDate(OffsetDateTime date) voidsetRelatedObjectId(String relatedObjectId) voidsetRelatedObjectParentId(String relatedObjectParentId) voidsetRelatedObjectType(String relatedObjectType) voidsetRollbackDate(OffsetDateTime rollbackDate) voidsetRollbackId(String rollbackId) voidsetRollbackStacked(List<String> rollbackStacked) voidsetStacked(List<String> stacked) toJson()Convert an instance of OrderRedemptionsEntry to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_DATE
- See Also:
-
SERIALIZED_NAME_ROLLBACK_ID
- See Also:
-
SERIALIZED_NAME_ROLLBACK_DATE
- See Also:
-
SERIALIZED_NAME_RELATED_OBJECT_TYPE
- See Also:
-
SERIALIZED_NAME_RELATED_OBJECT_ID
- See Also:
-
SERIALIZED_NAME_RELATED_OBJECT_PARENT_ID
- See Also:
-
SERIALIZED_NAME_STACKED
- See Also:
-
SERIALIZED_NAME_ROLLBACK_STACKED
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
OrderRedemptionsEntry
public OrderRedemptionsEntry()
-
-
Method Details
-
date
-
getDate
Timestamp representing the date and time when the redemption was created. The value is shown in the ISO 8601 format.- Returns:
- date
-
setDate
-
rollbackId
-
getRollbackId
Unique ID of the redemption rollback.- Returns:
- rollbackId
-
setRollbackId
-
rollbackDate
-
getRollbackDate
Timestamp representing the date and tiem when the redemption rollback was created. The value is shown in the ISO 8601 format.- Returns:
- rollbackDate
-
setRollbackDate
-
getRelatedObjectType
The source of the incentive.- Returns:
- relatedObjectType
-
setRelatedObjectType
-
getRelatedObjectId
Unique ID of the parent redemption.- Returns:
- relatedObjectId
-
setRelatedObjectId
-
getRelatedObjectParentId
Represent's the campaign ID of the voucher if the redemption was based on a voucher that was part of bulk codes generated within a campaign. In case of a promotion tier, this represents the campaign ID of the promotion tier's parent campaign.- Returns:
- relatedObjectParentId
-
setRelatedObjectParentId
-
stacked
-
addStackedItem
-
getStacked
Contains a list of unique IDs of child redemptions, which belong to the stacked incentives.- Returns:
- stacked
-
setStacked
-
rollbackStacked
-
addRollbackStackedItem
-
getRollbackStacked
Lists the rollback redemption IDs of the particular child redemptions.- Returns:
- rollbackStacked
-
setRollbackStacked
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of OrderRedemptionsEntry given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of OrderRedemptionsEntry
- Throws:
IOException- if the JSON string is invalid with respect to OrderRedemptionsEntry
-
toJson
Convert an instance of OrderRedemptionsEntry to an JSON string- Returns:
- JSON string
-