Class PaymentModel
- java.lang.Object
-
- ru.easydonate.easydonate4j.api.v3.data.model.jackson.shop.payment.PaymentModel
-
-
Constructor Summary
Constructors Constructor Description PaymentModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
@NotNull DeliveryModeType
getDeliveryType()
@NotNull Optional<String>
getEmail()
@NotNull Optional<String>
getErrorMessage()
@NotNull PaymentSystem
getPaymentSystem()
@NotNull PaymentType
getPaymentType()
@NotNull OptionalInt
getRating()
@NotNull Optional<String>
getRedirectUrl()
@NotNull PaymentStatus
getStatus()
int
hashCode()
@NotNull String
toString()
boolean
wasSent()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ru.easydonate.easydonate4j.api.v3.data.model.shop.payment.Payment
getCreatedAt, getCustomer, getDeliveryTypeRaw, getEnrolledAmount, getHandleAttempts, getId, getPaymentSystemRaw, getPaymentTypeRaw, getProducts, getPurchaseCost, getSentCommands, getServer, getServerId, getServiceComission, getShopId, getStatusRaw, getUpdatedAt
-
-
-
-
Method Detail
-
getStatus
@NotNull public @NotNull PaymentStatus getStatus()
-
getPaymentSystem
@NotNull public @NotNull PaymentSystem getPaymentSystem()
- Specified by:
getPaymentSystem
in interfacePayment
-
getPaymentType
@NotNull public @NotNull PaymentType getPaymentType()
- Specified by:
getPaymentType
in interfacePayment
-
getDeliveryType
@NotNull public @NotNull DeliveryModeType getDeliveryType()
- Specified by:
getDeliveryType
in interfacePayment
-
getRedirectUrl
@NotNull public @NotNull Optional<String> getRedirectUrl()
- Specified by:
getRedirectUrl
in interfacePayment
-
getRating
@NotNull public @NotNull OptionalInt getRating()
-
getErrorMessage
@NotNull public @NotNull Optional<String> getErrorMessage()
- Specified by:
getErrorMessage
in interfacePayment
-
-