- java.lang.Object
-
- com.logicommerce.sdk.models.payment.PaymentAbstract
-
- com.logicommerce.sdk.models.payment.PaymentImpl
-
- All Implemented Interfaces:
Payment
public class PaymentImpl extends PaymentAbstract implements Payment
PaymentImpl class.
- Since:
- 1.0.16
- Author:
- Logicommerce
-
-
Constructor Summary
Constructors Constructor Description PaymentImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getRedirectUri()
getRedirectUri.PaymentStatusType
getStatus()
Get payment response type.
OK: for validate new order,
KO: for denied order.PaymentType
getType()
getType.void
setRedirectUri(String redirectUri)
Setter for the fieldredirectUri
.void
setStatus(PaymentStatusType status)
Setter for the fieldstatus
.void
setType(PaymentType type)
Setter for the fieldtype
.-
Methods inherited from class com.logicommerce.sdk.models.payment.PaymentAbstract
getData, getMessage, getTransactionId, setData, setMessage, setTransactionId
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.logicommerce.sdk.models.payment.Payment
getData, getMessage, getTransactionId
-
-
-
-
Method Detail
-
getType
public PaymentType getType()
getType.
- Specified by:
getType
in interfacePayment
- Returns:
- a
PaymentType
object
-
setType
public void setType(PaymentType type)
Setter for the field
type
.- Parameters:
type
- aPaymentType
object
-
getRedirectUri
public String getRedirectUri()
getRedirectUri.
- Specified by:
getRedirectUri
in interfacePayment
- Returns:
- a
String
object
-
setRedirectUri
public void setRedirectUri(String redirectUri)
Setter for the field
redirectUri
.- Parameters:
redirectUri
- aString
object
-
getStatus
public PaymentStatusType getStatus()
Get payment response type.
OK: for validate new order,
KO: for denied order.
- Specified by:
getStatus
in interfacePayment
- Returns:
- a
PaymentStatusType
object
-
setStatus
public void setStatus(PaymentStatusType status)
Setter for the field
status
.- Parameters:
status
- aPaymentStatusType
object- Since:
- 1.1.0
-
-