Package com.onslip360
Class API.Stored_Voucher
- java.lang.Object
-
- com.onslip360.Onslip360Object<API.Stored_Voucher>
-
- com.onslip360.API.Stored_Voucher
-
- All Implemented Interfaces:
Cloneable
,Comparable<Onslip360Object<API.Stored_Voucher>>
- Enclosing class:
- API
public static class API.Stored_Voucher extends Onslip360Object<API.Stored_Voucher>
-
-
Constructor Summary
Constructors Constructor Description Stored_Voucher(String created, Long id, String[] identifiers, API.Voucher.Type type, String updated)
-
Method Summary
-
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
-
Stored_Voucher
public Stored_Voucher(String created, Long id, String[] identifiers, API.Voucher.Type type, String updated)
-
-
Method Detail
-
coupon
@Nonnull public Optional<API.CouponVoucher> coupon()
-
created
@Nonnull public String created()
-
id
@Nonnull public Long id()
-
identifiers
@Nonnull public String[] identifiers()
-
payment
@Nonnull public Optional<API.PaymentVoucher> payment()
-
type
@Nonnull public API.Voucher.Type type()
-
updated
@Nonnull public String updated()
-
coupon
@Nonnull public API.Stored_Voucher coupon(@Nullable API.CouponVoucher coupon)
-
created
@Nonnull public API.Stored_Voucher created(String created)
-
customer
@Nonnull public API.Stored_Voucher customer(@Nullable Long customer)
-
deleted
@Nonnull public API.Stored_Voucher deleted(@Nullable String deleted)
-
expires
@Nonnull public API.Stored_Voucher expires(@Nullable String expires)
-
id
@Nonnull public API.Stored_Voucher id(Long id)
-
identifiers
@Nonnull public API.Stored_Voucher identifiers(String[] identifiers)
-
labels
@Nonnull public API.Stored_Voucher labels(@Nullable Long[] labels)
-
payment
@Nonnull public API.Stored_Voucher payment(@Nullable API.PaymentVoucher payment)
-
tags
@Nonnull public API.Stored_Voucher tags(@Nullable String[] tags)
-
type
@Nonnull public API.Stored_Voucher type(API.Voucher.Type type)
-
updated
@Nonnull public API.Stored_Voucher updated(String updated)
-
updatedBy
@Nonnull public API.Stored_Voucher updatedBy(@Nullable Long updatedBy)
-
updatedFrom
@Nonnull public API.Stored_Voucher updatedFrom(@Nullable Long updatedFrom)
-
-