Class FeeRefund

    • Constructor Detail

      • FeeRefund

        public FeeRefund()
    • Method Detail

      • 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)
      • getFee

        public java.lang.String getFee()
        Get ID of expandable fee object.
      • setFee

        public void setFee​(java.lang.String id)
      • getFeeObject

        public ApplicationFee getFeeObject()
        Get expanded fee.
      • setFeeObject

        public void setFeeObject​(ApplicationFee expandableObject)
      • update

        public FeeRefund update​(java.util.Map<java.lang.String,​java.lang.Object> params)
                         throws StripeException
        Updates the specified application fee refund by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

        This request only accepts metadata as an argument.

        Specified by:
        update in interface MetadataStore<FeeRefund>
        Throws:
        StripeException
      • update

        public FeeRefund update​(java.util.Map<java.lang.String,​java.lang.Object> params,
                                RequestOptions options)
                         throws StripeException
        Updates the specified application fee refund by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

        This request only accepts metadata as an argument.

        Specified by:
        update in interface MetadataStore<FeeRefund>
        Throws:
        StripeException
      • update

        public FeeRefund update​(FeeRefundUpdateParams params)
                         throws StripeException
        Updates the specified application fee refund by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

        This request only accepts metadata as an argument.

        Throws:
        StripeException
      • getAmount

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

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

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

        Equal to fee_refund.

      • setAmount

        public void setAmount​(java.lang.Long amount)
        Amount, in %s.
      • 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.
      • setMetadata

        public void setMetadata​(java.util.Map<java.lang.String,​java.lang.String> metadata)
        Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
      • 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 fee_refund.

      • 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
      • getMetadata

        public java.util.Map<java.lang.String,​java.lang.String> getMetadata()
        Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
        Specified by:
        getMetadata in interface MetadataStore<FeeRefund>