Package com.onslip360
Class API.SwishTransaction
- java.lang.Object
-
- com.onslip360.Onslip360Object<API.SwishTransaction>
-
- com.onslip360.API.SwishTransaction
-
- All Implemented Interfaces:
Cloneable
,Comparable<Onslip360Object<API.SwishTransaction>>
- Enclosing class:
- API
public static class API.SwishTransaction extends Onslip360Object<API.SwishTransaction>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
API.SwishTransaction.Status
static class
API.SwishTransaction.Type
-
Constructor Summary
Constructors Constructor Description SwishTransaction(Double amount, String currency, Long paymentMethod)
-
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
-
-
-
-
Method Detail
-
amount
@Nonnull public Double amount()
-
currency
@Nonnull public String currency()
-
errors
@Nonnull public Optional<API.SwishError[]> errors()
-
paymentMethod
@Nonnull public Long paymentMethod()
-
status
@Nonnull public Optional<API.SwishTransaction.Status> status()
-
type
@Nonnull public Optional<API.SwishTransaction.Type> type()
-
amount
@Nonnull public API.SwishTransaction amount(Double amount)
-
created
@Nonnull public API.SwishTransaction created(@Nullable String created)
-
createdDate
@Nonnull public API.SwishTransaction createdDate(@Nullable String createdDate)
-
currency
@Nonnull public API.SwishTransaction currency(String currency)
-
customer
@Nonnull public API.SwishTransaction customer(@Nullable String customer)
-
deleted
@Nonnull public API.SwishTransaction deleted(@Nullable String deleted)
-
errors
@Nonnull public API.SwishTransaction errors(@Nullable API.SwishError[] errors)
-
id
@Nonnull public API.SwishTransaction id(@Nullable Long id)
-
labels
@Nonnull public API.SwishTransaction labels(@Nullable Long[] labels)
-
merchant
@Nonnull public API.SwishTransaction merchant(@Nullable String merchant)
-
message
@Nonnull public API.SwishTransaction message(@Nullable String message)
-
originalPaymentReference
@Nonnull public API.SwishTransaction originalPaymentReference(@Nullable String originalPaymentReference)
-
paidDate
@Nonnull public API.SwishTransaction paidDate(@Nullable String paidDate)
-
payerPaymentReference
@Nonnull public API.SwishTransaction payerPaymentReference(@Nullable String payerPaymentReference)
-
paymentMethod
@Nonnull public API.SwishTransaction paymentMethod(Long paymentMethod)
-
paymentReference
@Nonnull public API.SwishTransaction paymentReference(@Nullable String paymentReference)
-
paymentReferenceUrl
@Nonnull public API.SwishTransaction paymentReferenceUrl(@Nullable String paymentReferenceUrl)
-
paymentRequestToken
@Nonnull public API.SwishTransaction paymentRequestToken(@Nullable String paymentRequestToken)
-
status
@Nonnull public API.SwishTransaction status(@Nullable API.SwishTransaction.Status status)
-
tags
@Nonnull public API.SwishTransaction tags(@Nullable String[] tags)
-
type
@Nonnull public API.SwishTransaction type(@Nullable API.SwishTransaction.Type type)
-
updated
@Nonnull public API.SwishTransaction updated(@Nullable String updated)
-
updatedBy
@Nonnull public API.SwishTransaction updatedBy(@Nullable Long updatedBy)
-
updatedFrom
@Nonnull public API.SwishTransaction updatedFrom(@Nullable Long updatedFrom)
-
-