Class ApiPaymentResource

java.lang.Object
com.worldline.acquiring.sdk.java.v1.domain.ApiPaymentResource

public class ApiPaymentResource extends Object
  • Constructor Details

    • ApiPaymentResource

      public ApiPaymentResource()
  • Method Details

    • getCardPaymentData

      public CardPaymentDataForResource getCardPaymentData()
    • setCardPaymentData

      public void setCardPaymentData(CardPaymentDataForResource value)
    • withCardPaymentData

      public ApiPaymentResource withCardPaymentData(CardPaymentDataForResource value)
    • getInitialAuthorizationCode

      public String getInitialAuthorizationCode()
      Authorization approval code
    • setInitialAuthorizationCode

      public void setInitialAuthorizationCode(String value)
      Authorization approval code
    • withInitialAuthorizationCode

      public ApiPaymentResource withInitialAuthorizationCode(String value)
      Authorization approval code
    • getOperations

      public List<SubOperation> getOperations()
    • setOperations

      public void setOperations(List<SubOperation> value)
    • withOperations

      public ApiPaymentResource withOperations(List<SubOperation> value)
    • getPaymentId

      public String 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

      public void setPaymentId(String value)
      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

      public ApiPaymentResource withPaymentId(String value)
      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

      public ApiReferencesForResponses getReferences()
      A set of references returned in responses
    • setReferences

      public void setReferences(ApiReferencesForResponses value)
      A set of references returned in responses
    • withReferences

      public ApiPaymentResource withReferences(ApiReferencesForResponses value)
      A set of references returned in responses
    • getStatus

      public String getStatus()
      The status of the payment, refund or credit transfer
      Possible values are:
      • AUTHORIZED
      • NOT_AUTHORIZED
      • PENDING
      • PENDING_CAPTURE
      • CONFIRMED
      • REVERSED
      • CANCELLED
    • setStatus

      public void setStatus(String value)
      The status of the payment, refund or credit transfer
      Possible values are:
      • AUTHORIZED
      • NOT_AUTHORIZED
      • PENDING
      • PENDING_CAPTURE
      • CONFIRMED
      • REVERSED
      • CANCELLED
    • withStatus

      public ApiPaymentResource withStatus(String value)
      The status of the payment, refund or credit transfer
      Possible values are:
      • AUTHORIZED
      • NOT_AUTHORIZED
      • PENDING
      • PENDING_CAPTURE
      • CONFIRMED
      • REVERSED
      • CANCELLED
    • getStatusTimestamp

      public ZonedDateTime getStatusTimestamp()
      Timestamp of the status in format yyyy-MM-ddTHH:mm:ssZ
    • setStatusTimestamp

      public void setStatusTimestamp(ZonedDateTime value)
      Timestamp of the status in format yyyy-MM-ddTHH:mm:ssZ
    • withStatusTimestamp

      public ApiPaymentResource withStatusTimestamp(ZonedDateTime value)
      Timestamp of the status in format yyyy-MM-ddTHH:mm:ssZ
    • getTotalAuthorizedAmount

      public AmountData getTotalAuthorizedAmount()
      Amount for the operation.
    • setTotalAuthorizedAmount

      public void setTotalAuthorizedAmount(AmountData value)
      Amount for the operation.
    • withTotalAuthorizedAmount

      public ApiPaymentResource withTotalAuthorizedAmount(AmountData value)
      Amount for the operation.