Package com.onslip360
Class API.Batch
- java.lang.Object
-
- com.onslip360.Onslip360Object<API.Batch>
-
- com.onslip360.API.Batch
-
- All Implemented Interfaces:
Cloneable
,Comparable<Onslip360Object<API.Batch>>
- Enclosing class:
- API
public static class API.Batch extends Onslip360Object<API.Batch>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
API.Batch.Type
-
Constructor Summary
Constructors Constructor Description Batch(API.Batch.Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<API.Payment[]>
amounts()
API.Batch
amounts(API.Payment[] amounts)
Optional<Double>
cashAmount()
API.Batch
cashAmount(Double cashAmount)
Optional<API.Payment[]>
mismatches()
API.Batch
mismatches(API.Payment[] mismatches)
API.Batch.Type
type()
API.Batch
type(API.Batch.Type type)
Optional<API.VATSummary[]>
vatSummaries()
API.Batch
vatSummaries(API.VATSummary[] vatSummaries)
-
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
-
Batch
public Batch(API.Batch.Type type)
-
-
Method Detail
-
amounts
@Nonnull public Optional<API.Payment[]> amounts()
-
mismatches
@Nonnull public Optional<API.Payment[]> mismatches()
-
type
@Nonnull public API.Batch.Type type()
-
vatSummaries
@Nonnull public Optional<API.VATSummary[]> vatSummaries()
-
amounts
@Nonnull public API.Batch amounts(@Nullable API.Payment[] amounts)
-
mismatches
@Nonnull public API.Batch mismatches(@Nullable API.Payment[] mismatches)
-
type
@Nonnull public API.Batch type(API.Batch.Type type)
-
vatSummaries
@Nonnull public API.Batch vatSummaries(@Nullable API.VATSummary[] vatSummaries)
-
-