Class IntentAction.Apply

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.IntentAction.Apply
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
IntentAction

public static class IntentAction.Apply extends StripeObject
For more details about Apply, please refer to the API Reference.
  • Constructor Details

    • Apply

      public Apply()
  • Method Details

    • getInvoiceDiscountRule

      public IntentAction.Apply.InvoiceDiscountRule getInvoiceDiscountRule()
      Details for applying a discount rule to future invoices.
    • getType

      public String getType()
      Type of the apply action details.

      Equal to invoice_discount_rule.

    • setInvoiceDiscountRule

      public void setInvoiceDiscountRule(IntentAction.Apply.InvoiceDiscountRule invoiceDiscountRule)
      Details for applying a discount rule to future invoices.
    • setType

      public void setType(String type)
      Type of the apply action details.

      Equal to invoice_discount_rule.

    • 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