Package com.onslip360
Class API.ERPCreateInvoiceRequest
- java.lang.Object
-
- com.onslip360.Onslip360Object<API.ERPCreateInvoiceRequest>
-
- com.onslip360.API.ERPCreateInvoiceRequest
-
- All Implemented Interfaces:
Cloneable,Comparable<Onslip360Object<API.ERPCreateInvoiceRequest>>
- Enclosing class:
- API
public static class API.ERPCreateInvoiceRequest extends Onslip360Object<API.ERPCreateInvoiceRequest>
-
-
Constructor Summary
Constructors Constructor Description ERPCreateInvoiceRequest(API.Customer customer, API.Item[] items, Double rounding, Double totalAmount, Double totalVatAmount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Long>client()API.ERPCreateInvoiceRequestclient(Long client)API.Customercustomer()API.ERPCreateInvoiceRequestcustomer(API.Customer customer)API.Item[]items()API.ERPCreateInvoiceRequestitems(API.Item[] items)Optional<Long>location()API.ERPCreateInvoiceRequestlocation(Long location)Optional<String>originalInvoiceId()API.ERPCreateInvoiceRequestoriginalInvoiceId(String originalInvoiceId)Optional<String>ourReference()API.ERPCreateInvoiceRequestourReference(String ourReference)Optional<String>reference()API.ERPCreateInvoiceRequestreference(String reference)Doublerounding()API.ERPCreateInvoiceRequestrounding(Double rounding)DoubletotalAmount()API.ERPCreateInvoiceRequesttotalAmount(Double totalAmount)DoubletotalVatAmount()API.ERPCreateInvoiceRequesttotalVatAmount(Double totalVatAmount)-
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
-
ERPCreateInvoiceRequest
public ERPCreateInvoiceRequest(API.Customer customer, API.Item[] items, Double rounding, Double totalAmount, Double totalVatAmount)
-
-
Method Detail
-
customer
@Nonnull public API.Customer customer()
-
items
@Nonnull public API.Item[] items()
-
rounding
@Nonnull public Double rounding()
-
totalAmount
@Nonnull public Double totalAmount()
-
totalVatAmount
@Nonnull public Double totalVatAmount()
-
client
@Nonnull public API.ERPCreateInvoiceRequest client(@Nullable Long client)
-
customer
@Nonnull public API.ERPCreateInvoiceRequest customer(API.Customer customer)
-
items
@Nonnull public API.ERPCreateInvoiceRequest items(API.Item[] items)
-
location
@Nonnull public API.ERPCreateInvoiceRequest location(@Nullable Long location)
-
originalInvoiceId
@Nonnull public API.ERPCreateInvoiceRequest originalInvoiceId(@Nullable String originalInvoiceId)
-
ourReference
@Nonnull public API.ERPCreateInvoiceRequest ourReference(@Nullable String ourReference)
-
reference
@Nonnull public API.ERPCreateInvoiceRequest reference(@Nullable String reference)
-
rounding
@Nonnull public API.ERPCreateInvoiceRequest rounding(Double rounding)
-
totalAmount
@Nonnull public API.ERPCreateInvoiceRequest totalAmount(Double totalAmount)
-
totalVatAmount
@Nonnull public API.ERPCreateInvoiceRequest totalVatAmount(Double totalVatAmount)
-
-