Class Adjustment

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

public class Adjustment extends StripeObject implements HasId
  • Constructor Details

    • Adjustment

      public Adjustment()
  • Method Details

    • getAdjustedFlow

      public Adjustment.AdjustedFlow getAdjustedFlow()
      If applicable, contains information about the original flow linked to this Adjustment.
    • getAmount

      public Amount getAmount()
      The amount of the Adjustment.
    • getCreated

      public Instant getCreated()
      Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
    • getDescription

      public String getDescription()
      Description of the Adjustment and what it was used for.
    • getFinancialAccount

      public String getFinancialAccount()
      The FinancialAccount that this adjustment is for.
    • 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 of the object field.

      Equal to v2.money_management.adjustment.

    • getReceiptUrl

      public String getReceiptUrl()
      A link to the Stripe-hosted receipt that is provided when money movement is considered regulated under Stripe’s money transmission licenses. The receipt link remains active for 60 days from the Adjustment creation date. After this period, the link will expire and the receipt url value will be null.
    • setAdjustedFlow

      public void setAdjustedFlow(Adjustment.AdjustedFlow adjustedFlow)
      If applicable, contains information about the original flow linked to this Adjustment.
    • setAmount

      public void setAmount(Amount amount)
      The amount of the Adjustment.
    • setCreated

      public void setCreated(Instant created)
      Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
    • setDescription

      public void setDescription(String description)
      Description of the Adjustment and what it was used for.
    • setFinancialAccount

      public void setFinancialAccount(String financialAccount)
      The FinancialAccount that this adjustment is for.
    • 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 of the object field.

      Equal to v2.money_management.adjustment.

    • setReceiptUrl

      public void setReceiptUrl(String receiptUrl)
      A link to the Stripe-hosted receipt that is provided when money movement is considered regulated under Stripe’s money transmission licenses. The receipt link remains active for 60 days from the Adjustment creation date. After this period, the link will expire and the receipt url value will be null.
    • 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