Package com.onslip360
Class API.CardTransaction
- java.lang.Object
-
- com.onslip360.Onslip360Object<API.CardTransaction>
-
- com.onslip360.API.CardTransaction
-
- All Implemented Interfaces:
Cloneable
,Comparable<Onslip360Object<API.CardTransaction>>
- Enclosing class:
- API
public static class API.CardTransaction extends Onslip360Object<API.CardTransaction>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
API.CardTransaction.Type
-
Constructor Summary
Constructors Constructor Description CardTransaction(String id, API.CardTransaction.Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<API.CardBatchSummaryMetadata>
cardBatchSummary()
API.CardTransaction
cardBatchSummary(API.CardBatchSummaryMetadata cardBatchSummary)
Optional<API.CardReceiptMetadata>
cardReceipt()
API.CardTransaction
cardReceipt(API.CardReceiptMetadata cardReceipt)
String
id()
API.CardTransaction
id(String id)
API.CardTransaction.Type
type()
API.CardTransaction
type(API.CardTransaction.Type type)
-
Methods inherited from class com.onslip360.Onslip360Object
clone, compareTo, equals, fromJson, fromJson, fromJsonArray, fromJsonArray, fromList, fromMap, fromObject, getExtended, hashCode, setExtended, setExtended, toJson, toJson, toJson, toJson, toList, toMap, toString
-
-
-
-
Constructor Detail
-
CardTransaction
public CardTransaction(String id, API.CardTransaction.Type type)
-
-
Method Detail
-
cardBatchSummary
@Nonnull public Optional<API.CardBatchSummaryMetadata> cardBatchSummary()
-
cardReceipt
@Nonnull public Optional<API.CardReceiptMetadata> cardReceipt()
-
id
@Nonnull public String id()
-
type
@Nonnull public API.CardTransaction.Type type()
-
cardBatchSummary
@Nonnull public API.CardTransaction cardBatchSummary(@Nullable API.CardBatchSummaryMetadata cardBatchSummary)
-
cardReceipt
@Nonnull public API.CardTransaction cardReceipt(@Nullable API.CardReceiptMetadata cardReceipt)
-
id
@Nonnull public API.CardTransaction id(String id)
-
type
@Nonnull public API.CardTransaction type(API.CardTransaction.Type type)
-
-