Class Adjustment
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.moneymanagement.Adjustment
- All Implemented Interfaces:
HasId,StripeObjectInterface
Adjustments represent Stripe-initiated credits or debits to a user balance. They might be used to
amend balances due to technical or operational error.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classIf applicable, contains information about the original flow linked to this Adjustment.static classThe amount of the Adjustment. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanIf applicable, contains information about the original flow linked to this Adjustment.The amount of the Adjustment.Time at which the object was created.Description of the Adjustment and what it was used for.The FinancialAccount that this adjustment is for.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.A link to the Stripe-hosted receipt that is provided when money movement is considered regulated under Stripe’s money transmission licenses.inthashCode()voidsetAdjustedFlow(Adjustment.AdjustedFlow adjustedFlow) If applicable, contains information about the original flow linked to this Adjustment.voidsetAmount(Adjustment.Amount amount) The amount of the Adjustment.voidsetCreated(Instant created) Time at which the object was created.voidsetDescription(String description) Description of the Adjustment and what it was used for.voidsetFinancialAccount(String financialAccount) The FinancialAccount that this adjustment is for.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.voidsetReceiptUrl(String receiptUrl) A link to the Stripe-hosted receipt that is provided when money movement is considered regulated under Stripe’s money transmission licenses.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Adjustment
public Adjustment()
-
-
Method Details
-
getAdjustedFlow
If applicable, contains information about the original flow linked to this Adjustment. -
getAmount
The amount of the Adjustment. -
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
Description of the Adjustment and what it was used for. -
getFinancialAccount
The FinancialAccount that this adjustment is for. -
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. -
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
If applicable, contains information about the original flow linked to this Adjustment. -
setAmount
The amount of the Adjustment. -
setCreated
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
Description of the Adjustment and what it was used for. -
setFinancialAccount
The FinancialAccount that this adjustment is for. -
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. -
setReceiptUrl
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
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-