Package com.onslip360
Class API.Metadata
- java.lang.Object
-
- com.onslip360.Onslip360Object<API.Metadata>
-
- com.onslip360.API.Metadata
-
- All Implemented Interfaces:
Cloneable
,Comparable<Onslip360Object<API.Metadata>>
- Enclosing class:
- API
public static class API.Metadata extends Onslip360Object<API.Metadata>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
API.Metadata.Type
-
Constructor Summary
Constructors Constructor Description Metadata(API.Metadata.Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<API.CardReceiptMetadata>
cardReceipt()
API.Metadata
cardReceipt(API.CardReceiptMetadata cardReceipt)
Optional<API.CouponVoucherMetadata>
couponVoucher()
API.Metadata
couponVoucher(API.CouponVoucherMetadata couponVoucher)
Optional<API.CurrencyMetadata>
currency()
API.Metadata
currency(API.CurrencyMetadata currency)
Optional<API.ERPInvoiceMetadata>
erpInvoice()
API.Metadata
erpInvoice(API.ERPInvoiceMetadata erpInvoice)
Optional<Long[]>
labels()
API.Metadata
labels(Long[] labels)
Optional<API.PaymentVoucherMetadata>
paymentVoucher()
API.Metadata
paymentVoucher(API.PaymentVoucherMetadata paymentVoucher)
Optional<API.PrePaidMetadata>
prePaid()
API.Metadata
prePaid(API.PrePaidMetadata prePaid)
Optional<API.SwishTransactionMetadata>
swishTransaction()
API.Metadata
swishTransaction(API.SwishTransactionMetadata swishTransaction)
API.Metadata.Type
type()
API.Metadata
type(API.Metadata.Type type)
-
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
-
Metadata
public Metadata(API.Metadata.Type type)
-
-
Method Detail
-
cardReceipt
@Nonnull public Optional<API.CardReceiptMetadata> cardReceipt()
-
couponVoucher
@Nonnull public Optional<API.CouponVoucherMetadata> couponVoucher()
-
currency
@Nonnull public Optional<API.CurrencyMetadata> currency()
-
erpInvoice
@Nonnull public Optional<API.ERPInvoiceMetadata> erpInvoice()
-
paymentVoucher
@Nonnull public Optional<API.PaymentVoucherMetadata> paymentVoucher()
-
prePaid
@Nonnull public Optional<API.PrePaidMetadata> prePaid()
-
swishTransaction
@Nonnull public Optional<API.SwishTransactionMetadata> swishTransaction()
-
type
@Nonnull public API.Metadata.Type type()
-
cardReceipt
@Nonnull public API.Metadata cardReceipt(@Nullable API.CardReceiptMetadata cardReceipt)
-
couponVoucher
@Nonnull public API.Metadata couponVoucher(@Nullable API.CouponVoucherMetadata couponVoucher)
-
currency
@Nonnull public API.Metadata currency(@Nullable API.CurrencyMetadata currency)
-
erpInvoice
@Nonnull public API.Metadata erpInvoice(@Nullable API.ERPInvoiceMetadata erpInvoice)
-
labels
@Nonnull public API.Metadata labels(@Nullable Long[] labels)
-
paymentVoucher
@Nonnull public API.Metadata paymentVoucher(@Nullable API.PaymentVoucherMetadata paymentVoucher)
-
prePaid
@Nonnull public API.Metadata prePaid(@Nullable API.PrePaidMetadata prePaid)
-
swishTransaction
@Nonnull public API.Metadata swishTransaction(@Nullable API.SwishTransactionMetadata swishTransaction)
-
type
@Nonnull public API.Metadata type(API.Metadata.Type type)
-
-