Package com.onslip360
Class API.CouponVoucherMetadata
- java.lang.Object
-
- com.onslip360.Onslip360Object<API.CouponVoucherMetadata>
-
- com.onslip360.API.CouponVoucherMetadata
-
- All Implemented Interfaces:
Cloneable
,Comparable<Onslip360Object<API.CouponVoucherMetadata>>
- Enclosing class:
- API
public static class API.CouponVoucherMetadata extends Onslip360Object<API.CouponVoucherMetadata>
-
-
Constructor Summary
Constructors Constructor Description CouponVoucherMetadata(String transactionDate, String transactionId, Long voucher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Double>
balance()
API.CouponVoucherMetadata
balance(Double balance)
Optional<Double>
couponValue()
API.CouponVoucherMetadata
couponValue(Double couponValue)
Optional<String>
expires()
API.CouponVoucherMetadata
expires(String expires)
Optional<String[]>
identifiers()
API.CouponVoucherMetadata
identifiers(String[] identifiers)
Optional<Float>
quantity()
API.CouponVoucherMetadata
quantity(Float quantity)
String
transactionDate()
API.CouponVoucherMetadata
transactionDate(String transactionDate)
String
transactionId()
API.CouponVoucherMetadata
transactionId(String transactionId)
Long
voucher()
API.CouponVoucherMetadata
voucher(Long voucher)
-
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
-
-
-
-
Method Detail
-
transactionDate
@Nonnull public String transactionDate()
-
transactionId
@Nonnull public String transactionId()
-
voucher
@Nonnull public Long voucher()
-
balance
@Nonnull public API.CouponVoucherMetadata balance(@Nullable Double balance)
-
couponValue
@Nonnull public API.CouponVoucherMetadata couponValue(@Nullable Double couponValue)
-
expires
@Nonnull public API.CouponVoucherMetadata expires(@Nullable String expires)
-
identifiers
@Nonnull public API.CouponVoucherMetadata identifiers(@Nullable String[] identifiers)
-
quantity
@Nonnull public API.CouponVoucherMetadata quantity(@Nullable Float quantity)
-
transactionDate
@Nonnull public API.CouponVoucherMetadata transactionDate(String transactionDate)
-
transactionId
@Nonnull public API.CouponVoucherMetadata transactionId(String transactionId)
-
voucher
@Nonnull public API.CouponVoucherMetadata voucher(Long voucher)
-
-