Class Capture

    • Constructor Detail

      • Capture

        public Capture()
    • Method Detail

      • setStatus

        public void setStatus​(String status)
        The status of the captured payment.
      • setCaptureStatusDetails

        public void setCaptureStatusDetails​(CaptureStatusDetails captureStatusDetails)
        The details of the captured payment status.
      • setAmount

        public void setAmount​(Money amount)
        The amount for this captured payment.
      • setCustomId

        public void setCustomId​(String customId)
        The API caller-provided external ID. Used to reconcile API caller-initiated transactions with PayPal transactions. Appears in transaction and settlement reports.
      • setDisbursementMode

        public void setDisbursementMode​(String disbursementMode)
        The funds that are held on behalf of the merchant.
      • setFinalCapture

        public void setFinalCapture​(Boolean finalCapture)
        Indicates whether you can make additional captures against the authorized payment. Set to true if you do not intend to capture additional payments against the authorization. Set to false if you intend to capture additional payments against the authorization.
      • setId

        public void setId​(String id)
        The PayPal-generated ID for the captured payment.
      • setInvoiceId

        public void setInvoiceId​(String invoiceId)
        The API caller-provided external invoice number for this order. Appears in both the payer's transaction history and the emails that the payer receives.
      • setLinks

        public void setLinks​(List<LinkDescription> links)
        An array of related HATEOAS links.
      • setProcessorResponse

        public void setProcessorResponse​(ProcessorResponse processorResponse)
        An object that provides additional processor information for a direct credit card transaction.
      • setSellerReceivableBreakdown

        public void setSellerReceivableBreakdown​(MerchantReceivableBreakdown sellerReceivableBreakdown)
        The detailed breakdown of the capture activity. This is not available for transactions that are in pending state.
      • getStatus

        public String getStatus()
        The status of the captured payment.
      • getCaptureStatusDetails

        public CaptureStatusDetails getCaptureStatusDetails()
        The details of the captured payment status.
      • getAmount

        public Money getAmount()
        The amount for this captured payment.
      • getCustomId

        public String getCustomId()
        The API caller-provided external ID. Used to reconcile API caller-initiated transactions with PayPal transactions. Appears in transaction and settlement reports.
      • getDisbursementMode

        public String getDisbursementMode()
        The funds that are held on behalf of the merchant.
      • getFinalCapture

        public Boolean getFinalCapture()
        Indicates whether you can make additional captures against the authorized payment. Set to true if you do not intend to capture additional payments against the authorization. Set to false if you intend to capture additional payments against the authorization.
      • getId

        public String getId()
        The PayPal-generated ID for the captured payment.
      • getInvoiceId

        public String getInvoiceId()
        The API caller-provided external invoice number for this order. Appears in both the payer's transaction history and the emails that the payer receives.
      • getProcessorResponse

        public ProcessorResponse getProcessorResponse()
        An object that provides additional processor information for a direct credit card transaction.
      • getSellerReceivableBreakdown

        public MerchantReceivableBreakdown getSellerReceivableBreakdown()
        The detailed breakdown of the capture activity. This is not available for transactions that are in pending state.