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.ERPCreateInvoiceRequest
client(Long client)
API.Customer
customer()
API.ERPCreateInvoiceRequest
customer(API.Customer customer)
API.Item[]
items()
API.ERPCreateInvoiceRequest
items(API.Item[] items)
Optional<Long>
location()
API.ERPCreateInvoiceRequest
location(Long location)
Optional<String>
originalInvoiceId()
API.ERPCreateInvoiceRequest
originalInvoiceId(String originalInvoiceId)
Optional<String>
ourReference()
API.ERPCreateInvoiceRequest
ourReference(String ourReference)
Optional<String>
reference()
API.ERPCreateInvoiceRequest
reference(String reference)
Double
rounding()
API.ERPCreateInvoiceRequest
rounding(Double rounding)
Double
totalAmount()
API.ERPCreateInvoiceRequest
totalAmount(Double totalAmount)
Double
totalVatAmount()
API.ERPCreateInvoiceRequest
totalVatAmount(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)
-
-