Class SourceMandateNotification

    • Constructor Detail

      • SourceMandateNotification

        public SourceMandateNotification()
    • Method Detail

      • getAmount

        public java.lang.Long getAmount()
        A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the amount associated with the mandate notification. The amount is expressed in the currency of the underlying source. Required if the notification type is debit_initiated.
      • 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 source_mandate_notification.

      • getReason

        public java.lang.String getReason()
        The reason of the mandate notification. Valid reasons are mandate_confirmed or debit_initiated.
      • getSource

        public Source getSource()
        Source objects allow you to accept a variety of payment methods. They represent a customer's payment instrument, and can be used with the Stripe API just like a Card object: once chargeable, they can be charged, or can be attached to customers.

        Related guides: Sources API and Sources & Customers.

      • getStatus

        public java.lang.String getStatus()
        The status of the mandate notification. Valid statuses are pending or submitted.
      • getType

        public java.lang.String getType()
        The type of source this mandate notification is attached to. Should be the source type identifier code for the payment method, such as three_d_secure.
      • setAmount

        public void setAmount​(java.lang.Long amount)
        A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the amount associated with the mandate notification. The amount is expressed in the currency of the underlying source. Required if the notification type is debit_initiated.
      • 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 source_mandate_notification.

      • setReason

        public void setReason​(java.lang.String reason)
        The reason of the mandate notification. Valid reasons are mandate_confirmed or debit_initiated.
      • setSource

        public void setSource​(Source source)
        Source objects allow you to accept a variety of payment methods. They represent a customer's payment instrument, and can be used with the Stripe API just like a Card object: once chargeable, they can be charged, or can be attached to customers.

        Related guides: Sources API and Sources & Customers.

      • setStatus

        public void setStatus​(java.lang.String status)
        The status of the mandate notification. Valid statuses are pending or submitted.
      • setType

        public void setType​(java.lang.String type)
        The type of source this mandate notification is attached to. Should be the source type identifier code for the payment method, such as three_d_secure.
      • 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