Class SetupAttempt

    • Constructor Detail

      • SetupAttempt

        public SetupAttempt()
    • Method Detail

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

        public java.lang.String getCustomer()
        Get ID of expandable customer object.
      • setCustomer

        public void setCustomer​(java.lang.String id)
      • getCustomerObject

        public Customer getCustomerObject()
        Get expanded customer.
      • setCustomerObject

        public void setCustomerObject​(Customer expandableObject)
      • getOnBehalfOf

        public java.lang.String getOnBehalfOf()
        Get ID of expandable onBehalfOf object.
      • setOnBehalfOf

        public void setOnBehalfOf​(java.lang.String id)
      • getOnBehalfOfObject

        public Account getOnBehalfOfObject()
        Get expanded onBehalfOf.
      • setOnBehalfOfObject

        public void setOnBehalfOfObject​(Account expandableObject)
      • getPaymentMethod

        public java.lang.String getPaymentMethod()
        Get ID of expandable paymentMethod object.
      • setPaymentMethod

        public void setPaymentMethod​(java.lang.String id)
      • getPaymentMethodObject

        public PaymentMethod getPaymentMethodObject()
        Get expanded paymentMethod.
      • setPaymentMethodObject

        public void setPaymentMethodObject​(PaymentMethod expandableObject)
      • getSetupIntent

        public java.lang.String getSetupIntent()
        Get ID of expandable setupIntent object.
      • setSetupIntent

        public void setSetupIntent​(java.lang.String id)
      • getSetupIntentObject

        public SetupIntent getSetupIntentObject()
        Get expanded setupIntent.
      • setSetupIntentObject

        public void setSetupIntentObject​(SetupIntent expandableObject)
      • 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 setup_attempt.

      • getSetupError

        public StripeError getSetupError()
        The error encountered during this attempt to confirm the SetupIntent, if any.
      • getStatus

        public java.lang.String getStatus()
        Status of this SetupAttempt, one of requires_confirmation, requires_action, processing, succeeded, failed, or abandoned.
      • getUsage

        public java.lang.String getUsage()
        The value of usage on the SetupIntent at the time of this confirmation, one of off_session or on_session.
      • 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 setup_attempt.

      • setSetupError

        public void setSetupError​(StripeError setupError)
        The error encountered during this attempt to confirm the SetupIntent, if any.
      • setStatus

        public void setStatus​(java.lang.String status)
        Status of this SetupAttempt, one of requires_confirmation, requires_action, processing, succeeded, failed, or abandoned.
      • setUsage

        public void setUsage​(java.lang.String usage)
        The value of usage on the SetupIntent at the time of this confirmation, one of off_session or on_session.
      • 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