public class Charge extends TransactionAwareEntity
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
createdOn |
protected FailureReason |
failureReason |
protected String |
language |
protected OffsetDateTime |
plannedPurgeDate |
protected Long |
spaceViewId |
protected ChargeState |
state |
protected OffsetDateTime |
timeoutOn |
protected String |
timeZone |
protected Transaction |
transaction |
protected ChargeType |
type |
protected String |
userFailureMessage |
protected Integer |
version |
id, linkedSpaceId, linkedTransaction| Constructor and Description |
|---|
Charge() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
OffsetDateTime |
getCreatedOn()
The date on which the charge was created on.
|
FailureReason |
getFailureReason() |
String |
getLanguage()
The language that is linked to the object.
|
OffsetDateTime |
getPlannedPurgeDate()
The date and time when the object is planned to be permanently removed.
|
Long |
getSpaceViewId() |
ChargeState |
getState()
The object's current state.
|
OffsetDateTime |
getTimeoutOn() |
String |
getTimeZone() |
Transaction |
getTransaction() |
ChargeType |
getType() |
String |
getUserFailureMessage()
The failure message describes for an end user why the charge is failed in the language of the user.
|
Integer |
getVersion()
The version is used for optimistic locking and incremented whenever the object is updated.
|
int |
hashCode() |
String |
toString() |
getId, getLinkedSpaceId, getLinkedTransactionprotected OffsetDateTime createdOn
protected FailureReason failureReason
protected String language
protected OffsetDateTime plannedPurgeDate
protected Long spaceViewId
protected ChargeState state
protected String timeZone
protected OffsetDateTime timeoutOn
protected Transaction transaction
protected ChargeType type
protected String userFailureMessage
protected Integer version
public OffsetDateTime getCreatedOn()
public FailureReason getFailureReason()
public String getLanguage()
public OffsetDateTime getPlannedPurgeDate()
public Long getSpaceViewId()
public ChargeState getState()
public String getTimeZone()
public OffsetDateTime getTimeoutOn()
public Transaction getTransaction()
public ChargeType getType()
public String getUserFailureMessage()
public Integer getVersion()
public boolean equals(Object o)
equals in class TransactionAwareEntitypublic int hashCode()
hashCode in class TransactionAwareEntitypublic String toString()
toString in class TransactionAwareEntityCopyright © 2023. All rights reserved.