Class SourceMandateNotification

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.SourceMandateNotification
All Implemented Interfaces:
HasId, StripeObjectInterface

public class SourceMandateNotification extends StripeObject implements HasId
  • Constructor Details

    • SourceMandateNotification

      public SourceMandateNotification()
  • Method Details

    • getAcssDebit

    • getAmount

      public 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.
    • getBacsDebit

    • getCreated

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

      public 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 String getObject()
      String representing the object's type. Objects of the same type share the same value.

      Equal to source_mandate_notification.

    • getReason

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

    • 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 String getStatus()
      The status of the mandate notification. Valid statuses are pending or submitted.
    • getType

      public 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.
    • setAcssDebit

      public void setAcssDebit(SourceMandateNotification.AcssDebitData acssDebit)
    • setAmount

      public void setAmount(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.
    • setBacsDebit

      public void setBacsDebit(SourceMandateNotification.BacsDebitData bacsDebit)
    • setCreated

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

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

      public void setLivemode(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(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(String reason)
      The reason of the mandate notification. Valid reasons are mandate_confirmed or debit_initiated.
    • setSepaDebit

      public void setSepaDebit(SourceMandateNotification.SepaDebitData sepaDebit)
    • 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(String status)
      The status of the mandate notification. Valid statuses are pending or submitted.
    • setType

      public void setType(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(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

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

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