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