Class ApplicationFee

    • Constructor Detail

      • ApplicationFee

        public ApplicationFee()
    • Method Detail

      • getAccount

        public java.lang.String getAccount()
        Get ID of expandable account object.
      • setAccount

        public void setAccount​(java.lang.String id)
      • getAccountObject

        public Account getAccountObject()
        Get expanded account.
      • setAccountObject

        public void setAccountObject​(Account expandableObject)
      • getApplication

        public java.lang.String getApplication()
        Get ID of expandable application object.
      • setApplication

        public void setApplication​(java.lang.String id)
      • getApplicationObject

        public Application getApplicationObject()
        Get expanded application.
      • setApplicationObject

        public void setApplicationObject​(Application expandableObject)
      • getBalanceTransaction

        public java.lang.String getBalanceTransaction()
        Get ID of expandable balanceTransaction object.
      • setBalanceTransaction

        public void setBalanceTransaction​(java.lang.String id)
      • getBalanceTransactionObject

        public BalanceTransaction getBalanceTransactionObject()
        Get expanded balanceTransaction.
      • setBalanceTransactionObject

        public void setBalanceTransactionObject​(BalanceTransaction expandableObject)
      • getCharge

        public java.lang.String getCharge()
        Get ID of expandable charge object.
      • setCharge

        public void setCharge​(java.lang.String id)
      • getChargeObject

        public Charge getChargeObject()
        Get expanded charge.
      • setChargeObject

        public void setChargeObject​(Charge expandableObject)
      • getOriginatingTransaction

        public java.lang.String getOriginatingTransaction()
        Get ID of expandable originatingTransaction object.
      • setOriginatingTransaction

        public void setOriginatingTransaction​(java.lang.String id)
      • getOriginatingTransactionObject

        public Charge getOriginatingTransactionObject()
        Get expanded originatingTransaction.
      • setOriginatingTransactionObject

        public void setOriginatingTransactionObject​(Charge expandableObject)
      • list

        public static ApplicationFeeCollection list​(java.util.Map<java.lang.String,​java.lang.Object> params)
                                             throws StripeException
        Returns a list of application fees you’ve previously collected. The application fees are returned in sorted order, with the most recent fees appearing first.
        Throws:
        StripeException
      • list

        public static ApplicationFeeCollection list​(java.util.Map<java.lang.String,​java.lang.Object> params,
                                                    RequestOptions options)
                                             throws StripeException
        Returns a list of application fees you’ve previously collected. The application fees are returned in sorted order, with the most recent fees appearing first.
        Throws:
        StripeException
      • retrieve

        public static ApplicationFee retrieve​(java.lang.String id)
                                       throws StripeException
        Retrieves the details of an application fee that your account has collected. The same information is returned when refunding the application fee.
        Throws:
        StripeException
      • retrieve

        public static ApplicationFee retrieve​(java.lang.String id,
                                              RequestOptions options)
                                       throws StripeException
        Retrieves the details of an application fee that your account has collected. The same information is returned when refunding the application fee.
        Throws:
        StripeException
      • retrieve

        public static ApplicationFee retrieve​(java.lang.String id,
                                              java.util.Map<java.lang.String,​java.lang.Object> params,
                                              RequestOptions options)
                                       throws StripeException
        Retrieves the details of an application fee that your account has collected. The same information is returned when refunding the application fee.
        Throws:
        StripeException
      • getAmount

        public java.lang.Long getAmount()
        Amount earned, in %s.
      • getAmountRefunded

        public java.lang.Long getAmountRefunded()
        Amount in %s refunded (can be less than the amount attribute on the fee if a partial refund was issued).
      • getCreated

        public java.lang.Long getCreated()
        Time at which the object was created. Measured in seconds since the Unix epoch.
      • getLivemode

        public java.lang.Boolean getLivemode()
        Has the value true if the object exists in live mode or the value false if the object exists in test mode.
      • getObject

        public java.lang.String getObject()
        String representing the object's type. Objects of the same type share the same value.

        Equal to application_fee.

      • getRefunded

        public java.lang.Boolean getRefunded()
        Whether the fee has been fully refunded. If the fee is only partially refunded, this attribute will still be false.
      • getRefunds

        public FeeRefundCollection getRefunds()
        A list of refunds that have been applied to the fee.
      • setAmount

        public void setAmount​(java.lang.Long amount)
        Amount earned, in %s.
      • setAmountRefunded

        public void setAmountRefunded​(java.lang.Long amountRefunded)
        Amount in %s refunded (can be less than the amount attribute on the fee if a partial refund was issued).
      • setCreated

        public void setCreated​(java.lang.Long created)
        Time at which the object was created. Measured in seconds since the Unix epoch.
      • setId

        public void setId​(java.lang.String id)
        Unique identifier for the object.
      • setLivemode

        public void setLivemode​(java.lang.Boolean livemode)
        Has the value true if the object exists in live mode or the value false if the object exists in test mode.
      • setObject

        public void setObject​(java.lang.String object)
        String representing the object's type. Objects of the same type share the same value.

        Equal to application_fee.

      • setRefunded

        public void setRefunded​(java.lang.Boolean refunded)
        Whether the fee has been fully refunded. If the fee is only partially refunded, this attribute will still be false.
      • setRefunds

        public void setRefunds​(FeeRefundCollection refunds)
        A list of refunds that have been applied to the fee.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getId

        public java.lang.String getId()
        Unique identifier for the object.
        Specified by:
        getId in interface HasId