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