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 Doublechange()API.ExternalReceiptchange(Double change)Optional<API.Customer>customer()API.ExternalReceiptcustomer(API.Customer customer)API.Item[]items()API.ExternalReceiptitems(API.Item[] items)Optional<Long>order()API.ExternalReceiptorder(Long order)Optional<String>ourReference()API.ExternalReceiptourReference(String ourReference)API.Payment[]payments()API.ExternalReceiptpayments(API.Payment[] payments)Optional<String>reference()API.ExternalReceiptreference(String reference)Optional<Double>rounding()API.ExternalReceiptrounding(Double rounding)Optional<Long>tab()API.ExternalReceipttab(Long tab)API.Receipt.Typetype()API.ExternalReceipttype(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)
 
 - 
 
 -