Package com.onslip360
Class API.PaymentSaleSummary
- java.lang.Object
-
- com.onslip360.Onslip360Object<API.PaymentSaleSummary>
-
- com.onslip360.API.PaymentSaleSummary
-
- All Implemented Interfaces:
Cloneable
,Comparable<Onslip360Object<API.PaymentSaleSummary>>
- Enclosing class:
- API
public static class API.PaymentSaleSummary extends Onslip360Object<API.PaymentSaleSummary>
-
-
Constructor Summary
Constructors Constructor Description PaymentSaleSummary(Double amount, Integer count, API.PaymentMethod.Type method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Double
amount()
API.PaymentSaleSummary
amount(Double amount)
Integer
count()
API.PaymentSaleSummary
count(Integer count)
Optional<Double>
foreignAmount()
API.PaymentSaleSummary
foreignAmount(Double foreignAmount)
Optional<Double>
gratuity()
API.PaymentSaleSummary
gratuity(Double gratuity)
API.PaymentMethod.Type
method()
API.PaymentSaleSummary
method(API.PaymentMethod.Type method)
Optional<String>
name()
API.PaymentSaleSummary
name(String name)
Optional<Long>
paymentMethod()
API.PaymentSaleSummary
paymentMethod(Long paymentMethod)
Optional<Double>
vatAmount()
API.PaymentSaleSummary
vatAmount(Double vatAmount)
Optional<Float>
vatRate()
API.PaymentSaleSummary
vatRate(Float vatRate)
-
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
-
PaymentSaleSummary
public PaymentSaleSummary(Double amount, Integer count, API.PaymentMethod.Type method)
-
-
Method Detail
-
amount
@Nonnull public Double amount()
-
count
@Nonnull public Integer count()
-
method
@Nonnull public API.PaymentMethod.Type method()
-
amount
@Nonnull public API.PaymentSaleSummary amount(Double amount)
-
count
@Nonnull public API.PaymentSaleSummary count(Integer count)
-
foreignAmount
@Nonnull public API.PaymentSaleSummary foreignAmount(@Nullable Double foreignAmount)
-
gratuity
@Nonnull public API.PaymentSaleSummary gratuity(@Nullable Double gratuity)
-
method
@Nonnull public API.PaymentSaleSummary method(API.PaymentMethod.Type method)
-
name
@Nonnull public API.PaymentSaleSummary name(@Nullable String name)
-
paymentMethod
@Nonnull public API.PaymentSaleSummary paymentMethod(@Nullable Long paymentMethod)
-
vatAmount
@Nonnull public API.PaymentSaleSummary vatAmount(@Nullable Double vatAmount)
-
vatRate
@Nonnull public API.PaymentSaleSummary vatRate(@Nullable Float vatRate)
-
-