Package com.onslip360
Class API.ExternalRecord
- java.lang.Object
-
- com.onslip360.Onslip360Object<API.ExternalRecord>
-
- com.onslip360.API.ExternalRecord
-
- All Implemented Interfaces:
Cloneable
,Comparable<Onslip360Object<API.ExternalRecord>>
- Enclosing class:
- API
public static class API.ExternalRecord extends Onslip360Object<API.ExternalRecord>
-
-
Constructor Summary
Constructors Constructor Description ExternalRecord(String date, API.Record.Type type)
-
Method Summary
-
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
-
ExternalRecord
public ExternalRecord(String date, API.Record.Type type)
-
-
Method Detail
-
batch
@Nonnull public Optional<API.ExternalBatch> batch()
-
date
@Nonnull public String date()
-
receipt
@Nonnull public Optional<API.ExternalReceipt> receipt()
-
report
@Nonnull public Optional<API.ExternalReport> report()
-
type
@Nonnull public API.Record.Type type()
-
batch
@Nonnull public API.ExternalRecord batch(@Nullable API.ExternalBatch batch)
-
cashier
@Nonnull public API.ExternalRecord cashier(@Nullable Long cashier)
-
cashierName
@Nonnull public API.ExternalRecord cashierName(@Nullable String cashierName)
-
clientName
@Nonnull public API.ExternalRecord clientName(@Nullable String clientName)
-
controlCode
@Nonnull public API.ExternalRecord controlCode(@Nullable String controlCode)
-
controlUnitId
@Nonnull public API.ExternalRecord controlUnitId(@Nullable String controlUnitId)
-
date
@Nonnull public API.ExternalRecord date(String date)
-
description
@Nonnull public API.ExternalRecord description(@Nullable String description)
-
labels
@Nonnull public API.ExternalRecord labels(@Nullable Long[] labels)
-
receipt
@Nonnull public API.ExternalRecord receipt(@Nullable API.ExternalReceipt receipt)
-
recipientUri
@Nonnull public API.ExternalRecord recipientUri(@Nullable String recipientUri)
-
report
@Nonnull public API.ExternalRecord report(@Nullable API.ExternalReport report)
-
timezoneOffset
@Nonnull public API.ExternalRecord timezoneOffset(@Nullable Integer timezoneOffset)
-
type
@Nonnull public API.ExternalRecord type(API.Record.Type type)
-
-