Class ApiPaymentResponse
java.lang.Object
com.worldline.acquiring.sdk.java.v1.domain.ApiPaymentResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdditional response dataAuthorization approval codeA 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.The unique identifier of the payment, generated by Worldline.A set of references returned in responsesThe party that originated the response Possible values are: WORLDLINE ISSUER SCHEME PARTNERNumeric response code, e.g.Category of response code.
Possible values are: APPROVED PARTIALLY_APPROVED DECLINEDDescription of the response codeThe status of the payment, refund or credit transfer
Possible values are: AUTHORIZED NOT_AUTHORIZED PENDING PENDING_CAPTURE CONFIRMED REVERSED CANCELLEDTimestamp of the status in format yyyy-MM-ddTHH:mm:ssZAmount for the operation.voidAdditional response datavoidvoidAuthorization approval codevoidsetOperationId(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.voidsetPaymentId(String value) The unique identifier of the payment, generated by Worldline.voidA set of references returned in responsesvoidsetResponder(String value) The party that originated the response Possible values are: WORLDLINE ISSUER SCHEME PARTNERvoidsetResponseCode(String value) Numeric response code, e.g.voidsetResponseCodeCategory(String value) Category of response code.
Possible values are: APPROVED PARTIALLY_APPROVED DECLINEDvoidsetResponseCodeDescription(String value) Description of the response codevoidThe status of the payment, refund or credit transfer
Possible values are: AUTHORIZED NOT_AUTHORIZED PENDING PENDING_CAPTURE CONFIRMED REVERSED CANCELLEDvoidsetStatusTimestamp(ZonedDateTime value) Timestamp of the status in format yyyy-MM-ddTHH:mm:ssZvoidAmount for the operation.Additional response dataAuthorization approval codewithOperationId(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.withPaymentId(String value) The unique identifier of the payment, generated by Worldline.A set of references returned in 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 codewithStatus(String value) The status of the payment, refund or credit transfer
Possible values are: AUTHORIZED NOT_AUTHORIZED PENDING PENDING_CAPTURE CONFIRMED REVERSED CANCELLEDwithStatusTimestamp(ZonedDateTime value) Timestamp of the status in format yyyy-MM-ddTHH:mm:ssZAmount for the operation.
-
Constructor Details
-
ApiPaymentResponse
public ApiPaymentResponse()
-
-
Method Details
-
getAdditionalResponseData
Additional response data -
setAdditionalResponseData
Additional response data -
withAdditionalResponseData
Additional response data -
getCardPaymentData
-
setCardPaymentData
-
withCardPaymentData
-
getInitialAuthorizationCode
Authorization approval code -
setInitialAuthorizationCode
Authorization approval code -
withInitialAuthorizationCode
Authorization approval code -
getOperationId
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. -
setOperationId
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. -
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. -
getPaymentId
The unique identifier of the payment, generated by Worldline. Use it to retrieve the payment and in all follow-up operations such as authorize, capture, reverse and refund. -
setPaymentId
The unique identifier of the payment, generated by Worldline. Use it to retrieve the payment and in all follow-up operations such as authorize, capture, reverse and refund. -
withPaymentId
The unique identifier of the payment, generated by Worldline. Use it to retrieve the payment and in all follow-up operations such as authorize, capture, reverse and refund. -
getReferences
A set of references returned in responses -
setReferences
A set of references returned in responses -
withReferences
A set of references returned in responses -
getResponder
The party that originated the response Possible values are:- WORLDLINE
- ISSUER
- SCHEME
- PARTNER
-
setResponder
The party that originated the response Possible values are:- WORLDLINE
- ISSUER
- SCHEME
- PARTNER
-
withResponder
The party that originated the response Possible values are:- WORLDLINE
- ISSUER
- SCHEME
- PARTNER
-
getResponseCode
Numeric response code, e.g. 0, 5 -
setResponseCode
Numeric response code, e.g. 0, 5 -
withResponseCode
Numeric response code, e.g. 0, 5 -
getResponseCodeCategory
Category of response code.
Possible values are:- APPROVED
- PARTIALLY_APPROVED
- DECLINED
-
setResponseCodeCategory
Category of response code.
Possible values are:- APPROVED
- PARTIALLY_APPROVED
- DECLINED
-
withResponseCodeCategory
Category of response code.
Possible values are:- APPROVED
- PARTIALLY_APPROVED
- DECLINED
-
getResponseCodeDescription
Description of the response code -
setResponseCodeDescription
Description of the response code -
withResponseCodeDescription
Description of the response code -
getStatus
The status of the payment, refund or credit transfer
Possible values are:- AUTHORIZED
- NOT_AUTHORIZED
- PENDING
- PENDING_CAPTURE
- CONFIRMED
- REVERSED
- CANCELLED
-
setStatus
The status of the payment, refund or credit transfer
Possible values are:- AUTHORIZED
- NOT_AUTHORIZED
- PENDING
- PENDING_CAPTURE
- CONFIRMED
- REVERSED
- CANCELLED
-
withStatus
The status of the payment, refund or credit transfer
Possible values are:- AUTHORIZED
- NOT_AUTHORIZED
- PENDING
- PENDING_CAPTURE
- CONFIRMED
- REVERSED
- CANCELLED
-
getStatusTimestamp
Timestamp of the status in format yyyy-MM-ddTHH:mm:ssZ -
setStatusTimestamp
Timestamp of the status in format yyyy-MM-ddTHH:mm:ssZ -
withStatusTimestamp
Timestamp of the status in format yyyy-MM-ddTHH:mm:ssZ -
getTotalAuthorizedAmount
Amount for the operation. -
setTotalAuthorizedAmount
Amount for the operation. -
withTotalAuthorizedAmount
Amount for the operation.
-