Class ApiReversalResponse
java.lang.Object
com.worldline.acquiring.sdk.java.v1.domain.ApiActionResponse
com.worldline.acquiring.sdk.java.v1.domain.ApiReversalResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAmount for the operation.voidAmount for the operation.Additional response datawithOperationId(String value) A globally unique identifier of the operation, generated by you.
We advise you to submit a UUID or an identifier composed of an arbitrary string and a UUID/URL-safe Base64 UUID (RFC 4648 §5).
It's used to detect duplicate requests or to reference an operation in technical reversals.A summary of the payment used for responseswithResponder(String value) The party that originated the response Possible values are: WORLDLINE ISSUER SCHEME PARTNERwithResponseCode(String value) Numeric response code, e.g.withResponseCodeCategory(String value) Category of response code.
Possible values are: APPROVED PARTIALLY_APPROVED DECLINEDDescription of the response codeAmount for the operation.Methods inherited from class com.worldline.acquiring.sdk.java.v1.domain.ApiActionResponse
getAdditionalResponseData, getOperationId, getPayment, getResponder, getResponseCode, getResponseCodeCategory, getResponseCodeDescription, setAdditionalResponseData, setOperationId, setPayment, setResponder, setResponseCode, setResponseCodeCategory, setResponseCodeDescription
-
Constructor Details
-
ApiReversalResponse
public ApiReversalResponse()
-
-
Method Details
-
getTotalAuthorizedAmount
Amount for the operation. -
setTotalAuthorizedAmount
Amount for the operation. -
withTotalAuthorizedAmount
Amount for the operation. -
withAdditionalResponseData
Additional response data- Overrides:
withAdditionalResponseDatain classApiActionResponse
-
withOperationId
A globally unique identifier of the operation, generated by you.
We advise you to submit a UUID or an identifier composed of an arbitrary string and a UUID/URL-safe Base64 UUID (RFC 4648 §5).
It's used to detect duplicate requests or to reference an operation in technical reversals.- Overrides:
withOperationIdin classApiActionResponse
-
withPayment
A summary of the payment used for responses- Overrides:
withPaymentin classApiActionResponse
-
withResponder
The party that originated the response Possible values are:- WORLDLINE
- ISSUER
- SCHEME
- PARTNER
- Overrides:
withResponderin classApiActionResponse
-
withResponseCode
Numeric response code, e.g. 0, 5- Overrides:
withResponseCodein classApiActionResponse
-
withResponseCodeCategory
Category of response code.
Possible values are:- APPROVED
- PARTIALLY_APPROVED
- DECLINED
- Overrides:
withResponseCodeCategoryin classApiActionResponse
-
withResponseCodeDescription
Description of the response code- Overrides:
withResponseCodeDescriptionin classApiActionResponse
-