Package io.moov.sdk.models.components
Class IssuedCardAuthorizationEvent
- java.lang.Object
-
- io.moov.sdk.models.components.IssuedCardAuthorizationEvent
-
public class IssuedCardAuthorizationEvent extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIssuedCardAuthorizationEvent.Builder
-
Constructor Summary
Constructors Constructor Description IssuedCardAuthorizationEvent(java.lang.String eventID, IssuedCardEventType eventType, java.lang.String amount, IssuedCardAuthorizationEventResult result, java.time.OffsetDateTime createdOn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringamount()A decimal-formatted numerical string that represents up to 2 decimal place precision.static IssuedCardAuthorizationEvent.Builderbuilder()java.time.OffsetDateTimecreatedOn()booleanequals(java.lang.Object o)java.lang.StringeventID()The identifier for this event.IssuedCardEventTypeeventType()The type of event that occurred on the card.inthashCode()IssuedCardAuthorizationEventResultresult()The result of an event.java.lang.StringtoString()IssuedCardAuthorizationEventwithAmount(java.lang.String amount)A decimal-formatted numerical string that represents up to 2 decimal place precision.IssuedCardAuthorizationEventwithCreatedOn(java.time.OffsetDateTime createdOn)IssuedCardAuthorizationEventwithEventID(java.lang.String eventID)The identifier for this event.IssuedCardAuthorizationEventwithEventType(IssuedCardEventType eventType)The type of event that occurred on the card.IssuedCardAuthorizationEventwithResult(IssuedCardAuthorizationEventResult result)The result of an event.
-
-
-
Constructor Detail
-
IssuedCardAuthorizationEvent
public IssuedCardAuthorizationEvent(java.lang.String eventID, IssuedCardEventType eventType, java.lang.String amount, IssuedCardAuthorizationEventResult result, java.time.OffsetDateTime createdOn)
-
-
Method Detail
-
eventID
public java.lang.String eventID()
The identifier for this event. Use the `eventType` field to determine what resource is identified by this ID (`authorization`, `reversal`, etc.).
-
eventType
public IssuedCardEventType eventType()
The type of event that occurred on the card.
-
amount
public java.lang.String amount()
A decimal-formatted numerical string that represents up to 2 decimal place precision. In USD for example, 12.34 is $12.34 and 0.99 is $0.99.
-
result
public IssuedCardAuthorizationEventResult result()
The result of an event.
-
createdOn
public java.time.OffsetDateTime createdOn()
-
builder
public static final IssuedCardAuthorizationEvent.Builder builder()
-
withEventID
public IssuedCardAuthorizationEvent withEventID(java.lang.String eventID)
The identifier for this event. Use the `eventType` field to determine what resource is identified by this ID (`authorization`, `reversal`, etc.).
-
withEventType
public IssuedCardAuthorizationEvent withEventType(IssuedCardEventType eventType)
The type of event that occurred on the card.
-
withAmount
public IssuedCardAuthorizationEvent withAmount(java.lang.String amount)
A decimal-formatted numerical string that represents up to 2 decimal place precision. In USD for example, 12.34 is $12.34 and 0.99 is $0.99.
-
withResult
public IssuedCardAuthorizationEvent withResult(IssuedCardAuthorizationEventResult result)
The result of an event.
-
withCreatedOn
public IssuedCardAuthorizationEvent withCreatedOn(java.time.OffsetDateTime createdOn)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-