Class Refund

    • Constructor Detail

      • Refund

        public Refund()
    • Method Detail

      • setStatus

        public void setStatus​(String status)
        The status of the refund.
      • setRefundStatusDetails

        public void setRefundStatusDetails​(RefundStatusDetails refundStatusDetails)
        The details of the refund status.
      • setAmount

        public void setAmount​(Money amount)
        The amount that the payee refunded to the payer.
      • setId

        public void setId​(String id)
        The PayPal-generated ID for the refund.
      • 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.
      • setNoteToPayer

        public void setNoteToPayer​(String noteToPayer)
        The reason for the refund. Appears in both the payer's transaction history and the emails that the payer receives.
      • setSellerPayableBreakdown

        public void setSellerPayableBreakdown​(MerchantPayableBreakdown sellerPayableBreakdown)
        The breakdown of the refund.
      • getStatus

        public String getStatus()
        The status of the refund.
      • getRefundStatusDetails

        public RefundStatusDetails getRefundStatusDetails()
        The details of the refund status.
      • getAmount

        public Money getAmount()
        The amount that the payee refunded to the payer.
      • getId

        public String getId()
        The PayPal-generated ID for the refund.
      • 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.
      • getNoteToPayer

        public String getNoteToPayer()
        The reason for the refund. Appears in both the payer's transaction history and the emails that the payer receives.