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