Class IntentAction

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.IntentAction
All Implemented Interfaces:
HasId, StripeObjectInterface

public class IntentAction extends StripeObject implements HasId
  • Constructor Details

    • IntentAction

      public IntentAction()
  • Method Details

    • getApply

      public IntentAction.Apply getApply()
      Details for an apply action.
    • getCreated

      public Instant getCreated()
      Time at which the object was created.
    • getDeactivate

      public IntentAction.Deactivate getDeactivate()
      Details for a deactivate action.
    • 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.
    • getModify

      public IntentAction.Modify getModify()
      Details for a modify action.
    • getObject

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

      Equal to v2.billing.intent_action.

    • getRemove

      public IntentAction.Remove getRemove()
      Details for a remove action.
    • getSubscribe

      public IntentAction.Subscribe getSubscribe()
      Details for a subscribe action.
    • getType

      public String getType()
      Type of the Billing Intent Action.

      One of apply, deactivate, modify, remove, or subscribe.

    • setApply

      public void setApply(IntentAction.Apply apply)
      Details for an apply action.
    • setCreated

      public void setCreated(Instant created)
      Time at which the object was created.
    • setDeactivate

      public void setDeactivate(IntentAction.Deactivate deactivate)
      Details for a deactivate action.
    • 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.
    • setModify

      public void setModify(IntentAction.Modify modify)
      Details for a modify action.
    • setObject

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

      Equal to v2.billing.intent_action.

    • setRemove

      public void setRemove(IntentAction.Remove remove)
      Details for a remove action.
    • setSubscribe

      public void setSubscribe(IntentAction.Subscribe subscribe)
      Details for a subscribe action.
    • setType

      public void setType(String type)
      Type of the Billing Intent Action.

      One of apply, deactivate, modify, remove, or subscribe.

    • 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