Package com.stripe.model
Class TransferReversal
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.TransferReversal
- All Implemented Interfaces:
BalanceTransactionSource,HasId,MetadataStore<TransferReversal>,StripeObjectInterface
public class TransferReversal
extends ApiResource
implements MetadataStore<TransferReversal>, BalanceTransactionSource
-
Nested Class Summary
Nested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod -
Field Summary
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSONFields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanAmount, in %s.Get ID of expandablebalanceTransactionobject.Get expandedbalanceTransaction.Time at which the object was created.Three-letter ISO currency code, in lowercase.Get ID of expandabledestinationPaymentRefundobject.Get expandeddestinationPaymentRefund.getId()Unique identifier for the object.Set of key-value pairs that you can attach to an object.String representing the object's type.Get ID of expandablesourceRefundobject.Get expandedsourceRefund.Get ID of expandabletransferobject.Get expandedtransfer.inthashCode()voidAmount, in %s.voidvoidsetBalanceTransactionObject(BalanceTransaction expandableObject) voidsetCreated(Long created) Time at which the object was created.voidsetCurrency(String currency) Three-letter ISO currency code, in lowercase.voidvoidsetDestinationPaymentRefundObject(Refund expandableObject) voidUnique identifier for the object.voidsetMetadata(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.voidString representing the object's type.voidvoidsetSourceRefundObject(Refund expandableObject) voidsetTransfer(String id) voidsetTransferObject(Transfer expandableObject) update(TransferReversalUpdateParams params) Updates the specified reversal by setting the values of the parameters passed.update(TransferReversalUpdateParams params, RequestOptions options) Updates the specified reversal by setting the values of the parameters passed.Updates the specified reversal by setting the values of the parameters passed.update(Map<String, Object> params, RequestOptions options) Updates the specified reversal by setting the values of the parameters passed.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, classUrl, classUrl, instanceUrl, instanceUrl, request, request, requestCollection, requestCollection, requestSearchResult, requestSearchResult, requestStream, requestStream, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncode, urlEncodeIdMethods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeObjectInterface
getLastResponse, setLastResponse
-
Constructor Details
-
TransferReversal
public TransferReversal()
-
-
Method Details
-
getBalanceTransaction
Get ID of expandablebalanceTransactionobject. -
setBalanceTransaction
-
getBalanceTransactionObject
Get expandedbalanceTransaction. -
setBalanceTransactionObject
-
getDestinationPaymentRefund
Get ID of expandabledestinationPaymentRefundobject. -
setDestinationPaymentRefund
-
getDestinationPaymentRefundObject
Get expandeddestinationPaymentRefund. -
setDestinationPaymentRefundObject
-
getSourceRefund
Get ID of expandablesourceRefundobject. -
setSourceRefund
-
getSourceRefundObject
Get expandedsourceRefund. -
setSourceRefundObject
-
getTransfer
Get ID of expandabletransferobject. -
setTransfer
-
getTransferObject
Get expandedtransfer. -
setTransferObject
-
update
Updates the specified reversal by setting the values of the parameters passed. Any parameters not provided will be left unchanged.This request only accepts metadata and description as arguments.
- Specified by:
updatein interfaceMetadataStore<TransferReversal>- Throws:
StripeException
-
update
public TransferReversal update(Map<String, Object> params, RequestOptions options) throws StripeExceptionUpdates the specified reversal by setting the values of the parameters passed. Any parameters not provided will be left unchanged.This request only accepts metadata and description as arguments.
- Specified by:
updatein interfaceMetadataStore<TransferReversal>- Throws:
StripeException
-
update
Updates the specified reversal by setting the values of the parameters passed. Any parameters not provided will be left unchanged.This request only accepts metadata and description as arguments.
- Throws:
StripeException
-
update
public TransferReversal update(TransferReversalUpdateParams params, RequestOptions options) throws StripeException Updates the specified reversal by setting the values of the parameters passed. Any parameters not provided will be left unchanged.This request only accepts metadata and description as arguments.
- Throws:
StripeException
-
getAmount
Amount, in %s. -
getCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
getCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
transfer_reversal. -
setAmount
Amount, in %s. -
setCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
setCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
setId
Unique identifier for the object. -
setMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
transfer_reversal. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object. -
getMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.- Specified by:
getMetadatain interfaceMetadataStore<TransferReversal>
-