Package com.onslip360
Class API.ExternalReceipt
- java.lang.Object
-
- com.onslip360.Onslip360Object<API.ExternalReceipt>
-
- com.onslip360.API.ExternalReceipt
-
- All Implemented Interfaces:
Cloneable
,Comparable<Onslip360Object<API.ExternalReceipt>>
- Enclosing class:
- API
public static class API.ExternalReceipt extends Onslip360Object<API.ExternalReceipt>
-
-
Constructor Summary
Constructors Constructor Description ExternalReceipt(Double change, API.Item[] items, API.Payment[] payments, API.Receipt.Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Double
change()
API.ExternalReceipt
change(Double change)
Optional<API.Customer>
customer()
API.ExternalReceipt
customer(API.Customer customer)
API.Item[]
items()
API.ExternalReceipt
items(API.Item[] items)
Optional<Long>
order()
API.ExternalReceipt
order(Long order)
Optional<String>
ourReference()
API.ExternalReceipt
ourReference(String ourReference)
API.Payment[]
payments()
API.ExternalReceipt
payments(API.Payment[] payments)
Optional<String>
reference()
API.ExternalReceipt
reference(String reference)
Optional<Double>
rounding()
API.ExternalReceipt
rounding(Double rounding)
Optional<Long>
tab()
API.ExternalReceipt
tab(Long tab)
API.Receipt.Type
type()
API.ExternalReceipt
type(API.Receipt.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
-
ExternalReceipt
public ExternalReceipt(Double change, API.Item[] items, API.Payment[] payments, API.Receipt.Type type)
-
-
Method Detail
-
change
@Nonnull public Double change()
-
customer
@Nonnull public Optional<API.Customer> customer()
-
items
@Nonnull public API.Item[] items()
-
payments
@Nonnull public API.Payment[] payments()
-
type
@Nonnull public API.Receipt.Type type()
-
change
@Nonnull public API.ExternalReceipt change(Double change)
-
customer
@Nonnull public API.ExternalReceipt customer(@Nullable API.Customer customer)
-
items
@Nonnull public API.ExternalReceipt items(API.Item[] items)
-
order
@Nonnull public API.ExternalReceipt order(@Nullable Long order)
-
ourReference
@Nonnull public API.ExternalReceipt ourReference(@Nullable String ourReference)
-
payments
@Nonnull public API.ExternalReceipt payments(API.Payment[] payments)
-
reference
@Nonnull public API.ExternalReceipt reference(@Nullable String reference)
-
rounding
@Nonnull public API.ExternalReceipt rounding(@Nullable Double rounding)
-
tab
@Nonnull public API.ExternalReceipt tab(@Nullable Long tab)
-
type
@Nonnull public API.ExternalReceipt type(API.Receipt.Type type)
-
-