Class Adjustment
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.moneymanagement.Adjustment
- All Implemented Interfaces:
HasId,StripeObjectInterface
An Adjustment records a credit or debit that Stripe makes to your Financial Account balance, for
example to correct technical or operational errors.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDetails about the original flow object linked to this Adjustment, if applicable. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanDetails about the original flow object linked to this Adjustment, if applicable.The amount of the Adjustment.Time at which the object was created.A description of the Adjustment and its purpose.The ID of the FinancialAccount whose balance this Adjustment affects.getId()Unique identifier for the object.Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.String representing the object's type.inthashCode()voidsetAdjustedFlow(Adjustment.AdjustedFlow adjustedFlow) Details about the original flow object linked to this Adjustment, if applicable.voidThe amount of the Adjustment.voidsetCreated(Instant created) Time at which the object was created.voidsetDescription(String description) A description of the Adjustment and its purpose.voidsetFinancialAccount(String financialAccount) The ID of the FinancialAccount whose balance this Adjustment affects.voidUnique identifier for the object.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidString representing the object's type.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Adjustment
public Adjustment()
-
-
Method Details
-
getAdjustedFlow
Details about the original flow object linked to this Adjustment, if applicable.adjusted_flow.typeidentifies the kind of object. The corresponding field contains its ID: for an InboundTransfer,adjusted_flow.inbound_transfercontains the InboundTransfer's ID. Pass that ID to theadjusted_flowparameter on List Adjustments. -
getAmount
The amount of the Adjustment. -
getCreated
Time at which the object was created. Represented as an RFC 3339 timestamp in UTC with millisecond precision, for example2022-09-18T13:22:18.123Z. -
getDescription
A description of the Adjustment and its purpose. -
getFinancialAccount
The ID of the FinancialAccount whose balance this Adjustment affects. -
getLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
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. -
setAdjustedFlow
Details about the original flow object linked to this Adjustment, if applicable.adjusted_flow.typeidentifies the kind of object. The corresponding field contains its ID: for an InboundTransfer,adjusted_flow.inbound_transfercontains the InboundTransfer's ID. Pass that ID to theadjusted_flowparameter on List Adjustments. -
setAmount
The amount of the Adjustment. -
setCreated
Time at which the object was created. Represented as an RFC 3339 timestamp in UTC with millisecond precision, for example2022-09-18T13:22:18.123Z. -
setDescription
A description of the Adjustment and its purpose. -
setFinancialAccount
The ID of the FinancialAccount whose balance this Adjustment affects. -
setId
Unique identifier for the object. -
setLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
setObject
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. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-